The patch committed to fix bug #18435 caused regressions on aarch64
[glibc.git] / ChangeLog
blob91c963200aaca7a1edfa3468c92d307580864df8
1 2015-07-09  Martin Sebor  <msebor@redhat.com>
3         [BZ #18435]
4         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6         * nptl/Makefile (test-xfail-tst-once5): Define.
8 2015-07-09  Roland McGrath  <roland@hack.frob.com>
10         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11         * elf/dl-minimal.c: For readability, reorder some definitions and
12         introduce more page breaks.  Include <stdio.h>.
13         (__libc_fatal): New function.
15         * include/unistd.h: Add rtld_hidden_proto for _exit.
16         * posix/_exit.c: Add rtld_hidden_def.
17         * sysdeps/mach/hurd/_exit.c: Likewise.
18         * sysdeps/nacl/_exit.c: Likewise.
19         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
22 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
24         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25         bndmov encoding with zero displacement.
27 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28             H.J. Lu  <hongjiu.lu@intel.com>
30         [BZ #18134]
31         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32         * sysdeps/i386/configure: Regenerated.
33         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34         (_dl_runtime_profile): Save and restore Intel MPX return bound
35         registers when calling _dl_call_pltexit.  Add
36         PRESERVE_BND_REGS_PREFIX before return.
37         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
38         (LRV_BND1_OFFSET): Likewise.
39         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
40         lrv_bnd1.
41         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
42         typo in bndmov encoding.
43         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
44         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
45         branch instructions to preserve bounds.
47 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
49         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
50         [GLIBC_2.22]: Add fmemopen.
52 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
55         returns an error, also try to use host port from __mach_host_self for
56         the __vm_wire call.
57         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
59 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
61         [BZ #18400]
62         [BZ #18648]
63         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
64         Fix pr_uid and pr_gid members.
65         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
66         definition to elf_greg_t.
68 2015-07-08  Roland McGrath  <roland@hack.frob.com>
70         [BZ #18383]
71         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
72         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
73         * sysdeps/arm/configure: Regenerated.
74         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
75         (test-xfail-tst-tlsalign-static): Variable removed.
77         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
78         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
79         rather than explicit 'ln -s'.
81         * resolv/rpc/netdb.h: New file.
82         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
84 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
86         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
87         length buffers.
88         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
89         test-skeleton.c.
91         [BZ #6544]
92         [BZ #11216]
93         [BZ #12836]
94         [BZ #13151]
95         [BZ #13152]
96         [BZ #14292]
97         * include/stdio.h (fmemopen): Remove hidden prototype.
98         (__fmemopen): Add new hidden prototype.
99         * libio/Makefile: Add oldfmemopen object.
100         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
101         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
102         compliance.
103         * libio/oldfmemopen.c: New file: old fmemopen implementation for
104         symbol compatibility.
105         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
106         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
107         fmemopen.
108         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
109         on append and read mode.
110         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
111         fmemopen.
112         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
113         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
114         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
115         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
116         Likewise.
117         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
118         [GLIBC_2.22]: Likewise.
119         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
120         Likewise.
121         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
122         Likewise.
123         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
124         [GLIBC_2.22]: Likewise.
125         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
126         [GLIBC_2.22]: Likewise.
127         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
128         [GLIBC_2.22]: Likewise.
129         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
130         [GLIBC_2.22]: Likewise.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
132         [GLIBC_2.22]: Likewise.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
134         [GLIBC_2.22]: Likewise.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
136         [GLIBC_2.22]: Likewise.
137         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
138         Likewise.
139         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
140         Likewise.
141         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
142         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
143         [GLIBC_2.22]: Likewise.
144         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
145         [GLIBC_2.22]: Likewise.
146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
147         [GLIBC_2.22]: Likewise.
148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
149         [GLIBC_2.22]: Likewise.
150         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
151         Likewise.
152         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
153         Likewise.
154         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
155         Likewise.
156         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
157         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
159 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
161         [BZ #18643]
162         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
163         IPV6_PATHMTU, and IPV6_DONTFRAG.
165 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
167         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
168         and _IO_UNBUFFERED.
169         * libio/oldfileops.c: Likewise.
170         * libio/wfileops.c: Likewise.
172 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
174         * nscd/selinux.c: Delete selinux/flask.h include.
176 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
178         [BZ #18641]
179         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
180         (putpwent): Likewise.
181         (getpwnam): Likewise.
182         (getpwent_r): Likewise.
183         (getpwuid_r): Likewise.
184         (getpwnam_r): Likewise.
185         (fgetpwent_r): Likewise.
187 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
189         [BZ #18557]
190         * inet/rcmd.c (__validuser2_sa): Check user first to
191         short-circuit host check.
193 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
194             Mikhail Ilin  <m.ilin@samsung.com>
196         [BZ #17833]
197         * elf/Makefile (tests): Add tst-nodelete.
198         (modules-names): Add tst-nodelete-uniquemod.
199         (tst-nodelete-uniquemod.so-no-z-defs): New.
200         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
201         (tst-nodelete-zmod.so-no-z-defs): Likewise.
202         ($(objpfx)tst-nodelete): Likewise.
203         ($(objpfx)tst-nodelete.out): Likewise.
204         (LDFLAGS-tst-nodelete): Likewise.
205         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
206         * elf/dl-close.c (_dl_close_worker): Add a parameter to
207         implement forced object deletion.
208         (_dl_close): Pass false to _dl_close_worker.
209         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
210         * elf/tst-nodelete.cc: New file.
211         * elf/tst-nodeletelib.cc: Likewise.
212         * elf/tst-znodeletelib.cc: Likewise.
213         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
215 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
217         [BZ #18508]
218         * stdlib/Makefile ($(objpfx)tst-makecontext3):
219         Depend on $(libdl).
220         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
221         is not called infinitely times.
222         (backtrace_helper): New function.
223         (trace_arg): New struct.
224         (st1): Enlarge stack size.
225         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
226         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
227         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
228         Likewise.
230 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
232         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
234 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
236         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
237         Include sys/types.h instead of bits/types.h.
238         Remove inclusion of bits/wordsize.h.
240 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
242         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
243         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
244         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
245         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
246         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
247         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
249 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
251         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
252         link-defines.sym.
253         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
254         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
255         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
256         and LR_SIZE.
257         * sysdeps/i386/link-defines.sym: New file.
259 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
261         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
262         (modules-names): Add tst-auditmod3a tst-auditmod3b.
263         ($(objpfx)tst-audit3): New rule.
264         ($(objpfx)tst-audit3.out): Likewise.
265         * sysdeps/i386/tst-audit3.c: New file.
266         * sysdeps/i386/tst-audit3.h: Likewise.
267         * sysdeps/i386/tst-auditmod3a.c: Likewise.
268         * sysdeps/i386/tst-auditmod3b.c: Likewise.
270 2015-07-07  Torvald Riegel  <triegel@redhat.com>
272         [BZ #18633]
273         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
274         pointer in C code.
275         (__strcat_c): Likewise.
276         (__strcat_g): Likewise.
278 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
280         [BZ #18592]
281         * misc/sbrk.c: Set errno to ENOMEM on overflow.
283 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
285         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
286         New function.  (__ieee754_sqrtf): New function.
287         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
288         New function.
289         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
290         New function.
292 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
294         * sysdeps/ieee754/support.c: Remove unused file.
296 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
298         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
299         registers instead of d ones so the layout is kernel abi compatible.
300         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
301         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
302         Likewise.
304 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
306         * sysdeps/aarch64/libm-test-ulps: Regenerated.
308 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
310         [BZ #18619]
311         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
312         and return argument in case of subnormal argument.
314 2015-07-01  Martin Sebor  <msebor@redhat.com>
316         [BZ #18435]
317         * nptl/Makefile: Add tst-once5.cc.
318         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
319         Remove macro redefinitions.
320         * nptl/tst-once5.cc: New test.
322 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
324         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
326         * sysdeps/arm/libm-test-ulps: Regenerated.
328         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
329         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
331 2015-06-30  Torvald Riegel  <triegel@redhat.com>
333         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
334         lll_lock_wait_private and lll_futex_wake probes.
336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
337         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
338         Likewise.
339         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
340         atomic_spin_nop.
341         * sysdeps/x86_64/bits/atomic.h: Likewise.
342         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
343         to atomic_spin_nop and move ...
344         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
345         ... here and ...
346         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
347         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
348         atomic_spin_nop instead of BUSY_WAIT_NOP.
349         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
350         Likewise.
351         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
352         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
353         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
354         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
355         instead of atomic_delay.
357 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
359         [BZ #18613]
360         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
361         X_ADJ not X when adjusting exponent.
362         (__ieee754_gamma_r): Do intermediate computations in
363         round-to-nearest then adjust overflowing and underflowing results
364         as needed.
365         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
366         of X_ADJ not X when adjusting exponent.
367         (__ieee754_gammaf_r): Do intermediate computations in
368         round-to-nearest then adjust overflowing and underflowing results
369         as needed.
370         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
371         log of X_ADJ not X when adjusting exponent.
372         (__ieee754_gammal_r): Do intermediate computations in
373         round-to-nearest then adjust overflowing and underflowing results
374         as needed.  Use 1.0L not 1.0f as numerator of division.
375         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
376         log of X_ADJ not X when adjusting exponent.
377         (__ieee754_gammal_r): Do intermediate computations in
378         round-to-nearest then adjust overflowing and underflowing results
379         as needed.  Use 1.0L not 1.0f as numerator of division.
380         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
381         of X_ADJ not X when adjusting exponent.
382         (__ieee754_gammal_r): Do intermediate computations in
383         round-to-nearest then adjust overflowing and underflowing results
384         as needed.  Use 1.0L not 1.0f as numerator of division.
385         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
386         to auto-libm-test-in.
387         (tgamma_test): Use ALL_RM_TEST.
388         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
389         tests of tgamma with spurious-overflow.
390         * math/auto-libm-test-out: Regenerated.
391         * math/gen-libm-have-vector-test.sh: Do not check for START.
392         * sysdeps/i386/fpu/libm-test-ulps: Update.
393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
395         [BZ #18612]
396         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
397         arguments, just return 0.5 times the argument, with underflow
398         forced as needed.
399         * math/auto-libm-test-in: Add more tests of j1.
400         * math/auto-libm-test-out: Regenerated.
402         [BZ #16559]
403         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
404         (__ieee754_j1): Force underflow exception for small results.
405         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
406         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
407         (__ieee754_j1f): Force underflow exception for small results.
408         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
409         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
411         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
412         (__ieee754_j1l): Force underflow exception for small results.
413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
414         * math/auto-libm-test-in: Add more tests of j1 and jn.
415         * math/auto-libm-test-out: Regenerated.
417         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
418         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
419         (PF_MPLS): Likewise.
420         (AF_IB): Likewise.
421         (AF_MPLS): Likewise.
422         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
423         value and macro.
424         (MS_RMT_MASK): Include MS_LAZYTIME.
426 2015-06-26  Mel Gorman  <mgorman@suse.de>
428         [BZ #18502]
429         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
430         already minimal.
432 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
434         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
435         (DT_MIPS_NUM): Update.
436         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
437         DT_MIPS_RLD_MAP_REL.
439 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
441         [BZ #16559]
442         [BZ #18602]
443         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
444         round-to-nearest internally then recompute results that
445         underflowed to zero in the original rounding mode.
446         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
447         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
449         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
450         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
451         * sysdeps/i386/fpu/libm-test-ulps: Update.
452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
454 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
456         * NEWS: Fixed description of link with vector math library.
458 2015-06-25  Andreas Schwab  <schwab@suse.de>
460         [BZ #18549]
461         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
462         * libio/test-fmemopen.c (do_test): Add test for it.
464 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
466         [BZ #17841]
467         * Makeconfig (no-pie-ldflag): New.
468         (+link): Set to $(+link-pie) if default to PIE.
469         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
470         * config.make.in (build-pie-default): New.
471         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
472         is default.  AC_SUBST.
473         * configure: Regenerated.
474         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
476 2015-06-24  Roland McGrath  <roland@hack.frob.com>
478         * nptl/descr.h (struct pthread): Change type of field setxid_futex
479         to 'unsigned int'.
481         * resolv/gai_misc.h (struct waitlist): Change type of field
482         counterp to 'volatile unsigned int *'.
483         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
484         FUTEXADDR and OLDVAL.
485         * resolv/getaddrinfo_a.c (getaddrinfo_a):
486         Give local variable TOTAL type 'volatile unsigned int'.
487         (struct async_waitlist): Change type of field counter to 'unsigned int'.
488         * resolv/gai_suspend.c (gai_suspend):
489         Give local variable CNTR type 'unsigned int'.
491         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
492         counterp to 'volatile unsigned int *'.
493         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
494         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
495         (aio_suspend): Give local variable CNTR type 'unsigned int'.
496         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
497         Give local variable TOTAL type 'volatile unsigned int'.
498         (struct async_waitlist): Change type of field counter to 'unsigned int'.
500 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
502         [BZ #18383]
503         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
504         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
505         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
506         comment for i386/x86-64.
507         (test-xfail-tst-tlsalign-extern-static): Removed.
509 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
511         * math/test-double.h: New file.
512         * math/test-float.h: Likewise.
513         * math/test-ldouble.h: Likewise.
514         * math/test-math-inline.h: Likewise.
515         * math/test-math-no-inline.h: Likewise.
516         * math/test-math-scalar.h: Likewise.
517         * math/test-math-vector.h: Likewise.
518         * math/test-vec-loop.h: Remove file.  Contents moved into
519         test-math-vector.h.
520         * math/libm-test.inc (MATHCONST): Do not document macro.
521         * math/test-double.c: Include test-double.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_DOUBLE): Likewise.
531         (TEST_MATHVEC): Likewise.
532         (__NO_MATH_INLINES): Likewise.
533         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
543         (TEST_MATHVEC): Likewise.
544         (__NO_MATH_INLINES): Likewise.
545         * math/test-idouble.c: Include test-double.h, test-math-inline.h
546         and test-math-scalar.h.
547         (FUNC): Remove macro.
548         (FUNC_TEST): Likewise.
549         (FLOAT): Likewise.
550         (MATHCONST): Likewise.
551         (PRINTF_EXPR): Likewise.
552         (PRINTF_XEXPR): Likewise.
553         (PRINTF_NEXPR): Likewise.
554         (TEST_DOUBLE): Likewise.
555         (TEST_MATHVEC): Likewise.
556         (TEST_INLINE): Likewise.
557         (__NO_MATH_INLINES): Likewise.
558         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
559         test-math-scalar.h.
560         (FUNC): Remove macro.
561         (FUNC_TEST): Likewise.
562         (FLOAT): Likewise.
563         (MATHCONST): Likewise.
564         (PRINTF_EXPR): Likewise.
565         (PRINTF_XEXPR): Likewise.
566         (PRINTF_NEXPR): Likewise.
567         (TEST_FLOAT): Likewise.
568         (TEST_MATHVEC): Likewise.
569         (TEST_INLINE): Likewise.
570         (__NO_MATH_INLINES): Likewise.
571         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
572         and test-math-scalar.h.
573         (FUNC): Remove macro.
574         (FUNC_TEST): Likewise.
575         (FLOAT): Likewise.
576         (MATHCONST): Likewise.
577         (PRINTF_EXPR): Likewise.
578         (PRINTF_XEXPR): Likewise.
579         (PRINTF_NEXPR): Likewise.
580         (TEST_LDOUBLE): Likewise.
581         (TEST_MATHVEC): Likewise.
582         (TEST_INLINE): Likewise.
583         (__NO_MATH_INLINES): Likewise.
584         * math/test-ldouble.c: Include test-ldouble.h,
585         test-math-no-inline.h and test-math-scalar.h.
586         (FUNC): Remove macro.
587         (FUNC_TEST): Likewise.
588         (FLOAT): Likewise.
589         (MATHCONST): Likewise.
590         (PRINTF_EXPR): Likewise.
591         (PRINTF_XEXPR): Likewise.
592         (PRINTF_NEXPR): Likewise.
593         (TEST_LDOUBLE): Likewise.
594         (TEST_MATHVEC): Likewise.
595         (__NO_MATH_INLINES): Likewise.
596         * math/test-double-vlen2.h: Include test-double.h,
597         test-math-no-inline.h and test-math-vector.h.
598         (FLOAT): Remove macro.
599         (FUNC): Likewise.
600         (MATHCONST): Likewise.
601         (PRINTF_EXPR): Likewise.
602         (PRINTF_XEXPR): Likewise.
603         (PRINTF_NEXPR): Likewise.
604         (TEST_DOUBLE): Likewise.
605         (TEST_MATHVEC): Likewise.
606         (__NO_MATH_INLINES): Likewise.
607         (CNCT): Likewise.
608         (CONCAT): Likewise.
609         (WRAPPER_NAME): Likewise.
610         (WRAPPER_DECL): Likewise.
611         (WRAPPER_DECL_ff): Likewise.
612         (WRAPPER_DECL_fFF): Likewise.
613         (VECTOR_WRAPPER): Likewise.
614         (VECTOR_WRAPPER_ff): Likewise.
615         (VECTOR_WRAPPER_fFF): Likewise.
616         (VEC_LEN): New macro.
617         * math/test-double-vlen4.h: Include test-double.h,
618         test-math-no-inline.h and test-math-vector.h.
619         (FLOAT): Remove macro.
620         (FUNC): Likewise.
621         (MATHCONST): Likewise.
622         (PRINTF_EXPR): Likewise.
623         (PRINTF_XEXPR): Likewise.
624         (PRINTF_NEXPR): Likewise.
625         (TEST_DOUBLE): Likewise.
626         (TEST_MATHVEC): Likewise.
627         (__NO_MATH_INLINES): Likewise.
628         (CNCT): Likewise.
629         (CONCAT): Likewise.
630         (WRAPPER_NAME): Likewise.
631         (WRAPPER_DECL): Likewise.
632         (WRAPPER_DECL_ff): Likewise.
633         (WRAPPER_DECL_fFF): Likewise.
634         (VECTOR_WRAPPER): Likewise.
635         (VECTOR_WRAPPER_ff): Likewise.
636         (VECTOR_WRAPPER_fFF): Likewise.
637         (VEC_LEN): New macro.
638         * math/test-double-vlen8.h: Include test-double.h,
639         test-math-no-inline.h and test-math-vector.h.
640         (FLOAT): Remove macro.
641         (FUNC): Likewise.
642         (MATHCONST): Likewise.
643         (PRINTF_EXPR): Likewise.
644         (PRINTF_XEXPR): Likewise.
645         (PRINTF_NEXPR): Likewise.
646         (TEST_DOUBLE): Likewise.
647         (TEST_MATHVEC): Likewise.
648         (__NO_MATH_INLINES): Likewise.
649         (CNCT): Likewise.
650         (CONCAT): Likewise.
651         (WRAPPER_NAME): Likewise.
652         (WRAPPER_DECL): Likewise.
653         (WRAPPER_DECL_ff): Likewise.
654         (WRAPPER_DECL_fFF): Likewise.
655         (VECTOR_WRAPPER): Likewise.
656         (VECTOR_WRAPPER_ff): Likewise.
657         (VECTOR_WRAPPER_fFF): Likewise.
658         (VEC_LEN): New macro.
659         * math/test-float-vlen4.h: Include test-float.h,
660         test-math-no-inline.h and test-math-vector.h.
661         (FLOAT): Remove macro.
662         (FUNC): Likewise.
663         (MATHCONST): Likewise.
664         (PRINTF_EXPR): Likewise.
665         (PRINTF_XEXPR): Likewise.
666         (PRINTF_NEXPR): Likewise.
667         (TEST_FLOAT): Likewise.
668         (TEST_MATHVEC): Likewise.
669         (__NO_MATH_INLINES): Likewise.
670         (CNCT): Likewise.
671         (CONCAT): Likewise.
672         (WRAPPER_NAME): Likewise.
673         (WRAPPER_DECL): Likewise.
674         (WRAPPER_DECL_ff): Likewise.
675         (WRAPPER_DECL_fFF): Likewise.
676         (VECTOR_WRAPPER): Likewise.
677         (VECTOR_WRAPPER_ff): Likewise.
678         (VECTOR_WRAPPER_fFF): Likewise.
679         (VEC_LEN): New macro.
680         * math/test-float-vlen8.h: Include test-float.h,
681         test-math-no-inline.h and test-math-vector.h.
682         (FLOAT): Remove macro.
683         (FUNC): Likewise.
684         (MATHCONST): Likewise.
685         (PRINTF_EXPR): Likewise.
686         (PRINTF_XEXPR): Likewise.
687         (PRINTF_NEXPR): Likewise.
688         (TEST_FLOAT): Likewise.
689         (TEST_MATHVEC): Likewise.
690         (__NO_MATH_INLINES): Likewise.
691         (CNCT): Likewise.
692         (CONCAT): Likewise.
693         (WRAPPER_NAME): Likewise.
694         (WRAPPER_DECL): Likewise.
695         (WRAPPER_DECL_ff): Likewise.
696         (WRAPPER_DECL_fFF): Likewise.
697         (VECTOR_WRAPPER): Likewise.
698         (VECTOR_WRAPPER_ff): Likewise.
699         (VECTOR_WRAPPER_fFF): Likewise.
700         (VEC_LEN): New macro.
701         * math/test-float-vlen16.h: Include test-float.h,
702         test-math-no-inline.h and test-math-vector.h.
703         (FLOAT): Remove macro.
704         (FUNC): Likewise.
705         (MATHCONST): Likewise.
706         (PRINTF_EXPR): Likewise.
707         (PRINTF_XEXPR): Likewise.
708         (PRINTF_NEXPR): Likewise.
709         (TEST_FLOAT): Likewise.
710         (TEST_MATHVEC): Likewise.
711         (__NO_MATH_INLINES): Likewise.
712         (CNCT): Likewise.
713         (CONCAT): Likewise.
714         (WRAPPER_NAME): Likewise.
715         (WRAPPER_DECL): Likewise.
716         (WRAPPER_DECL_ff): Likewise.
717         (WRAPPER_DECL_fFF): Likewise.
718         (VECTOR_WRAPPER): Likewise.
719         (VECTOR_WRAPPER_ff): Likewise.
720         (VECTOR_WRAPPER_fFF): Likewise.
721         (VEC_LEN): New macro.
722         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
723         test-vec-loop.h.
724         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
725         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
726         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
727         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
728         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
729         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
730         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
732 2015-06-24  Roland McGrath  <roland@hack.frob.com>
734         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
735         (__getlogin_r): ... this.
737 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
739         [BZ #18594]
740         * math/s_ccosh.c (__ccosh): Compare with least normal value
741         instead of comparing class with FP_SUBNORMAL.
742         * math/s_ccoshf.c (__ccoshf): Likewise.
743         * math/s_ccoshl.c (__ccoshl): Likewise.
744         * math/s_cexp.c (__cexp): Likewise.
745         * math/s_cexpf.c (__cexpf): Likewise.
746         * math/s_cexpl.c (__cexpl): Likewise.
747         * math/s_csin.c (__csin): Likewise.
748         * math/s_csinf.c (__csinf): Likewise.
749         * math/s_csinh.c (__csinh): Likewise.
750         * math/s_csinhf.c (__csinhf): Likewise.
751         * math/s_csinhl.c (__csinhl): Likewise.
752         * math/s_csinl.c (__csinl): Likewise.
753         * math/s_ctan.c (__ctan): Likewise.
754         * math/s_ctanf.c (__ctanf): Likewise.
755         * math/s_ctanh.c (__ctanh): Likewise.
756         * math/s_ctanhf.c (__ctanhf): Likewise.
757         * math/s_ctanhl.c (__ctanhl): Likewise.
758         * math/s_ctanl.c (__ctanl): Likewise.
759         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
760         csin, csinh, ctan and ctanh.
761         * math/auto-libm-test-out: Regenerated.
762         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
763         * sysdeps/i386/fpu/libm-test-ulps: Update.
764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
766 2015-06-24  Roland McGrath  <roland@hack.frob.com>
768         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
769         return value is wrong, print the expected value too.
771 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
773         [BZ #18585]
774         * elf/readlib.c (is_gdb_python_file): New.
775         (process_file): Don't issue errors on filenames with -gdb.py
776         suffix.
778 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
780         * math/auto-libm-test-in: Add more tests of csin and csinh.
781         * math/auto-libm-test-out: Regenerated.
782         * math/libm-test.inc (csin_test_data): Remove tests moved to
783         auto-libm-test-in.
784         (csinh_test_data): Likewise.
786         [BZ #18593]
787         * math/s_csin.c (__csin): Negate before rather than after possibly
788         overflowing multiplication.
789         * math/s_csinf.c (__csinf): Likewise.
790         * math/s_csinh.c (__csinh): Likewise.
791         * math/s_csinhf.c (__csinhf): Likewise.
792         * math/s_csinhl.c (__csinhl): Likewise.
793         * math/s_csinl.c (__csinl): Likewise.
794         * math/auto-libm-test-in: Add some tests of csin and csinh.
795         * math/auto-libm-test-out: Regenerated.
796         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
797         (csinh_test_data): Likewise.
798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
800         [BZ #18586]
801         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
802         underflow exception for small results.
804 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
806         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
807         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
808         variable and included header.
809         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
810         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
811         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
812         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
814         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
815         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
816         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
817         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
818         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
819         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
820         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
821         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
822         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
823         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
824         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
826 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
828         [BZ #16526]
829         [BZ #16538]
830         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
831         (__sin): Force underflow exception for arguments with small
832         absolute value.
833         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
834         (__kernel_sinf): Force underflow exception for arguments with
835         small absolute value.
836         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
837         (__kernel_sincosl): Force underflow exception for arguments with
838         small absolute value.
839         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
840         (__kernel_sinl): Force underflow exception for arguments with
841         small absolute value.
842         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
843         (__kernel_sincosl): Force underflow exception for arguments with
844         small absolute value.
845         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
846         (__kernel_sinl): Force underflow exception for arguments with
847         small absolute value.
848         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
849         (__kernel_sinl): Force underflow exception for arguments with
850         small absolute value.
851         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
852         (__kernel_sinf): Force underflow exception for arguments with
853         small absolute value.
854         * math/auto-libm-test-in: Add more tests of sin and sincos.
855         * math/auto-libm-test-out: Regenerated.
857         [BZ #18245]
858         [BZ #18583]
859         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
860         (__kernel_standard_l): Use feholdexcept and fesetenv around
861         conversion to double instead of special-casing overflow and
862         underflow.
863         * math/libm-test.inc (fmod_test_data): Add more tests.
864         (remainder_test_data): Likewise.
865         (sqrt_test_data): Likewise.
867 2015-06-23  Torvald Riegel  <triegel@redhat.com>
869         [BZ #17403]
870         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
871         atomic_read_barrier, atomic_write_barrier): Define.
872         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
873         atomic_read_barrier, atomic_write_barrier): Define.
875 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
877         * math/Makefile [$(PERL) != no]
878         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
879         dependency on libm-test.stmp below the inclusion of Rules.
881 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
883         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
885         and included header.
886         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
887         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
888         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
889         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
890         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
894         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
895         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
896         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
897         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
898         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
899         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
900         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
901         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
902         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
903         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
904         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
906 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
908         [BZ #18371]
909         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
910         intermediate but not final result might underflow.
911         * math/s_csqrtf.c (__csqrtf): Likewise.
912         * math/s_csqrtl.c (__csqrtl): Likewise.
913         * math/auto-libm-test-in: Add more tests of csqrt.
914         * math/auto-libm-test-out: Regenerated.
915         * sysdeps/i386/fpu/libm-test-ulps: Update.
917         [BZ #18219]
918         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
919         threshold on absolute value of exponent for which scaling is used.
920         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
921         * math/auto-libm-test-in: Add more tests of exp2.
922         * math/auto-libm-test-out: Regenerated.
924 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
926         [BZ #17977]
927         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
928         when initializing interface list, based on the bug analysis
929         and the patch proposed by Eric Newton.
930         * resolv/tst-res_hconf_reorder.c: New test.
931         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
932         tst-res_hconf_reorder.
933         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
934         and $(shared-thread-library).
935         (tst-res_hconf_reorder-ENV): New variable.
937         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
938         in comment.
940 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
942         [BZ #16353]
943         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
944         (__expm1): Force underflow exception for arguments with small
945         absolute value.
946         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
947         (__expm1f): Force underflow exception for arguments with small
948         absolute value.
949         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
950         (__expm1): Force underflow exception for arguments with small
951         absolute value.
952         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
953         (__expm1f): Force underflow exception for arguments with small
954         absolute value.
955         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
956         Check for small arguments before calling __expm1.
957         * math/auto-libm-test-in: Do not mark underflow exceptions as
958         possibly missing for bug 16353.
959         * math/auto-libm-test-out: Regenerated.
961 2015-06-22  Andreas Schwab  <schwab@suse.de>
963         [BZ #18513]
964         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
965         PTR queries.
967 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
969         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
971         * string/strcoll_l.c: Remove unused struct element idxnow.
973 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
975         [BZ #18569]
976         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
977         underflow and return argument in case of subnormal argument.
978         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
979         Likewise.
980         * math/auto-libm-test-in: Add more tests of expm1.
981         * math/auto-libm-test-out: Regenerated.
983         [BZ #16361]
984         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
985         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
986         tiny results.
987         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
988         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
989         tiny results.
990         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
991         mark underflow exceptions as possibly missing for bug 16361.
992         * math/auto-libm-test-out: Regenerated.
994 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
996         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
997         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
998         Remove variable.
999         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1000         (test-xfail-XOPEN2K8/utmpx.h/conform).
1002         * conform/conformtest.pl ($xerrors): New variable.
1003         (note_error): New function.
1004         (compiletest): New argument $xfail.  Use not_error.
1005         (runtest): Likewise.
1006         (top level): Handle xfail- lines.  Update calls to compiletest and
1007         runtest.  Handle xfail- and optional- in headers listed with
1008         allow-header.
1009         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1010         (O_EXEC): Likewise.
1011         (O_SEARCH): Likewise.
1012         * conform/data/stropts.h-data (ioctl): Likewise.
1013         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1014         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1015         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1016         (msghdr.msg_controllen): Likewise.
1017         (cmsghdr.cmsg_len): Likewise.
1018         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1019         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1020         variable.
1021         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1022         (test-xfail-XPG4/stropts.h/conform): Likewise.
1023         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1024         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1025         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1026         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1027         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1028         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1029         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1030         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1031         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1032         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1033         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1034         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1035         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1036         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1037         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1038         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1039         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1040         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1041         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1043 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1045         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1046         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1047         definitions for proper unfolding of __MATHDECL_VEC.
1049 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1051         * benchtests/bench-strcoll.c:
1052         Include string.h.
1053         (main): Remove unused variable res.
1055 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1057         * timezone/Makefile (%/UTC %/Universal):
1058         Generate test-result files for UTC and Universal.
1060 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1062         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1064 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1066         [BZ #16350]
1067         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1068         for arguments with small absolute value.
1069         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1070         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1071         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1072         (__asinh): Force underflow exception for arguments with small
1073         absolute value.
1074         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1075         (__asinhf): Force underflow exception for arguments with small
1076         absolute value.
1077         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1078         (__asinhl): Force underflow exception for arguments with small
1079         absolute value.
1080         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1081         (__asinhl): Force underflow exception for arguments with small
1082         absolute value.
1083         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1084         (__asinhl): Force underflow exception for arguments with small
1085         absolute value.
1086         * math/auto-libm-test-in: Do not mark underflow exceptions as
1087         possibly missing for bug 16350.
1088         * math/auto-libm-test-out: Regenerated.
1090         * include/bits/ipc.h: Remove file.
1091         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1092         variable.
1093         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1094         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1095         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1096         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1097         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1098         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1099         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1100         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1101         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1103         * math/auto-libm-test-in: Remove spurious underflow allowance for
1104         tests of cexp.
1105         * math/auto-libm-test-out: Regenerated.
1107         [BZ #18558]
1108         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1109         unconditional definition.
1110         (MCAST_BLOCK_SOURCE): Likewise.
1111         (MCAST_UNBLOCK_SOURCE): Likewise.
1112         (MCAST_LEAVE_GROUP): Likewise.
1113         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1114         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1115         (MCAST_MSFILTER): Likewise.
1116         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1117         Remove variable.
1118         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1119         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1120         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1121         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1122         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1124 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1126         * NEWS: Mention addition of x86_64 vector sincosf.
1127         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1128         * math/test-float-vlen4.h: Likewise.
1129         * math/test-float-vlen8.h: Likewise.
1130         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1131         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1132         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1133         * sysdeps/x86_64/fpu/Versions: New versions added.
1134         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1135         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1136         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1140         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1143         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1144         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1145         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1146         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1147         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1148         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1149         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1150         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1151         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1152         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1153         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1156         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1157         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1159         * NEWS: Mention addition of x86_64 vector sincos.
1160         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1161         * math/math.h (__MATHDECL_VEC): New macro.
1162         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1163         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1164         declaration under condition.
1165         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1166         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1167         TEST_VEC_LOOP change.
1168         * math/test-double-vlen4.h: Likewise.
1169         * math/test-double-vlen8.h: Likewise.
1170         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1171         * math/test-float-vlen4.h: Likewise.
1172         * math/test-float-vlen8.h: Likewise.
1173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1174         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1175         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1176         * sysdeps/x86_64/fpu/Versions: New versions added.
1177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1178         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1179         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1180         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1182         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1183         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1185         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1186         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1187         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1188         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1189         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1190         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1191         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1192         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1194         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1197         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1198         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1200         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1202         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1203         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1204         redirections for powf.
1205         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1206         * sysdeps/x86_64/fpu/Versions: New versions added.
1207         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1208         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1209         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1210         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1211         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1213         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1217         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1218         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1219         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1220         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1221         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1222         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1223         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1224         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1225         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1226         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1227         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1228         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1229         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1230         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1231         * math/test-float-vlen16.h: Fixed 2 argument macro.
1232         * math/test-float-vlen4.h: Likewise.
1233         * math/test-float-vlen8.h: Likewise.
1234         * NEWS: Mention addition of x86_64 vector powf.
1236 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1238         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1239         and redefine.
1240         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1241         and redefine.
1242         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1243         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1244         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1246         [BZ #18553]
1247         * resource/getpriority.c (getpriority): Rename to __getpriority
1248         and define as weak alias of __getpriority.
1249         * resource/setpriority.c (setpriority): Rename to __setpriority
1250         and define as weak alias of __setpriority.
1251         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1252         __getpriority and define as weak alias of __getpriority.
1253         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1254         __setpriority and define as weak alias of __setpriority.
1255         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1256         strong name.
1257         (setpriority): Use __setpriority as strong name.
1258         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1259         __getpriority and define as weak alias of __getpriority.
1260         * include/sys/resource.h (__getpriority): Declare.  Use
1261         libc_hidden_proto.
1262         (__setpriority): Likewise.
1263         (getpriority): Don't use libc_hidden_proto.
1264         (setpriority): Likewise.
1265         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1266         getpriority.  Call __setpriority instead of setpriority.
1267         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1268         Remove variable.
1270         [BZ #18547]
1271         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1272         as weak alias of __getttynam.  Use prototype function definition.
1273         Call __setttyent, __getttyent and __endttyent instead of
1274         setttyent, getttyent and endttyent.
1275         (getttyent): Rename to __getttyent and define as weak alias of
1276         __getttyent.  Call __setttyent instead of setttyent.  Call
1277         __fgets_unlocked instead of fgets_unlocked.
1278         (setttyent): Rename to __setttyent and define as weak alias of
1279         __setttyent.
1280         (endttyent): Rename to __endttyent and define as weak alias of
1281         __endttyent.
1282         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1283         (__setttyent): Likewise.
1284         (__endttyent): Likewise.
1285         (getttyent): Don't use libc_hidden_proto.
1286         (setttyent): Likewise.
1287         (endttyent): Likewise.
1288         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1289         __endttyent instead of setttyent, getttyent and endttyent.
1290         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1291         Remove variable.
1293         [BZ #18546]
1294         * socket/recv.c (__recv): Use libc_hidden_def.
1295         * socket/socket.c (__socket): Likewise.
1296         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1297         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1298         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1299         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1300         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1301         libc_hidden_def.
1302         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1303         libc_hidden_weak.
1304         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1305         Use libc_hidden_proto.
1306         (__recv): Likewise.
1307         * socket/Versions (libc): Export __recv and __socket at version
1308         GLIBC_PRIVATE.
1309         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1310         instead of recv.
1311         (init_mq_netlink): Call __socket instead of socket.
1312         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1313         Remove variable.
1315         [BZ #18545]
1316         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1317         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1318         hidden_weak.
1319         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1320         define as alias of __mq_timedsend.  Use hidden_weak.
1321         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1322         __mq_timedsend as strong name.
1323         (mq_timedreceive): Use __mq_timedreceive as strong name.
1324         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1325         (__mq_timedreceive): Likewise.
1326         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1327         __mq_timedreceive instead of mq_timedreceive.
1328         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1329         instead of mq_timedsend.
1330         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1331         Remove variable.
1333         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1334         hidden_def and hidden_weak instead of libc_hidden_def and
1335         libc_hidden_weak.
1336         (top level): Refer to hidden_def in comment.
1337         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1338         macro.  Use it instead of libc_hidden_def.
1339         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1340         specify __GI_* name explicitly.
1341         (mq_timedreceive): Likewise.
1342         (mq_setattr): Likewise.
1344         [BZ #18544]
1345         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1346         __pthread_barrier_init and define as weak alias of
1347         __pthread_barrier_init.
1348         * sysdeps/sparc/nptl/pthread_barrier_init.c
1349         (pthread_barrier_init): Likewise.
1350         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1351         __pthread_barrier_wait and define as weak alias of
1352         __pthread_barrier_wait.
1353         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1354         (pthread_barrier_wait): Likewise.
1355         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1356         (pthread_barrier_wait): Likewise.
1357         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1358         (pthread_barrier_wait): Likewise.
1359         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1360         (pthread_barrier_wait): Likewise.
1361         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1362         __pthread_barrier_wait at version GLIBC_PRIVATE.
1363         * include/pthread.h (__pthread_barrier_init): Declare.
1364         (__pthread_barrier_wait): Likewise.
1365         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1366         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1367         (helper_thread): Likewise.
1368         (init_mq_netlink): Call __pthread_barrier_init instead of
1369         pthread_barrier_init.
1371         [BZ #18542]
1372         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1373         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1374         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1375         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1376         vswscanf.
1377         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1378         Remove variable.
1380         [BZ #18540]
1381         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1382         strong alias of _IO_fflush.  Use libc_hidden_def.
1383         * libio/iofflush_u.c (fflush_unlocked): Rename to
1384         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1385         Use libc_hidden_weak.
1386         * include/stdio.h (__fflush_unlocked): Declare.  Use
1387         libc_hidden_proto.
1388         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1389         fflush_unlocked.
1390         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1391         Remove variable.
1393         [BZ #18539]
1394         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1395         define as weak alias of __addseverity.
1396         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1397         Remove variable.
1398         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1399         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1400         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1402         [BZ #18536]
1403         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1404         (__tfind): Likewise.
1405         (__tdelete): Likewise.
1406         (__twalk): Likewise.
1407         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1408         __twalk to GLIBC_PRIVATE.
1409         * include/search.h (__tsearch): Use libc_hidden_proto.
1410         (__tfind): Likewise.
1411         (__tdelete): Likewise.
1412         (__twalk): Likewise.
1413         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1414         Call __tdelete instead of tdelete.
1415         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1416         tfind.  Call __tsearch instead of tsearch.
1417         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1418         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1419         Remove variable.
1420         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1422         [BZ #18534]
1423         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1424         (dprintf): Define as a weak alias of __dprintf, not a strong
1425         alias.
1426         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1427         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1428         dprintf.
1429         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1430         Remove variable.
1431         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1432         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1434         [BZ #18533]
1435         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1436         not a strong alias.
1437         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1438         Remove variable.
1440         [BZ #18532]
1441         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1442         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1443         (in6addr_loopback): Rename to __in6addr_loopback and define as
1444         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1445         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1446         libc_hidden_proto.
1447         (__in6addr_any): Likewise.
1448         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1449         in6addr_any.
1450         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1451         variable.
1452         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1454 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1456         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1457         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1458         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1459         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1460         redirections for pow.
1461         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1462         * sysdeps/x86_64/fpu/Versions: New versions added.
1463         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1464         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1465         build of SSE, AVX2 and AVX512 IFUNC versions.
1466         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1469         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1473         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1474         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1475         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1476         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1477         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1478         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1479         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1480         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1481         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1482         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1483         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1484         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1485         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1486         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1487         * NEWS: Mention addition of x86_64 vector pow.
1489         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1490         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1491         redirections for expf.
1492         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1493         * sysdeps/x86_64/fpu/Versions: New versions added.
1494         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1495         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1496         build of SSE, AVX2 and AVX512 IFUNC versions.
1497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1498         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1499         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1500         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1502         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1503         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1504         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1505         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1506         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1507         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1508         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1509         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1510         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1511         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1512         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1513         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1514         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1515         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1516         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1517         * NEWS: Mention addition of x86_64 vector expf.
1519         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1520         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1521         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1522         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1523         redirections for exp.
1524         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1525         * sysdeps/x86_64/fpu/Versions: New versions added.
1526         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1527         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1528         build of SSE, AVX2 and AVX512 IFUNC versions.
1529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1531         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1535         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1536         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1537         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1538         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1539         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1540         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1541         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1542         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1543         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1544         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1545         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1546         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1547         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1548         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1549         * NEWS: Mention addition of x86_64 vector exp.
1551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1553         redirections for logf.
1554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1555         * sysdeps/x86_64/fpu/Versions: New versions added.
1556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1558         build of SSE, AVX2 and AVX512 IFUNC versions.
1559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1565         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1566         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1567         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1568         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1569         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1570         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1571         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1572         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1573         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1574         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1577         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1578         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1579         * NEWS: Mention addition of x86_64 vector logf.
1581         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1582         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1584         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1585         redirections for log.
1586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1587         * sysdeps/x86_64/fpu/Versions: New versions added.
1588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1589         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1590         build of SSE, AVX2 and AVX512 IFUNC versions.
1591         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1592         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1593         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1594         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1595         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1596         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1597         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1598         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1599         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1600         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1601         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1602         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1603         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1604         test.
1605         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1608         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1609         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1610         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1611         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1612         * NEWS: Mention addition of x86_64 vector log.
1614 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1616         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1617         cfi_adjust_cfa_offset argument.
1618         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1619         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1621         [BZ #18034]
1622         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1623         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1624         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1625         ordering using ldar.
1626         (_dl_tlsdesc_dynamic): Likewise.
1627         (_dl_tlsdesc_return_lazy): Likewise.
1628         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1629         relaxed atomics instead of volatile and synchronize with release store.
1630         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1631         volatile.
1632         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1634 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1639         * sysdeps/x86_64/fpu/Versions: New versions added.
1640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1641         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1642         build of SSE, AVX2 and AVX512 IFUNC versions.
1643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1648         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1649         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1650         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1651         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1652         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1653         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1654         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1655         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1656         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1657         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1658         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1659         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1660         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1661         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1662         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1663         * NEWS: Mention addition of x86_64 vector sinf.
1665 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1667         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1668         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1669         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1670         Remove variable.
1671         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1672         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1674 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #18530]
1677         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1678         strong alias of _IO_fputs.  Use libc_hidden_def.
1679         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1680         and define as weak alias of __fputs_unlocked.  Use
1681         libc_hidden_weak.
1682         * include/stdio.h (__fputs_unlocked): Declare.  Use
1683         libc_hidden_proto.
1684         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1685         fputs_unlocked.
1687         [BZ #18529]
1688         * resolv/netdb.h [__USE_POSIX]: Change condition to
1689         [__USE_XOPEN2K].
1690         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1691         not expect.
1692         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1693         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1694         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1695         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1696         [XPG4 || UNIX98] (AI_ALL): Likewise.
1697         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1698         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1699         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1700         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1701         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1702         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1703         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1704         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1705         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1706         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1707         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1708         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1709         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1710         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1711         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1712         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1713         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1714         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1715         [XPG4 || UNIX98] (gai_strerror): Likewise.
1716         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1717         [XPG4 || UNIX98] (getnameinfo): Likewise.
1719         [BZ #18528]
1720         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1721         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1722         __USE_XOPEN2K8].
1723         (getgrent): Likewise.
1724         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1725         expect.
1726         [XPG3 || POSIX2008] (endgrent): Likewise.
1727         [XPG3] (setgrent): Likewise.
1728         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1729         variable.
1730         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1732         [BZ #18527]
1733         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1734         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1735         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1736         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1737         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1738         * include/unistd.h (__getlogin_r): Declare.  Use
1739         libc_hidden_proto.
1740         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1741         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1742         variable.
1743         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1744         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1745         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1747 2015-06-12  Martin Sebor  <msebor@redhat.com>
1749         [BZ #18512]
1750         * Makerules (check-install-supported): New target.
1751         (install): Add check-install-supported as a dependency.
1752         * manual/install.texi (Installing the C Library): Document
1753         that overriding prefix and exec_prefix is not supported.
1754         Mention DESTDIR.
1755         * INSTALL: Regenerate from the above.
1757 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1759         [BZ #18519]
1760         * posix/Versions (libc): Export __libc_pread at version
1761         GLIBC_PRIVATE.
1762         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1763         instead of pread.
1764         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1765         variable.
1767         [BZ #18522]
1768         * misc/efgcvt_r.c
1769         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1770         (cvt_symbol): Use weak_alias instead of strong_alias.
1771         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1772         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1773         Remove variable.
1774         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1775         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1777         [BZ #18520]
1778         * inet/herrno.c (h_errno): Rename to __h_errno.
1779         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1780         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1781         to __h_errno instead of h_errno.
1782         * nptl/herrno.c (h_errno): Rename to __h_errno.
1783         (__h_errno_location): Refer to __h_errno not h_errno.
1784         * resolv/Versions (h_errno): Rename to __h_errno.
1785         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1786         Remove variable.
1787         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1789 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1791         * configure.ac: More strict check for AVX512 assembler support.
1792         * configure: Regenerated.
1794         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1795         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1796         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1797         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1798         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1799         * sysdeps/x86_64/fpu/Versions: New versions added.
1800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1801         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1802         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1803         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1808         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1809         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1810         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1811         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1812         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1813         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1814         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1815         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1816         test.
1817         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1820         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1821         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1822         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1823         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1824         * NEWS: Mention addition of x86_64 vector sin.
1826 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1828         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1829         comment.
1831 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1833         [BZ #18479]
1834         * nptl/pt-interp.c: New file.
1835         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1836         Add pt-interp.
1837         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1838         $(common-objpfx)runtime-linker.h.
1840 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1842         * Makeconfig (+interp): Remove unused variable.
1843         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1844         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1845         $(elf-objpfx)runtime-linker.h.
1846         ($(elf-objpfx)runtime-linker.h): Rename to
1847         $(common-objpfx)runtime-linker.h and move ...
1848         * Makerules [$(build-shared) = yes]: ... here.
1849         * elf/interp.c: Include <runtime-linker.h> instead of
1850         <elf/runtime-linker.h>.
1852 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1854         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1855         (__gettimeofday_syscall): Remove vsyscall fallback.
1856         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1857         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1858         Add syscall fallback function.
1859         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1860         if vDSO is not present.
1861         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1862         fallback function.
1863         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1864         present.
1865         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1866         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1868 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1870         [BZ #18497]
1871         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1872         of wcscmp.
1873         (wcscmp): Define as weak alias of WCSCMP.
1874         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1875         wcscoll.
1876         (USE_HIDDEN_DEF): Define.
1877         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1878         __wcscoll.  Don't use libc_hidden_weak.
1879         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1880         wcscmp.
1881         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1882         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1883         __GI_wcscmp.
1884         (weak_alias): Undefine and redefine.
1885         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1886         __wcscmp and define as weak alias of __wcscmp.
1887         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1888         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1889         (__wcscoll): Likewise.
1890         (wcscmp): Don't use libc_hidden_proto.
1891         (wcscoll): Likewise.
1892         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1893         wcscoll.
1894         * posix/regexec.c (check_node_accept_bytes): Likewise.
1895         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1896         variable.
1897         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1898         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1900         [BZ #18507]
1901         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1902         __fstatvfs and define as weak alias of __fstatvfs.  Use
1903         libc_hidden_weak.
1904         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1905         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1906         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1907         Define as alias of __fstatvfs, not fstatvfs.
1908         (fstatvfs64): Likewise.
1909         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1910         Define as alias of __statvfs, not statvfs.
1911         (statvfs64): Likewise.
1912         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1913         Remove variable.
1915 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1918         (HAVE_GETCPU_VSYSCALL): Define.
1919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1920         (HAVE_GETCPU_VSYSCALL): Likewise.
1921         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1922         * sysdeps/unix/sysv/linux/sched_getcpu.c
1923         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1924         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1925         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1926         prototype.
1927         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1928         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1929         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1931         Define.
1932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1933         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1934         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1935         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1937 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1939         * sysdeps/x86_64/fpu/Makefile: New file.
1940         * sysdeps/x86_64/fpu/Versions: New file.
1941         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1942         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1943         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1944         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1945         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1946         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1947         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1951         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1952         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1954         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1955         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1956         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1957         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1958         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1959         * sysdeps/x86_64/configure: Regenerated.
1960         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1961         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1962         * manual/install.texi (Configuring and compiling): Document
1963         --disable-mathvec.
1964         * INSTALL: Regenerated.
1965         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1967         * math/Makefile: Added rules for vector tests.
1968         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1969         declaration under condition.
1970         * math/test-double-vlen2.h: New file.
1971         * math/test-double-vlen4.h: New file.
1972         * math/test-double-vlen8.h: New file.
1973         * math/test-vec-loop.h: Added initialization macro.
1974         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1976         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1977         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1978         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1979         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1981         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1982         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1983         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1984         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1987         * sysdeps/x86_64/fpu/Versions: New versions added.
1988         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1990         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1991         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1992         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1994         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1995         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1996         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1997         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1998         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1999         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2000         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2001         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2002         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2003         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2004         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2005         * NEWS: Mention addition of x86_64 vector cosf.
2007         * math/Makefile: Added CFLAGS for new tests.
2008         * math/test-float-vlen16.h: New file.
2009         * math/test-float-vlen4.h: New file.
2010         * math/test-float-vlen8.h: New file.
2011         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2012         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2013         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2014         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2015         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2016         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2017         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2018         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2019         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2020         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2021         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2023 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2025         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2026         * locale/programs/ld-ctype.c: Likewise.
2028 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2030         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2031         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2032         bit_ZMM16_31_state): New macro.
2033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2034         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2036 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2038         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2040 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2042         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2044 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2046         [BZ #18498]
2047         * libio/memstream.c (open_memstream): Rename to __open_memstream
2048         and define as weak alias of __open_memstream.
2049         * include/stdio.h (__open_memstream): Declare.  Use
2050         libc_hidden_proto.
2051         (open_memstream): Don't use libc_hidden_proto.
2052         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2053         open_memstream.
2054         * posix/getopt.c (_getopt_internal_r): Likewise.
2055         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2056         variable.
2057         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2058         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2059         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2061         [BZ #18496]
2062         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2063         instead of wcrtomb.
2065         [BZ #18483]
2066         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2067         [__USE_XOPEN2K8].  Remove redundant #endif.
2068         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2069         Remove redundant #if.
2070         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2071         Remove variable.
2072         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2073         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2075         [BZ #18495]
2076         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2077         (__iswlower): Likewise.
2078         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2079         (__iswlower): Likewise.
2080         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2081         instead of towlower.
2082         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2083         instead of iswlower.  Call __towupper instead of towupper.
2084         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2085         instead of iswalnum.
2087 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2089         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2090         errors to stderr.
2092 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2094         [BZ #15661]
2095         [BZ #17322]
2096         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2097         Check for overflow properly.  Check for O_APPEND.  Ignore large
2098         file system block sizes.  Add comments about problems.
2099         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2100         * manual/filesys.texi (Storage Allocation): New node.
2102 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2104         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2105         cancellable syscalls.
2106         (SYS_ify): Add guard to no redefine it.
2107         (INLINE_SYSCALL): Likewise.
2108         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2109         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2110         SYSCALL_CANCEL instead.
2111         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2112         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2113         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2114         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2115         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2116         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2117         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2118         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2119         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2120         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2121         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2122         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2123         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2124         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2125         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2127         Likewise.
2128         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2129         (__libc_pread64): Likewise.
2130         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2131         (__libc_preadv): Likewise.
2132         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2133         (__libc_readv64): Likewise.
2134         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2135         (__libc_pwrite): Likewise.
2136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2137         (__libc_pwrite64): Likewise.
2138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2139         (__libc_pwritev): Likewise.
2140         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2141         (__libc_pwritev64): Likewise.
2142         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2143         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2144         (sync_file_range): Likewise.
2145         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2146         Likewise.
2147         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2148         Likewise.
2149         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2150         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2151         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2152         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2153         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2154         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2155         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2156         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2158         Likewise.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2160         (__libc_read64): Likewise.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2162         Likewise.
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2164         Likewise.
2165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2166         Likewise.
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2168         Likewise.
2169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2170         (__libc_pread64): Likewise.
2171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2172         Likewise.
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2174         (__libc_pwrite64): Likewise.
2175         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2176         (sync_file_range): Likewise.
2177         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2178         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2179         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2180         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2181         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2182         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2183         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2184         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2185         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2186         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2187         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2188         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2189         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2190         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2191         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2192         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2193         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2194         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2195         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2196         Likewise.
2197         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2198         Likewise.
2199         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2200         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2201         Likewise.
2202         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2203         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2204         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2205         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2206         Likewise.
2207         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2208         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2209         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2210         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2211         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2213 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2215         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2216         Include dl-vdso.
2217         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2218         Use VDSO routines for gettimeofday, clock_gettime if
2219         available.
2220         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2221         Declare VDSO symbols.
2222         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2223         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2224         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2225         * sysdeps/unix/sysv/linux/arm/Versions: Add
2226         __vdso_clock_gettime.
2228 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2230         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2231         be an inline implementation regardless of library is built within.
2232         (open_not_cancel_2): Likewise.
2233         (__read_nocancel): Likewise.
2234         (__write_nocancel): Likewise.
2235         (openat_not_cancel): Likewise.
2236         (openat_not_cancel_3): Likewise.
2237         (openat64_not_cancel): Likewise.
2238         (openat64_not_cancel_3): Likewise.
2239         (__close_nocancel): Likewise.
2240         (pause_not_cancel): Likewise.
2241         (nanosleep_not_cancel): Likewise.
2242         (sigsuspend_not_cancel): Likewise.
2244 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2246         [BZ #14958]
2247         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2248         wake-up.
2249         (__pthread_rwlock_rdlock_slow): Likewise.
2250         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2251         Likewise.
2252         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2253         Likewise.
2254         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2255         * nptl/tst-rwlock16.c: New file.
2256         * nptl/Makefile (tests): Add new test.
2258 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2260         [BZ #18324]
2261         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2262         missing wake-up of readers.
2263         * nptl/tst-rwlock15.c: New file.
2264         * nptl/Makefile (tests): Add new test.
2266 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2268         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2269         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2270         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2271         and __nacl_supply_interface_rtld.
2272         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2273         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2274         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2275         Add __nacl_supply_interface_rtld.
2276         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2278 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2280         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2281         isfinite.
2282         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2283         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2285 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2287         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2288         __signbit* with standard C99 macros.
2289         * math/e_exp10l.c: Likewise.
2290         * math/e_exp2l.c: Likewise.
2291         * math/e_scalb.c: Likewise.
2292         * math/e_scalbf.c: Likewise.
2293         * math/e_scalbl.c: Likewise.
2294         * math/s_ldexp.c: Likewise.
2295         * math/s_ldexpf.c: Likewise.
2296         * math/s_ldexpl.c: Likewise.
2297         * math/w_atan2.c: Likewise.
2298         * math/w_atan2f.c: Likewise.
2299         * math/w_atan2l.c: Likewise.
2300         * math/w_cosh.c: Likewise.
2301         * math/w_coshf.c: Likewise.
2302         * math/w_coshl.c: Likewise.
2303         * math/w_exp10.c: Likewise.
2304         * math/w_exp10f.c: Likewise.
2305         * math/w_exp10l.c: Likewise.
2306         * math/w_exp2.c: Likewise.
2307         * math/w_exp2f.c: Likewise.
2308         * math/w_exp2l.c: Likewise.
2309         * math/w_fmod.c: Likewise.
2310         * math/w_fmodf.c: Likewise.
2311         * math/w_fmodl.c: Likewise.
2312         * math/w_hypot.c: Likewise.
2313         * math/w_hypotf.c: Likewise.
2314         * math/w_hypotl.c: Likewise.
2315         * math/w_jnl.c: Likewise.
2316         * math/w_lgamma.c: Likewise.
2317         * math/w_lgamma_r.c: Likewise.
2318         * math/w_lgammaf.c: Likewise.
2319         * math/w_lgammaf_r.c: Likewise.
2320         * math/w_lgammal.c: Likewise.
2321         * math/w_lgammal_r.c: Likewise.
2322         * math/w_pow.c: Likewise.
2323         * math/w_powf.c: Likewise.
2324         * math/w_powl.c: Likewise.
2325         * math/w_remainder.c: Likewise.
2326         * math/w_remainderf.c: Likewise.
2327         * math/w_remainderl.c: Likewise.
2328         * math/w_scalb.c: Likewise.
2329         * math/w_scalbf.c: Likewise.
2330         * math/w_scalbl.c: Likewise.
2331         * math/w_scalbln.c: Likewise.
2332         * math/w_scalblnf.c: Likewise.
2333         * math/w_scalblnl.c: Likewise.
2334         * math/w_sinh.c: Likewise.
2335         * math/w_sinhf.c: Likewise.
2336         * math/w_sinhl.c: Likewise.
2337         * math/w_tgamma.c: Likewise.
2338         * math/w_tgammaf.c: Likewise.
2339         * math/w_tgammal.c: Likewise.
2340         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2341         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2342         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2343         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2344         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2345         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2346         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2347         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2348         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2349         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2350         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2368         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2369         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2371         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2372         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2373         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2374         * stdio-common/printf_fp.c: Likewise.
2375         * stdio-common/printf_fphex.c: Likewise.
2376         * stdio-common/printf_size.c: Likewise.
2378 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2380         [BZ #18470]
2381         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2382         strnlen.
2383         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2384         Remove variable.
2385         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2386         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2387         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2388         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2389         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2390         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2391         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2392         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2393         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2394         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2396         [BZ #18468]
2397         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2398         weak alias of __wmemchr.  Use libc_hidden_weak.
2399         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2400         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2401         instead of wmemchr.
2403 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2405         [BZ #18383]
2406         * elf/tst-tlsalign-extern.c: New file.
2407         * elf/tst-tlsalign-extern-static.c: New file.
2408         * elf/tst-tlsalign-vars.c: New file.
2409         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2410         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2411         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2412         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2413         (test-xfail-tst-tlsalign-extern-static): New variable.
2415 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2417         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2418         Use variable name _sc_err instead of err.
2419         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2420         instead of ret.
2421         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2422         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2423         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2424         (INLINE_SYSCALL): Likewise.
2426         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2427         * include/string.h (__strnlen): Use libc_hidden_proto.
2428         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2429         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2430         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2431         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2432         (libc_hidden_def): Undefine and redefine.
2433         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2434         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2435         __GI_strnlen.
2436         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2437         libc_hidden_def.
2438         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2440         [BZ #18469]
2441         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2442         weak alias of __towlower.  Use libc_hidden_weak.
2443         (towupper): Rename to __towupper and define as weak alias of
2444         __towupper.  Use libc_hidden_weak.
2445         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2446         (__towupper): Likewise.
2447         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2448         __towlower instead of towlower.
2450 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2452         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2453         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2455 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2457         * sysdeps/aarch64/libm-test-ulps: Update.
2459 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2461         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2462         Define.
2463         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2465         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2466         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2467         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2468         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2469         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2471 2015-06-01  Martin Sebor  <msebor@redhat.com>
2473         [BZ #18116]
2474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2475         (__setcontext): Use extended four-operand version of mtsf whenever
2476         possible.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2478         (__novec_swapcontext): Likewise.
2480 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2482         * benchtests/scripts/compare_bench.py: New file.
2483         * benchtests/scripts/import_bench.py (mean): New function.
2484         (split_list): Likewise.
2485         (do_for_all_timings): Likewise.
2486         (compress_timings): Likewise.
2488         * benchtests/scripts/import_bench.py: New file.
2489         * benchtests/scripts/validate_benchout.py: Import import_bench
2490         instead of jsonschema.
2491         (validate_bench): Remove function.
2492         (main): Use import_bench.
2494 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2496         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2497         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2499 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2503 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2505         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2506         set THREAD_SELF->tid to a magic value and futex-wake it.
2507         Pass its address to the thread_exit system call.
2508         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2509         bit is clear.
2510         * sysdeps/nacl/lowlevellock.h: New file.
2511         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2513         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2514         Add TIMEOUT to current time, don't subtract it.
2516 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2518         [BZ #18422]
2519         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2520         ($(objpfx)tst-audit2.out): Also depend on
2521         $(objpfx)tst-auditmod9b.so.
2522         * elf/tst-audit2.c: Include <dlfcn.h>.
2523         (calloc_called): New.
2524         (calloc): Allow to be called more than once.
2525         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2527 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2529         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2530         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2532 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2534         * stdlib/monetary.h: Fix comment.
2536 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2538         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2539         Avoid using variables in #defines that might cause shadowing.
2540         (INTERNAL_VSYSCALL_CALL): Likewise.
2542 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2544         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2546         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2547         * nptl/lll_timedlock_wait.c: ... to this new file.
2548         * nptl/Makefile (libpthread-routines): Add it.
2549         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2550         * nptl/lll_timedwait_tid.c: ... to this new file.
2551         * nptl/Makefile (libpthread-routines): Add it.
2552         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2553         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2554         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2555         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2556         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2557         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2558         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2559         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2560         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2561         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2563 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2565         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2566         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2567         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2569         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2571         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2573         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2574         * sysdeps/unix/sysv/linux/tile/sysdep.h
2575         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2576         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2577         using vDSO syscall macro.
2579 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2581         [BZ #17293]
2582         * uk_UA: Fix sorting order for Ukrainian locale
2584 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2586         * stdlib/monetary.h: Fix comment.
2588 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2590         [BZ #18234]
2591         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2592         st_mtim and st_ctim members.
2593         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2594         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2595         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2596         (struct stat64): Likewise.
2597         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2598         (struct stat64): Likewise.
2599         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2600         (struct stat64): Likewise.
2602 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2604         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2605         Define and include sysdep-vdso.h.
2606         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2607         Likewise.
2608         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2609         Likewise.
2610         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2611         Define with VDSO_SYMBOL and use PTR_MANGLE.
2612         (__vdso_clock_gettime): Likewise.
2613         (__vdso_clock_getres): Likewise.
2614         (_libc_vdso_platform_setup): Likewise.
2615         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2616         Likewise.
2617         (_libc_vdso_platform_setup): Likewise.
2618         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2619         Likewise.
2620         (__vdso_clock_gettime): Likewise.
2621         (__vdso_clock_getres): Likewise.
2622         (__vdso_get_tbfreq): Likewise.
2623         (__vdso_getcpu): Likewise.
2624         (__vdso_time): Likewise.
2625         (__vdso_sigtramp_rt64): Likewise.
2626         (__vdso_signtramp32): Likewise.
2627         (__vdso_sigtramp_rt32): Likewise.
2628         (_libc_vdso_platform_setup): Likewise.
2629         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2630         Likewise.
2631         (__vdso_clock_gettime): Likewise.
2632         (__vdso_clock_getres): Likewise.
2633         (_libc_vdso_platform_setup): Likewise.
2634         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2635         Likewise.
2636         (__vdso_clock_gettime): Likewise.
2637         (_libc_vdso_platform_setup): Likewise.
2638         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2639         Likewise.
2640         (__vdso_getcpu): Likewise.
2641         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2642         Use VDSO_SYMBOL macro to define.
2643         (__vdso_clock_gettime): Likewise.
2644         (__vdso_clock_getres): Likewise.
2645         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2646         Likewise.
2647         (__vdso_clock_gettime): Likewise.
2648         (__vdso_clock_getres): Likewise.
2649         (__vdso_get_tbfreq): Likewise.
2650         (__vdso_getcpu): Likewise.
2651         (__vdso_time): Likewise.
2652         (__vdso_sigtramp_rt64): Likewise.
2653         (__vdso_signtramp32): Likewise.
2654         (__vdso_sigtramp_rt32): Likewise.
2655         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2656         Likewise.
2657         (__vdso_clock_gettime): Likewise.
2658         (__vdso_clock_getres): Likewise.
2659         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2660         Likewise.
2661         (__vdso_clock_gettime): Likewise.
2662         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2663         Likewise.
2664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2665         macro.
2666         (INTERNAL_VSYSCALL): Likewise.
2667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2668         Remove macro.
2669         (INTERNAL_VSYSCALL): Likewise.
2670         (INTERNAL_VSYSCALL_NCS): Likewise.
2671         (INTERNAL_VSYSCALL_CALL): New macro.
2672         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2674         Likewise.
2675         (INTERNAL_VSYSCALL): Likewise.
2676         (INTERNAL_VSYSCALL_NCS): Likewise.
2677         (INTERNAL_VSYSCALL_CALL): New macro.
2678         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2680         (INLINE_VSYSCALL): Remove macro.
2681         (INTERNAL_VSYSCALL): Remove macro.
2682         (INTERNAL_VSYSCALL_NCS): Remove macro.
2683         (INTERNAL_VSYSCALL_CALL): New macro.
2684         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2685         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2686         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2687         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2688         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2690         (INLINE_VSYSCALL): Remove macro.
2691         (INTERNAL_VSYSCALL): Likewise.
2692         (INTERNAL_VSYSCALL_NCS): Likewise.
2693         (INTERNAL_VSYSCALL_CALL): New macro.
2694         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2696         PTR_DEMANGLE on vDSO pointer.
2697         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2698         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2699         macro.
2700         (INTERNAL_SYSCALL): Likewise.
2701         (INTERNAL_VSYSCALL_NCS): Remove macro.
2702         (INTERNAL_VSYSCALL_CALL): New macro.
2703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2704         Remove macro.
2705         (INTERNAL_VSYSCALL): Likewise.
2706         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2707         sysdep-vdso.h instead of libc-vdso.h.
2708         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2709         definition.
2710         (INLINE_VSYSCALL): Likewise.
2711         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2712         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2713         definition.
2714         (INLINE_VSYSCALL): Likewise.
2715         (INTERNAL_VSYSCALL): Likewise.
2716         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2717         * sysdeps/unix/sysv/linux/timespec_get.c
2718         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2719         (timespec_get): Use ANSI prototype.
2720         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2721         and definition for Linux.
2723 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2725         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2726         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2728 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2730         [BZ #18410]
2731         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2732         for missing DT_PLTRELSZ.
2734 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2736         Remove obsolete aliases that broke 'locale -a'
2737         [BZ #18412]
2738         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2739         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2740         breaking some applications that use 'locale -a' output.
2741         Change the encoding of this file from Latin-1 to ASCII to avoid
2742         other potential problems with people grepping this file.
2744 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2746         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2747         -fasynchronous-unwind-tables.
2748         (CFLAGS-sendto.c): Likewise.
2749         (CFLAGS-sendmsg.c): Likewise.
2750         (CFLAGS-connect.c): Likewise.
2751         (CFLAGS-recvmsg.c): Likewise.
2752         (CFLAGS-recvfrom.c): Likewise.
2753         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2754         (SOCKETCALL): New macro: non-cancellable socketcall.
2755         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2756         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2757         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2758         * sysdeps/unix/sysv/linux/accept.c: New file.
2759         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2760         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2761         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2762         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2763         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2764         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2765         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2766         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2767         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2768         * sysdeps/unix/sysv/linux/send.c: Likewise.
2769         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2770         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2771         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2772         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2773         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2774         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2775         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2776         prototype.
2777         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2778         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2779         instead of __internal_xxx function.
2780         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2781         prototype.
2782         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2783         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2784         instead of __internal_xxx function.
2785         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2786         prototype.
2787         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2788         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2789         instead of __internal_xxx function.
2790         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2791         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2792         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2793         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2794         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2795         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2796         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2797         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2798         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2799         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2800         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2801         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2802         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2803         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2804         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2805         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2806         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2807         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2808         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2809         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2812         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2813         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2814         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2815         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2816         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2817         * sysdeps/unix/sysv/linux/send.S: Likewise.
2818         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2819         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2820         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2821         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2822         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2823         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2824         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2825         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2826         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2827         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2828         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2829         socketcall is implemented in GLIBC.
2831 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2833         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2834         (__fma): Ignore uninitialized warnings around packing.
2835         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2836         (__fmaf): Ignore uninitialized warnings around packing.
2837         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2838         (__fmal): Ignore uninitialized warnings around packing.
2840         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2841         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2842         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2843         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2845         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2846         switch statement into default case.
2847         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2849         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2850         a conditional in forcing "inexact".
2851         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2852         Likewise.
2854 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2856         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2857         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2858         for each INTERNAL_SYSCALL use.
2860 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #438]
2863         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2864         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2865         variable.
2867         [BZ #18444]
2868         * string/basename.c (basename): Rename to __basename and define as
2869         weak alias of __basename.  Use libc_hidden_weak.
2870         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2871         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2872         __basename instead of basename.
2873         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2874         Remove variable.
2875         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2877 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2879         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2880         (_IO_JUMPS_FILE_plus): New.
2881         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2882         _IO_CAST_FIELD_ACCESS.
2883         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2884         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2885         * libio/freopen.c (freopen): Likewise.
2886         * libio/freopen64.c (freopen64): Likewise.
2887         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2888         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2889         * libio/iofwide.c (_IO_fwide): Likewise.
2890         * libio/memstream.c (open_memstream): Likewise.
2891         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2892         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2893         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2895 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2897         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2898         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2899         NADJ.
2900         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2901         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2902         NADJ.
2903         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2904         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2905         NADJ.
2907         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2908         (p == 4) case.
2910         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2911         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2912         Remove variable.
2913         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2914         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2915         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2917 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2919         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2920         Adjust jump table label generation macros.
2922 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2924         * stdio-common/vfprintf.c (vfprintf): Move local variables
2925         args_malloced, specs, specs_malloced, and the code after
2926         do_positional to the printf_positional function.
2927         (printf_positional): New function.
2929 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2931         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2932         function.
2933         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2934         STEP4_TABLE, process_arg): Move macro definitions
2935         out of the vfprintf function.  (Cosmetic change only.)
2937 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2939         * benchtests/Makefile (stdio-common-bench): Define.
2940         (benchset): Add stdio-common-bench.
2941         * sprintf-inputs: New file.
2942         * sprintf-source.c: New file.
2944 2015-05-21  Andreas Schwab  <schwab@suse.de>
2946         [BZ #13028]
2947         [BZ #17053]
2948         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2949         of struct __res_state.
2950         * resolv/res_send.c (__libc_res_nsend): Likewise.
2951         (get_nsaddr): New function.
2952         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2953         statp directly.
2955 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2957         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2958         -D_POSIX_C_SOURCE=199506L.
2960         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2962         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2963         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2964         Do not mention otherwise.
2965         [POSIX] (_XOPEN_VERSION): Do not expect.
2966         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2967         [POSIX] (_POSIX2_C_BIND): Likewise.
2968         [POSIX] (_POSIX2_VERSION): Likewise.
2969         [POSIX] (_XOPEN_XPG2): Likewise.
2970         [POSIX] (_XOPEN_XPG3): Likewise.
2971         [POSIX] (_XOPEN_XPG4): Likewise.
2972         [POSIX] (_XOPEN_UNIX): Likewise.
2973         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2974         [POSIX] (_POSIX_BARRIERS): Likewise.
2975         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2976         [POSIX] (_POSIX_CPUTIME): Likewise.
2977         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2978         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2979         [POSIX] (_POSIX_SHELL): Likewise.
2980         [POSIX] (_POSIX_SPAWN): Likewise.
2981         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2982         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2983         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2984         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2985         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2986         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2987         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2988         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2989         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2990         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2991         [POSIX] (_POSIX2_PBS): Likewise.
2992         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2993         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2994         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2995         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2996         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2997         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2998         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2999         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3000         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3001         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3002         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3003         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3004         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3005         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3006         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3007         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3008         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3009         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3010         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3011         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3012         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3013         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3014         [POSIX] (_SC_2_C_BIND): Likewise.
3015         [POSIX] (_SC_2_C_VERSION): Likewise.
3016         [POSIX] (_SC_2_PBS): Likewise.
3017         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3018         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3019         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3020         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3021         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3022         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3023         [POSIX] (_SC_BARRIERS): Likewise.
3024         [POSIX] (_SC_BASE): Likewise.
3025         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3026         [POSIX] (_SC_DEVICE_IO): Likewise.
3027         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3028         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3029         [POSIX] (_SC_FD_MGMT): Likewise.
3030         [POSIX] (_SC_FIFO): Likewise.
3031         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3032         [POSIX] (_SC_FILE_LOCKING): Likewise.
3033         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3034         [POSIX] (_SC_IOV_MAX): Likewise.
3035         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3036         [POSIX] (_SC_NETWORKING): Likewise.
3037         [POSIX] (_SC_PAGE_SIZE): Likewise.
3038         [POSIX] (_SC_PASS_MAX): Likewise.
3039         [POSIX] (_SC_PIPE): Likewise.
3040         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3041         [POSIX] (_SC_REGEXP): Likewise.
3042         [POSIX] (_SC_SHELL): Likewise.
3043         [POSIX] (_SC_SIGNALS): Likewise.
3044         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3045         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3046         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3047         [POSIX] (_SC_USER_GROUPS): Likewise.
3048         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3049         [POSIX] (_SC_STREAMS): Likewise.
3050         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3051         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3052         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3053         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3054         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3055         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3056         [POSIX] (_PC_FILESIZEBITS): Likewise.
3057         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3058         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3059         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3060         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3061         [POSIX] (uid_t): Likewise.
3062         [POSIX] (gid_t): Likewise.
3063         [POSIX] (off_t): Likewise.
3064         [POSIX] (pid_t): Likewise.
3065         [POSIX] (cuserid): Allow.
3066         (_SC_2_CHAR_TERM): Require constant.
3067         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3068         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3069         variable.
3071 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3073         * sysdeps/nacl/pthread-pids.h: New file.
3074         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3075         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3077         * nptl/pthread-pids.h: New file.
3078         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3079         * nptl/nptl-init.c: Include <pthread-pids.h>.
3080         (__pthread_initialize_minimal_internal):
3081         Call __pthread_initialize_pids instead of set_tid_address syscall.
3083         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3084         * sysdeps/posix/usleep.c: ... here.
3086 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3088         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3089         call_pselect6 object.
3090         [$(subdir) = io]: Remove call_sync_file_range object.
3091         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3092         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3093         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3094         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3096 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3098         * math/s_cproj.c: Add include "math_private.h".
3099         * math/s_cprojf.c: Likewise.
3100         * math/s_cprojl.c: Likewise.
3102 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3104         [BZ #18244]
3105         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3106         high mantissa bit when testing whether P is a NaN.
3107         * math/libm-test.inc (remainder_test_data): Add more tests.
3108         (remquo_test_data): Likewise.
3110         [BZ #18049]
3111         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3112         below -32, return the argument, with underflow if subnormal.
3113         * math/auto-libm-test-in: Add more tests of atanh.
3114         * math/auto-libm-test-out: Regenerated.
3116 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3118         [BZ #18434]
3119         * nptl/tst-sem15.c: New file.
3120         * nptl/Makefile (tests): Add it.
3121         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3122         s/<</>>/ to fix typo in EOVERFLOW check.
3123         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3125 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3127         * manual/strings.texi (envz_remove): Fix typo in safety
3128         annotations.
3130 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3131             Steve Ellcey  <sellcey@imgtec.com>
3133         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3134         in order to avoid strict alias warnings.
3135         (iruserok_af): Ditto for ra.
3137 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3139         [BZ #17581]
3140         * malloc/hooks.c
3141         (magicbyte): Convert to a function and avoid returning 0x01.
3142         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3143         (mem2chunk_check): Fix unsigned comparisons to zero.
3144         Hoist defs of sz and magic.
3146 2015-05-19  Richard Henderson  <rth@redhat.com>
3148         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3150         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3152 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3154         [BZ #16159]
3155         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3156         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3157         (reused_arena): Find a non-corrupt arena.
3158         (heap_trim): Pass arena to unlink.
3159         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3160         malloc_printerr.
3161         (top_check): Likewise.
3162         (free_check): Likewise.
3163         (realloc_check): Likewise.
3164         * malloc/malloc.c (malloc_printerr): Add arena argument.
3165         (unlink): Likewise.
3166         (munmap_chunk): Adjust.
3167         (ARENA_CORRUPTION_BIT): New macro.
3168         (arena_is_corrupt): Likewise.
3169         (set_arena_corrupt): Likewise.
3170         (sysmalloc): Use mmap if there are no usable arenas.
3171         (_int_malloc): Likewise.
3172         (__libc_malloc): Don't fail if arena_get returns NULL.
3173         (_mid_memalign): Likewise.
3174         (__libc_calloc): Likewise.
3175         (__libc_realloc): Adjust for additional argument to
3176         malloc_printerr.
3177         (_int_free): Likewise.
3178         (malloc_consolidate): Likewise.
3179         (_int_realloc): Likewise.
3180         (_int_memalign): Don't touch corrupt arenas.
3181         * malloc/tst-malloc-backtrace.c: New test case.
3183         * Makefile (summarize-tests): Fix return value on success.
3185         * manual/string.texi (Envz Functions): Add envz_remove.
3187 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3189         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3190         (invalid_name): New function, broken out of ...
3191         (__opendirat): ... here.  Call it.
3192         (need_isdir_precheck): New function, broken out of ...
3193         (__opendirat): ... here.  Call it.
3194         Use __fxstatat64, not __xstatat64.
3195         (opendir_oflags): New function, broken out of ...
3196         (__opendirat): ... here.  Call it.
3197         (opendir_tail): New function, broken out of ...
3198         (__opendirat): ... here.  Call it.
3199         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3200         opendir_tail, rather than punting to __opendirat.
3201         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3203 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3205         * .gitignore: Ignore generated *.pyc.
3207 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3209         * include/stdio.h: Define __need_wint_t.
3210         * test-skeleton.c: Avoid `for' loop initial declaration.
3211         * nptl/tst-initializers1.c: Use test-skeleton.c.
3213 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3215         [BZ #18418]
3216         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3218 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3220         [BZ #16352]
3221         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3222         (__ieee754_atanh): Force underflow exception for results with
3223         small absolute value.
3224         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3225         (__ieee754_atanhf): Force underflow exception for results with
3226         small absolute value.
3227         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3228         (__ieee754_atanh): Force underflow exception for results with
3229         small absolute value.
3230         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3231         (__ieee754_atanhf): Force underflow exception for results with
3232         small absolute value.
3233         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3234         (__ieee754_atanhl): Force underflow exception for results with
3235         small absolute value.
3236         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3237         (__ieee754_atanhl): Force underflow exception for results with
3238         small absolute value.
3239         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3240         (__ieee754_atanhl): Force underflow exception for results with
3241         small absolute value.
3242         * math/auto-libm-test-in: Do not allow missing underflow
3243         exceptions from atanh.
3244         * math/auto-libm-test-out: Regenerated.
3246         [BZ #18221]
3247         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3248         2**-28 as threshold for returning x or +/- 1/x.
3249         * math/auto-libm-test-in: Add more tests of tan.
3250         * math/auto-libm-test-out: Regenerated.
3252         [BZ #18220]
3253         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3254         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3255         * math/auto-libm-test-in: Add another test of lgamma.
3256         * math/auto-libm-test-out: Regenerated.
3258 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3260         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3261         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3262         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3263         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3264         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3265         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3266         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3267         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3269         (log1): Use fabs.  (my_log2): Use fabs.
3270         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3271         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3273         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3275         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3276         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3277         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3278         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3279         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3280         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3282 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3284         [BZ #18217]
3285         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3286         as threshold for returning 1 - x.
3287         * math/auto-libm-test-in: Add more tests of erfc.
3288         * math/auto-libm-test-out: Regenerated.
3290 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3292         [BZ #18196]
3293         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3294         threshold for large arguments.
3295         * math/auto-libm-test-in: Add another test of atan.
3296         * math/auto-libm-test-out: Regenerated.
3298         [BZ #16339]
3299         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3300         (__log1p): Force underflow exception for results with small
3301         absolute value.
3302         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3303         (__log1pf): Force underflow exception for results with small
3304         absolute value.
3305         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3306         (__log1p): Force underflow exception for results with small
3307         absolute value.
3308         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3309         (__log1pf): Force underflow exception for results with small
3310         absolute value.
3311         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3312         (__log1pl): Force underflow exception for results with small
3313         absolute value.
3314         * math/auto-libm-test-in: Do not allow missing underflow
3315         exceptions from log1p.
3316         * math/auto-libm-test-out: Regenerated.
3318 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3319             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3321         [BZ #16704]
3322         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3324 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3326         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3327         (libmvec): New variable.
3328         * configure.ac: Added option for mathvec build.
3329         * configure: Regenerated.
3330         * mathvec/Depend: New file.
3331         * mathvec/Makefile: New file.
3332         * shlib-versions: Added libmvec.
3333         * math/Makefile: Added rule for libm.so installation.
3335         * bits/math-vector.h: New file.
3336         * bits/libm-simd-decl-stubs.h: New header.
3337         * math/Makefile (headers): Added new header
3338         libm-simd-decl-stubs.h.
3339         * math/math.h (__MATHCALL_VEC): New macro.
3341         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3342         for conditions in testing functions.
3343         * math/Makefile: Added call of libm-have-vector-test.sh.
3344         * math/libm-test.inc (HAVE_VECTOR): New macros.
3346         * math/libm-test.inc: START refactored.
3347         * math/test-double.c (TEST_MATHVEC): Add define.
3348         * math/test-float.c: Likewise.
3349         * math/test-idouble.c: Likewise.
3350         * math/test-ifloat.c: Likewise.
3351         * math/test-ildoubl.c: Likewise.
3352         * math/test-ldouble.c: Likewise.
3353         * sysdeps/generic/math-tests-arch.h
3354         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3355         architecture check.
3357         * math/test-double.c (FUNC_TEST): New macro.
3358         * math/test-float.c: Likewise.
3359         * math/test-idouble.c: Likewise.
3360         * math/test-ifloat.c: Likewise.
3361         * math/test-ildoubl.c: Likewise.
3362         * math/test-ldouble.c: Likewise.
3363         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3365 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3367         * sysdeps/nacl/fdopendir.c: New file.
3369         * dirent/scandir-tail.c: New file.
3370         * dirent/scandir64-tail.c: New file.
3371         * dirent/Makefile (routines): Add them.
3372         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3373         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3374         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3375         [!SCANDIR] (SCANDIR_TAIL): New macro.
3376         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3377         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3378         (SCANDIRAT): Macro removed.
3379         (SCANDIR_TAIL): New macro.
3380         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3381         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3382         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3383         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3384         (READDIR): Macro removed.
3385         (SCANDIR_TAIL): New macro.
3386         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3387         (SCANDIR_TAIL): New macro.
3389         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3390         * dirent/scandir-cancel.c: ... to this new file.
3391         * dirent/Makefile (routines): Add it.
3392         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3393         * sysdeps/unix/sysv/linux/i386/scandir64.c
3394         (SKIP_SCANDIR_CANCEL): Macro removed.
3395         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3397         * dirent/tst-scandir.c: New file.
3398         * dirent/tst-scandir64.c: New file.
3399         * dirent/Makefile (tests): Add them.
3401 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3403         [BZ #18409]
3404         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3406 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3408         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3409         list.
3411 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3413         * benchtests/bench-strcoll.c: New benchmark.
3414         * benchtests/Makefile: Generate locales and run benchmark.
3415         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3416         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3417         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3418         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3419         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3420         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3421         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3422         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3423         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3424         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3425         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3426         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3427         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3428         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3429         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3430         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3431         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3432         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3433         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3434         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3435         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3436         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3437         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3438         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3440 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3442         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3443         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3445 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3447         * posix/uname-values.h: New file.
3448         * posix/uname.c: Include that instead of <config-name.h>.
3449         * sysdeps/nacl/uname-values.h: New file.
3450         * sysdeps/arm/nacl/uname-values.h: New file.
3452 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3454         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3455         splitting into fields.
3457 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3459         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3460         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3461         * locale/localeinfo.h: Add enum collation_encoding_type.
3462         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3463         * programs/ld-collate.c (collate_output): Add encoding type info.
3464         * string/strcoll_l.c (STRDIFF): New function.
3465         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3466         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3468 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3470         [BZ #18397]
3471         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3472         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3473         <fpu_control.h> instead of <math/fpu_control.c>.
3474         * sysdeps/mips/mips32/fpu/Makefile: New file.
3476 2015-05-11  Andreas Schwab  <schwab@suse.de>
3478         [BZ #18007]
3479         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3480         nss_endgrent.
3481         (_nss_compat_endgrent): Call nss_endgrent.
3482         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3483         nss_endpwent.
3484         (_nss_compat_endpwent): Call nss_endpwent.
3485         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3486         needent, call nss_setspent only if non-zero.
3487         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3488         (internal_endspent): Don't call nss_endspent.
3489         (_nss_compat_endspent): Call nss_endspent.
3490         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3491         Remove.  All uses removed.
3492         (internal_setent): Remove parameter stayopen, add parameter
3493         stream.  Use it instead of global variable.
3494         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3495         (internal_endent, internal_getent): Add parameter stream.  Use it
3496         instead of global variable.
3497         (CONCAT(_nss_files_end,ENTNAME))
3498         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3499         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3500         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3501         uses removed.
3502         (internal_setent, internal_endent): Add parameter stream.  Use it
3503         instead of global variable.
3504         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3505         stream.
3506         (get_next_alias): Add parameter stream.
3507         (_nss_files_getaliasent_r): Pass global stream.
3508         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3509         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3510         (_nss_files_gethostbyname4_r): Pass local stream to
3511         internal_setent, internal_getent and internal_endent.  Remove
3512         locking.
3514 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3516         * tst-strfmon1.c (tests): Update expected currency symbol.
3518 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3520         * sysdeps/nacl/gethostname.c: New file.
3522 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3524         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3525         and sinh.
3526         * math/auto-libm-test-out: Regenerated.
3527         * sysdeps/i386/fpu/libm-test-ulps: Update.
3528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3530 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3532         [BZ #18125]
3533         * stdlib/tst-setcontext3.c: New file.
3534         * stdlib/tst-setcontext3.sh: New file.
3535         * stdlib/Makefile (tests): Add tst-setcontext3.
3536         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3537         to verify test program created output file.
3538         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3539         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3540         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3541         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3543 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3545         [BZ #18383]
3546         * elf/tst-tlsalign.c: New file.
3547         * elf/tst-tlsalign-static.c: New file.
3548         * elf/tst-tlsalign-lib.c: New file.
3549         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3550         (tests-static): Add tst-tlsalign-static.
3551         (modules-names): Add tst-tlsalign-lib.
3552         (test-xfail-tst-tlsalign): New variable.
3553         (test-xfail-tst-tlsalign-static): New variable.
3555         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3556         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3558 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3560         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3561         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3568         * sysdeps/aarch64/libm-test-ulps: Update.
3570 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3572         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3573         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3574         * math/auto-libm-test-out: Regenerated.
3575         * sysdeps/i386/fpu/libm-test-ulps: Update.
3576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3578 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3580         [BZ #18265]
3581         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3582         (wcsncpy): Likewise.
3584 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3586         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3587         Assume __ASSUME_FALLOCATE is always true.
3588         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3589         (__posix_fallocate64_l64): Likweise.
3590         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3591         (posix_fallocate): Likewise.
3592         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3593         (__posix_fallocate64_l64): Likewise.
3594         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3595         [!__ASSUME_FALLOCATE]: Add comment.
3597 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3599         * sysdeps/unix/sysv/linux/i386/Makefile
3600         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3601         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3602         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3603         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3604         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3605         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3606         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3608 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3610         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3611         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3612         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3619         * math/auto-libm-test-in: Add more tests of tgamma.
3620         * math/auto-libm-test-out: Regenerated.
3621         * sysdeps/i386/fpu/libm-test-ulps: Update.
3622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3624         * math/auto-libm-test-in: Add more tests of tanh.
3625         * math/auto-libm-test-out: Regenerated.
3626         * sysdeps/i386/fpu/libm-test-ulps: Update.
3627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3629         * math/auto-libm-test-in: Add more tests of tan.
3630         * math/auto-libm-test-out: Regenerated.
3631         * sysdeps/i386/fpu/libm-test-ulps: Update.
3632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3634         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3635         * math/auto-libm-test-out: Regenerated.
3636         * sysdeps/i386/fpu/libm-test-ulps: Update.
3637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3639         * math/auto-libm-test-in: Add another test of pow.
3640         * math/auto-libm-test-out: Regenerated.
3641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3643         * math/auto-libm-test-in: Add more tests of lgamma.
3644         * math/auto-libm-test-out: Regenerated.
3645         * sysdeps/i386/fpu/libm-test-ulps: Update.
3646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3648         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3649         log1p.
3650         * math/auto-libm-test-out: Regenerated.
3651         * sysdeps/i386/fpu/libm-test-ulps: Update.
3652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3654 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3656         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3657         Elf64_Chdr structs and ELFCOMPRESS constants.
3659 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3661         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3662         expm1.
3663         * math/auto-libm-test-out: Regenerated.
3664         * sysdeps/i386/fpu/libm-test-ulps: Update.
3665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3667         * math/auto-libm-test-in: Add more tests of erf and erfc.
3668         * math/auto-libm-test-out: Regenerated.
3669         * sysdeps/i386/fpu/libm-test-ulps: Update.
3670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3672 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3674         * config.h.in (HAVE_AARCH64_BE): Add.
3676 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3678         * math/auto-libm-test-in: Add more tests of csqrt.
3679         * math/auto-libm-test-out: Regenerated.
3680         * sysdeps/i386/fpu/libm-test-ulps: Update.
3681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3683         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3684         * math/auto-libm-test-out: Regenerated.
3685         * sysdeps/i386/fpu/libm-test-ulps: Update.
3686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3688         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3690 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3692         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3693         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3695         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3696         (euidaccess, eaccess): Define as weak aliases.
3698         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3699         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3700         but __suseconds_t is often 'long int' so some sources assume that
3701         type is being used (e.g. they use %ld to print tv_usec).
3703 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3705         [BZ #18007]
3706         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3707         (CVE-2014-8121)
3708         * nss/tst-nss-getpwent.c: New file.
3709         * nss/Makefile (tests): Add new test.
3711 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3713         [BZ #18346]
3714         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3715         exponents less than 48 as cases where high part of mantissa needs
3716         examining to determine whether argument is integral.
3717         * math/libm-test.inc (round_test_data): Add more tests.
3719 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3721         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3723 2015-04-27  David S. Miller  <davem@davemloft.net>
3725         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3726         __tls_get_addr.
3727         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3729 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3731         [BZ#18333]
3732         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3734 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3736         [BZ#18333]
3737         * time/tzset.c (parse_tzname): Return error on memory allocation
3738         failure.
3739         * test-skeleton.c (struct temp_name_list): Change type of name
3740         member to non-const.
3741         (add_temp_file): Create a copy of the file name.
3742         (delete_temp_files): Deallocate memory.
3743         (create_temp_file): Add comment.
3745 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3747         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3748         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3750 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3752         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3753         * sysdeps/arm/configure: Regenerated.
3755 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3757         [BZ #17715]
3758         * time/tzfile.c (__tzfile_read): Check for large values of
3759         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3760         * time/tzset.c (__tzstring_len): New function, based on the old
3761         __tzstring function.
3762         (__tzstring): Call __tzstring_len.
3763         (parse_tzname): New helper function extracted from
3764         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3765         the input string.
3766         (parse_offset): New helper function extracted from
3767         __tzset_parse_tz.  Replace switch with fallthrough with
3768         initialization before sscanf.
3769         (parse_rule): Likewise.
3770         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3771         new-style function definition.
3772         * timezone/Makefile (tests): Add tst-tzset.
3773         (tst-tzset.out): Dependencies on time zone files.
3774         (tst-tzset-ENV): Set TZDIR.
3775         (testdata/XT%): Copy crafted time zone files.
3776         * timezone/README: Mention crafted time zone files.
3777         * timezone/testdata/XT1, timezone/testdata/XT2,
3778         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3779         files.
3780         * timezone/tst-tzset.c: New test.
3782 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3784         * Makeconfig (+gccwarn): Remove -Winline.
3786 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3788         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3790 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3792         * NEWS: Mention sysconf() cache information support for s390.
3793         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3795 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3797         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3798         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3799         (__nearbyint): Likewise.
3800         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3801         (copysignl): Likewise.
3803 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3805         [BZ #18287]
3806         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3807         based on padding.  (CVE-2015-1781)
3809 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3811         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3812         libc-vdso.h.
3813         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3814         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3815         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3816         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3817         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3818         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3819         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3820         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3821         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3822         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3823         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3824         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3825         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3826         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3827         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3828         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3829         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3830         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3831         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3832         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3833         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3834         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3835         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3837 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3839         * stdlib/setenv.c (__add_to_environ):
3840         Dump core quickly if setenv (..., NULL, ...) is called.
3841         This time, do it the right way, and pacify GCC with a pragma.
3843 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3845         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3846         IMAP->l_prev cannot be null, and #if out the code for the contrary
3847         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3848         believe that NS (&_dl_ns[NSID]) could point outside the array.
3850         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3851         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3852         before using NSID as an index.
3854 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3856         [BZ #17825]
3857         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3858         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3859         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3861 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3863         Add preliminary port to Google Native Client on ARM.
3864         * abi-tags (.*-.*-nacl.*): New entry.
3865         * sysdeps/arm/nacl: New directory.
3866         * sysdeps/nacl: New directory.
3868 2015-04-16  David S. Miller  <davem@davemloft.net>
3870         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3871         lowlevellock-futex.h
3873 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3875         * sysdeps/tile/configure.ac: New file.
3876         * sysdeps/tile/configure: Regenerated.
3878 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3880         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3881         conditionals for weak_alias and libc_hidden_weak.
3882         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3883         libc_hidden_weak and weak_alias.
3884         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3885         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3886         and weak_alias for static one.
3888 2015-04-15  David S. Miller  <davem@davemloft.net>
3890         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3892 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3894         [BZ #18206]
3895         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3896           Use signed comparision instead of substraction to avoid
3897           overflow bug.
3898         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3899           Take the sign of ret.
3900         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3901           Do not expect precise return values. Only the sign matters.
3902         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3903         * wcsmbs/test-wcsncmp.c: New File.
3904         * string/test-strncmp.c: Add wcsncmp support.
3906 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3908         [BZ #6792]
3909         * math/w_log1p.c: New file.
3910         * math/w_log1pf.c: Likewise.
3911         * math/w_log1pl.c: Likewise.
3912         * math/Makefile (libm-calls): Add w_log1p.
3913         * math/s_log1pl.c (log1pl): Remove weak_alias.
3914         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3915         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3916         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3917         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3918         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3919         [NO_LONG_DOUBLE] (log1pl): Likewise.
3920         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3921         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3922         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3923         (log1p): Remove long_double_symbol.
3924         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3925         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3926         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3927         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3928         remove weak_alias for corresponding log1p function.
3929         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3930         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3931         * sysdeps/ia64/fpu/w_log1p.c: New file.
3932         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3933         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3934         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3936 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3938         [BZ #18247]
3939         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3940         decimal exponent by 1.
3941         * stdlib/tst-strtod-round-data: Add more tests.
3942         * stdlib/tst-strtod-round.c (tests): Regenerated.
3944 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3946         * math/auto-libm-test-in: Add more tests of clog and clog10.
3947         * math/auto-libm-test-out: Regenerated.
3948         * sysdeps/i386/fpu/libm-test-ulps: Update.
3949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3951 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3953         * Makeconfig (module-cppflags): Exclude all .v.i files.
3954         (skip-module-cppflags): Variable removed.
3956         * configure.ac (libc_config_ok): Initialize before reading
3957         preconfigure scripts, not after.
3958         * configure: Regenerated.
3960         * test-skeleton.c (TIMEOUT): Move #define to top level.
3961         (main): Grok environment variable TEST_DIRECT.  If set, print
3962         test expectation details into that file and then behave as if
3963         given --direct.
3965 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3967         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3968         warning on 32-bit.
3970 2015-04-08  David S. Miller  <davem@davemloft.net>
3972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3974 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3976         * math/auto-libm-test-in: Add more tests of atanh.
3977         * math/auto-libm-test-out: Regenerated.
3978         * sysdeps/i386/fpu/libm-test-ulps: Update.
3979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3981         * math/auto-libm-test-in: Add more tests of atan.
3982         * math/auto-libm-test-out: Regenerated.
3983         * sysdeps/i386/fpu/libm-test-ulps: Update.
3984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3988         * elf/pldd.c (main): Rewrite to use struct
3989         scratch_buffer instead of extend_alloca.
3990         * elf/pldd-xx.c (find_maps): Likewise.
3991         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3992         <alloca.h>.
3993         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3994         scratch_buffer instead of extend_alloca.
3995         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3996         grp/compat-initgroups.c.
3997         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3998         Rewrite to use struct scratch_buffer instead of extend_alloca.
3999         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4000         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4002 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4004         * math/auto-libm-test-in: Add more tests of cbrt.
4005         * math/auto-libm-test-out: Regenerated.
4006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4008         * math/auto-libm-test-in: Add more tests of cabs.
4009         * math/auto-libm-test-out: Regenerated.
4010         * sysdeps/i386/fpu/libm-test-ulps: Update.
4011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4013         [BZ #18210]
4014         [BZ #18211]
4015         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4016         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4017         computations.
4018         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4019         clog10.
4020         * math/auto-libm-test-out: Regenerated.
4021         * sysdeps/i386/fpu/libm-test-ulps: Update.
4022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024         [BZ #18197]
4025         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4026         (atan): Set FE_TONEAREST mode for internal computations.
4027         * math/auto-libm-test-in: Add more tests of atan.
4028         * math/auto-libm-test-out: Regenerated.
4030 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4032         [BZ #17930]
4033         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4035 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4037         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4039 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4041         * include/scratch_buffer.h: New file.
4042         * malloc/scratch_buffer_grow.c: Likewise.
4043         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4044         * malloc/scratch_buffer_set_array_size.c: Likewise.
4045         * malloc/tst-scratch_buffer.c: Likewise.
4046         * malloc/Makefile (routines): Add scratch_buffer_grow.
4047         (tests): Add test case.
4048         * malloc/Versions (GLIBC_PRIVATE): Export
4049         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4050         __libc_scratch_buffer_set_array_size.
4052 2015-04-06  Richard Henderson  <rth@redhat.com>
4054         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4055         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4057         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4058         unsigned int before printing.
4060 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4062         [BZ #17596]
4063         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4064         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4066 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4068         * include/libc-internal.h (libc_max_align_t): Define.
4070 2015-04-02  Andreas Schwab  <schwab@suse.de>
4072         [BZ #16850]
4073         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4075 2015-04-02  Mel Gorman  <mgorman@suse.de>
4077         [BZ #17195]
4078         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4079         as well as the main arena.
4081 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4083         [BZ #18185]
4084         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4085         sharing L2 cache to 2 for Silvermont/Knights Landing.
4087 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4089         [BZ #17711]
4090         * config.make.in (have-protected-data): New.
4091         * configure.ac: Check linker support for protected data symbol.
4092         * configure: Regenerated.
4093         * elf/Makefile (modules-names): Add tst-protected1moda and
4094         tst-protected1modb if $(have-protected-data) is yes.
4095         (tests): Add tst-protected1a and tst-protected1b if
4096         $(have-protected-data) is yes.
4097         ($(objpfx)tst-protected1a): New.
4098         ($(objpfx)tst-protected1b): Likewise.
4099         (tst-protected1modb.so-no-z-defs): Likewise.
4100         * elf/tst-protected1a.c: New file.
4101         * elf/tst-protected1b.c: Likewise.
4102         * elf/tst-protected1mod.h: Likewise.
4103         * elf/tst-protected1moda.c: Likewise.
4104         * elf/tst-protected1modb.c: Likewise.
4106 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4108         [BZ #17711]
4109         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4110         indicates it is called from do_lookup_x on relocation against
4111         protected data, skip the data definion in the executable from
4112         copy reloc.
4113         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4114         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4115         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4116         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4117         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4118         otherwise to 0.
4119         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4120         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4121         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4122         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4123         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4124         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4126 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4128         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4129         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4131 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4133         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4134         THREAD_SETMEM_NC.
4135         * sysdeps/x86_64/nptl/tls.h: Ditto.
4137 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4139         * dlfcn/tststatic.c (main): Converted to ...
4140         (do_test): ... this.
4141         (TEST_FUNCTION): New macro.
4142         Include test-skeleton.c.
4144 2015-03-26  Alan Modra  <amodra@gmail.com>
4146         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4147         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4148         zero for undefined weak.
4149         (elf_machine_plt_conflict): Similarly.
4151 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4153         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4154         atanh.
4155         * math/auto-libm-test-out: Regenerated.
4156         * sysdeps/i386/fpu/libm-test-ulps: Update.
4157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4159         * math/auto-libm-test-in: Add another test of asin.
4160         * math/auto-libm-test-out: Regenerated.
4161         * sysdeps/i386/fpu/libm-test-ulps: Update.
4162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4164         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4165         Remove macro.
4166         (LLL_EBX_REG): Likewise.
4167         (LLL_ENTER_KERNEL): Likewise.
4169         * math/auto-libm-test-in: Add more tests of asin.
4170         * math/auto-libm-test-out: Regenerated.
4171         * sysdeps/i386/fpu/libm-test-ulps: Update.
4172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4174         [BZ #18138]
4175         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4176         libc_do_syscall_args): New structure.
4177         (INTERNAL_SYSCALL_MAIN_0): New macro.
4178         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4179         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4180         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4181         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4182         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4183         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4184         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4185         Replace conditional definitions by conditional definitions of ....
4186         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4187         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4188         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4189         (libpthread-sysdep_routines): Add libc-do-syscall.
4190         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4191         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4192         to __NR_futex not 240.
4194 2015-03-25  Alan Modra  <amodra@gmail.com>
4196         * NEWS: Advertise TLS optimization.
4197         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4198         (DT_PPC_NUM): Increment.
4199         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4200         (CHECK_STATIC_TLS): Use here.
4201         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4202         TLS descriptors.
4203         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4204         * sysdeps/powerpc/dl-tls.c: New file.
4205         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4206         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4207         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4208         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4213 2015-03-25  Alan Modra  <amodra@gmail.com>
4215         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4216         for overlapping .opd entries" to "support...".
4217         * sysdeps/powerpc/powerpc64/configure: Regenerate
4219 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4221         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
4227         * math/auto-libm-test-out: Regenerated.
4228         * sysdeps/i386/fpu/libm-test-ulps: Update.
4229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4231 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4233         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4234         * math/auto-libm-test-out: Regenerated.
4235         * sysdeps/i386/fpu/libm-test-ulps: Update.
4236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241         * math/auto-libm-test-in: Add more tests of log2.
4242         * math/auto-libm-test-out: Regenerated.
4243         * sysdeps/i386/fpu/libm-test-ulps: Update.
4244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4248         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4249         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4250         _IO_IS_APPENDING bit in READ_WRITE instead.
4252 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4254         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4255         (__determine_cpumask_size): Replace extend_alloca with a
4256         variable-length array.  Do not treat res == 0 as an error.
4258 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4260         [BZ #18100]
4261         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4262         and integer overflow.
4263         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4264         (main): Add integer overflow tests.
4265         * manual/pattern.texi (Calling Wordexp): Document additional use
4266         for WRDE_SYNTAX.
4268 2015-03-23  Alan Modra  <amodra@gmail.com>
4270         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4271         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4272         and false branch of conditional.
4273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4274         Likewise.
4276 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4278         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4279         libc-modules.h
4280         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4281         unused declaration of _hurd_intr_rpc_msg_in_trap.
4282         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4283         defined instead of whether it is non-zero.
4284         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4285         input constraint instead of both input and output constraint.  Use ecx
4286         clobber instead of %ecx.
4287         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4288         mutex_unlock): Use a statement expression instead of an expression list.
4289         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4290         type to vm_size_t instead of vm_address_t.
4291         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4292         defined instead of whether it is non-zero.
4293         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4294         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4295         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4296         comparisons with mapaddr.
4297         * nscd/nscd-client.h: Include <time.h>.
4298         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4299         9th parameter to __vm_region instead of int.
4300         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4301         * scripts/check-local-headers.sh (exclude): Add device/,
4302         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4303         cthreads.h.
4305 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4307         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4308         to account for alignment padding.
4309         * sysdeps/arm/memmove.S: Likewise.
4311 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4313         * sysdeps/unix/sysv/linux/generic/README: New file.
4315 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4317         [BZ #18138]
4318         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4319         (futex_abstimed_wait)
4320         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4321         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4322         of lll_futex_timed_wait.
4324 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4326         [BZ #17542]
4327         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4329 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4331         [BZ #17090]
4332         [BZ #17620]
4333         [BZ #17621]
4334         [BZ #17628]
4335         * NEWS: Update.
4336         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4337         entries with Static TLS too.  Skip entries past the end of the
4338         allocated DTV, from Alan Modra.
4339         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4340         Static TLS DTV entry set up from...
4341         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4342         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4343         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4344         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4345         for Static TLS.
4346         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4347         that the slot we find is associated with the given map before
4348         using its generation count.
4349         * nptl_db/db_info.c: Include ldsodefs.h.
4350         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4351         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4352         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4353         (link_map::l_tls_offset): New struct field.
4354         (dtv_t::counter): Likewise.
4355         (rtld_global): New struct.
4356         (_rtld_global): New rtld variable.
4357         (dl_tls_dtv_slotinfo_list): New rtld global field.
4358         (dtv_slotinfo_list): New struct.
4359         (dtv_slotinfo): Likewise.
4360         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4361         (td_lookup): Rename to...
4362         (td_mod_lookup): ... this.  Use new mod parameter instead of
4363         LIBPTHREAD_SO.
4364         * nptl_db/td_thr_tlsbase.c: Include link.h.
4365         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4366         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4367         addresses even if the DTV is out of date or missing them.
4368         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4369         index zero-length arrays.
4370         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4371         (td_lookup): Make it a macro implemented in terms of...
4372         (td_mod_lookup): ... this declaration.
4373         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4374         (DB_MAIN_VARIABLE): Likewise.
4376 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4378         [BZ #18134]
4379         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4381 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4383         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4385 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4387         [BZ #18128]
4388         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4389         (atomic_add, atomic_increment_and_test)
4390         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4392 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4394         * stdlib/setenv.c (__add_to_environ):
4395         Dump core quickly if setenv (..., NULL, ...) is called.
4397 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4399         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4400         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4401         all the necessary asm magic in one place.
4402         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4403         using those.
4405 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4407         [BZ #14906]
4408         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4409         traced file mtime. Use consistent log message.
4410         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4411         (register_traced_file): Call install_watches. Always set mtime.
4412         (invalidate_cache): Iterate over all trace files. Call install_watches.
4413         (inotify_check_files): Don't inline. Handle watching parent
4414         directories and configuration file movement in and out.
4415         (handle_inotify_events): New function.
4416         (main_loop_poll): Call handle_inotify_events.
4417         (main_loop_epoll): Likewise.
4418         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4419         (struct traced_file): Use array of inotify fds. Add parent directory,
4420         and basename.
4421         (struct database_dyn): Remove unused file_mtime.
4422         (init_traced_file): New inline function.
4423         (define_traced_file): New macro.
4424         * nss/nss_db/db-init.c: Use define_traced_file.
4425         (_nss_db_init): Use init_traced_file.
4426         * nss/nss_files/files-init.c: Use define_traced_file.
4427         (_nss_files_init): Use init_traced_file.
4429 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4431         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4432         [_LIBC]: Do not include <stdlib.h>.
4433         [!_LIBC] (abort): Remove declaration.
4434         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4435         _FP_STATIC_ASSERT instead of conditionally calling abort.
4436         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4437         (_FP_EXTEND_CNAN): Likewise.
4438         (FP_TRUNC): Likewise.
4439         (__FP_CLZ): Likewise.
4440         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4442 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4444         * manual/string.texi (XPG basename): Fix prototype.
4446 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4448         [BZ #18080]
4449         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4450         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4451         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4452         (__setcontext): Likewise.
4453         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4454         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4455         Call rt_sigprocmask syscall one time to set new signal mask
4456         and retrieve the current signal mask instead of two calls.
4457         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4458         (__swapcontext): Likewise.
4459         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4460         * stdlib/tst-setcontext2.c: New file.
4462 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4464         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4466 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4468         [BZ #18093]
4469         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4470         the wrong size.
4472 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4474         [BZ #18043]
4475         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4477 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4479         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4480         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4481         Remove define.
4482         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4483         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4484         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4485         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4486         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4487         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4488         define.
4489         * nptl_db/td_symbol_list.c (td_lookup): Remove
4490         HAVE_ASM_GLOBAL_DOT_NAME code.
4491         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4492         HAVE_ASM_GLOBAL_DOT_NAME check.
4493         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4494         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4495         (DOT_LABEL): Remove define.
4496         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4497         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4498         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4499         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4500         (__TLS_GET_ADDR): Likewise.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4502         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4504 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4506         [BZ #18111]
4507         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4508         (_FPU_SETCW): Initialize cw from fpsr before storing.
4509         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4510         (fesetexceptflag): Rewrite using fpu_control.h.
4511         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4513 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4515         [BZ #18110]
4516         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4517         asms.
4518         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4520 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4522         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4523         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4524         abort.
4525         (_FP_FMA): Likewise.
4526         (_FP_DIV): Likewise.
4528 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4530         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4531         with 0 in that case.
4532         * Makefile (summarize-tests): New canned sequence, factored out of
4533         commands for targets tests and xtests.  Display summary lines that
4534         don't start with PASS: or XFAIL: rather than ones that do start with
4535         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4536         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4537         do start with ERROR: or FAIL:.
4538         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4539         (except for [$(build-shared) = yes]).
4540         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4541         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4542         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4543         * nptl/Makefile: Revert 2015-03-04 changes.
4544         [$(CXX) empty] (tests-unsupported): New variable.
4545         * debug/Makefile: Likewise.
4547         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4548         gnulib file.  Replace __attribute with __attribute__ throughout.
4550 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4552         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4554 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4556         [BZ #18104]
4557         * math/auto-libm-test-in: Add another test of pow.
4558         * math/auto-libm-test-out: Regenerated.
4560 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4562         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4563         $(config-cflags-nofma).
4565 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4567         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4568         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4569         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4570         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4571         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4572         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4573         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4574         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4575         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4576         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4577         Add comment on closing #endif.
4579 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4581         * posix/wordexp.c (CHAR_IN_SET): New macro.
4582         (parse_param): Use it.
4584 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4586         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4588 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4590         [BZ #18043]
4591         * posix/wordexp.c (parse_param): Fix buffer overflow.
4592         * posix/wordexp-test.c (test_case): Add test case.
4594 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4596         [BZ #18042]
4597         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4598         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4600 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4602         [BZ #18043]
4603         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4604         (do_bz18043): Delete.
4605         (at_page_end): New.
4606         (testit): Refactor to have words at the edge of unreadable page.
4608 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4610         [BZ #16734]
4611         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4612         Cleanup read-only streams as well.
4613         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4615 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4617         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4618         <bits/libc-lockP.h>
4620 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4622         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4623         on [__KERNEL__].
4624         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4625         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4626         * soft-fp/op-common.h (_FP_DECL): Likewise.
4628 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4630         * elf/ifuncdep2.c (global): Replace
4631         __attribute__((visibility("protected"))) with
4632         asm (".protected global").
4633         * elf/ifuncmod1.c (global): Likewise.
4634         * elf/ifuncmod5.c (global): Likewise.
4636 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4638         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4639         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4641 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4643         * manual/install.texi (Configuring and compiling):
4644         Document test-wrapper-env-only.
4645         * INSTALL: Regenerated.
4647 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4649         [BZ #18043]
4650         * posix/wordexp.c (parse_param): Fix buffer overflow.
4651         * posix/wordexp-test.c (do_bz18043): Add test case.
4653 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4655         * time/tst-strptime2.c (do_test): Ensure failing tests are
4656         reported correctly.
4657         * time/tst-strptime3.c (do_test): Likewise.
4659 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4661         Fix aio_error thread-safety.
4662         * sysdeps/pthread/aio_error.c: New file
4663         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4664         synchronization.
4666 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4668         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4669         (group_number, vfprintf): Use it.
4670         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4671         (JUMP, REF): Use it.
4672         (WORK_BUFFER_SIZE): New enum constant.
4673         (process_arg, vfprintf): Use it.
4675 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4677         * manual/errno.texi (Error Messages): Complete example function
4678         by adding missing #define.
4679         (program_invocation_name): Add statement indicating GNU
4680         extension and reference which header file declares the variable.
4681         (program_invocation_short_name): Likewise.
4683 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4685         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4686         compatibility note.
4688 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4690         * Makeconfig (test-wrapper-env-only): New variable.
4691         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4692         then use that with $(test-wrapper-env-only) rather than using
4693         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4695 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4697         [BZ #18082]
4698         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4699         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4700         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4701         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4702         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4703         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4704         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4705         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4706         Likewise.
4707         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4708         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4709         Likewise.
4710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4711         Likewise.
4712         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4713         Likewise.
4714         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4715         Likewise.
4716         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4717         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4718         Likewise.
4719         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4720         Likewise.
4721         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4722         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4724 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4726         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4727         (ETH_ALEN): New macro.
4728         (struct ether_addr): Use it for length of ether_addr_octet.
4730         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4731         (setdb): Don't call __nss_configure_lookup for "rpc".
4732         (do_test): Don't call test_rpc.
4733         (output_rpcent, test_rpc): Functions moved ...
4734         * sunrpc/test-rpcent.c: ... to this new file.
4735         * sunrpc/Makefile (tests): Add it.
4737         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4738         __xpg_sigpause.
4739         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4740         * nptl/tst-signal6.c: Likewise.
4741         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4742         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4744         * configure.ac (libc_cv_cxx_link_ok): New check.
4745         Reset CXX to empty if it fails to link.
4746         * configure: Regenerated.
4747         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4748         bug-atexit3-lib only if $(CXX) is nonempty.
4749         * nptl/Makefile (tests): Likewise for tst-cancel24.
4750         (tests, tests-static): Likewise for tst-cancel24-static.
4751         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4752         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4753         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4754         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4756 2015-03-04  Andreas Schwab  <schwab@suse.de>
4758         [BZ #17631]
4759         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4760         for non-GCC compilers.
4761         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4762         Likewise.
4764 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4766         [BZ #17776]
4767         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4768         integer before bitwise and assembly operations.
4769         (feclearexcept): Likewise.
4770         * math/test-fenvinline.c: New file.
4771         * math/Makefile: Add test-fenvinline test.
4773 2015-03-03  Alan Modra  <amodra@gmail.com>
4775         [BZ #16512]
4776         * scripts/localplt.awk: Strip off symbol version.
4777         * NEWS: Mention bug fix.
4779 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4781         * sysdeps/pthread/timer_routines.c
4782         (timer_free_list, thread_free_list, thread_active_list): Make static.
4784 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4786         [BZ #17779]
4787         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4788         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4789         Undefine.
4790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4791         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4792         Likewise.
4793         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4794         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4795         Likewise.
4797 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4799         [BZ #18036]
4800         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4801         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4803 2015-03-02  Andreas Schwab  <schwab@suse.de>
4805         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4806         variable name.
4808 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4810         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4811         Return error status.
4813 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4815         [BZ #15969]
4816         * locale/findlocale.c (_nl_find_locale): Introduce const
4817         version of loc_name and drop unsafe type casts.
4819 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4821         * dlfcn/tststatic2.c (main): Converted to ...
4822         (do_test): ... this.
4823         (TEST_FUNCTION): New macro.
4824         Include test-skeleton.c.
4826 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4828         [BZ #17711]
4829         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4830         (tests-pie): Add vismain.
4831         (CFLAGS-vismain.c): New.
4832         * elf/vismain.c: Add comments for PIE requirement.
4834 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4836         [BZ #18046]
4837         [BZ #18047]
4838         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4839         0x1p-56L as threshold for just returning the argument.
4840         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4841         0x1p-32L as threshold for just returning the argument.
4842         * math/auto-libm-test-in: Add more tests of atanh.
4843         * math/auto-libm-test-out: Regenerated.
4844         * sysdeps/i386/fpu/libm-test-ulps: Update.
4845         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4847 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4849         * string/bcopy.c (bcopy): Call memmove for performance.
4851 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4853         * string/bzero.c (__bzero): Call memset for performance.
4855 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4857         [BZ #18068]
4858         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4859         to 00100000.
4861 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4863         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4865 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4867         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4868         (__kernel_standard): Use CSTR macro when setting exc.name.
4869         * sysdeps/ieee754/Makefile [$(subdir) = math]
4870         (CFLAGS-k_standard.c): Remove variable.
4872         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4873         setting p and q from "else if" to "else".
4874         (qzero): Likewise.
4875         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4876         (qone): Likewise.
4877         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4878         (qzerof): Likewise.
4879         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4880         (qonef): Likewise.
4881         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4882         (qzero): Likewise.
4883         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4884         (qone): Likewise.
4886         [BZ #18038]
4887         [BZ #18039]
4888         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4889         return pi/2 for arguments below 0x1p-113L.
4890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4891         return pi/2 for arguments below 0x1p-106L.
4892         * math/auto-libm-test-in: Add more tests of acos.
4893         * math/auto-libm-test-out: Regenerated.
4895         [BZ #16351]
4896         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4897         (MO): New macro.
4898         (__ieee754_asin): Force underflow exception for results with small
4899         absolute value.
4900         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4901         (MO): New macro.
4902         (__ieee754_asinf): Force underflow exception for results with
4903         small absolute value.
4904         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4905         (__ieee754_asin): Force underflow exception for results with small
4906         absolute value.
4907         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4908         (__ieee754_asinf): Force underflow exception for results with
4909         small absolute value.
4910         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4911         (__ieee754_asinl): Force underflow exception for results with
4912         small absolute value.
4913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4914         (__ieee754_asinl): Force underflow exception for results with
4915         small absolute value.
4916         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4917         (__ieee754_asinl): Force underflow exception for results with
4918         small absolute value.
4919         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4920         Include <math.h>.
4921         * math/auto-libm-test-in: Do not mark underflow exceptions as
4922         possibly missing for bug 16351.
4923         * math/auto-libm-test-out: Regenerated.
4925         [BZ #18030]
4926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4927         of power of 2 down when low part has opposite sign.
4928         * math/libm-test.inc (logb_test_data): Add more tests.
4930 2015-02-26  Andreas Schwab  <schwab@suse.de>
4932         [BZ #18032]
4933         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4934         over collating symbol inside a bracket expression.  Minor cleanup.
4935         * posix/tst-fnmatch3.c (do_test): Add test case.
4937 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4939         [BZ #18029]
4940         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4941         Adjust exponent of power of 2 down when low part has opposite
4942         sign.
4943         * math/libm-test.inc (ilogb_test_data): Add more tests.
4945 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4947         [BZ #15969]
4948         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4949         the previous change.
4951         [BZ #15969]
4952         * locale/findlocale.c (_nl_find_locale): Retry archive search
4953         after alias expansion.
4955 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4957         * iconv/tst-iconv3.c (main): Converted to ...
4958         (do_test): ... this.
4959         (TEST_FUNCTION): New macro.
4960         Include test-skeleton.c.
4962         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4963         (convert): Make function static.
4964         (test_unalign): Likewise.  Add const to argument pointee types.
4965         (main): Replace with static function do_test.
4966         Print "Succeeded." only if RET is zero.
4967         (TEST_FUNCTION): New macro.
4968         Include test-skeleton.c.
4970         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4971         returns a null pointer.
4973 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4975         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4976         to __memcpy_ppc only for static builds.
4978 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4980         [BZ #18020]
4981         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4982         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4983         * math/auto-libm-test-in: Add more tests of asinh.
4984         * math/auto-libm-test-out: Regenerated.
4985         * sysdeps/i386/fpu/libm-test-ulps: Update.
4986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4990         [BZ #15850]
4991         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4992         and ip6_mtuinfo definitions here.
4993         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4994         in this define too.  Update comment.
4996 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4998         * elf/sprof.c (load_shobj): Tweak error message to match others.
5000 2015-02-24  Kevin Easton  <kevin@guarana.org>
5002         [BZ #16145] (partial fix)
5003         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5004         to reduce lock contention.
5006 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5008         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5009         (struct timex): Update time comment.
5010         (ADJ_SETOFFSET): Define.
5012 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5014         [BZ #18019]
5015         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5016         2**56 not 2**28 as threshold for log (2x) formula.
5017         * math/auto-libm-test-in: Add more tests of acosh.
5018         * math/auto-libm-test-out: Regenerated.
5019         * sysdeps/i386/fpu/libm-test-ulps: Update.
5020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5022 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5024         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5025         parenthesis around the buf assignment.
5026         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5028 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5030         [BZ #16783]
5031         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5032         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5033         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5034         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5035         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5036         * math/libm-test.inc (scalb_test_data): Add more tests.
5038 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5040         [BZ #17916]
5041         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5042         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5044 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5046         [BZ #17523]
5047         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5048         * io/bits/fcntl2.h (open): Use it.
5049         (openat): Likewise.
5050         * io/open.c (__libc_open): Likewise.
5051         * io/open64.c (__libc_open64): Likewise.
5052         * io/open64_2.c (__open64_2): Likewise.
5053         * io/open_2.c (__open_2): Likewise.
5054         * io/openat.c (__openat): Likewise.
5055         * io/openat64.c (__openat64): Likewise.
5056         * io/openat64_2.c (__openat64_2): Likewise.
5057         * io/openat_2.c (__openat_2): Likewise.
5058         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5059         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5060         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5061         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5062         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5063         (__open_nocancel): Likewise.
5064         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5065         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5066         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5068 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5070         [BZ #14841]
5071         * resolv/gethnamaddr.c (getanswer): Skip logging if
5072         RES_USE_DNSSEC is set.
5073         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5075 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5077         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5079 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5081         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5082         201304L, for Unicode 7.
5084 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5086         [BZ #17836]
5087         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5088         shared library.  Add gmon-start.os otherwise.
5089         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5090         $(objpfx)gmon-start.os if builing shared library.
5091         ($(objpfx)g$(static-start-installed-name)): Likewise.
5093 2015-02-23  Andreas Schwab  <schwab@suse.de>
5095         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5097 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5099         [BZ #17269]
5100         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5101         (enlarge_userbuf): Likewise.
5103 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5105         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5106         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5107         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5108         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5110 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5112         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5113         expression inside statement expression.
5115 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5117         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5118         <sysdeps/nptl/lowlevellock.h> and remove macros and
5119         functions that are now defined there.
5120         (SYS_futex): Remove.
5121         (lll_compare_and_swap): Remove.
5122         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5124 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5126         [BZ #17999]
5127         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5128         instead of scandirat.
5129         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5130         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5131         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5132         __scandirat.
5133         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5134         (__scandirat): Declare.  Use libc_hidden_proto.
5135         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5136         Remove variable.
5137         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5139 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5141         [BZ #15319]
5142         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5143         (MO): New macro.
5144         (__ieee754_atan2): For results with small absolute value, force
5145         underflow exception and remove excess range and precision from
5146         return value.
5147         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5148         (MO): New macro.
5149         (__ieee754_atan2f): For results with small absolute value, force
5150         underflow exception and remove excess range and precision from
5151         return value.
5152         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5153         (MO): New macro.
5154         (__atan): For results with small absolute value, force underflow
5155         exception and remove excess range and precision from return value.
5156         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5157         (MO): New macro.
5158         (__atanf): For results with small absolute value, force underflow
5159         exception and remove excess range and precision from return value.
5160         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5161         <math.h>.
5162         (__ieee754_atan2): Force underflow exception for results with
5163         small absolute value.
5164         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5165         <math_private.h>.
5166         (atan): Force underflow exception for results with small absolute
5167         value.
5168         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5169         (__atanf): Force underflow exception for results with small
5170         absolute value.
5171         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5172         <math.h>.
5173         (__atanl): Force underflow exception for results with small
5174         absolute value.
5175         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5176         (__atanl): Force underflow exception for results with small
5177         absolute value.
5178         * sysdeps/x86/fpu/bits/mathinline.h
5179         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5180         (__ieee754_atan2): Only define inline for long double.
5181         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5182         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5183         * math/auto-libm-test-in: Do not mark underflow exceptions as
5184         possibly missing for bug 15319.  Add more tests of atan2.
5185         * math/auto-libm-test-out: Regenerated.
5186         * math/libm-test.inc (casin_test_data): Do not mark underflow
5187         exceptions as possibly missing for bug 15319.
5188         (casinh_test_data): Likewise.
5189         * sysdeps/i386/fpu/libm-test-ulps: Update.
5191 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5193         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5194         * sysdeps/mips/bits/endian.h: Fix comments.
5196 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5198         [BZ #17996]
5199         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5200         (hdestroy_r): Likewise.
5201         (hsearch_r): Likewise.
5202         (__hcreate_r): Declare and use libc_hidden_proto.
5203         (__hdestroy_r): Likewise.
5204         (__hsearch_r): Likewise.
5205         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5206         (hcreate): Call __hcreate_r instead of hcreate_r.
5207         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5208         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5209         as weak alias of __hcreate_r.
5210         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5211         __hdestroy_r.
5212         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5213         __hsearch_r.
5214         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5215         Remove variable.
5216         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5217         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5218         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5219         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5221 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5223         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5224         arena_lock into a single arena_get.
5226 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5228         * dl-reloc.c: Inlucde libc-internal.h.
5229         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5230         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5231         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5232         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5233         (grow_heap): Likewise.
5234         * malloc/malloc.c: Include libc-internal.h.
5235         (do_check_malloc): Call powerof2.
5236         (sysmalloc): Use pagesize. Call ALIGN_UP.
5237         (systrim): Use pagesize.
5238         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5239         (__libc_valloc): Use pagesize.
5240         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5242 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5244         [BZ #17991]
5245         * include/sys/resource.h (__getrlimit64): Declare.  Use
5246         libc_hidden_proto.
5247         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5248         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5249         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5250         getrlimit64.
5251         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5252         __getrlimit64.
5253         [!getrlimit64] (getrlimit64): Define as weak alias of
5254         __getrlimit64.  Use libc_hidden_weak.
5255         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5256         using __getrlimit64 not __new_getrlimit64.
5257         (__GI_getrlimit64): Likewise.
5258         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5259         Likewise.
5260         (__GI_getrlimit64): Likewise.
5261         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5263         (getrlimit): Add __getrlimit64 alias.
5264         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5265         Likewise.
5266         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5267         Remove variable.
5268         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5269         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5271 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5273         * libio/fileops.c: Add missing sys/mman.h
5274         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5276 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5278         * manual/math.texi (Errors in Math Functions): Clarify goals
5279         regarding inexact and underflow exceptions.
5281 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5283         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5284         * sysdeps/mips/memset.S: Ditto.
5286 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5288         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5290 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5292         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5293         (__v1longjmp): Remove versioned symbol.
5294         (__v1siglongjmp): Remove alias and versioned symbol.
5295         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5296         (__v2siglongjmp): Likewise.
5298 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5300         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5302 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5304         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5306 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5308         [BZ #17987]
5309         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5310         zero result does not depend on the sign resulting from
5311         subtraction.
5312         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5313         Likewise.
5314         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5315         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5316         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5317         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5318         * math/libm-test.inc (remquo_test_data): Add more tests.
5320 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5322         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5323         Problem reported by J William Piggott.
5325 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5327         [BZ #17978]
5328         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5329         products 4 * y and 2 * y where those would overflow.
5330         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5331         Likewise.
5332         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5333         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5334         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5335         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5336         * math/libm-test.inc (remquo_test_data): Add more tests.
5338         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5340         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5341         [defined _COMPILING_NEWLIB].
5342         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5343         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5345         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5346         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5348 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5350         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5351         acquired.
5353 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5355         [BZ #17792]
5356         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5357         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5358         HOST_STACK_END_ADDR): Likewise.
5360 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5362         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5363         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5364         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5366 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5368         * sysdeps/generic/c++-types.data: New file.
5369         * sysdeps/generic/ld.abilist: New file.
5370         * sysdeps/generic/libBrokenLocale.abilist: New file.
5371         * sysdeps/generic/libanl.abilist: New file.
5372         * sysdeps/generic/libc.abilist: New file.
5373         * sysdeps/generic/libcrypt.abilist: New file.
5374         * sysdeps/generic/libdl.abilist: New file.
5375         * sysdeps/generic/libm.abilist: New file.
5376         * sysdeps/generic/libpthread.abilist: New file.
5377         * sysdeps/generic/libresolv.abilist: New file.
5378         * sysdeps/generic/librt.abilist: New file.
5380 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5382         [BZ #17569]
5383         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5384         Compute absolute value of x as modified by fmod, not original
5385         value of x.
5386         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5387         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5388         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5389         RUN_TEST_ffI_f1_mod8.
5390         (remquo_test_data): Add more tests.
5392 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5394         * sysdeps/init_array/pt-crti.S: New file.
5396 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #17967]
5399         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5400         __builtin_fmaf instead of relying on contraction of a * b + c.
5402 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5404         [BZ #17969]
5405         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5406         node.
5408 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5410         [BZ #17964]
5411         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5412         __builtin_fma instead of relying on contraction of a * b + c.
5414 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5416         * Makeconfig (ASFLAGS): Add -Werror=undef.
5417         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5418         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5419         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5421         * Makeconfig (after-link): New variable.
5422         (+link-pie, +link-pie-tests): Use it.
5423         (+link-static, +link-static-tests): Likewise.
5424         (+link, +link-tests): Likewise.
5425         * Makerules (build-module, build-module-asneeded): Likewise.
5426         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5427         Likewise.
5428         * elf/Makefile ($(objpfx)ld.so): Likewise.
5430 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5432         [BZ #17965]
5433         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5434         both struct timeval and struct timespec.
5436 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5438         [BZ #16560]
5439         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5440         and redefine.
5441         (__ieee754_exp2l): Do not multiply small fractional parts by
5442         M_LN2l.
5443         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5444         small argument.
5445         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5446         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5447         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5448         * math/auto-libm-test-in: Add more tests of exp2.
5449         * math/auto-libm-test-out: Regenerated.
5451 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5453         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5454         unaligned path.
5456 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5458         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5459         little endian.
5461 2015-02-12  Andreas Schwab  <schwab@suse.de>
5463         [BZ #15790]
5464         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5465         Filter out elision flags from value returned in kind.
5466         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5467         * nptl/tst-pthread-mutexattr.c: New file.
5469 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5471         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5472         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5473         into gnu-gnu, and update comment to refer to abi-tags.
5475 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5477         [BZ #15467]
5478         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5479         (__sincos): Set errno to EDOM for infinite argument.
5480         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5481         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5482         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5483         (__sincosl): Set errno to EDOM for infinite argument.
5484         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5485         (__sincosl): Set errno to EDOM for infinite argument.
5486         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5487         (__sincosl): Set errno to EDOM for infinite argument.
5488         * math/libm-test.inc (sincos_test_data): Test errno setting.
5490 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5492         * string/strxfrm_l.c: Remove #define STRCMP.
5493         * string/strcoll_l.c: Remove #define STRLEN.
5494         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5495         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5497 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5499         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5500         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5501         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5502         * sysdeps/mips/mips64/Makefile: ... here.
5503         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5504         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5505         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5506         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5507         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5508         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5509         * sysdeps/mips/mips64/n64/Implies: Likewise.
5511 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5513         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5514         <sys/time.h>, <string.h>, and <errno.h>.
5515         (dest_offset, dest_address, value, zero): Remove unused variables.
5516         (ldouble): Remove typedef.
5517         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5518         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5519         1).  Fix code style.
5520         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5521         (check): Function removed.
5522         (CHECK): New macro.
5523         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5524         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5525         Don't call set_sigaction_FP and remove_sigaction_FP here.
5526         (ldouble_test): Just use 'long double' as macro argument, no need for
5527         the 'ldouble' typedef.
5528         (do_test): Set up SIGFPE handler at start, using plain signal rather
5529         than sigaction.  Fix code style.
5531 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5533         [BZ #17949]
5534         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5535         jump label.
5537 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5539         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5540         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5542         * sysdeps/powerpc/configure.ac: Remove file.
5543         * sysdeps/powerpc/configure: Likewise.
5545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5546         [sysdep_routines]: Remove wordcopy-power6 object.
5547         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5548         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5550         (__memmove_ppc32): Likewise.
5551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5552         file.
5553         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5555         Remove preprocessor.
5557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5558         [sysdep_routines]: Remove wide chars objects.
5559         [wcsmbs]: New rule for wide char objects.
5561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5562         Remove wordcopy-power6 obejct.
5563         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5564         Use local call for wordcopy and memcpy symbols.
5565         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5567         implementation for loader.
5568         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5570         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5571         Remove wordcopy-power7 object.
5572         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5573         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5574         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5575         (_wordcopy_fwd_dest_aligned): Likewise.
5576         (_wordcopy_bwd_aligned): Likewise.
5577         (_wordcopy_bwd_dest_aligned): Likewise.
5579         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5580         Rewrite to call __memmove_ppc instead of include default
5581         implementation.
5583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5584         Remove wide chars objects.
5585         [wcsmbs]: New rule for wide char objects.
5587 2015-02-09  Andreas Schwab  <schwab@suse.de>
5589         [BZ #17912]
5590         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5591         in terms of __O_DIRECTORY.
5593 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5595         * time/getdate.c: Include <stdbool.h>.
5596         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5597         call PTR_MANGLE.
5598         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5599         PTR_DEMANGLE.
5601 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5603         Add ersatz _Static_assert on older C hosts
5604         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5605         pre-C11 C platform that is not known to support _Static_assert.
5607 2015-02-07  Richard Braun  <rbraun@sceen.net>
5609         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5610         sigstate.
5611         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5613 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5615         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5616         priority against unexistent AIO_PRIO_DELTA_MAX.
5617         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5618         instead of int.
5619         * misc/fchflags.c (fchflags): Likewise.
5620         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5621         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5622         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5623         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5624         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5625         Declare macros.
5626         [__USE_MISC] (chflags, fchflags): Declare functions.
5627         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5628         EINVAL when nfds is greater than FD_SETSIZE.
5629         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5630         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5631         45.
5632         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5633         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5634         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5635         MACH_RCV_TIMED_OUT.
5636         * hurd/hurd/signal.h (_hurd_self_sigstate,
5637         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5638         Explicit casts from void *.
5639         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5640         * abi-tags: Rename gnu-gnu os into gnu.
5642         [BZ #4719]
5643         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5644         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5645         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5646         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5647         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5648         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5650         [BZ #17944]
5651         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5652         duplicates ADDR->sun_path with sockaddr LEN limitation.
5653         * sysdeps/mach/hurd/connect.c: Include <string.h>
5654         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5655         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5656         * sysdeps/mach/hurd/sendto.c: Likewise.
5657         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5658         implementing it by hand.
5660 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5662         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5663         Use sfi_breg on ldr.
5664         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5665         Likewise.
5667         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5668         it's defined.
5669         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5670         Test SIGSETXID only if it's defined.
5672         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5674         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5675         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5677         * nptl/tst-align2.c: Moved ...
5678         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5679         * nptl/Makefile (tests): Remove tst-align2.
5680         * sysdeps/unix/sysv/linux/Makefile
5681         [$(subdir) = nptl] (tests): Add tst-align-clone.
5682         * nptl/tst-getpid1.c: Moved ...
5683         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5684         * nptl/tst-getpid2.c: Moved ...
5685         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5686         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5687         * sysdeps/unix/sysv/linux/Makefile
5688         [$(subdir) = nptl] (tests): ... here.
5689         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5690         * sysdeps/unix/sysv/linux/Makefile
5691         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5693         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5694         Drop trailing \n from perror argument.  Use return rather than exit.
5696         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5697         on [SA_SIGINFO].
5698         * nptl/tst-cancel21.c (do_test): Likewise.
5699         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5700         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5701         [!SA_SIGINFO]: Make it a stub test.
5703         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5704         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5706         * posix/tst-getlogin.c: Move to ...
5707         * login/tst-getlogin.c: ... here.
5708         * posix/Makefile (tests): Move tst-getlogin to ...
5709         * login/Makefile (tests): ... here.
5711         * libio/tst-atime.c (do_test): Move local variables SV and E
5712         inside [ST_NOATIME] conditional.
5714         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5716         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5718         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5719         (wait_code): New function replaces macro.
5720         Call nanosleep rather than syscall.
5722         * nptl/pt-system.c: Rewritten.  Put everything under
5723         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5724         Use IFUNC to redirect when possible.
5726         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5727         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5728         Use IFUNC to redirect when possible.
5730         * nptl/pt-fork.c: Rewritten.  Put everything under
5731         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5732         Use IFUNC to redirect when possible.
5733         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5735         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5736         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5737         unconditionally nowadays.  This included the only reference to
5738         __vdso_clock_gettime that appears outside libc proper.
5739         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5740         Remove version set (containing only __vdso_clock_gettime).
5741         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5742         Add attribute_hidden.
5743         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5744         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5745         libc_hidden_data_def.
5746         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5747         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5749         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5750         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5751         setrpcent, and getrpcport to ...
5752         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5753         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5754         getrpcbynumber_r, and getrpcent_r to ...
5755         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5756         * inet/getrpcbyname.c: Moved ...
5757         * sunrpc/getrpcbyname.c: ... here.
5758         * inet/getrpcbyname_r.c: Moved ...
5759         * sunrpc/getrpcbyname_r.c: ... here.
5760         * inet/getrpcbynumber.c: Moved ...
5761         * sunrpc/getrpcbynumber.c: ... here.
5762         * inet/getrpcbynumber_r.c: Moved ...
5763         * sunrpc/getrpcbynumber_r.c: ... here.
5764         * inet/getrpcent.c: Moved ...
5765         * sunrpc/getrpcent.c: ... here.
5766         * inet/getrpcent_r.c: Moved ...
5767         * sunrpc/getrpcent_r.c: ... here.
5768         * inet/Makefile (routines): Move those to ...
5769         * sunrpc/Makefile (routines): ... here.
5770         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5771         the $(subdirs) list.
5772         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5773         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5774         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5775         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5777         * elf/Makefile (routines): Include $(all-dl-routines), not just
5778         $(dl-routines).
5779         (rtld-routines): Likewise.  Use = rather than :=.
5780         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5781         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5782         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5783         * sysdeps/arm/Makefile: Likewise.
5784         * sysdeps/i386/Makefile: Likewise.
5785         * sysdeps/x86_64/Makefile: Likewise.
5786         * sysdeps/hppa/Makefile [$(subdir) = elf]
5787         (sysdep_routines, sysdep-rtld-routines): Don't add
5788         $(sysdep-dl-routines) to these.
5789         * sysdeps/ia64/Makefile: Likewise.
5790         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5791         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5792         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5793         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5794         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5795         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5796         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5797         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5798         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5799         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5800         these; sysdep-dl-routines alone is enough.
5802 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5804         [BZ #17932]
5805         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5806         where multiplication results in zero and third argument is finite
5807         and nonzero.
5808         * math/auto-libm-test-in: Add more tests of fma.
5809         * math/auto-libm-test-out: Regenerated.
5811         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5812         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5813         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5814         (_FP_CMP_EQ): Likewise.
5815         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5817         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5818         extra argument CHECK_NAN.  Redefine as wrapper around
5819         _FP_EXTEND_CNAN.
5821 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5823         * version.h (RELEASE): Set to "stable".
5824         (VERSION): Set to "2.21"
5825         * include/features.h (__GLIBC_MINOR__): Set to 21.
5827         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5829 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5830             Paul Eggert  <eggert@cs.ucla.edu>
5832         [BZ #16618]
5833         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5834         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5835         size in bytes. Store needed elements in wpmax. Use needed size
5836         in bytes for extend_alloca.
5838 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5840         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5841         binutls 2.25, and texinfo 5.2.
5842         * INSTALL: Regenerate.
5843         * sysdeps/nios2/configure: Regenerate.
5844         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5845         * manual/contrib.texi: Update.
5846         * po/be.po: Update.
5847         * po/bg.po: Update.
5848         * po/ca.po: Update.
5849         * po/cs.po: Update.
5850         * po/da.po: Update.
5851         * po/de.po: Update.
5852         * po/el.po: Update.
5853         * po/eo.po: Update.
5854         * po/es.po: Update.
5855         * po/fi.po: Update.
5856         * po/fr.po: Update.
5857         * po/gl.po: Update.
5858         * po/hr.po: Update.
5859         * po/hu.po: Update.
5860         * po/ia.po: Update.
5861         * po/id.po: Update.
5862         * po/it.po: Update.
5863         * po/ja.po: Update.
5864         * po/ko.po: Update.
5865         * po/lt.po: Update.
5866         * po/nb.po: Update.
5867         * po/nl.po: Update.
5868         * po/pl.po: Update.
5869         * po/pt_BR.po: Update.
5870         * po/ru.po: Update.
5871         * po/rw.po: Update.
5872         * po/sk.po: Update.
5873         * po/sl.po: Update.
5874         * po/sv.po: Update.
5875         * po/tr.po: Update.
5876         * po/uk.po: Update.
5877         * po/vi.po: Update.
5878         * po/zh_CN.po: Update.
5879         * po/zh_TW.po: Update.
5881         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5882         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5883         * sysdeps/hppa/dl-irel.h: Remove #warning.
5884         * sysdeps/hppa/entry.h: Provide prototype for
5885         __canonicalize_funcptr_for_compare and cast argument.
5886         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5887         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5888         * sysdeps/hppa/sotruss-lib.c: New file.
5889         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5890         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5891         (atomic_compare_and_exchange_bool_acq): Likewise.
5892         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5893         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5895         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5896         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5897         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5899 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5901         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5902         called function in non-PIC case.
5904 2015-01-31  David S. Miller  <davem@davemloft.net>
5906         * sysdeps/sparc/sparc32/bits/atomic.h
5907         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5908         unlock not after it.
5909         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5910         volatile register usage warnings from the compiler.
5912         * sysdeps/sparc/nptl/sem_init.c: Delete.
5913         * sysdeps/sparc/nptl/sem_post.c: Delete.
5914         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5915         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5916         * sysdeps/sparc/sparc32/sem_init.c: New file.
5917         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5918         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5919         padding explicitly initialized.
5920         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5921         padding for in-semaphore spinlock.
5922         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5923         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5924         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5925         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5926         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5927         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5928         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5929         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5930         version.
5931         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5932         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5934 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5936         [BZ #17801]
5937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5938         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5939         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5940         New.
5941         (index_AVX_Fast_Unaligned_Load): Likewise.
5942         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5943         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5944         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5945         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5946         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5947         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5948         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5949         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5950         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5952 2015-01-29  Andreas Schwab  <schwab@suse.de>
5954         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5956 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5958         [BZ #17892]
5959         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5961 2015-01-28  Martin Sebor  <msebor@redhat.com>
5963         * math/README.libm-test: Clarify. Add "How to read the test output."
5965 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5967         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5968         Define to 0.
5970 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5972         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5973         (__HAVE_64B_ATOMICS): Define to 0.
5975 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5977         [BZ #17885]
5978         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5979         value to set as new flag.
5981         [BZ #16576]
5982         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5983         and use _ARCH_PPCSQ instead.
5984         (__ieee754_sqrt): Likewise.
5985         (__ieee754_sqrtf): Likewise.
5986         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5987         _ARCH_PPCSQ is defined.
5988         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5989         fsqrt instruction.
5990         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5991         _ARCH_PPCSQ is defined.
5992         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5993         fsqrts instruction.
5994         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5996 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5998         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5999         bug (GCC BZ #64739).
6001 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6003         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6004         Mark _retval as used.
6005         (lll_futex_wake_unlock): Likewise.
6006         (lll_futex_timed_wait_requeue_pi): Likewise.
6008         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6009         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6010         register variables.
6012         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6013         libm_hidden_def.
6015         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6016         (__bswap_64): Mark as __always_inline.
6018 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6020         [BZ #15378]
6021         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6022         when none of the search directories exist.
6024 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6026         [BZ #17869]
6027         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6028         power8 in .machine directive.
6030         [BZ #17868]
6031         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6032         set dependency from opd value.
6034 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6037         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6038         architecture.
6040 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6042         [BZ #17870]
6043         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6044         with uint64_t.
6045         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6046         (uint64_t) 1.
6047         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6048         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6049         Replace 1UL with (uint64_t) 1.
6050         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6051         int with uint64_t.
6053 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6055         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6056         (if_freenameindex): Likewise.
6058         * resource/getrlimit64.c: Add missing libc_hidden_def.
6060 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6062         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6063         __label__.
6064         (_FP_FMA): Likewise.
6065         (_FP_TO_INT_ROUND): Likewise.
6066         (_FP_FROM_INT): Likewise.
6068 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6070         [BZ #16418]
6071         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6072         Make code racy and cancel safe.
6074 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6076         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6077         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6078         attribution.
6080         * pwd/tst-getpw.c: Rewrite.
6082         [BZ #17702]
6083         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6084         (modules-names): Add moddummy1 and moddummy2.
6085         ($(objpfx)tst-rec-dlopen): Define.
6086         * dlfcn/moddummy1.c: New file.
6087         * dlfcn/moddummy2.c: New file.
6088         * dlfcn/tst-rec-dlopen.c: New file.
6089         * elf/dl-cache.c (_dl_load_cache_lookup):
6090         Return char*. Copy result with alloca/strcpy/strdup.
6091         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6092         returns char*. Free cached. If not saving realname
6093         free cached.
6094         * elf/dl-open.c (dl_open_worker): Do not assert that
6095         _r_debug->r_state is RT_CONSISTENT.
6096         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6097         returns char*.
6099 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6100             Carlos O'Donell  <carlos@redhat.com>
6102         [BZ #12674]
6103         * nptl/sem_waitcommon.c: New file.
6104         * nptl/sem_wait.c: Include sem_waitcommon.c.
6105         (__sem_wait_cleanup, do_futex_wait): Remove.
6106         (__new_sem_wait): Adapt.
6107         (__new_sem_trywait): New function.
6108         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6109         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6110         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6111         (sem_timedwait): Adapt.
6112         * nptl/sem_post.c (__new_sem_post): Adapt.
6113         (futex_wake): New function.
6114         (__old_sem_post): Add release MO fence.
6115         * nptl/sem_open.c (sem_open): Adapt.
6116         * nptl/sem_init.c (__new_sem_init): Adapt.
6117         (futex_private_if_supported): New function.
6118         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6119         (__old_sem_getvalue): Add using previous code.
6120         * sysdeps/nptl/internaltypes.h: Adapt.
6121         * nptl/tst-sem13.c (do_test): Adapt.
6122         * nptl/tst-sem11.c (main): Adapt.
6123         * nptl/sem_trywait.c: Remove.
6124         * nptl/DESIGN-sem.txt: Remove.
6125         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6126         (gen-as-const-headers): Remove structsem.sym.
6127         * nptl/structsem.sym: Remove.
6128         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6129         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6130         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6131         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6132         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6133         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6134         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6135         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6136         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6137         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6138         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6139         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6140         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6141         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6142         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6143         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6144         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6145         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6146         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6147         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6148         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6149         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6151 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6153         * INSTALL: Regenerated.
6155         * po/libc.pot: Regenerated.
6157 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6158             Sandra Loosemore  <sandra@codesourcery.com>
6159             Andrew Jenner  <andrew@codesourcery.com>
6160             Joseph Myers  <joseph@codesourcery.com>
6161             Nathan Sidwell  <nathan@codesourcery.com>
6163         * NEWS: Mention new Nios II port.
6164         * sysdeps/nios2/Implies: New file.
6165         * sysdeps/nios2/Makefile: New file.
6166         * sysdeps/nios2/Subdirs: New file.
6167         * sysdeps/nios2/Versions: New file.
6168         * sysdeps/nios2/__longjmp.S: New file.
6169         * sysdeps/nios2/abort-instr.h: New file.
6170         * sysdeps/nios2/backtrace.c: New file.
6171         * sysdeps/nios2/bits/endian.h: New file.
6172         * sysdeps/nios2/bits/fenv.h: New file.
6173         * sysdeps/nios2/bits/link.h: New file.
6174         * sysdeps/nios2/bits/setjmp.h: New file.
6175         * sysdeps/nios2/bsd-_setjmp.S: New file.
6176         * sysdeps/nios2/bsd-setjmp.S: New file.
6177         * sysdeps/nios2/configure: New generated file.
6178         * sysdeps/nios2/configure.ac: New file.
6179         * sysdeps/nios2/crti.S: New file.
6180         * sysdeps/nios2/crtn.S: New file.
6181         * sysdeps/nios2/dl-init.c: New file.
6182         * sysdeps/nios2/dl-machine.h: New file.
6183         * sysdeps/nios2/dl-sysdep.h: New file.
6184         * sysdeps/nios2/dl-tls.h: New file.
6185         * sysdeps/nios2/dl-trampoline.S: New file.
6186         * sysdeps/nios2/gccframe.h: New file.
6187         * sysdeps/nios2/gmp-mparam.h: New file.
6188         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6189         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6190         * sysdeps/nios2/ldsodefs.h: New file.
6191         * sysdeps/nios2/libc-tls.c: New file.
6192         * sysdeps/nios2/libm-test-ulps: New file.
6193         * sysdeps/nios2/machine-gmon.h: New file.
6194         * sysdeps/nios2/math-tests.h: New file.
6195         * sysdeps/nios2/math_private.h: New file.
6196         * sysdeps/nios2/memusage.h: New file.
6197         * sysdeps/nios2/nptl/Makefile: New file.
6198         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6199         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6200         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6201         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6202         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6203         * sysdeps/nios2/nptl/tls.h: New file.
6204         * sysdeps/nios2/preconfigure: New file.
6205         * sysdeps/nios2/s_fma.c: New file.
6206         * sysdeps/nios2/s_fmaf.c: New file.
6207         * sysdeps/nios2/setjmp.S: New file.
6208         * sysdeps/nios2/sfp-machine.h: New file.
6209         * sysdeps/nios2/sotruss-lib.c: New file.
6210         * sysdeps/nios2/stackguard-macros.h: New file.
6211         * sysdeps/nios2/stackinfo.h: New file.
6212         * sysdeps/nios2/start.S: New file.
6213         * sysdeps/nios2/sysdep.h: New file.
6214         * sysdeps/nios2/tls-macros.h: New file.
6215         * sysdeps/nios2/tst-audit.h: New file.
6216         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6217         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6218         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6219         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6220         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6221         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6222         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6223         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6224         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6225         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6226         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6227         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6228         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6229         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6230         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6231         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6232         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6233         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6234         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6235         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6236         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6237         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6238         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6239         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6240         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6241         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6242         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6243         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6244         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6245         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6246         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6247         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6248         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6249         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6250         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6251         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6252         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6253         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6254         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6255         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6256         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6257         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6258         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6259         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6261 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263         [BZ #17844]
6264         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6265         (getutent): Use weak_alias in non SHARED case
6266         and default_symbol_version in SHARED case.
6267         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6268         (getutent_r, pututline): Likewise.
6269         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6270         (getutid): Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6272         (getutid_r): Likewise.
6273         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6274         (getutline): Likewise.
6275         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6276         (getutline_r): Likewise.
6277         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6278         (updwtmp): Likewise.
6280 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6282         [BZ #17848]
6283         * sysdeps/s390/s390-32/memcmp.S
6284         (memcmp_g5): Rename to __memcmp_g5.
6285         * sysdeps/s390/s390-32/memcpy.S
6286         (memcpy_g5): Rename to __memcpy_g5.
6287         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6288         (memcpy_mvcle) Rename to __memcpy_mvcle.
6289         * sysdeps/s390/s390-32/memset.S
6290         (memset_g5): Rename to __memset_g5.
6291         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6292         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6293         and use prefixed functions.
6294         * sysdeps/s390/s390-32/multiarch/memcmp.S
6295         (memcmp_z196): Rename to __memcmp_z196.
6296         (memcmp_z10): Rename to __memcmp_z10.
6297         (memcmp): Set alias to __memcmp_g5.
6298         (bcmp): Set alias to __memcmp_g5.
6299         * sysdeps/s390/s390-32/multiarch/memcpy.S
6300         (memcpy_z196): Rename to __memcpy_z196.
6301         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6302         (memcpy_z10): Rename to __memcpy_z10.
6303         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6304         (memcpy): Set alias to __memcpy_g5.
6305         * sysdeps/s390/s390-32/multiarch/memset.S
6306         (memset_z196): Rename to __memset_z196.
6307         Jump to __memset_mvcle instead of memset_mvcle.
6308         (memset_z10): Rename to __memset_z10.
6309         Jump to __memset_mvcle instead of memset_mvcle.
6310         (memset_mvcle) Rename to __memset_mvcle.
6311         (memset): Set alias to __memset_g5.
6312         * sysdeps/s390/s390-64/memcmp.S
6313         (memcmp_z900): Rename to __memcmp_z900.
6314         * sysdeps/s390/s390-64/memcpy.S
6315         (memcpy_z900): Rename to __memcpy_z900.
6316         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6317         (memcpy_mvcle) Rename to __memcpy_mvcle.
6318         * sysdeps/s390/s390-64/memset.S
6319         (memset_z900): Rename to __memset_z900.
6320         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6321         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6322         and use prefixed functions.
6323         * sysdeps/s390/s390-64/multiarch/memcmp.S
6324         (memcmp_z196): Rename to __memcmp_z196.
6325         (memcmp_z10): Rename to __memcmp_z10.
6326         (memcmp): Set alias to __memcmp_z900.
6327         (bcmp): Set alias to __memcmp_z900.
6328         * sysdeps/s390/s390-64/multiarch/memcpy.S
6329         (memcpy_z196): Rename to __memcpy_z196.
6330         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6331         (memcpy_z10): Rename to __memcpy_z10.
6332         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6333         (memcpy): Set alias to __memcpy_z900.
6334         * sysdeps/s390/s390-64/multiarch/memset.S
6335         (memset_z196): Rename to __memset_z196.
6336         Jump to __memset_mvcle instead of memset_mvcle.
6337         (memset_z10): Rename to __memset_z10.
6338         Jump to __memset_mvcle instead of memset_mvcle.
6339         (memset_mvcle) Rename to __memset_mvcle.
6340         (memset): Set alias to __memset_z900.
6342 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6344         [BZ #17748]
6345         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6346         __fesetenv instead of fesetenv.
6348 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6350         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6351         macro.
6353 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6355         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6356         regression on LE.
6358         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6359         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6360         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6361         strncmp-power8 object.
6362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6363         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6364         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6365         * NEWS: Update.
6367 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6368             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6370         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6371         trailing byte check.
6373 2015-01-13  David S. Miller  <davem@davemloft.net>
6375         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6377 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6379         * login/logout.c (logout): Use memset rather than bzero.
6380         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6381         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6382         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6383         (_gethtbyaddr): Likewise.
6384         * locale/programs/simple-hash.c (bcopy): Macro removed.
6386 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6388         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6389         Add strcmp-power8 object.
6390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6391         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6392         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6393         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6394         __strcmp_power8 implementation.
6395         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6396         * NEWS: Update.
6398         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6399         Add strncpy-power8 and stpncpy-power8 objects.
6400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6401         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6402         implementations.
6403         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6404         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6405         __stpncpy_power8 implementation.
6406         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6407         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6408         __strncpy_power8 implementation.
6409         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6410         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6411         * NEWS: Update.
6413         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6414         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6415         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6417         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6418         strncat-power8 object.
6419         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6420         __strcat_power8 implementation.
6421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6422         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6423         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6424         optimized strcat for power8.
6426         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6427         strcpy-power8 and stpcpy-power8 objects.
6428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6429         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6430         implementations.
6431         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6432         multiarch stpcpy implementation for POWER8.
6433         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6434         multiarch strcpy implementation for POWER8.
6435         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6436         __strcpy_power8 function.
6437         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6438         stpcpy for POWER8.
6439         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6440         strcpy for POWER8.
6441         * NEWS: Update.
6443 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6445         [BZ #16009]
6446         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6447         weights and rules. Use do_xfrm_cached if data fits in cache,
6448         do_xfrm otherwise.  Moved former main loop to...
6449         * (do_xfrm_cached): New function.
6450         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6451         find_idx, find_position and stack_push.
6452         * (find_idx): New function.
6453         * (find_position): Likewise.
6454         * localedata/sort-test.sh: Added test run for do_xfrm.
6455         * localedata/xfrm-test.c (main): Added command line option
6456         -nocache to run the test with strings that are too large for
6457         the STRXFRM cache.
6459 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6461         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6462         variable to lll_futex_wake call, not the value itself.
6464 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6466         [BZ #17803]
6467         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6468         twom64.  Adjust value to 0x1p-64L.
6469         (__scalblnl): Only return standard underflowing result for K <=
6470         -64 not K <= -63; adjust exponent for underflowing result by 64
6471         not 63.
6472         * math/libm-test.inc (scalbn_test_data): Add more tests.
6473         (scalbln_test_data): Likewise.
6475         [BZ #17834]
6476         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6477         0x1p63L.
6478         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6479         not HX.
6480         * math/libm-test.inc (scalbn_test_data): Add more tests.
6481         (scalbln_test_data): Likewise.
6483 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6484             Stefani Seibold  <stefani@seibold.net>
6486         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6487         (sysdep_routines): Add dl-vdso here, ...
6488         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6489         (sysdep_routines): ... not here.
6490         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6491         fallback when vDSO is not presented.
6492         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6493         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6494         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6495         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6496         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6497         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6498         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6499         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6500         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6501         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6502         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6503         fallback configurable symbol when vDSO is not available.
6504         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6505         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6506         be able to redefine fallback symbol when vDSO is not available.
6507         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6508         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6510 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6512         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6513         (TLS_INIT_TP): Add tm_capable initialization.
6514         (TLS_DEFINE_INIT_TP): Likewise.
6515         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6516         TCB.
6517         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6518         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6519         calculation.
6520         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6521         transactoion is lock elision is built and TCB tm_capable is set.
6522         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6524         (INTERNAL_SYSCALL_NCS): Likewise.
6525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6526         (INTERNAL_SYSCALL_NCS): Likewise.
6527         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6529         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6530         for powerpc.
6531         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6532         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6533         and remove it for 32 bits case.
6534         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6536         initialization.
6537         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6538         Disable lock elision with rdlocks if elision is not available.
6540         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6541         (sysdep_routines): Add lock elision objects.
6542         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6543         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6544         [pthread_mutex_t] (__elision): Add field.
6545         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6546         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6547         elision definitions for powerpc.
6548         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6549         implementation of lock elision for powerpc.
6550         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6551         implementation of timed lock elision for powerpc.
6552         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6553         implementation of trylock with lock elision for powerpc.
6554         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6555         implementaion of unlock for lock elision for powerpc.
6556         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6557         automatic enable lock elision for mutexes.
6558         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6559         transaction execution definitions for powerpc.
6560         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6561         definitions.
6562         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6563         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6564         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6565         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6566         * NEWS: Update.
6568 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6570         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6571         for #include of <shm-directory.h>.
6573 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6575         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6576         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6578 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6580         [BZ #17791]
6581         * NEWS: Mention bug fix.
6582         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6583         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6584         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6586 2015-01-09  Torvald Riegel <triegel@redhat.com>
6588         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6590 2015-01-09  Torvald Riegel <triegel@redhat.com>
6592         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6594 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6596         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6597         pointer and cast to uintptr_t.
6599 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6601         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6602         removed.
6603         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6605 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6607         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6608         of 0.
6610 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6612         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6613         <nptl/pthreadP.h> instead.
6614         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6616         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6617         already defined.
6618         [__SIGRTMIN] (init): Function removed.
6619         [__SIGRTMIN] (initialized): Variable removed.
6620         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6621         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6622         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6623         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6624         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6625         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6626         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6627         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6628         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6629         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6630         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6631         * sysdeps/nptl/allocrtsig.c: New file.
6632         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6633         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6634         * sysdeps/generic/testrtsig.h: File removed.
6636         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6637         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6639         * nptl/nptl-init.c (pthread_functions): Conditionalize
6640         .ptr__nptl_setxid initialization on [SIGSETXID].
6642         * sysdeps/nptl/sys/procfs.h: New file.
6643         * nptl_db/Makefile (headers): Add it.
6644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6646         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6647         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6648         * nptl/pthread_attr_setaffinity.c: Include it.
6649         * nptl/pthread_setattr_default_np.c: Likewise.
6650         * nptl/check-cpuset.h: New file.
6652 2015-01-08  Richard Henderson  <rth@redhat.com>
6654         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6655         (CFLAGS-tst-execstack-prog.c): Likewise.
6656         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6658 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6659             Sandra Loosemore  <sandra@codesourcery.com>
6660             Andrew Jenner  <andrew@codesourcery.com>
6661             Joseph Myers  <joseph@codesourcery.com>
6662             Nathan Sidwell  <nathan@codesourcery.com>
6664         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6665         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6666         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6667         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6668         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6669         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6670         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6671         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6672         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6673         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6674         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6675         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6676         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6677         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6678         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6679         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6680         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6682 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6684         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6685         timespec struct member in syscall macro.
6686         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6687         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6688         first timeval struct member in syscall macro.
6689         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6691 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6693         [BZ #17748]
6694         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6695         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6696         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6697         __feupdateenv and define as weak alias of __feupdateenv.  Use
6698         libm_hidden_weak.
6699         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6700         libm_hidden_def.
6701         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6702         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6703         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6704         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6705         libm_hidden_def.
6706         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6707         __feupdateenv and define as weak alias of __feupdateenv.  Use
6708         libm_hidden_weak.
6709         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6710         libm_hidden_def.
6711         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6712         __feupdateenv and define as weak alias of __feupdateenv.  Use
6713         libm_hidden_weak.
6714         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6715         libm_hidden_def.
6716         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6717         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6718         (__feupdateenv): Likewise.
6719         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6720         __feupdateenv and define as weak alias of __feupdateenv.  Use
6721         libm_hidden_weak.
6722         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6723         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6724         libm_hidden_def.
6725         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6726         function.
6727         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6728         libm_hidden_def.
6729         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6730         __feupdateenv instead of feupdateenv.
6731         (default_libc_feupdateenv_test): Likewise.
6732         (libc_feresetround_ctx): Likewise.
6734 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6736         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6737         prototype.
6739 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6741         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6742         COLL_SYM in a couple of places to avoid uninitialized variable
6743         wanings on tilegx gcc 4.8.2.
6745 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6747         * sysdeps/aarch64/strcpy.S: New file.
6748         * sysdeps/aarch64/stpcpy.S: New file.
6749         * NEWS: Updated.
6751 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6753         * sysdeps/aarch64/strrchr.S: New file.
6754         * NEWS: Updated.
6756 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6758         [BZ #17658]
6759         * stdlib/setenv.c: Fix memory leak when setting large,
6760         duplicate string.
6762 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6764         [BZ #17273]
6765         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6766         and tabs from buffer before parsing fstab entry.
6767         * misc/tst-mntent.c (main): Add test for mount entry with
6768         trailing spaces and tabs.
6770 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #17748]
6773         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6774         * math/fesetround.c (fesetround): Rename to __fesetround and
6775         define as weak alias of __fesetround.  Use libm_hidden_weak.
6776         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6777         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6778         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6779         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6780         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6781         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6782         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6783         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6784         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6785         __fesetround_inline.
6786         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6787         __fesetround_inline instead of __fesetround.
6788         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6789         __fesetround and define as weak alias of __fesetround.  Use
6790         libm_hidden_weak.  Call __fesetround_inline instead of
6791         __fesetround.
6792         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6793         __fesetround and define as weak alias of __fesetround.  Use
6794         libm_hidden_weak.
6795         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6796         Likewise.
6797         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6798         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6799         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6800         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6801         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6802         __fesetround and define as weak alias of __fesetround.  Use
6803         libm_hidden_weak.
6804         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6805         __fesetround instead of fesetround.
6806         (default_libc_feholdexcept_setround): Likewise.
6807         (libc_feholdsetround_ctx): Likewise.
6808         (libc_feholdsetround_noex_ctx): Likewise.
6810         [BZ #17748]
6811         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6812         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6813         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6814         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6815         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6816         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6817         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6818         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6819         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6820         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6821         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6822         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6823         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6824         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6825         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6826         libm_hidden_def.
6827         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6828         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6829         Likewise.
6830         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6831         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6832         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6833         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6834         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6835         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6836         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6837         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6838         __fesetenv instead of fesetenv.
6839         (libc_feresetround_noex_ctx): Likewise.
6840         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6841         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6842         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6843         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6844         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6845         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6846         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6847         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6848         (__feupdateenv): Likewise.
6849         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6850         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6851         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6852         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6854 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6856         [BZ #17806]
6857         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6858         addresses have been freed.
6860 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6862         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6863         and nservall.
6865 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6867         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6868         Clean up check_pf allocation pattern. addresses
6870 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6872         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6873         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6874         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6875         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6876         * nptl/pthread_join.c (pthread_join): Likewise.
6877         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6878         * sysdeps/posix/waitid.c (__waitid): Likewise.
6879         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6880         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6881         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6882         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6884         Likewise.
6885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6886         (__libc_pread64): Likewise.
6887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6888         (__libc_pwrite): Likewise.
6889         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6890         (__libc_pwrite64): Likewsie.
6891         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6892         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6893         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6894         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6895         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6896         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6897         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6899         Likewise.
6900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6901         (__libc_pread64): Likewise.
6902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6903         Likewise.
6904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6905         (__libc_pwrite64): Likewise.
6906         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6907         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6908         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6909         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6910         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6911         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6912         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6913         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6914         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6915         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6916         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6917         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6918         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6919         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6920         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6921         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6922         Likewise.
6924 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6926         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6927         (CFLAGS-test-double.c): Likewise.
6928         (CFLAGS-test-ldouble.c): Likewise.
6929         (CPPFLAGS-test-ifloat.c): Likewise.
6930         (CPPFLAGS-test-idouble.c): Likewise.
6931         (CPPFLAGS-test-ildoubl.c): Likewise.
6932         (CFLAGS-test-test-fenv.c): Remove variable.
6933         (CFLAGS-test-misc.c): Likewise.
6935 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6937         [BZ #17797]
6938         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6939         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6940         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6941         CLOCKS_PER_SEC == 1000000.
6942         * time/clocktest.c (main): Replace %ld with %jd and cast to
6943         intmax_t.
6945 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6947         * sysdeps/generic/unwind-resume.h: New file.
6948         * sysdeps/gnu/unwind-resume.c: Include it.
6949         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6950         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6951         argument list.
6952         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6953         global rather than static.
6954         (_Unwind_Resume): Update user.
6955         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6956         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6957         rather than static.  Add __attribute__ ((cold)).
6958         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6959         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6960         * sysdeps/arm/arm-unwind-resume.S: New file.
6961         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6962         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6963         * sysdeps/arm/Makefile [$(subdir) = csu]
6964         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6965         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6966         Add rt-arm-unwind-resume.
6967         [$(subdir) = nptl]
6968         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6969         Add pt-arm-unwind-resume.
6970         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6971         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6973 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6975         [BZ #17748]
6976         * include/fenv.h (__feholdexcept): Declare.  Use
6977         libm_hidden_proto.
6978         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6979         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6980         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6981         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6982         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6983         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6984         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6985         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6986         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6987         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6988         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6989         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6990         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6991         (feholdexcept): Likewise.
6992         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6993         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6994         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6995         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6996         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6997         __feholdexcept instead of feholdexcept.
6998         (default_libc_feholdexcept_setround): Likewise.
7000 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7002         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7003         to avoid using stl/str to align destination.
7005 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7007         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7009 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7011         [BZ #17796]
7012         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7013         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7014         Define as weak alias not strong alias.
7016 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7018         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7019         bltzal with addiupc.
7020         (RTLD_START): Ditto.
7022 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7024         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7025         for __vdso_* functions in declarations.
7026         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7027         definitions.
7028         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7029         INTERNAL_VSYSCALL): Use struct return types to check for error.
7031         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7032         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7033         function with cast from llround().
7034         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7035         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7036         Define.
7038 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7040         [BZ #17793]
7041         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7042         Define as weak alias not strong alias.
7044         [BZ #17635]
7045         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7046         ...
7047         * ctype/ctype-extn.c: ... here.
7048         (__isblank_l): Move to ...
7049         * ctype/ctype-c99_l.c: ... here.  New file.
7050         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7051         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7052         Remove variable.
7053         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7054         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7055         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7056         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7057         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7059         [BZ #17777]
7060         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7061         (posix_fadvise64): Define as weak alias not strong alias.
7062         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7063         (posix_fallocate64): Likewise.
7064         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7065         Remove variable.
7066         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7067         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7068         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7069         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7070         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7072 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7074         [BZ #16191]
7075         * NEWS: Mention bug fix.
7076         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7077         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7078         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7079         (HOST_STACK_END_ADDR): Likewise.
7081 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7083         [BZ #17748]
7084         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7085         * math/fegetround.c (fegetround): Rename to __fegetround and
7086         define as weak alias of __fegetround.  Use libm_hidden_weak.
7087         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7088         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7089         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7090         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7091         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7092         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7093         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7094         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7095         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7096         Undefine after rather than before function definition; use
7097         parentheses around function name in definition.
7098         (__fegetround): Also undefine macro after function definition.
7099         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7100         __fegetround and define as weak alias of __fegetround.  Use
7101         libm_hidden_weak.  Do not undefine as macro.
7102         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7103         Likewise.
7104         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7105         __fegetround and define as weak alias of __fegetround.  Use
7106         libm_hidden_weak.
7107         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7108         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7109         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7110         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7111         __fegetround and define as weak alias of __fegetround.  Use
7112         libm_hidden_weak.
7113         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7114         __fegetround instead of fegetround.
7116         [BZ #17782]
7117         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7118         Condition macro definition on [__USE_MISC].
7120         [BZ #17781]
7121         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7122         (struct sigaction): Change type of sa_flags field to int.
7124         [BZ #17780]
7125         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7126         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7127         __glibc_reserved0.
7129         * nptl/version.c (banner): Use single year in copyright notice.
7131         * NEWS: Update copyright dates.
7132         * catgets/gencat.c (print_version): Likewise.
7133         * csu/version.c (banner): Likewise.
7134         * debug/catchsegv.sh: Likewise.
7135         * debug/pcprofiledump.c (print_version): Likewise.
7136         * debug/xtrace.sh (do_version): Likewise.
7137         * elf/ldconfig.c (print_version): Likewise.
7138         * elf/ldd.bash.in: Likewise.
7139         * elf/pldd.c (print_version): Likewise.
7140         * elf/sotruss.sh: Likewise.
7141         * elf/sprof.c (print_version): Likewise.
7142         * iconv/iconv_prog.c (print_version): Likewise.
7143         * iconv/iconvconfig.c (print_version): Likewise.
7144         * locale/programs/locale.c (print_version): Likewise.
7145         * locale/programs/localedef.c (print_version): Likewise.
7146         * login/programs/pt_chown.c (print_version): Likewise.
7147         * malloc/memusage.sh (do_version): Likewise.
7148         * malloc/memusagestat.c (print_version): Likewise.
7149         * malloc/mtrace.pl: Likewise.
7150         * manual/libc.texinfo: Likewise.
7151         * nptl/version.c (banner): Likewise.
7152         * nscd/nscd.c (print_version): Likewise.
7153         * nss/getent.c (print_version): Likewise.
7154         * nss/makedb.c (print_version): Likewise.
7155         * posix/getconf.c (main): Likewise.
7156         * scripts/test-installation.pl: Likewise.
7157         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7159 2015-01-02  Will Newton  <will.newton@linaro.org>
7161         * sysdeps/arm/armv7/configure: Removed.
7162         * sysdeps/arm/armv7/configure.ac: Likewise.
7164 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7166         * All files with FSF copyright notices: Update copyright dates
7167         using scripts/update-copyrights.
7168         * intl/plural.c: Regenerated.
7169         * locale/programs/charmap-kw.h: Likewise.
7170         * locale/programs/locfile-kw.h: Likewise.
7172 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7174         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7176 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7178         [BZ #17748]
7179         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7180         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7181         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7182         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7183         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7184         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7185         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7186         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7187         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7188         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7189         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7190         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7191         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7192         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7193         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7194         libm_hidden_def.
7195         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7196         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7197         Likewise.
7198         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7199         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7200         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7201         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7202         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7203         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7204         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7205         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7206         __fegetenv instead of fegetenv.
7207         (libc_feholdsetround_noex_ctx): Likewise.
7209 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7211         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7212         (Elf_MIPS_ABIFlags_v0): New structure.
7213         (EF_MIPS_FP64): Define.
7214         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7215         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7216         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7217         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7218         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7219         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7220         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7221         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7222         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7223         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7224         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7225         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7226         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7227         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7228         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7229         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7230         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7231         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7232         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7233         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7234         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7235         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7236         field.
7237         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7238         EF_MIPS_FP64.
7239         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7240         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7241         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7242         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7243         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7244         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7245         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7246         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7247         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7248         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7249         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7250         record the current FP ABI extension.
7251         (mips-mode-switch): Define to show if kernel headers support mode
7252         switching.
7253         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7254         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7255         supported SYSV ABI version to 3.
7256         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7257         feature.
7259 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7260             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7263         path.
7264         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7266 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7268         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7269         __fegetround and redefine to call __fegetround.  Remove condition
7270         on [!__NO_MATH_INLINES].
7271         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7272         function.
7273         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7274         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7275         Remove macro.
7276         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7277         instead of <fenv_libc.h>.
7278         (__llrintl): Call fegetround instead of __fegetround.
7279         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7280         instead of <fenv_libc.h>.
7281         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7282         (__lrintl): Call fegetround instead of __fegetround.
7283         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7284         instead of <fenv_libc.h>.
7285         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7286         (__rintl): Call fegetround instead of __fegetround.
7288 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7290         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7291         arrays.
7293 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7295         [BZ #17775]
7296         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7297         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7298         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7300 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7302         * sysdeps/i386/tls-macros.h: Include <features.h>.
7303         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7304         (TLS_IE): Likewise.
7305         (TLS_LD): Likewise.
7306         (TLS_GD): Likewise.
7307         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7308         define for GCC >= 5.0.
7310 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7312         * math/test-fenv.c (test_single_exception, set_single_exc,
7313         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7314         feexcp_mask_test, feenable_test, fe_single_test): Add
7315         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7316         case where they are not used.
7317         * math/libm-test.inc: Likewise.
7318         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7319         unused in the absence of FP rounding/exception support.
7320         * stdio-common/tst-printf-round.c: Likewise.
7321         * stdlib/tst-strtod-round.c: Likewise.
7322         * stdlib/tst-strtod-underflow.c: Likewise.
7324 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7326         [BZ #17723]
7327         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7328         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7329         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7330         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7331         libm_hidden_weak.
7332         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7333         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7334         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7335         libm_hidden_def.
7336         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7337         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7338         libm_hidden_weak.
7339         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7340         Likewise.
7341         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7342         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7343         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7344         libm_hidden_weak.
7345         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7346         libm_hidden_def.
7347         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7348         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7349         (__feraiseexcept): Likewise.
7350         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7351         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7352         libm_hidden_weak.
7353         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7354         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7355         libm_hidden_def.
7356         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7357         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7358         Use libm_hidden_def.
7359         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7360         libm_hidden_def.
7361         (feraiseexcept): Define as weak not strong alias.  Use
7362         libm_hidden_weak.
7363         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7364         New inline function.  Factored out of ...
7365         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7366         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7367         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7368         feraiseexcept.
7369         * math/w_acos.c (__acos): Likewise.
7370         * math/w_asin.c (__asin): Likewise.
7371         * math/w_ilogb.c (__ilogb): Likewise.
7372         * math/w_j0.c (y0): Likewise.
7373         * math/w_j1.c (y1): Likewise.
7374         * math/w_jn.c (yn): Likewise.
7375         * math/w_log.c (__log): Likewise.
7376         * math/w_log10.c (__log10): Likewise.
7377         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7378         * sysdeps/aarch64/fpu/math_private.h
7379         (libc_feupdateenv_test_aarch64): Likewise.
7380         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7381         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7382         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7383         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7384         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7385         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7386         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7387         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7388         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7389         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7391 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7393         [BZ #17732]
7394         * io/test-utime.c (main): Replace %ld with %jd and cast to
7395         intmax_t.
7396         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7397         * nptl/tst-mutex5.c: Include <stdint.h>.
7398         (do_test): Replace %ld with %jd and cast to intmax_t.
7399         * posix/tst-regex.c (run_test): Likewise.
7400         (run_test_backwards): Likewise.
7401         * rt/tst-clock.c: Include <stdint.h>.
7402         (clock_test): Replace %ld with %jd and cast to intmax_t.
7403         * rt/tst-cpuclock1.c: Include <stdint.h>.
7404         (do_test): Replace %lu with %ju and cast to uintmax_t.
7405         * rt/tst-cpuclock2.c: Include <stdint.h>.
7406         (do_test): Replace %lu with %ju and cast to uintmax_t.
7407         * rt/tst-mqueue1.c: Include <stdint.h>.
7408         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7409         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7410         intmax_t.
7411         * rt/tst-mqueue4.c (do_test): Likewise.
7412         * rt/tst-timer4.c: Include <stdint.h>.
7413         (check_ts): Replace %ld with %jd and cast to intmax_t.
7414         (do_test): Likewise.
7415         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7416         and cast to intmax_t.
7417         * sysdeps/pthread/tst-timer.c (main): Likewise.
7418         * time/clocktest.c (main): Likewise.
7419         * time/tst-posixtz.c (do_test): Likewise.
7420         * timezone/tst-timezone.c (main): Likewise.
7422 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7423             H.J. Lu  <hongjiu.lu@intel.com>
7425         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7426         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7427         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7428         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7429         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7430         version if bit_Fast_Unaligned_Load is set.
7431         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7432         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7433         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7434         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7435         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7436         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7438         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7439         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7440         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7441         to 4.
7442         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7443         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7444         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7445         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7447 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7449         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7450         instead of #if to avoid a Wundef warning.
7451         * stdlib/tst-limits.c (do_test): Likewise.
7453         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7454         parallel other exception macros.
7455         (fegetenv): Convert from macro to extern inline so that it applies
7456         retroactively to inline functions already seen by the compiler.
7457         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7459         * posix/Makefile (before-compile): Use $(objpfx) for
7460         posix-conf-vars-def.h.
7462 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7464         * posix/getconf.c (main): Use size_t for type of I.
7465         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7466         NSPEC.
7468         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7469         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7470         * posix/posix-envs.def: Likewise.
7471         * sysdeps/posix/sysconf.c: Likewise.
7472         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7473         (specs): Remove array.
7474         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7475         array.
7477         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7478         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7479         (__sysconf): Use CONF_IS_* macros.
7481         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7482         ($(objpfx)posix-conf-vars-def.h): New target.
7483         * posix/posix-conf-vars.list: New file.
7484         * posix/posix-conf-vars.h: New file.
7485         * posix/confstr.c: Include posix-conf-vars.h.
7486         (confstr): Use CONF_IS_* macros.
7487         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7488         CONF_IS_* macros.
7489         * scripts/gen-posix-conf-vars.awk: New file.
7491 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7493         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7494         fegetround): Add no-op macros to avoid linknamespace issues.
7496         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7497         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7499         * sysdeps/unix/sysv/linux/tile/sysdep.h
7500         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7501         assembly-specific section to avoid a redefinition warning.
7503         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7504         long before casting to pointer to avoid a cast warning.
7506 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7508         * sysdeps/tile/tilegx/Implies: New file.
7510 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7512         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7514 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7516         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7518 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7520         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7521         not define.
7522         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7523         <kernel-features.h>.
7524         (__utimes) [__NR_utimes]: Make code unconditional.
7525         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7526         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7527         (__ASSUME_UTIMES): Do not undefine.
7528         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7529         (__ASSUME_UTIMES): Likewise.
7530         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7531         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7532         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7533         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7535 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7537         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7539 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7541         [BZ #17747]
7542         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7543         alias to weak alias for j0l, y0l.
7544         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7545         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7547         [BZ #17746]
7548         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7549         conversion.
7551 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7553         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7554         to zero if not already defined.
7556 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7558         [BZ #17724]
7559         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7560         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7561         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7562         (char *) casts added.
7563         * sysdeps/ieee754/k_standardf.c: New file.
7564         * sysdeps/ieee754/k_standardl.c: Likewise.
7565         * math/Makefile (libm-support): Remove k_standard.
7566         (libm-calls): Add k_standard.
7568 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7570         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7571         Optimize to avoid an unnecessary FPCR read.
7573 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7575         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7576         Optimize to reduce FPCR/FPSR accesses.
7578 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7580         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7581         Call libc_fetestexcept_aarch64.
7583 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7585         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7586         Call libc_fesetround_aarch64.
7588 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7590         [BZ #17733]
7591         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7592         (__bind): Do not define as weak alias.
7593         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7594         define.
7595         (__getsockname): Do not define as weak alias.
7597 2014-12-22  Will Newton  <will.newton@linaro.org>
7599         * manual/install.texi: Document that we require bison 2.7
7600         or above.
7601         * INSTALL: Regenerate.
7602         * configure.ac: Use AC_CHECK_PROG_VER instead of
7603         AC_PATH_PROG when checking for bison and check for
7604         version 2.7 or above.
7605         * configure: Regenerate.
7607 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7609         [BZ #17745]
7610         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7611         * sysdeps/tile/ffsll.c (ffsll): To here.
7613         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7615 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7617         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7618         if not defined.
7619         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7620         definition.
7621         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7622         hidden ___tls_get_addr.
7623         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7624         hidden __tls_get_addr.
7625         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7626         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7627         Likewise.
7629 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7631         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7632         _dl_init call.
7634 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7636         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7637         from "call _dl_init@PLT".
7638         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7640 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7642         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7643         guarantees.
7645 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7647         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7649 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7651         [BZ #17744]
7652         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7653         strnlen.
7655 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7657         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7658         of multu on MIPSr6.
7659         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7660         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7661         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7662         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7663         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7665 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7667         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7668         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7669         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7670         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7671         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7672         mips32r6/mips64r6.
7673         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7675 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7677         * string/strncat.c (STRNCAT): Simplify implementation.
7679 2014-12-19  David S. Miller  <davem@davemloft.net>
7681         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7682         access the quad as both a long double and as a series of 4 words.
7684         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7685         link_map->l_info array access.
7687 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7689         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7691         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7692         * math/atest-exp2.c (TIMEOUT): Likewise.
7693         * math/atest-sincos.c (TIMEOUT): Likewise.
7695 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7697         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7698         -Wno-error with -fno-builtin-lround.
7700 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7702         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7703         Contains futex constants and functions moved over from ...
7704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7705         <lowlevellock-futex.h>.
7706         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7707         (lll_timedwait_tid): Add comments and parentheses around macro
7708         arguments.
7710 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7712         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7713         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7714         (__lll_private_flag): Remove.
7715         (lll_futex_wait): Likewise.
7716         (lll_futex_timed_wait): Likewise.
7717         (lll_futex_wake): Likewise.
7718         (lll_futex_requeue): Likewise.
7719         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7720         (__lll_timedwait_tid): Spell out argument names.
7721         (lll_timedwait_tid): Add comments and parentheses around macro
7722         arguments.
7723         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7724         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7726 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7728         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7729         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7730         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7731         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7732         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7733         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7734         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7735         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7736         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7737         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7739         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7740         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7742         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7743         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7744         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7745         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7746         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7748 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7750         * sysdeps/x86_64/x32/Makefile: New file.
7752 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7754         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7755         1L with (mp_limb_t) 1.
7757 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7759         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7760         * nptl/libc_pthread_init.c: ... here.
7761         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7762         * nptl/register-atfork.c: ... here.
7764         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7765         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7766         Use assert_perror to check its return value.
7767         (__gai_create_helper_thread): Likewise.
7769         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7771         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7773 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7775         [BZ #17725]
7776         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7777         __profil_counter.
7778         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7779         Likewise.
7780         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7781         Likewise.
7782         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7783         Likewise.
7784         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7785         (profil_counter): Likewise.
7786         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7787         (profil_counter): Likewise.
7788         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7789         Likewise.
7790         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7791         Likewise.
7792         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7793         (profil_counter): Likewise.
7794         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7795         Likewise.
7796         [!__profil_counter] (profil_counter): Define as weak alias of
7797         __profil_counter.
7798         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7799         (profil_counter): Rename to __profil_counter.
7800         [!__profil_counter] (profil_counter): Define as weak alias of
7801         __profil_counter.
7802         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7803         (profil_counter): Rename to __profil_counter.
7804         [!__profil_counter] (profil_counter): Define as weak alias of
7805         __profil_counter.
7806         * sysdeps/posix/profil.c: Update comment referring to
7807         profil_counter.
7808         (__profil): Use __profil_counter instead of profil_counter.
7809         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7810         __profil_counter.  Use __profil_counter_ushort and
7811         __profil_counter_uint in definitions.
7812         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7813         instead of profil_counter_uint and profil_counter_ushort.
7815         [BZ #17722]
7816         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7817         define as weak alias of __inet_makeaddr.
7818         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7819         as weak alias of __inet_addr.
7820         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7821         as weak alias of __inet_pton.  Use libc_hidden_weak.
7822         * include/arpa/inet.h (__inet_pton): Declare.  Use
7823         libc_hidden_proto.
7824         (inet_makeaddr): Don't use libc_hidden_proto.
7825         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7826         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7827         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7828         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7829         Remove variable.
7830         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7831         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7833 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7835         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7837 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7839         * stdio-common/bug-vfprintf-nargs.c (do_test):
7840         Cast value to intptr_t to avoid format warning
7841         for usage with PRIdPTR printing macro.
7843 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7845         * libio/tst-widetext.c (do_test):
7846         Use format type %td instead of %Zd for ptrdiff_t
7847         in order to avoid format warning.
7849 2014-12-17  Andreas Schwab  <schwab@suse.de>
7851         * nscd/mem.c (gc): Add size_t cast to match printf format.
7853 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7855         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7856         (init): Apply PTR_MANGLE to pointers before storing them.
7857         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7858         before using them.
7860 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7862         [BZ #17719]
7863         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7864         define as weak alias of __memrchr.
7865         (__memrchr): Do not define as strong alias of memrchr.
7866         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7867         Remove variable.
7868         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7869         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7870         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7872         [BZ #17717]
7873         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7874         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7875         (if_indextoname): Rename to __if_indextoname and define as weak
7876         alias of __if_indextoname.  Use libc_hidden_weak.
7877         (if_freenameindex): Rename to __if_freenameindex and define as
7878         weak alias of __if_freenameindex.
7879         (if_nameindex): Rename to __if_nameindex and define as weak alias
7880         of __if_nameindex.
7881         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7882         __if_nametoindex and define as weak alias of __if_nametoindex.
7883         Use libc_hidden_weak.
7884         (if_freenameindex): Rename to __if_freenameindex and define as
7885         weak alias of __if_freenameindex.
7886         (if_nameindex): Rename to __if_nameindex and define as weak alias
7887         of __if_nameindex.
7888         (if_indextoname): Rename to __if_indextoname and define as weak
7889         alias of __if_indextoname.  Use libc_hidden_weak.
7890         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7891         __if_nametoindex and define as weak alias of __if_nametoindex.
7892         Use libc_hidden_weak.
7893         (if_freenameindex): Rename to __if_freenameindex and define as
7894         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7895         (if_nameindex_netlink): Use __if_freenameindex instead of
7896         if_freenameindex.
7897         (if_nameindex): Rename to __if_nameindex and define as weak alias
7898         of __if_nameindex.  Use libc_hidden_weak.
7899         (if_indextoname): Rename to __if_indextoname and define as weak
7900         alias of __if_indextoname.  Use libc_hidden_weak.
7901         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7902         libc_hidden_proto.
7903         [!_ISOMAC] (__if_freenameindex): Likewise.
7904         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7905         if_nametoindex.
7906         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7907         variable.
7908         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7909         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7910         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7911         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7912         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7913         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7914         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7916         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7917         Remove variable.
7918         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7919         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7921 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7923         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7924         subscript above bounds'
7926         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7927         bounds.
7929 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7931         * libio/tst-fopenloc.c: Use test-skeleton.c.
7933         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7934         (entry): Rename to ITEM.
7935         (do_test, comp): Adjust.
7937         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7939 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7941         * string/tester.c: Include <libc-internal.h>.
7942         (test_memset): Ignore -Wmemset-transposed-args.
7944 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7946         * misc/tst-mntent2.c (do_test): Fix warning.
7948 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7950         * elf/tst-unique4lib.cc(a): Mark as used.
7952 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7954         [BZ #17630]
7955         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7956         names.
7958 2014-12-16  Allan McRae  <allan@archlinux.org>
7960         * stdio-common/Makefile (tests): Re-add bug26.
7962 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7964         [BZ #17657]
7965         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7966         static array.
7968 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7970         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7971         (__lll_lock_wait): Likewise.
7972         (__lll_timedlock_wait): Likewise.
7973         (__lll_timedwait_tid): Likewise.
7974         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7975         (__lll_robust_timedlock_wait): Likewise.
7976         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7977         (lll_cond_trylock): Likewise.
7978         (__lll_lock): Likewise.
7979         (__lll_robust_lock): Likewise.
7980         (__lll_cond_lock): Likewise.
7981         (lll_robust_cond_lock): Likewise.
7982         (__lll_timedlock): Likewise.
7983         (__lll_robust_timedlock): Likewise.
7984         (__lll_unlock): Likewise.
7985         (__lll_robust_unlock): Likewise.
7986         (lll_wait_tid): Likewise.
7987         (lll_timedwait_tid): Likewise.
7989 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7991         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7993 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7995         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7997 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7999         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8000         * stdio-common/tst-sprintf.c: Likewise.
8002 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8004         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8006 2014-12-15  Jeff Law  <law@redhat.com>
8008         [BZ #16617]
8009         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8010         on the heap.  (CVE-2012-3406)
8011         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8012         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8013         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8015 2014-12-15  Will Newton  <will.newton@linaro.org>
8017         * manual/install.texi: Bump required version of texinfo
8018         to 4.7 from 4.5.
8019         * INSTALL: Regenerated.
8020         * configure.ac: Check for makeinfo version 4.7 and above.
8021         * configure: Regenerated.
8023 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8025         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8026         PREFIX, string constant to insert between directory and name.
8027         * sysdeps/posix/shm_open.c: Update caller.
8028         * sysdeps/posix/shm_unlink.c: Likewise.
8029         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8030         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8031         (SEM_SHM_PREFIX): New macro.
8032         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8033         [$(have-thread-library) = no].
8034         * nptl/Makefile (libpthread-routines): Add shm-directory.
8035         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8036         * sysdeps/nptl/shm-directory.h: New file.
8037         * sysdeps/posix/shm-directory.c
8038         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8039         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8040         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8041         INTERNAL_SYSCALL.
8042         (__where_is_shmfs): Function removed.
8043         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8044         Variables removed.
8045         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8046         Use SHM_GET_NAME.
8047         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8049         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8050         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8051         unconditional for use inside libpthread.
8052         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8054 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8056         * nptl/pthread_getaffinity.c: New file.
8057         * nptl/pthread_setaffinity.c: New file.
8058         * nptl/pthread_getname.c: New file.
8059         * nptl/pthread_setname.c: New file.
8061         * nptl/pthread_create.c (START_THREAD_DEFN)
8062         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8064 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8065             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8067         * resolv/res_send.c (send_vc): Disable warning resplen may
8068         be used uninitialized.
8070 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8072         * nptl/tst-mutex6.c
8073         (ATTR_NULL): New define checks ATTR against NULL.
8074         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8075         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8077 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8079         [BZ #17581]
8080         * malloc/hooks.c
8081         (mem2mem_check): Revert my previous change.
8082         (malloc_check_get_size): Revert my previous change.
8083         (mem2chunk_check): Revert my previous change.
8085 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8087         * sysdeps/posix/shm-directory.c: New file.
8088         * sysdeps/posix/shm-directory.h: New file.
8089         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8090         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8091         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8092         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8093         Transmute EPERM to EACCES.
8094         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8095         from ...
8096         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8097         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8099 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8101         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8102         pointer and cast to uintptr_t.
8103         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8104         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8105         Add cast to avoid warning.
8106         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8108 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8110         * nptl/semaphore.h: Move to ...
8111         * sysdeps/pthread/semaphore.h: ... here.
8112         * Makefile (installed-headers): Change nptl/semaphore.h to
8113         sysdeps/pthread/semaphore.h.
8115 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8117         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8118         generated error format strings.
8120         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8121         -Wformat-extra-args warnings for scanf formats.
8122         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8123         test of zero-length format (duh).
8124         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8125         corner-case scanf format test.
8126         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8127         generated fprintf format string.
8128         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8129         corner-case sprintf format tests.
8130         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8131         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8132         -Wformat-extra-args warnings throughout.
8133         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8134         (CFLAGS-scanf4.c): Likewise.
8135         (CFLAGS-scanf7.c): Likewise.
8136         (CFLAGS-tst-sprintf.c): Likewise.
8137         (CFLAGS-tst-printf.c): Likewise.
8138         (CFLAGS-tst-printfsz.c): Likewise.
8140 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8142         * include/cpio.h: New file.
8143         * include/fmtmsg.h: Likewise.
8145         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8146         corresponding format argument to size_t.
8147         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8148         arguments.
8149         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8150         corresponding format argument to size_t.
8151         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8152         arguments.
8153         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8154         corresponding format argument to size_t.
8155         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8156         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8157         (CFLAGS-tst-mbswcs2.c): Likewise.
8158         (CFLAGS-tst-mbswcs3.c): Likewise.
8159         (CFLAGS-tst-mbswcs4.c): Likewise.
8160         (CFLAGS-tst-mbswcs5.c): Likewise.
8161         (CFLAGS-tst-trans.c): Likewise
8163 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8165         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8166         rather than assuming they won't contain any '%'s.
8168 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8170         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8171         inhibit_loop_to_libcall to avoid recursive calls.
8172         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8173         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8175 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8177         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8178         prototype.
8180 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8182         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8183         integer value instead of boolean.
8185 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8187         * malloc/malloc.c: Fix powerof2 check.
8189 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8191         * locale/programs/locfile.h (maybe_swap_uint32):
8192         Remove inline and add unused attribute.
8194 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8197         Truncating assembler expression to a .long expression.
8199 2014-12-11  Andreas Schwab  <schwab@suse.de>
8201         * elf/rtld.c (struct map_args): Constify str member.
8202         (do_preload): Constify fname argument.
8204 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8206         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8207         constants definition.
8209 2014-12-11  Andreas Schwab  <schwab@suse.de>
8211         [BZ #16657]
8212         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8213         FORCE_ELISION instead of DO_ELISION.
8214         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8215         Remove.
8216         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8217         Likewise.
8219         * iconvdata/gconv-modules: Remove duplicate entry.
8221 2014-12-11  Will Newton  <will.newton@linaro.org>
8223         Merge gettext 0.19.3 into intl/.
8225         This involves a number of cosmetic changes to comments
8226         and ANSI function definitions and prototypes throughout
8227         all the files. The gettext copyright header is used but
8228         with the date ranges taken from the glibc copy.
8230         * NEWS: Add gettext merge to 2.21.
8231         * intl/bindtextdom.c: Switch to gettext copyright.
8232         Use ANSI definitions and prototypes.
8233         Use gl_* locking primitives rather than __libc_* ones.
8234         Use __builtin_expect rather than __glibc_likely/unlikely.
8235         * intl/dcgettext.c: Switch to gettext copyright.
8236         Use ANSI definitions and prototypes.
8237         * intl/dcigettext.c: Switch to gettext copyright.
8238         Use ANSI definitions and prototypes.
8239         (INTDIV0_RAISES_SIGFPE): New define.
8240         Use gl_* locking primitives rather than __libc_* ones.
8241         Include eval-plural.h instead of plural-eval.c.
8242         Use __builtin_expect rather than __glibc_likely/unlikely.
8243         * intl/dcngettext.c: Switch to gettext copyright.
8244         Use ANSI definitions and prototypes.
8245         * intl/dgettext.c: Likewise.
8246         * intl/dngettext.c: Likewise.
8247         * intl/plural-eval.c: Renamed to...
8248         * intl/eval-plural.h: ...this.
8249         * intl/explodename.c: Switch to gettext copyright.
8250         Use ANSI definitions and prototypes.
8251         (_nl_explode_name): Use strchr instead of __rawmemchr.
8252         * intl/finddomain.c: Switch to gettext copyright.
8253         Use ANSI definitions and prototypes.
8254         Use gl_* locking primitives rather than __libc_* ones.
8255         (_nl_find_domain): Use malloc rather than alloca for
8256         allocation of temporary locale name.
8257         * intl/gettext.c: Switch to gettext copyright.
8258         Use ANSI definitions and prototypes.
8259         * intl/gettextP.h: Switch to gettext copyright.
8260         Use ANSI definitions and prototypes.
8261         Use gl_* locking primitives rather than __libc_* ones.
8262         * intl/gmo.h: Switch to gettext copyright.
8263         (struct sysdep_string): Move struct segment_pair outside of
8264         struct definition.
8265         * intl/hash-string.c: Use ANSI definitions and prototypes.
8266         * intl/hash-string.h: Switch to gettext copyright.
8267         Use ANSI definitions and prototypes.
8268         * intl/l10nflist.c: Switch to gettext copyright.
8269         Use ANSI definitions and prototypes.
8270         (_nl_normalize_codeset): Avoid integer overflow.
8271         * intl/loadinfo.h: Switch to gettext copyright.
8272         Use ANSI definitions and prototypes.
8273         (LIBINTL_DLL_EXPORTED): New define.
8274         (PATH_SEPARATOR): New define.
8275         * intl/loadmsgcat.c: Switch to gettext copyright.
8276         * intl/localealias.c: Switch to gettext copyright.
8277         Use ANSI definitions and prototypes.
8278         (_nl_expand_alias): Use PATH_SEPARATOR.
8279         * intl/ngettext.c: Switch to gettext copyright.
8280         Use ANSI definitions and prototypes.
8281         * intl/plural-exp.c: Likewise.
8282         * intl/plural-exp.h: Switch to gettext copyright.
8283         Use ANSI definitions and prototypes.
8284         (struct expression): Move definition of enum operator outside
8285         of struct definition.
8286         * intl/plural.c: Regenerate.
8287         * intl/plural.y: Switch to gettext copyright.
8288         Use ANSI definitions and prototypes.
8289         Port to bison 3.0.
8290         * intl/textdomain.c: Switch to gettext copyright.
8291         Use ANSI definitions and prototypes.
8292         Use gl_* locking primitives rather than __libc_* ones.
8294 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8296         * debug/warning-nop.c: Add used atrribute.
8298 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8300         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8302         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8303         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8304         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8306 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8307             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8309         [BZ #17634]
8310         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8311         Undefine after defining function.  Define as weak alias of
8312         __wcschr.  Use libc_hidden_weak.
8313         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8314         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8315         (libc_hidden_def): Also define __GI___wcschr alias.
8316         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8317         __wcschr and define as weak alias of __wcschr.
8318         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8319         __wcschr.
8320         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8321         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8322         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8323         libc_hidden_weak.  Do not use libc_hidden_def.
8324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8325         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8326         __GI___wcschr alias.
8327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8328         [IS_IN (libc)] (wcschr): Define as macro expanding to
8329         __redirect_wcschr.
8330         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8331         [IS_IN (libc)] (__wcschr_power6): Likewise.
8332         [IS_IN (libc)] (__wcschr_power7): Likewise.
8333         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8334         instead of wcschr.
8335         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8336         __libc_wcschr.
8337         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8338         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8339         __wcschr and define as weak alias of __wcschr.  Use
8340         libc_hidden_builtin_def.
8341         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8342         as weak alias of __wcschr.  Use libc_hidden_weak.
8343         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8344         wcschr.
8345         * time/era.c (_nl_init_era_entries): Likewise.
8346         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8347         variable.
8348         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8349         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8351 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8353         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8354         format for long int variable.
8356 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8358         [BZ #10672]
8359         * manual/search.texi: (Array Sort Function): Remove claim how to make
8360         qsort stable.
8362 2014-12-10  Andreas Schwab  <schwab@suse.de>
8364         [BZ #12847]
8365         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8366         user-controlled locks.
8368 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8370         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8371         register.
8373 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8375         * configure.ac (--disable-werror): New configure option.
8376         (enable_werror): New AC_SUBST.
8377         * configure: Regenerated.
8378         * config.make.in (enable-werror): New variable.
8379         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8380         -Wno-error=undef.
8381         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8382         * manual/install.texi (Configuring and compiling): Document
8383         --disable-werror.
8384         * INSTALL: Regenerated.
8385         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8386         (CFLAGS-tst-chk2.c): Likewise.
8387         (CFLAGS-tst-chk3.c): Likewise.
8388         (CFLAGS-tst-chk4.cc): Likewise.
8389         (CFLAGS-tst-chk5.cc): Likewise.
8390         (CFLAGS-tst-chk6.cc): Likewise.
8391         (CFLAGS-tst-lfschk1.c): Likewise.
8392         (CFLAGS-tst-lfschk2.c): Likewise.
8393         (CFLAGS-tst-lfschk3.c): Likewise.
8394         (CFLAGS-tst-lfschk4.cc): Likewise.
8395         (CFLAGS-tst-lfschk5.cc): Likewise.
8396         (CFLAGS-tst-lfschk6.cc): Likewise.
8398         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8399         (main): Disable -Wdeprecated-declarations around calls to
8400         register_printf_function.
8402         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8403         (do_test): Disable -Wdiv-by-zero around some calls to
8404         fwrite_unlocked and fread_unlocked.
8406         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8407         (DIAG_POP_NEEDS_COMMENT): Likewise.
8408         (_DIAG_STR1): Likewise.
8409         (_DIAG_STR): Likewise.
8410         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8411         * stdio-common/bug21.c: Include <libc-internal.h>.
8412         (do_test): Disable -Wformat around call to sscanf.
8413         * stdio-common/scanf14.c: Include <libc-internal.h>.
8414         (main): Disable -Wformat around some calls to scanf functions.
8416 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8418         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8420 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8422         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8423         stack variable alignment.
8425 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8427         [BZ #17682]
8428         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8429         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8430         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8431         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8432         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8433         __getrlimit instead of getrlimit.
8434         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8435         __gettimeofday instead of gettimeofday.
8436         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8437         Likewise.
8438         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8439         Likewise.
8440         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8441         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8442         Remove variable.
8443         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8444         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8446 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8448         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8449         for wide-character tests.
8451 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8453         * io/openat64.c: #include <libc-internal.h>
8454         (__openat64): Prototypify.  Use ignore_value on MODE.
8455         * io/openat.c: Likewise.
8456         * misc/reboot.c: #include <libc-internal.h>
8457         (reboot): Prototypify.  Use ignore_value on HOWTO.
8458         * misc/ptrace.c: #include <libc-internal.h>
8459         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8461 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8463         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8464         XPG4, UNIX98 and XOPEN2K.
8465         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8466         Remove variable.
8467         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8469 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8471         * libio/fileops.c: Use ISO C style for function definitions.
8472         * libio/iofopen.c: Likewise.
8473         * libio/wfileops.c: Likewise.
8475         [BZ #17653]
8476         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8477         offset on EOF.
8478         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8479         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8480         (fgets_func): Function pointer to fgets and fgetws.
8481         (do_ftell_test): Add test to verify ftell value after read
8482         EOF.
8483         (do_test): Set fgets_func.
8485         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8486         O_TRUNC flag for w and w+ modes.
8487         (do_rewind_test): Likewise.
8488         (do_ftell_test): Likewise.
8489         (do_write_test): Likewise.
8491         [BZ #17647]
8492         * libio/fileops.c (do_ftell): Seek only when there are
8493         unflushed writes.
8494         * libio/wfileops.c (do_ftell_wide): Likewise.
8495         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8496         test case.
8497         (do_one_test): Call it.
8499 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8501         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8502         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8503         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8504         Remove variable.
8505         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8506         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8507         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8509 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8511         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8512         Remove variable.
8513         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8515         [BZ #17668]
8516         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8517         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8518         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8519         __freeifaddrs.  Use libc_hidden_weak.
8520         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8521         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8522         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8523         __freeifaddrs.  Use libc_hidden_weak.
8524         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8525         __getifaddrs and define as weak alias of __getifaddrs.  Use
8526         libc_hidden_weak.
8527         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8528         __freeifaddrs.  Use libc_hidden_weak.
8529         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8530         Remove variable.
8531         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8532         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8534 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8536         [BZ #17601]
8537         * sysdeps/mips/start.S (__start): Use indirect jump to call
8538         __libc_start_main.
8540 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8542         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8544         * nptl/tst-mutex1.c: Include <stdbool.h>.
8545         [!ATTR] (ATTR_NULL): New macro.
8546         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8547         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8548         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8550         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8551         to char *.
8553         [BZ #17665]
8554         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8555         Change conditional to [__USE_MISC].
8557         [BZ #17664]
8558         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8559         fgets_unlocked.
8560         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8561         __fgets_unlocked.
8562         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8563         fgets_unlocked.
8564         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8565         Remove variable.
8566         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8567         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8568         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8569         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8570         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8571         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8572         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8573         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8574         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8576         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8578 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8580         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8581         Remove strpbrk objects.
8582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8583         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8584         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8585         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8586         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8587         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8589         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8590         Remove strcspn objects.
8591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8592         (__libc_ifunc_impl_list): Remove strcspn implementation.
8593         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8594         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8595         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8596         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8598         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8599         Remove strspn objetcs.
8600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8601         (__libc_ifunc_impl_list): Remove strspn implementation.
8602         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8603         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8604         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8605         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8607 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8609         [BZ #17581]
8610         * malloc/hooks.c
8611         (mem2mem_check): Add a terminator to the chain of checking blocks.
8612         (malloc_check_get_size): Use it here.
8613         (mem2chunk_check): Ditto.
8615 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8617         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8618         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8620 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8622         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8624         * nptl/nptl-init.c: Include libc-internal.h.
8625         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8627         * elf/ldconfig.c (search_dir): Expand comment.
8629 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8631         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8632         variable.
8633         (linknamespace-symlist-stdlibs-tests): Likewise.
8634         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8635         instead of $(objpfx)symlist-stdlibs.
8636         (linknamespace-libs-isoc): New variable.
8637         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8638         (linknamespace-libs-ISO): New variable.
8639         (linknamespace-libs-ISO99): Likewise.
8640         (linknamespace-libs-ISO11): Likewise.
8641         (linknamespace-libs-XPG3): Likewise.
8642         (linknamespace-libs-XPG4): Likewise.
8643         (linknamespace-libs-POSIX): Likewise.
8644         (linknamespace-libs-UNIX98): Likewise.
8645         (linknamespace-libs-XOPEN2K): Likewise.
8646         (linknamespace-libs-POSIX2008): Likewise.
8647         (linknamespace-libs-XOPEN2K8): Likewise.
8648         ($(objpfx)symlist-stdlibs): Replace by
8649         $(linknamespace-symlist-stdlibs-tests).  Use
8650         $(linknamespace-libs-$*) as set of libraries.
8651         ($(linknamespace-header-tests)): Update dependencies.  Use
8652         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8653         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8654         * conform/linknamespace.pl: Remove comment about considering
8655         definitions of symbols from irrelevant libraries.
8657 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8659         [BZ #13862]
8660         * elf/dl-tls.c: Include <atomic.h>.
8661         (oom): Remove #ifdef SHARED/#endif.
8662         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8663         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8664         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8665         big enough.
8666         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8667         * nptl/Makefile (tests): Add tst-stack4.
8668         (modules-names): Add tst-stack4mod.
8669         ($(objpfx)tst-stack4): New.
8670         (tst-stack4mod.sos): Likewise.
8671         ($(objpfx)tst-stack4.out): Likewise.
8672         ($(tst-stack4mod.sos)): Likewise.
8673         (clean): Likewise.
8674         * nptl/tst-stack4.c: New file.
8675         * nptl/tst-stack4mod.c: Likewise.
8677 2014-11-27  J. Brown  <jb999@gmx.de>
8679         * sysdeps/x86/bits/string.h: Add recent CPUs.
8681 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8683         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8684         sigblock.
8686         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8687         feof.
8689         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8690         variable.
8692 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8694         * nscd/connections.c: Include libc-internal.h because of macro
8695         usage ignore_value.
8697 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8699         * string/bits/string3.h (__warn_memset_zero_len): Don't
8700         declare for gcc newer than 5.0.
8701         (memset): Don't test for zero-length __LEN for gcc newer than
8702         5.0.
8704 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8706         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8707         size_t for %zu format.
8709         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8710         difference, not %ju.
8712 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8714         * include/libc-internal.h (ignore_value): New macro.
8715         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8716         with ignore_value.
8718         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8719         definition.
8721         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8722         pthread_cleanup_push to void *.
8724         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8725         Undefine.
8727         [BZ #16619]
8728         [BZ #16740]
8729         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8730         instead of 1L << 52.
8732         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8733         * libio/bug-rewind2.c (do_test): Likewise.
8735         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8736         * debug/test-strcpy_chk-ifunc.c: Likewise.
8737         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8738         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8739         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8740         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8741         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8742         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8743         * Rules [$(multi-arch) = no] (tests): Do not filter out
8744         $(tests-ifunc).
8745         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8746         * debug/Makefile (tests-ifunc): Remove variable.
8747         (tests): Do not add $(tests-ifunc).
8748         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8749         (tests): Do not add $(tests-ifunc).
8750         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8751         [TEST_IFUNC]: Remove conditionals.
8752         * string/test-string.h (TEST_IFUNC): Remove macro.
8753         [TEST_IFUNC]: Remove conditionals.
8755         * string/test-strchr.c [!WIDE] (L): New macro.
8756         [WIDE] (L): Likewise.
8757         (check1): Use CHAR instead of char.  Use L on string and character
8758         constants.
8760 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8762         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8763         tests.
8764         * sysdeps/powerpc/bits/atomic.h
8765         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8766         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8767         (atomic_exchange_and_add_acq): Likewise.
8768         (atomic_exchange_and_add_rel): Likewise.
8769         * sysdeps/powerpc/powerpc32/bits/atomic.h
8770         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8771         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8772         * sysdeps/powerpc/powerpc64/bits/atomic.h
8773         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8774         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8776 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8778         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8779         Change synchronization of __sched_fifo_min_prio and
8780         __sched_fifo_max_prio.
8781         * nptl/pthread_mutexattr_getprioceiling.c
8782         (pthread_mutexattr_getprioceiling): Likewise.
8783         * nptl/pthread_mutexattr_setprioceiling.c
8784         (pthread_mutexattr_setprioceiling): Likewise.
8785         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8786         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8787         Likewise.
8789 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8791         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8792         void.
8794 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8796         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8797         third argument const.
8799 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8801         fnmatch: work around GCC compiler warning bug with uninit var
8802         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8803         This works around a bug with x86-64 GCC 4.9.2 and earlier
8804         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8805         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8806         used uninitialized in this function [-Wmaybe-uninitialized]".
8808 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8810         * posix/bug-regex31.c (main): Return RES not 0.
8812 2014-11-25  Anton Blanchard <anton@samba.org>
8814         * sysdeps/powerpc/bits/atomic.h
8815         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8817 2014-11-24  Sterling Augustine  <saugustine@google.com>
8819         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8821 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8823         [BZ #17608]
8824         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8826 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8828         [BZ #17633]
8829         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8830         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8831         variable.
8832         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8833         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8835 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8837         * string/strncpy.c (strncpy): Improve performance by using memset.
8839 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8841         * string/strcpy.c (strcpy):
8842         Improve performance by using strlen and memcpy.
8844 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8846         * string/strcoll_l.c (get_next_seq): __always_inline.
8847         * string/strcoll_l.c (do_compare): __always_inline.
8849 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8851         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8852         defined.
8853         * include/mqueue.h: Likewise.
8854         * include/stdlib.h: Likewise.
8856         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8857         (get_null_defines): Adjust.
8858         * sunrpc/Makefile: Adjust comment.
8859         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8860         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8861         (CFLAGS-interp.c): Likewise.
8862         (CFLAGS-ldconfig.c): Likewise.
8863         (CPPFLAGS-.os): Likewise.
8864         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8865         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8866         * extra-modules.mk (extra-modules.mk): Likewise.
8867         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8868         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8869         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8870         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8871         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8872         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8873         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8874         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8875         * iconvdata/Makefile (CPPFLAGS): Likewise.
8876         (cpp-srcs-left): Add libof for all iconvdata routines.
8877         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8878         * include/assert.h: Likewise.
8879         * include/ctype.h: Likewise.
8880         * include/errno.h: Likewise.
8881         * include/libc-symbols.h: Likewise.
8882         * include/math.h: Likewise.
8883         * include/netdb.h: Likewise.
8884         * include/resolv.h: Likewise.
8885         * include/stdio.h: Likewise.
8886         * include/stdlib.h: Likewise.
8887         * include/string.h: Likewise.
8888         * include/sys/stat.h: Likewise.
8889         * include/wctype.h: Likewise.
8890         * intl/l10nflist.c: Likewise.
8891         * libidn/idn-stub.c: Likewise.
8892         * libio/libioP.h: Likewise.
8893         * nptl/libc_multiple_threads.c: Likewise.
8894         * nptl/pthreadP.h: Likewise.
8895         * posix/regex_internal.h: Likewise.
8896         * resolv/res_hconf.c: Likewise.
8897         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8898         * sysdeps/arm/memmove.S: Likewise.
8899         * sysdeps/arm/sysdep.h: Likewise.
8900         * sysdeps/generic/_itoa.h: Likewise.
8901         * sysdeps/generic/symbol-hacks.h: Likewise.
8902         * sysdeps/gnu/errlist.awk: Likewise.
8903         * sysdeps/gnu/errlist.c: Likewise.
8904         * sysdeps/i386/i586/memcpy.S: Likewise.
8905         * sysdeps/i386/i586/memset.S: Likewise.
8906         * sysdeps/i386/i686/memcpy.S: Likewise.
8907         * sysdeps/i386/i686/memmove.S: Likewise.
8908         * sysdeps/i386/i686/mempcpy.S: Likewise.
8909         * sysdeps/i386/i686/memset.S: Likewise.
8910         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8911         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8912         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8913         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8914         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8915         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8916         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8917         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8918         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8920         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8921         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8922         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8923         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8924         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8925         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8926         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8927         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8928         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8929         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8930         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8931         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8932         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8933         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8934         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8935         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8936         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8937         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8938         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8939         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8940         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8941         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8943         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8944         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8945         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8946         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8947         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8948         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8949         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8950         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8951         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8952         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8953         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8954         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8955         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8956         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8957         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8958         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8959         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8960         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8961         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8962         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8963         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8964         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8965         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8966         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8967         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8968         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8969         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8970         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8971         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8972         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8973         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8974         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8975         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8976         * sysdeps/posix/closedir.c: Likewise.
8977         * sysdeps/posix/opendir.c: Likewise.
8978         * sysdeps/posix/readdir.c: Likewise.
8979         * sysdeps/posix/rewinddir.c: Likewise.
8980         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8981         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8982         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8983         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8984         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8985         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8986         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8991         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8992         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8993         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8994         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8995         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8996         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8997         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8998         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8999         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9000         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9001         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9002         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9003         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9008         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9015         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9016         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9017         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9018         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9019         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9020         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9021         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9022         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9023         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9024         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9025         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9026         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9027         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9028         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9029         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9030         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9031         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9032         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9034         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9037         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9038         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9039         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9040         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9041         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9043         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9044         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9045         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9046         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9047         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9048         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9049         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9051         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9053         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9054         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9055         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9056         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9057         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9058         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9059         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9060         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9061         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9062         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9063         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9064         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9065         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9066         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9067         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9068         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9069         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9070         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9071         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9072         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9074         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9075         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9076         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9078         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9079         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9080         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9081         * sysdeps/unix/alpha/sysdep.S: Likewise.
9082         * sysdeps/unix/alpha/sysdep.h: Likewise.
9083         * sysdeps/unix/make-syscalls.sh: Likewise.
9084         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9086         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9087         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9088         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9089         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9090         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9091         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9092         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9093         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9094         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9095         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9096         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9097         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9098         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9099         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9100         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9101         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9102         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9103         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9104         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9105         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9106         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9107         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9108         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9109         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9113         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9114         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9115         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9118         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9122         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9123         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9124         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9125         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9126         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9127         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9128         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9131         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9134         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9135         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9136         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9137         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9138         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9140         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9141         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9142         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9143         * sysdeps/x86_64/memcpy.S: Likewise.
9144         * sysdeps/x86_64/memmove.c: Likewise.
9145         * sysdeps/x86_64/memset.S: Likewise.
9146         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9147         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9148         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9149         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9150         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9151         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9152         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9153         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9154         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9155         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9156         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9157         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9158         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9159         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9160         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9161         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9162         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9163         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9164         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9165         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9166         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9167         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9168         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9169         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9170         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9171         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9172         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9173         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9174         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9175         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9176         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9177         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9178         * sysdeps/x86_64/strcmp.S: Likewise.
9180         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9182         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9183         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9184         * elf/rtld-Rules: Likewise.
9185         * elf/setup-vdso.h: Likewise.
9186         * include/assert.h: Likewise.
9187         * include/bits/stdlib-float.h: Likewise.
9188         * include/errno.h: Likewise.
9189         * include/sys/stat.h: Likewise.
9190         * include/unistd.h: Likewise.
9191         * sysdeps/aarch64/setjmp.S: Likewise.
9192         * sysdeps/alpha/setjmp.S: Likewise.
9193         * sysdeps/arm/__longjmp.S: Likewise.
9194         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9195         * sysdeps/arm/setjmp.S: Likewise.
9196         * sysdeps/arm/sysdep.h: Likewise.
9197         * sysdeps/generic/_itoa.h: Likewise.
9198         * sysdeps/generic/dl-sysdep.h: Likewise.
9199         * sysdeps/generic/ldsodefs.h: Likewise.
9200         * sysdeps/i386/dl-tls.h: Likewise.
9201         * sysdeps/i386/setjmp.S: Likewise.
9202         * sysdeps/m68k/setjmp.c: Likewise.
9203         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9204         * sysdeps/mach/hurd/opendir.c: Likewise.
9205         * sysdeps/posix/getcwd.c: Likewise.
9206         * sysdeps/posix/opendir.c: Likewise.
9207         * sysdeps/posix/profil.c: Likewise.
9208         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9209         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9210         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9211         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9212         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9213         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9214         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9215         * sysdeps/s390/dl-tls.h: Likewise.
9216         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9217         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9218         * sysdeps/sh/sh3/setjmp.S: Likewise.
9219         * sysdeps/sh/sh4/setjmp.S: Likewise.
9220         * sysdeps/unix/alpha/sysdep.h: Likewise.
9221         * sysdeps/unix/arm/sysdep.S: Likewise.
9222         * sysdeps/unix/i386/sysdep.S: Likewise.
9223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9224         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9225         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9226         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9228         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9229         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9230         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9231         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9232         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9233         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9234         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9235         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9238         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9241         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9242         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9243         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9244         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9246         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9247         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9248         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9250         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9251         * sysdeps/x86_64/setjmp.S: Likewise.
9253         * include/math.h: Use IS_IN instead of IS_IN_libm.
9254         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9255         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9256         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9257         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9258         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9259         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9260         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9261         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9262         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9263         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9264         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9265         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9266         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9267         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9268         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9269         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9270         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9271         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9272         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9273         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9274         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9275         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9276         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9277         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9278         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9279         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9280         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9281         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9282         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9283         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9284         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9285         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9286         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9288         Likewise.
9289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9290         Likewise.
9291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9292         Likewise.
9293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9294         Likewise.
9295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9296         Likewise.
9297         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9298         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9299         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9300         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9301         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9302         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9308         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9309         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9310         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9311         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9312         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9313         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9314         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9315         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9316         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9317         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9318         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9319         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9321         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9323         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9325         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9326         * nptl/pthreadP.h: Likewise.
9327         * nptl_db/structs.def: Likewise.
9328         * sysdeps/arm/sysdep.h: Likewise.
9329         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9330         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9331         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9332         * sysdeps/unix/alpha/sysdep.h: Likewise.
9333         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9335         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9336         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9337         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9338         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9340         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9341         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9342         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9343         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9344         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9345         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9346         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9351         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9353         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9354         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9355         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9356         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9357         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9358         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9360         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9361         * nptl/pthreadP.h: Likewise.
9362         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9363         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9364         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9365         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9366         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9367         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9368         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9369         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9370         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9371         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9372         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9373         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9375         Likewise.
9376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9377         Likewise.
9378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9380         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9382         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9383         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9384         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9385         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9387         * dlfcn/dladdr.c: Use IS_IN.
9388         * dlfcn/dladdr1.c: Likewise.
9389         * dlfcn/dlclose.c: Likewise.
9390         * dlfcn/dlerror.c: Likewise.
9391         * dlfcn/dlinfo.c: Likewise.
9392         * dlfcn/dlmopen.c: Likewise.
9393         * dlfcn/dlopen.c: Likewise.
9394         * dlfcn/dlsym.c: Likewise.
9395         * dlfcn/dlvsym.c: Likewise.
9397         * include/ifaddrs.h: Use IS_IN.
9398         * inet/check_pf.c: Likewise.
9399         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9400         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9402         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9403         IS_IN_ldconfig.
9404         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9405         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9407         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9408         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9409         IS_IN (libc).
9411         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9413         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9414         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9415         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9416         * include/libc-symbols.h (IS_IN_LIB): New macro.
9417         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9418         * include/netdb.h: Likewise.
9419         * include/stap-probe.h: Remove all uses of IN_LIB.
9421         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9422         instead of IN_MODULE.
9423         * include/libc-symbols.h (IN_MODULE): Define using
9424         MODULE_NAME.
9425         (PASTE_NAME, PASTE_NAME1): New macros.
9426         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9427         of IN_LIB.
9428         (STAP_PROBE_ASM): Likewise.
9430 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9432         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9433         __mach_init in dlopened libc.
9435 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9437         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9438         * sysdeps/arm/preconfigure: Regenerate.
9440 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9442         * nptl/pthread_create.c (__pthread_create_2_1): Set
9443         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9444         when copying values from IATTR into PD.
9446 2014-11-21  Will Newton  <will.newton@linaro.org>
9447             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9449         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9450         Refactor inline-asm.  Also add comment.
9452         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9453         ElfW macro instead of hardcoded Elf64 types.
9454         (la_aarch64_gnu_pltenter): Likewise.
9455         * sysdeps/aarch64/dl-machine.h
9456         (elf_machine_runtime_setup): Use ElfW(Addr).
9458         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9459         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9460         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9461         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9462         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9463         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9464         (R_AARCH64_TLS_DTPMOD): This.
9465         (R_AARCH64_TLS_DTPREL64): Rename to ...
9466         (R_AARCH64_TLS_DTPREL): This.
9467         (R_AARCH64_TLS_TPREL64): Rename to ...
9468         (R_AARCH64_TLS_TPREL): This.
9469         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9470         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9471         R_AARCH64_TLS_TPREL64.
9472         (elf_machine_rela): Likewise.
9474 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9476         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9477         by setting it to 0.  64b atomics are not supported currently.
9479 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9481         [BZ #16469]
9482         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9483         search domain names.
9485 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9487         [BZ #16469]
9488         * NEWS: Update.
9489         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9490         trailing dot.
9491         * posix/tst-getaddrinfo5.c: New.
9492         * posix/Makefile (tests): Add it.
9494 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9496         [BZ #14498]
9497         * NEWS: Fixed.
9498         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9499         after parsing line but before break_if_match.
9500         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9501         if there is a protocol mismatch.
9503 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9505         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9506         because the potential race is on the user-supplied stream.
9508 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9510         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9511         string literal if not passed a buffer.
9512         * manual/job.texi (ctermid): Update reasoning, note deviation
9513         from posix, suggest mtasurace when not passed a buffer, for
9514         future non-preliminary safety notes.
9516 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9518         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9519         of not passing it a buffer.
9520         Reported by Peng Haitao.
9522 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9524         * manual/Makefile ($(objpfx)stamp-summary): Require
9525         check-safety.sh to pass.
9526         * manual/check-safety.sh: Wish for verification that every
9527         @deftypefn and @deftypefun is followed by a @safety remark.
9529 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9531         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9533         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9534         PTHREAD_CANCEL_ASYNCHRONOUS.
9535         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9536         send SIGCANCEL.
9538         * nptl/default-sched.h: New file.
9539         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9540         * nptl/pthread_create.c: Include it.
9541         (__pthread_create_2_1): Use collect_default_sched instead of making
9542         Linux syscalls here directly.
9544 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9546         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9547         __pthread_once): Use C11 atomics.
9549 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9551         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9553 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9555         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9556         atomic_thread_fence_acquire, atomic_thread_fence_release,
9557         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9558         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9559         atomic_compare_exchange_weak_relaxed,
9560         atomic_compare_exchange_weak_acquire,
9561         atomic_compare_exchange_weak_release,
9562         atomic_exchange_acquire, atomic_exchange_release,
9563         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9564         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9565         atomic_fetch_and_acquire,
9566         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9568 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9570         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9571         USE_ATOMIC_COMPILER_BUILTINS): Define.
9572         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9574         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9576         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9578         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9580         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9582         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9584         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9586         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9588         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9590         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9592         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9594         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9595         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9596         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9598         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9600         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9601         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9602         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9604         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9606         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9607         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9608         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9610         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9613 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9615         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9616         the sched_priority value here.  It was already checked when the user
9617         called pthread_attr_setschedparam.
9619         * nptl/tst-bad-schedattr.c: New file.
9620         * nptl/Makefile (tests): Add it.
9622 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9623             Florian Weimer  <fweimer@redhat.com>
9624             Joseph Myers  <joseph@codesourcery.com>
9625             Adam Conrad  <adconrad@0c3.net>
9626             Andreas Schwab  <schwab@suse.de>
9627             Brooks  <bmoses@google.com>
9629         [BZ #17625]
9630         * wordexp-test.c (__dso_handle): Add prototype.
9631         (__register_atfork): Likewise.
9632         (__app_register_atfork): New function.
9633         (registered_forks): New global.
9634         (register_fork): New function.
9635         (test_case): Add 3 new tests for WRDE_CMDSUB.
9636         (main): Call __app_register_atfork.
9637         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9638         fork count is non-zero fail the test.
9639         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9640         is set.
9641         (parse_dollars): Remove check for WRDE_NOCMD.
9642         (parse_dquote): Likewise.
9644 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9646         * Makeconfig (built-modules): List non-library modules to be
9647         built.
9648         (module-cppflags): Include libc-modules.h for
9649         everything except shlib-versions.v.i.
9650         (CPPFLAGS): Use it.
9651         (before-compile): Add libc-modules.h.
9652         ($(common-objpfx)libc-modules.h,
9653         $(common-objpfx)libc-modules.stmp): New targets.
9654         (common-generated): Add libc-modules.h and libc-modules.stmp.
9655         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9656         * include/libc-symbols.h: Don't include libc-modules.h.
9657         * include/libc-modules.h: Remove file.
9658         * scripts/gen-libc-modules.awk: New script to generate
9659         libc-modules.h.
9660         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9661         Depend on libc-modules.stmp.
9663         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9665         * Makeconfig (in-module): Get value of libof set for the
9666         translation unit.
9667         (CPPFLAGS): Use $(in-module).
9668         * Makerules: Don't suffix routine names for nonlib.
9669         * include/libc-modules.h: New file.
9670         * include/libc-symbols.h: Include libc-modules.h
9671         (IS_IN): New macro to replace IS_IN_* macros.
9672         * elf/Makefile: Set libof-* for each routine.
9673         * elf/rtld-Rules: Likewise.
9674         * extra-modules.mk: Likewise.
9675         * iconv/Makefile: Likewise.
9676         * iconvdata/Makefile: Likewise.
9677         * locale/Makefile: Likewise.
9678         * malloc/Makefile: Likewise.
9679         * nss/Makefile: Likewise.
9680         * sysdeps/gnu/Makefile: Likewise.
9681         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9682         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9683         * sysdeps/s390/s390-64/Makefile: Likewise.
9684         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9685         CPPFLAGS for nscd instead of nonlib.
9687 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9689         * nptl/createthread.c: New file.
9691         * nptl/createthread.c: Moved ...
9692         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9694         * nptl/createthread.c: Add proper top-line comment.
9695         (do_clone): Folded into ...
9696         (create_thread): ... here.  Take new arguments STOPPED_START and
9697         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9698         increment __nptl_threads, do event-reporting logic, do
9699         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9700         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9701         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9702         just send SIGCANCEL.
9703         * nptl/pthread_create.c: Forward-declare create_thread before
9704         including createthread.c.
9705         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9706         declaration, and new macro START_THREAD_SELF to replace argument.
9707         Remove return statement.
9708         (report_thread_creation): New function.
9709         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9710         synchronization logic, and __nptl_nthreads increment here, around
9711         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9712         PD->parent_cancelhandling here, before create_thread.  When
9713         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9714         __deallocate_stack, and ENOMEM translation here.
9716 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9718         [BZ #17616]
9719         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9720         (mptwo): Rename to __mptwo.
9721         (__inv): Use __mptwo instead of mptwo.
9722         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9723         (mptwo): Rename to __mptwo.
9724         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9725         of mpone and __mptwo instead of mptwo.
9726         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9727         instead of mpone.
9728         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9729         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9730         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9731         of mpone and __mptwo instead of mptwo.
9732         (__mpranred): Use __mpone instead of mpone.
9733         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9734         variable.
9735         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9736         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9737         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9738         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9739         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9740         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9741         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9742         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9743         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9744         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9745         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9746         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9747         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9748         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9749         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9750         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9751         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9752         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9753         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9755 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9757         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9758         replace BSD Handler xref with BSD Signal Handling.
9760 2014-11-17  Richard Henderson  <rth@redhat.com>
9762         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9763         (_FP_PACK_RAW_2): Remove.
9764         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9765         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9766         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9767         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9768         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9769         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9770         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9771         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9772         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9773         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9774         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9775         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9776         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9777         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9778         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9779         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9781 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9783         * signal/signal.h [__USE_MISC]
9784         (struct sigvec): Remove type.
9785         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9786         (sigvec): Remove declaration.
9787         * sysdeps/posix/sigvec.c: Moved ...
9788         * signal/sigvec.c: ... here, replacing old file.
9789         (struct sigvec): New type, copied from old signal.h definition.
9790         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9791         (__sigvec): Convert definition to prototype.
9792         (sigvec): Replace weak_alias with compat_symbol.
9793         * signal/Versions (libc: GLIBC_2.21): New version set.
9794         * include/signal.h: Remove __sigvec declaration.
9795         * sysdeps/unix/bsd/sigvec.c: Remove file.
9796         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9797         * manual/signal.texi (BSD Handler): Remove subsection.
9798         Move siginterrupt up to ...
9799         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9800         (Blocking in BSD): Fold subsection into its parent.
9801         * NEWS: Mention sigvec removal.
9803 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9805         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9806         (DLA_FMS): Make definition conditional only on [__FMA4__].
9807         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9808         definition.
9810         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9811         Make definition conditional only on [PROF].
9812         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9813         definition.
9814         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9815         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9817         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9818         !__GNUC__].
9819         * include/signal.h (__sigpause): Move declaration above call to
9820         libc_hidden_proto.
9821         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9822         variable.
9823         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9824         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9826 2014-11-14  David S. Miller  <davem@davemloft.net>
9828         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9829         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9831 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9833         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9834         * configure: Regenerated.
9835         * manual/install.texi (Tools for Compilation): Document a
9836         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9837         compiler verified to work.
9838         * INSTALL: Regenerated.
9840         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9841         redeclare with asm name.
9842         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9843         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9844         including <string.h>.
9845         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9846         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9847         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9848         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9849         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9850         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9851         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9853 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9855         * stdlib/strtol.c (__strtol): Use prototype definition.
9857         [BZ #17594]
9858         * stdlib/strtol.c (SYM__): New macro.
9859         (SYM__1): Likewise.
9860         (__strtol): Likewise.
9861         (strtol): Rename to __strtol and define as weak alias of
9862         __strtol.  Use libc_hidden_weak.
9864 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9866         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9867         Use numbered labels in inline assembly.
9869 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9871         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9872         Add setjmp LIBC_PROBE.
9873         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9874         Likewise.
9875         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9876         Add longjmp, longjmp_target LIBC_PROBE.
9877         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9878         Likewise.
9880 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9882         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9883         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9884         to get rid of unused variable warning.
9886 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9888         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9889         Check for unwind_backtrace ==  NULL only in SHARED case.
9890         (__backchain_backtrace): Compile only in SHARED case.
9891         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9892         Likewise.
9893         (__backchain_backtrace): Declare as static.
9895 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9897         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9898         (__libc_multiple_threads_ptr): Variable moved ...
9899         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9901 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9903         * conform/GlibcConform.pm: New file.
9904         * conform/conformtest.pl: Use GlibcConform module.
9905         * conform/linknamespace.pl: New file.
9906         * conform/list-header-symbols.pl: Likewise.
9907         * conform/Makefile (linknamespace-symlists-base): New variable.
9908         (linknamespace-symlists-tests): Likewise.
9909         (linknamespace-header-base): Likewise.
9910         (linknamespace-header-tests): Likewise.
9911         (tests-special): Add new tests.
9912         ($(linknamespace-symlists-tests)): New rule.
9913         (linknamespace-libs): New variable.
9914         ($(objpfx)symlist-stdlibs): New rule.
9915         ($(linknamespace-header-tests)): Likewise.
9916         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9917         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9918         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9919         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9920         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9921         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9922         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9923         (test-xfail-ISO/math.h/linknamespace): Likewise.
9924         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9925         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9926         (test-xfail-ISO/time.h/linknamespace): Likewise.
9927         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9928         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9929         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9930         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9931         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9932         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9933         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9934         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9935         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9936         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9937         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9938         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9939         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9940         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9941         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9942         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9943         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9944         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9945         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9946         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9947         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9948         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9949         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9950         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9951         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9952         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9953         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9954         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9955         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9956         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9957         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9958         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9959         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9960         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9961         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9962         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9963         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9964         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9965         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9966         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9967         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9968         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9969         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9970         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9971         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9972         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9973         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9974         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9975         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9976         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9977         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9978         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9979         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9980         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9981         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9982         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9983         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9984         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9985         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9986         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9987         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9988         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9989         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9990         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9991         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9992         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9993         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9994         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9995         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9996         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9997         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9998         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9999         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10000         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10001         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10002         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10003         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10004         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10005         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10006         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10007         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10008         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10009         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10010         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10011         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10012         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10013         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10014         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10015         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10016         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10017         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10018         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10019         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10020         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10021         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10022         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10023         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10024         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10025         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10026         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10027         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10028         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10029         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10030         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10031         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10032         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10033         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10034         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10035         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10036         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10037         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10038         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10039         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10040         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10041         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10042         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10043         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10044         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10045         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10046         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10047         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10048         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10049         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10050         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10051         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10052         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10053         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10054         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10055         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10056         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10057         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10058         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10059         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10060         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10061         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10062         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10063         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10064         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10065         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10066         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10067         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10068         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10069         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10070         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10071         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10072         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10073         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10074         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10075         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10076         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10078         [BZ #17589]
10079         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10080         of fgets_unlocked.
10082         [BZ #17585]
10083         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10084         (memmem): Rename to __memmem and define as weak alias of
10085         __memmem.  Use libc_hidden_weak.
10086         (__memmem): Use libc_hidden_def.
10087         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10088         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10089         memmem.
10091         [BZ #17582]
10092         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10093         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10094         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10095         and define as weak alias of __fgets_unlocked.  Use
10096         libc_hidden_weak.
10097         (__fgets_unlocked): Use libc_hidden_def.
10098         * include/stdio.h (__fgets_unlocked): Declare.  Use
10099         libc_hidden_proto.
10100         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10101         __fgets_unlocked instead of fgets_unlocked.
10102         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10103         (GET_NPROCS_CONF_PARSER): Likewise.
10104         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10105         (GET_NPROCS_CONF_PARSER): Likewise.
10107         [BZ #17574]
10108         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10109         weak alias of __wmemset.  Use libc_hidden_weak.
10110         (__wmemset): Use libc_hidden_def.
10111         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10112         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10113         of wmemset.
10115         [BZ #17573]
10116         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10117         with asm name __mempcpy.
10118         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10120         [BZ #17572]
10121         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10122         and define as weak alias of __rawmemchr.
10123         (__rawmemchr): Do not define as strong alias of rawmemchr.
10125         [BZ #17571]
10126         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10127         alias of __qsort_r.
10128         (qsort): Call __qsort_r instead of qsort_r.
10129         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10130         (__qsort_r): Declare.  Call libc_hidden_proto.
10131         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10132         instead of qsort_r.
10133         * nscd/gai.c (__qsort_r): Define to qsort_r.
10134         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10135         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10136         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10138         [BZ #17570]
10139         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10140         define as weak alias of __malloc_info.
10142         [BZ #17584]
10143         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10144         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10145         (__rewinddir): Use libc_hidden_def.
10146         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10147         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10148         (__rewinddir): Use libc_hidden_def.
10149         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10150         weak alias of __rewinddir.  Don't use libc_hidden_def.
10151         (__rewinddir): Use libc_hidden_def.
10152         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10153         (__rewinddir): Use libc_hidden_proto.
10154         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10155         rewinddir.
10156         (__getcwd): Use __rewinddir instead of rewinddir.
10158         [BZ #17583]
10159         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10160         alias of __fileno.  Use libc_hidden_weak.
10161         (__fileno): Use libc_hidden_def.
10162         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10163         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10164         alias of __ftello.
10165         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10166         __ftello.
10167         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10168         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10169         libc_hidden_def.
10170         (fread_unlocked): Don't use libc_hidden_ver.
10171         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10172         and define as weak alias of __fread_unlocked.  Don't use
10173         libc_hidden_def.
10174         (__fread_unlocked): Use libc_hidden_def.
10175         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10176         (ftello): Don't use libc_hidden_proto.
10177         (__ftello): Declare.  Use libc_hidden_proto.
10178         (fread_unlocked): Don't use libc_hidden_proto.
10179         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10180         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10181         and __ftello instead of fileno, fread_unlocked and ftello.
10183 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10185         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10186         GOT12.
10187         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10188         Likewise.
10189         (_dl_start_user): Likewise.
10190         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10192 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10193             Siddhesh Poyarekar  <siddhesh@redhat.com>
10195         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10196         Move argv and envp down instead of moving argc up.
10197         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10199 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10201         [BZ #17506]
10202         * test-skeleton.c (main): Return successful if one of
10203         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10204         * string/tst-strcoll-overflow.c: Define expected status.
10206 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10208         [BZ #17475]
10209         * locale/iso-639.def: Define Bhili and Tulu language codes.
10211 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10213         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10215 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10217         [BZ #17555]
10218         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10220 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10222         * configure.ac: Updated check of minimal required version to
10223         2.22.
10224         * manual/install.texi (Tools for Compilation): Updated version
10225         number.
10226         * configure: Regenerated.
10227         * INSTALL: Likewise.
10229 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10231         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10232         __tls_get_addr.
10234 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10236         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10237         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10238         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10239         libc_hidden_weak.
10240         (waitpid): Define as alias of __waitpid.
10241         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10242         __waitpid.
10243         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10244         libc_hidden_weak.
10245         (waitpid): Define as alias of __waitpid.
10246         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10247         __libc_waitpid alias.
10248         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10249         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10250         Likewise.
10251         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10252         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10253         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10254         alias.
10255         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10256         __waitpid.
10257         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10258         libc_hidden_weak.
10259         (waitpid): Define as alias of __waitpid.
10261 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10263         * manual/llio.texi: Add comment that write safety has been
10264         fixed in Linux.
10266         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10267         (localplt-build-dso): Add elf/ld.so.
10268         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10269         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10270         and free for ld.so.
10271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10272         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10274         Likewise.
10275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10276         Likewise.
10277         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10278         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10279         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10280         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10281         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10282         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10283         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10284         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10285         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10286         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10287         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10289 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10291         [BZ #14132]
10292         * include/libc-symbols.h (INTUSE): Remove macro.
10293         (INTDEF): Likewise.
10294         (INTVARDEF): Likewise.
10295         (_INTVARDEF): Likewise.
10296         (INTDEF2): Likewise.
10297         (INTVARDEF2): Likewise.
10298         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10299         rtld_hidden_def instead of INTVARDEF.
10300         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10301         (_dl_starting_up_internal): Remove declaration.
10302         (_dl_starting_up): Use rtld_hidden_proto.
10303         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10304         declaration.
10305         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10306         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10307         _dl_starting_up.
10308         * elf/dl-writev.h (_dl_writev): Likewise.
10309         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10310         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10311         _dl_starting_up_internal.
10313 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10315         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10316         test-skeleton.c.
10318 2014-11-05  Will Newton  <will.newton@linaro.org>
10320         * benchtests/Makefile: (bench-malloc): Add malloc thread
10321         scalability benchmark.
10322         * benchtests/bench-malloc-threads.c: New file.
10324 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10326         * sysdeps/aarch64/strchrnul.S: New file.
10328 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10330         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10331         definition.
10332         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10333         Likwise.
10334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10335         Likewise.
10336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10337         Likewise.
10338         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10339         Likewise.
10340         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10341         Likewise.
10343 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10345         * catgets/test-gencat.c: Use test-skeleton.c.
10346         * catgets/tst-catgets.c: Likewise.
10347         * csu/tst-empty.c: Likewise.
10348         * elf/tst-audit2.c: Likewise.
10349         * elf/tst-global1.c: Likewise.
10350         * elf/tst-pathopt.c: Likewise.
10351         * elf/tst-piemod1.c: Likewise.
10352         * elf/tst-tls10.c: Likewise.
10353         * elf/tst-tls11.c: Likewise.
10354         * elf/tst-tls12.c: Likewise.
10355         * gnulib/tst-gcc.c: Likewise.
10356         * iconvdata/tst-e2big.c: Likewise.
10357         * iconvdata/tst-loading.c: Likewise.
10358         * iconv/tst-iconv1.c: Likewise.
10359         * iconv/tst-iconv2.c: Likewise.
10360         * inet/test-inet6_opt.c: Likewise.
10361         * inet/tst-gethnm.c: Likewise.
10362         * inet/tst-network.c: Likewise.
10363         * inet/tst-ntoa.c: Likewise.
10364         * intl/tst-codeset.c: Likewise.
10365         * intl/tst-gettext2.c: Likewise.
10366         * intl/tst-gettext3.c: Likewise.
10367         * intl/tst-ngettext.c: Likewise.
10368         * intl/tst-translit.c: Likewise.
10369         * io/test-stat.c: Likewise.
10370         * libio/test-fmemopen.c: Likewise.
10371         * libio/tst-freopen.c: Likewise.
10372         * libio/tst-sscanf.c: Likewise.
10373         * libio/tst-ungetwc1.c: Likewise.
10374         * libio/tst-ungetwc2.c: Likewise.
10375         * libio/tst-widetext.c: Likewise.
10376         * localedata/tst-ctype.c: Likewise.
10377         * localedata/tst-digits.c: Likewise.
10378         * localedata/tst-leaks.c: Likewise.
10379         * localedata/tst-mbswcs1.c: Likewise.
10380         * localedata/tst-mbswcs2.c: Likewise.
10381         * localedata/tst-mbswcs3.c: Likewise.
10382         * localedata/tst-mbswcs4.c: Likewise.
10383         * localedata/tst-mbswcs5.c: Likewise.
10384         * localedata/tst-setlocale.c: Likewise.
10385         * localedata/tst-trans.c: Likewise.
10386         * localedata/tst-wctype.c: Likewise.
10387         * localedata/tst-xlocale1.c: Likewise.
10388         * login/tst-grantpt.c: Likewise.
10389         * malloc/tst-calloc.c: Likewise.
10390         * malloc/tst-malloc.c: Likewise.
10391         * malloc/tst-mallocstate.c: Likewise.
10392         * malloc/tst-mcheck.c: Likewise.
10393         * malloc/tst-mtrace.c: Likewise.
10394         * malloc/tst-obstack.c: Likewise.
10395         * math/atest-exp2.c: Likewise.
10396         * math/atest-exp.c: Likewise.
10397         * math/atest-sincos.c: Likewise.
10398         * math/test-matherr.c: Likewise.
10399         * math/test-misc.c: Likewise.
10400         * math/test-powl.c: Likewise.
10401         * math/tst-definitions.c: Likewise.
10402         * misc/tst-dirname.c: Likewise.
10403         * misc/tst-efgcvt.c: Likewise.
10404         * misc/tst-fdset.c: Likewise.
10405         * misc/tst-hsearch.c: Likewise.
10406         * misc/tst-mntent2.c: Likewise.
10407         * nptl/tst-sem7.c: Likewise.
10408         * nptl/tst-sem8.c: Likewise.
10409         * nptl/tst-sem9.c: Likewise.
10410         * nss/test-netdb.c: Likewise.
10411         * posix/tst-fnmatch.c: Likewise.
10412         * posix/tst-getlogin.c: Likewise.
10413         * posix/tst-gnuglob.c: Likewise.
10414         * posix/tst-mmap.c: Likewise.
10415         * pwd/tst-getpw.c: Likewise.
10416         * resolv/tst-inet_ntop.c: Likewise.
10417         * rt/tst-timer.c: Likewise.
10418         * stdio-common/test-fseek.c: Likewise.
10419         * stdio-common/test-popen.c: Likewise.
10420         * stdio-common/test-vfprintf.c: Likewise.
10421         * stdio-common/tst-cookie.c: Likewise.
10422         * stdio-common/tst-fileno.c: Likewise.
10423         * stdio-common/tst-gets.c: Likewise.
10424         * stdio-common/tst-obprintf.c: Likewise.
10425         * stdio-common/tst-perror.c: Likewise.
10426         * stdio-common/tst-sprintf2.c: Likewise.
10427         * stdio-common/tst-sprintf3.c: Likewise.
10428         * stdio-common/tst-sprintf.c: Likewise.
10429         * stdio-common/tst-swprintf.c: Likewise.
10430         * stdio-common/tst-tmpnam.c: Likewise.
10431         * stdio-common/tst-unbputc.c: Likewise.
10432         * stdio-common/tst-wc-printf.c: Likewise.
10433         * stdlib/tst-environ.c: Likewise.
10434         * stdlib/tst-fmtmsg.c: Likewise.
10435         * stdlib/tst-limits.c: Likewise.
10436         * stdlib/tst-rand48-2.c: Likewise.
10437         * stdlib/tst-rand48.c: Likewise.
10438         * stdlib/tst-random2.c: Likewise.
10439         * stdlib/tst-random.c: Likewise.
10440         * stdlib/tst-strtol.c: Likewise.
10441         * stdlib/tst-strtoll.c: Likewise.
10442         * stdlib/tst-tls-atexit.c: Likewise.
10443         * stdlib/tst-xpg-basename.c: Likewise.
10444         * string/test-ffs.c: Likewise.
10445         * string/tst-bswap.c: Likewise.
10446         * string/tst-inlcall.c: Likewise.
10447         * string/tst-strtok.c: Likewise.
10448         * string/tst-strxfrm.c: Likewise.
10449         * sysdeps/x86_64/tst-audit10.c: Likewise.
10450         * sysdeps/x86_64/tst-audit3.c: Likewise.
10451         * sysdeps/x86_64/tst-audit4.c: Likewise.
10452         * sysdeps/x86_64/tst-audit5.c: Likewise.
10453         * time/tst-ftime_l.c: Likewise.
10454         * time/tst-getdate.c: Likewise.
10455         * time/tst-mktime3.c: Likewise.
10456         * time/tst-mktime.c: Likewise.
10457         * time/tst-posixtz.c: Likewise.
10458         * time/tst-strptime2.c: Likewise.
10459         * time/tst-strptime3.c: Likewise.
10460         * wcsmbs/tst-btowc.c: Likewise.
10461         * wcsmbs/tst-mbrtowc.c: Likewise.
10462         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10463         * wcsmbs/tst-wchar-h.c: Likewise.
10464         * wcsmbs/tst-wcpncpy.c: Likewise.
10465         * wcsmbs/tst-wcrtomb.c: Likewise.
10466         * wcsmbs/tst-wcsnlen.c: Likewise.
10467         * wcsmbs/tst-wcstof.c: Likewise.
10469 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10471         [BZ #14132]
10472         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10473         INTDEF.
10474         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10475         declaration.
10476         (_dl_mcount): Use rtld_hidden_proto.
10477         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10478         _dl_mcount.
10479         * elf/rtld.c (_rtld_global_ro): Likewise.
10481         [BZ #14132]
10482         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10483         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10484         of _dl_init_internal.
10485         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10486         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10487         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10488         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10489         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10490         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10491         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10492         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10493         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10494         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10495         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10496         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10497         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10498         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10499         * sysdeps/tile/dl-start.S (_start): Likewise.
10500         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10501         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10503         [BZ #14132]
10504         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10505         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10506         (rtld_progname): Make macro definition unconditional.
10507         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10508         INTDEF.
10509         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10510         (dl_main): Likewise.
10511         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10512         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10513         instead of _dl_argv_internal.
10514         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10515         __GI__dl_argv instead of INTUSE(_dl_argv).
10516         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10517         __GI__dl_argv instead of _dl_argv_internal.
10519         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10520         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10521         macro.
10522         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10523         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10524         New macro.
10525         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10526         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10527         macro.
10528         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10529         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10531 2014-11-04  Andreas Schwab  <schwab@suse.de>
10533         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10535 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10537         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10538         mtvsrd instruction in binary form.
10540 2014-11-03  Andreas Schwab  <schwab@suse.de>
10542         [BZ #17522]
10543         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10544         for less than MB_LEN_MAX use a local buffer of that size.
10545         * libio/tst-fputws.c: New file.
10546         * libio/Makefile (tests): Add tst-fputws.
10548 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10550         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10551         the size of the fpu_fr.fpu_dregs[] array.
10553 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10555         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10556         (__nanosleep): Do not define as alias.
10557         (nanosleep): Define as alias of __nanosleep.
10558         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10559         __libc_nanosleep name.
10561 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10563         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10564         install.texi in comment.
10566 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10568         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10569         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10570         ... add here and use lwsync or sync ...
10571         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10572         ... and add here using lwsync.
10574 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10576         * elf/dl-machine-reject-phdr.h: New file.
10577         * elf/dl-load.c: #include that.
10578         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10579         if that returned true.
10581 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10583         [BZ #17496]
10584         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10585         gen-as-const-headers chunk.  Add a big scare comment after the last
10586         safe place to touch before-compile.
10588 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10590         * manual/install.texi (Tools for Compilation): Update autoconf
10591         version requirements.
10592         * INSTALL: Regenerated.
10594         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10595         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10596         (__libc_pselect): Likewise.
10598         [BZ #14138]
10599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10604 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10606         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10607         correct barrier instruction.
10608         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10609         Likewise.
10610         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10611         Likewise.
10613 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10615         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10616         after defining inlines.  Instead, just use parens to defeat macro
10617         expansion of __isctype in its declaration.
10619 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10621         * include/sys/uio.h (__libc_readv): Remove declaration.
10622         (__libc_writev): Likewise.
10623         * misc/readv.c (__libc_readv): Rename to __readv.
10624         (__readv): Do not define as alias.
10625         (readv): Define as alias of __readv.
10626         * misc/writev.c (__libc_writev): Rename to __writev.
10627         (__writev): Do not define as alias.
10628         (writev): Define as alias of __writev.
10629         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10630         (__readv): Do not define as alias.
10631         (readv): Define unconditionally as alias of __readv.
10632         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10633         (__writev): Do not define as alias.
10634         (writev): Define unconditionally as alias of __writev.
10635         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10636         name.
10637         (writev): Do not define __libc_writev name.
10639 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10641         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10642         (convert_charseq): New function, broken out of ...
10643         (use_from_charmap): ... here.  Call it.
10644         (use_to_charmap): Use convert_charseq and free instead of duplicating
10645         its code with a variable-length stack struct.
10647 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10649         * include/fcntl.h (__libc_creat): Remove declaration.
10650         * io/creat.c (__libc_creat): Rename to creat.
10651         (creat): Do not define as alias.
10652         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10653         of creat instead of __libc_creat.
10654         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10655         to creat.
10656         (creat): Do not define as alias.
10657         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10658         __libc_creat.
10659         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10660         __libc_creat name.
10661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10662         Likewise.
10664 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10666         * manual/llio.texi: Add comments discussing why write() may be
10667         considered MT-unsafe on Linux.
10669 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10671         * dl-load.c (local_strdup): Remove.
10672         (expand_dynamic_string_token): Use __strdup.
10673         (decompose_rpath): Likewise.
10674         (_dl_map_object): Likewise.
10676 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10678         [BZ #14132]
10679         * sysdeps/generic/unwind-dw2-fde.c
10680         (__register_frame_info_bases_internal): Do not declare.
10681         (__register_frame_info_table_bases_internal): Likewise.
10682         (__deregister_frame_info_bases_internal): Likewise.
10683         (__register_frame_info_bases): Declare and use hidden_proto before
10684         definition.  Use hidden_def instead of INTDEF.
10685         (__register_frame_info_table_bases): Likewise.
10686         (__deregister_frame_info_bases): Likewise.
10687         (__register_frame_info): Do not use INTUSE.
10688         (__register_frame): Likewise.
10689         (__register_frame_info_table): Likewise.
10690         (__register_frame_table): Likewise.
10691         (__deregister_frame_info): Likewise.
10692         (__deregister_frame): Likewise.
10694 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10697         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10698         not undefine.
10699         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10700         Likewise.
10701         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10702         Likewise.
10704 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10706         [BZ #14138]
10707         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10708         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10709         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10710         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10711         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10712         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10713         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10714         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10715         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10716         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10717         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10718         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10719         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10720         syscall.
10721         (setfsuid): Likewise.
10722         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10723         (setfsuid): Likewise.
10724         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10725         (setfsuid): Likewise.
10726         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10727         Likewise.
10728         (setfsuid): Likewise.
10729         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10730         (setfsuid): Likewise.
10731         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10732         Likewise.
10733         (setfsuid): Likewise.
10735 2014-10-27  Andreas Schwab  <schwab@suse.de>
10737         [BZ #17501]
10738         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10739         check for Slow_SSE4_2 feature bit.
10740         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10741         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10742         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10743         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10745 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10747         * configure.ac: Validate compiler version with a empirical test of
10748         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10749         $CC -v output.
10750         * configure: Regenerated.
10752         * inet/htons.c (htons): Prototypify.
10753         * inet/htonl.c (htonl): Likewise.
10755 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10757         * string/strncat.c (strncat): Improve performance by using strlen.
10759 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10761         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10763 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10765         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10766         Call libc_fetestexcept_aarch64.
10768 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10770         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10771         Call libc_feholdexcept_aarch64.
10773 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10775         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10776         Call get_rounding_mode.
10778 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10780         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10781         Simplify logic.
10783 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10785         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10786         Simplify logic.
10788 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10790         [BZ #14138]
10791         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10792         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10793         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10794         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10795         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10796         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10797         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10798         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10799         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10800         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10801         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10802         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10803         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10804         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10805         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10806         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10807         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10808         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10809         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10810         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10811         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10812         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10813         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10814         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10815         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10816         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10817         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10818         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10819         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10820         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10821         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10822         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10823         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10824         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10825         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10826         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10827         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10828         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10829         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10830         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10831         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10832         syscall.
10833         (geteuid): Likewise.
10834         (getgid): Likewise.
10835         (getuid): Likewise.
10836         (getresgid): Likewise.
10837         (getresuid): Likewise.
10838         (getgroups): Likewise.
10839         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10840         (geteuid): Likewise.
10841         (getgid): Likewise.
10842         (getuid): Likewise.
10843         (getresgid): Likewise.
10844         (getresuid): Likewise.
10845         (getgroups): Likewise.
10846         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10847         (geteuid): Likewise.
10848         (getgid): Likewise.
10849         (getuid): Likewise.
10850         (getresgid): Likewise.
10851         (getresuid): Likewise.
10852         (getgroups): Likewise.
10853         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10854         Likewise.
10855         (geteuid): Likewise.
10856         (getgid): Likewise.
10857         (getuid): Likewise.
10858         (getresgid): Likewise.
10859         (getresuid): Likewise.
10860         (getgroups): Likewise.
10861         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10862         (geteuid): Likewise.
10863         (getgid): Likewise.
10864         (getuid): Likewise.
10865         (getresgid): Likewise.
10866         (getresuid): Likewise.
10867         (getgroups): Likewise.
10868         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10869         Likewise.
10870         (geteuid): Likewise.
10871         (getgid): Likewise.
10872         (getuid): Likewise.
10873         (getgroups): Likewise.
10875         [BZ #14138]
10876         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10877         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10878         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10879         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10880         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10881         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10882         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10883         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10884         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10885         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10886         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10887         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10888         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10889         __chown.
10890         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10891         (lchown): Likewise.
10892         (fchown): Likewise.
10893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10894         Likewise.
10895         (lchown): Likewise.
10896         (fchown): Likewise.
10897         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10898         (lchown): Likewise.
10899         (fchown): Likewise.
10900         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10901         Likewise.
10902         (lchown): Likewise.
10903         (fchown): Likewise.
10905 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10907         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10908         Simplify logic.
10910 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10912         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10913         Cleanup logic.
10915 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10917         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10918         Remove unused include.
10920 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10922         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10923         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10924         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10925         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10927 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10928             Helge Deller <deller@gmx.de>
10930         [BZ #17508]
10931         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10932         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10933         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10935 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10937         [BZ #14132]
10938         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10939         Remove macro definition.
10940         (__ashrdi3_v_glibc20): Likewise.
10941         (__lshrdi3_v_glibc20): Likewise.
10942         (__cmpdi2_v_glibc20): Likewise.
10943         (__ucmpdi2_v_glibc20): Likewise.
10944         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10945         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10946         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10947         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10948         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10949         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10951 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10953         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10954         old GNU extension [0] syntax.
10955         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10956         alloca rather than an array member with variable length.
10957         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10958         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10959         (parse_opt): ... here.  Likewise use alloca there.
10960         Validate the -i argument before checking for rootness.
10961         (send_shutdown): New function, broken out of ...
10962         (parse_opt): ... here.
10964 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10966         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10967         macro to get at the _rt_local_ro field.
10968         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10969         ([PIC] case) or _dl_hwcap ([!PIC] case).
10970         * sysdeps/arm/setjmp.S: Likewise.
10972         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10973         * sysdeps/arm/configure.ac: New check to define it.
10974         * sysdeps/arm/configure: Regenerated.
10975         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10976         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10977         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10978         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10979         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10980         Use move/movt pair instead of a load.
10981         (LDST_GLOBAL): Macro removed.
10982         (LDR_GLOBAL): New macro replaces it.
10983         (LDR_HIDDEN): New macro.
10984         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10985         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10987         * setjmp/tst-setjmp-static.c: New file.
10988         * setjmp/Makefile (tests): Add it.
10989         (tests-static): New variable.
10991 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10993         [BZ #17485]
10994         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10996 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10998         [BZ #14132]
10999         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11001 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11003         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11005 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11007         * io/fts.c (dirent_not_directory): New function.
11008         (fts_build): Call it.
11010 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11012         * nptl/version.c (__nptl_main): Use normal __write rather than
11013         INTERNAL_SYSCALL.
11014         (banner): Update copyright years.
11016         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11017         gettimeofday.
11018         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11019         * nptl/pthread_cond_timedwait.c: Likewise.
11020         * nptl/pthread_mutex_timedlock.c: Likewise.
11021         * nptl/sem_timedwait.c: Likewise.
11023         * sysdeps/nptl/bits/libc-lock.h
11024         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11025         (__libc_lock_init_recursive): Return void, not 0.
11026         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11027         (__libc_rwlock_init): Likewise.
11028         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11030 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11032         [BZ #15215]
11033         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11034         (__pthread_once_slow): ... here.
11035         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11036         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11038 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11040         [BZ #15215]
11041         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11042         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11043         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11044         * nptl/pthread_once.c (__pthread_once): Likewise.
11045         Update comments.
11047 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11049         [BZ #14138]
11050         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11051         name.
11052         (writev): Use __libc_writev as strong name.
11053         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11054         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11056 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11058         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11060         * sysdeps/i386/nptl/tls.h
11061         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11062         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11063         New macros.
11064         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11065         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11066         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11067         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11068         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11069         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11071         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11072         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11073         on [__NR_futex].
11074         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11075         broken out of ...
11076         (__pthread_mutex_init): ... here.  Call it.
11077         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11078         Conditionalize PI cases on [__NR_futex].
11079         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11080         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11081         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11083         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11084         conditional on [SIGSETXID].
11085         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11086         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11087         is defined.  Likewise for SIGSETXID.
11088         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11089         Conditionalize definitions on [SIGSETXID].
11090         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11091         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11092         unblocking on [SIGCANCEL].
11094         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11095         [__NR_set_robust_list].
11097 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11099         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11100         (do_compare): Likewise.
11102 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11104         [BZ #15884]
11105         * string/strcoll_l.c: Don't include stdio.h.
11106         (coll_seq): Remove members idxarr and rulearr.
11107         (get_next_seq_cached): Remove function.
11108         (get_next_seq): Likewise.
11109         (get_next_seq_nocache): Rename to get_next_seq.
11110         (do_compare): Remove function.
11111         (do_compare_nocache): Rename to do_compare.
11112         (STRCOLL): Remove weight and rules cache.
11114 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11116         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11117         * sysdeps/arm/sfp-machine.h: ... to here.
11118         * sysdeps/arm/Implies: Remove arm/soft-fp.
11120 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11122         * conform/data/sys/utsname.h-data (*_t): Allow.
11123         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11124         [POSIX] (WEXITED): Do not expect constant.
11125         [POSIX] (WSTOPPED): Likewise.
11126         [POSIX] (WNOHANG): Likewise.
11127         [POSIX] (WNOWAIT): Likewise.
11128         [POSIX] (siginfo_t): Do not expect type or elements.
11129         [POSIX] (pid_t): Do not expect type.
11130         [POSIX] (signal.h): Do not allow header.
11131         [POSIX] (sys/resource.h): Likewise.
11132         [POSIX] (si_*): Do not allow pattern.
11133         [POSIX] (W*): Likewise.
11134         [POSIX] (P_*): Likewise.
11135         [POSIX] (BUS_*): Likewise.
11136         [POSIX] (CLD_*): Likewise.
11137         [POSIX] (FPE_*): Likewise.
11138         [POSIX] (ILL_*): Likewise.
11139         [POSIX] (POLL_*): Likewise.
11140         [POSIX] (SEGV_*): Likewise.
11141         [POSIX] (SI_*): Likewise.
11142         [POSIX] (TRAP_*): Likewise.
11143         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11144         variable.
11146 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11148         [BZ #12926]
11149         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11150         infinite loop when __recvmsg returns 0.
11152 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11154         * CANCEL-FCT-WAIVE: Remove file.
11155         * CANCEL-FILE-WAIVE: Likewise.
11157         [BZ #14132]
11158         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11159         instead of INTVARDEF.
11160         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11161         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11162         rtld_hidden_data_def instead of INTVARDEF.
11163         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11164         * elf/dl-deps.c (expand_dst): Likewise.
11165         * elf/dl-load.c (_dl_dst_count): Likewise.
11166         (_dl_dst_substitute): Likewise.
11167         (decompose_rpath): Likewise.
11168         (_dl_init_paths): Likewise.
11169         (open_path): Likewise.
11170         (_dl_map_object): Likewise.
11171         * elf/rtld.c (dl_main): Likewise.
11172         (process_dl_audit): Likewise.
11173         (process_envvars): Likewise.
11174         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11175         Remove declaration.
11176         (__libc_enable_secure): Use rtld_hidden_proto.
11178 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11180         * elf/dl-load.c
11181         (add_path): New function broken out of _dl_rtld_di_serinfo.
11182         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11184 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11186         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11187         parentheses around macro arguments.
11188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11193         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11194         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11197         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11199         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11200         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11201         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11202         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11203         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11204         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11205         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11206         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11217         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11219         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11220         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11221         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11222         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11223         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11224         Likewise.
11225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11232         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11236         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11237         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11246         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11247         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11248         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11251         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11252         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11253         (_FP_FRAC_SRS_1): Likewise.
11254         (_FP_FRAC_CLZ_1): Likewise.
11255         (_FP_MUL_MEAT_1_imm): Likewise.
11256         (_FP_MUL_MEAT_1_wide): Likewise.
11257         (_FP_MUL_MEAT_1_hard): Likewise.
11258         (_FP_SQRT_MEAT_1): Likewise.
11259         (_FP_FRAC_ASSEMBLE_1): Likewise.
11260         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11261         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11262         (__FP_CLZ_2): Likewise.
11263         (_FP_MUL_MEAT_2_wide): Likewise.
11264         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11265         (_FP_MUL_MEAT_2_gmp): Likewise.
11266         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11267         (_FP_SQRT_MEAT_2): Likewise.
11268         (_FP_FRAC_ASSEMBLE_2): Likewise.
11269         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11270         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11271         (_FP_FRAC_CLZ_4): Likewise.
11272         (_FP_MUL_MEAT_4_wide): Likewise.
11273         (_FP_MUL_MEAT_4_gmp): Likewise.
11274         (_FP_SQRT_MEAT_4): Likewise.
11275         (_FP_FRAC_ASSEMBLE_4): Likewise.
11276         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11277         * soft-fp/op-common.h (_FP_CMP): Likewise.
11278         (_FP_CMP_EQ): Likewise.
11279         (_FP_CMP_UNORD): Likewise.
11280         (_FP_TO_INT): Likewise.
11281         (_FP_FROM_INT): Likewise.
11282         [!__FP_CLZ] (__FP_CLZ): Likewise.
11283         (_FP_DIV_HELP_imm): Likewise.
11284         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11285         Likewise.
11286         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11288         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11297         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11301         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11302         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11315         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11317         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11318         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11319         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11320         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11321         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11322         (FP_UNPACK_RAW_SP): Likewise.
11323         (FP_PACK_RAW_S): Likewise.
11324         (FP_PACK_RAW_SP): Likewise.
11325         (FP_UNPACK_S): Likewise.
11326         (FP_UNPACK_SP): Likewise.
11327         (FP_UNPACK_SEMIRAW_S): Likewise.
11328         (FP_UNPACK_SEMIRAW_SP): Likewise.
11329         (FP_PACK_S): Likewise.
11330         (FP_PACK_SP): Likewise.
11331         (FP_PACK_SEMIRAW_S): Likewise.
11332         (FP_PACK_SEMIRAW_SP): Likewise.
11333         (_FP_SQRT_MEAT_S): Likewise.
11334         (FP_CMP_S): Likewise.
11335         (FP_CMP_EQ_S): Likewise.
11336         (FP_CMP_UNORD_S): Likewise.
11337         (FP_TO_INT_S): Likewise.
11338         (FP_FROM_INT_S): Likewise.
11340         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11342         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11343         (FP_EX_INVALID_IMZ): Likewise.
11344         (FP_EX_INVALID_IMZ_FMA): Likewise.
11345         (FP_EX_INVALID_ISI): Likewise.
11346         (FP_EX_INVALID_ZDZ): Likewise.
11347         (FP_EX_INVALID_IDI): Likewise.
11348         (FP_EX_INVALID_SQRT): Likewise.
11349         (FP_EX_INVALID_CVI): Likewise.
11350         (FP_EX_INVALID_VC): Likewise.
11351         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11352         "invalid" exceptions.
11353         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11354         (_FP_ADD_INTERNAL): Likewise.
11355         (_FP_MUL): Likewise.
11356         (_FP_FMA): Likewise.
11357         (_FP_DIV): Likewise.
11358         (_FP_CMP_CHECK_NAN): Likewise.
11359         (_FP_SQRT): Likewise.
11360         (_FP_TO_INT): Likewise.
11361         (FP_EXTEND): Likewise.
11363 2014-10-09  Allan McRae  <allan@archlinux.org>
11365         * po/fr.po: Update French translation from translation project.
11367 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11369         [BZ #14132]
11370         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11371         of INTDEF.
11372         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11373         (__cxa_atexit): Use libc_hidden_proto.
11374         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11376         [BZ #14132]
11377         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11378         declaration.
11379         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11380         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11381         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11382         [!_ISOMAC] (__iswctype_internal): Likewise.
11383         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11384         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11385         alias.
11386         (fcntl): Remove __fcntl_internal alias.
11387         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11388         __connect_internal alias.
11389         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11390         Likewise.
11392         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11393         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11394         FP_DENORM_ZERO.
11395         (_FP_CHECK_FLUSH_ZERO): New macro.
11396         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11397         (_FP_CMP): Likewise.
11398         (_FP_CMP_EQ): Likewise.
11399         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11400         FP_DENORM_ZERO.
11401         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11402         (FP_TRUNC): Likewise.
11404         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11405         treated as invalid conversion, not as normal exponent.
11407         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11408         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11409         (_FP_CMP_EQ): Likewise.
11410         (_FP_CMP_UNORD): Likewise.
11411         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11412         (FP_CMP_EQ_D): Likewise.
11413         (FP_CMP_UNORD_D): Likewise.
11414         * soft-fp/extended.h (FP_CMP_E): Likewise.
11415         (FP_CMP_EQ_E): Likewise.
11416         (FP_CMP_UNORD_E): Likewise.
11417         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11418         (FP_CMP_EQ_Q): Likewise.
11419         (FP_CMP_UNORD_Q): Likewise.
11420         * soft-fp/single.h (FP_CMP_S): Likewise.
11421         (FP_CMP_EQ_S): Likewise.
11422         (FP_CMP_UNORD_S): Likewise.
11423         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11424         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11425         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11426         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11427         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11428         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11429         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11430         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11431         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11432         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11433         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11434         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11435         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11436         to FP_CMP_Q.
11437         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11438         FP_CMP_Q.
11439         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11440         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11441         FP_CMP_EQ_Q.
11442         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11443         FP_CMP_Q.
11444         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11445         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11446         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11447         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11448         FP_CMP_EQ_Q.
11449         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11450         FP_CMP_Q.
11451         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11452         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11453         FP_CMP_EQ_Q.
11454         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11455         FP_CMP_Q.
11456         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11457         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11458         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11459         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11460         FP_CMP_EQ_Q.
11462         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11463         a subnormal result, set the underflow exception if trapping on
11464         underflow is enabled.
11465         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11466         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11467         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11468         redefine to 0.
11469         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11470         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11471         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11472         * soft-fp/extendxftf2.c (__extendxftf2): Use
11473         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11475         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11476         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11477         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11478         FP_HANDLE_EXCEPTIONS.
11479         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11480         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11481         FP_HANDLE_EXCEPTIONS.
11482         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11483         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11484         FP_HANDLE_EXCEPTIONS.
11485         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11486         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11487         FP_HANDLE_EXCEPTIONS.
11489 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11491         [BZ #14132]
11492         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11493         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11494         use INTUSE.
11495         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11496         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11497         Remove alias.
11498         (__adjtimex): Define using libc_hidden_ver.
11499         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11500         Remove declaration.
11501         (ntp_gettime): Call __adjtimex directly.
11502         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11503         Remove declaration.
11504         (ntp_gettimex): Call __adjtimex directly.
11505         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11506         __adjtimex_internal alias.
11508 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11510         [BZ #17460]
11511         * nscd/nscd.c (more_help): Rewrite list of tables collection
11512         using xstrdup and asprintf.
11514         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11516 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11517             Roland McGrath  <roland@hack.frob.com>
11519         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11520         (do_lookup_unique): ... local function 'enter' here; update callers.
11522 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11524         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11525         compat_symbol calls on [SHARED].
11526         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11527         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11528         Remove.
11529         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11530         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11531         (oldsetrlimit): Remove.
11532         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11534         (lchown): New syscall entry.
11535         (oldsetrlimit): Remove.
11536         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11537         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11538         (oldsetrlimit): Remove.
11539         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11541         [BZ #14138]
11542         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11543         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11544         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11545         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11546         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11547         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11548         (fchown): Likewise.
11549         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11550         (fchown): Likewise.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11552         Likewise.
11554 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11556         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11557         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11558         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11559         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11560         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11561         Likewise.
11562         (__old_sem_post): Likewise.
11564 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11566         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11567         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11568         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11569         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11570         Use INLINE_VSYSCALL macro.
11571         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11572         __vdso_clock_gettime.
11573         * sysdeps/unix/sysv/linux/tile/init-first.c
11574         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11575         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11576         __vdso_clock_gettime.
11578         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11579         to set up frame more cleanly.
11581         * sysdeps/tile/memcmp.c: New file.
11583         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11585         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11586         * sysdeps/tile/tilegx/strcasestr.c: New file.
11587         * sysdeps/tile/tilegx/strnlen.c: New file.
11588         * sysdeps/tile/tilegx/strstr.c: New file.
11590         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11592 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11594         * nptl/tst-setuid3.c: Write errors to stdout.
11596 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11598         * elf/dl-deps.c
11599         (preload): New functions broken out of _dl_map_object_deps.
11600         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11602 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11604         [BZ #14138]
11605         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11606         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11608 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11610         * sysdeps/mips/strcmp.S: New.
11612 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11614         [BZ #14138]
11615         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11616         (linkat): Likewise.
11617         (mkdirat): Likewise.
11618         (readlinkat): Likewise.
11619         (renameat): Likewise.
11620         (symlinkat): Likewise.
11621         (unlinkat): Likewise.
11622         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11623         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11624         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11625         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11626         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11627         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11628         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11630 2014-09-30  Will Newton  <will.newton@linaro.org>
11632         * math/math.h: Define long double math functions if
11633         _LIBC_TEST is defined.
11634         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11636         * localedata/Makefile: Move assignment to tests-special
11637         into an ifdef testing run-built-tests.
11638         * timezone/Makefile: Likewise.
11640 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11642         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11643         with $(BASH) not $(SHELL).
11645 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11646             Matthew LeGendre  <legendre1@llnl.gov>
11648         [BZ #17411]
11649         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11650         l_reloc_result.
11652 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11654         * stdio-common/printf_fp.c
11655         (hack_digit): New function, broken out of ...
11656         (__printf_fp): ... local function here.  Update call sites.
11657         hack_digit now takes an additional parameter that is a pointer
11658         to a struct of the referenced locals.  Those locals moved inside
11659         the struct and references updated.
11661 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11663         * aclocal.m4: Require autoconf 2.69.
11664         * configure: Regenerated.
11665         * sysdeps/aarch64/configure: Likewise.
11666         * sysdeps/alpha/configure: Likewise.
11667         * sysdeps/arm/armv7/configure: Likewise.
11668         * sysdeps/arm/configure: Likewise.
11669         * sysdeps/ia64/configure: Likewise.
11670         * sysdeps/mach/configure: Likewise.
11671         * sysdeps/mips/configure: Likewise.
11672         * sysdeps/s390/configure: Likewise.
11673         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11676         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11677         file.
11678         * sysdeps/ia64/configure.ac: Likewise.
11680 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11683         specify symbol version for ld.so.  Do not include entry for
11684         libpthread.
11685         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11686         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11687         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11689         [BZ #14171]
11690         * Makeconfig [$(build-shared) = yes]
11691         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11692         makefiles.
11693         [$(build-shared) = yes && $(soversions.mk-done) = t]
11694         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11695         [$(build-shared) = yes && $(soversions.mk-done) = t]
11696         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11697         to Makerules.
11698         [$(build-shared) = yes && $(soversions.mk-done) = t]
11699         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11700         here.
11701         [$(build-shared) = yes && $(soversions.mk-done) = t]
11702         (common-generated): Don't append gnu/lib-names.h and
11703         gnu/lib-names.stmp here.
11704         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11705         (lib-names-h-abi): New variable.
11706         [$(build-shared) = yes && $(soversions.mk-done) = t]
11707         (lib-names-stmp-abi): Likewise.
11708         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11709         abi-variants] (before-compile): Append
11710         $(common-objpfx)$(lib-names-h-abi).
11711         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11712         abi-variants] (common-generated): Append gnu/lib-names.h.
11713         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11714         abi-variants] (install-others-nosubdir): Depend on
11715         $(inst_includedir)/$(lib-names-h-abi).
11716         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11717         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11718         [$(build-shared) = yes && $(soversions.mk-done) = t]
11719         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11720         [$(build-shared) = yes && $(soversions.mk-done) = t]
11721         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11722         [$(build-shared) = yes && $(soversions.mk-done) = t]
11723         (common-generated): Append $(lib-names-h-abi) and
11724         $(lib-names-stmp-abi).
11725         * scripts/lib-names.awk: Do not handle multi being set.
11726         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11727         Remove variable.
11728         (abi-lp64_be-ld-soname): Likewise.
11729         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11730         Likewise.
11731         (abi-hard-ld-soname): Likewise.
11732         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11733         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11734         Remove variable.
11735         (abi-o32_hard-ld-soname): Likewise.
11736         (abi-o32_soft_2008-ld-soname): Likewise.
11737         (abi-o32_hard_2008-ld-soname): Likewise.
11738         (abi-n32_soft-ld-soname): Likewise.
11739         (abi-n32_hard-ld-soname): Likewise.
11740         (abi-n32_soft_2008-ld-soname): Likewise.
11741         (abi-n32_hard_2008-ld-soname): Likewise.
11742         (abi-n64_soft-ld-soname): Likewise.
11743         (abi-n64_hard-ld-soname): Likewise.
11744         (abi-n64_soft_2008-ld-soname): Likewise.
11745         (abi-n64_hard_2008-ld-soname): Likewise.
11746         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11747         Likewise.
11748         (abi-64-v2-ld-soname): Likewise.
11749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11750         ld.so entries.
11751         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11752         variable.
11753         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11754         entry.
11755         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11756         variable.
11757         (abi-64-ld-soname): Likewise.
11758         (abi-x32-ld-soname): Likewise.
11759         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11760         entry.
11761         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11763 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11765         [BZ #14138]
11766         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11767         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11768         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11769         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11770         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11771         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11772         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11773         syscall entry for GLIBC_2.2 symbol version.
11774         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11775         Likewise.
11776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11777         (setrlimit): Likewise.
11778         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11779         Likewise.
11781 2014-09-23  Will Newton  <will.newton@linaro.org>
11783         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11784         _LINUX_ARM_SYSDEP_H include guard too.
11785         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11786         define.
11788 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11790         * sysdeps/unix/sysv/linux/eventfd.c:
11791         Make first argument unsigned.
11792         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11793         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11795 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11797         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11798         * socket/sys/socket.h: Likewise
11799         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11801 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11803         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11805 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11807         * time/tst-ftime.c: New test.
11808         * time/Makefile (tests): Add tst-ftime.
11810 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11812         * soft-fp/extended.h: Fix comment formatting.
11813         * soft-fp/op-1.h: Likewise.
11814         * soft-fp/op-2.h: Likewise.
11815         * soft-fp/op-4.h: Likewise.
11816         * soft-fp/op-8.h: Likewise.
11817         * soft-fp/op-common.h: Likewise.
11818         * soft-fp/soft-fp.h: Likewise.
11820         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11822 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11824         [BZ #6652]
11825         * Makeconfig (soversions-default-setname): Remove variable.
11826         ($(common-objpfx)soversions.i): Don't pass default_setname to
11827         soversions.awk.
11828         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11829         oldest_abi to abi-versions.awk.
11830         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11831         * config.make.in (oldest-abi): Remove variable.
11832         * configure.ac (--enable-oldest-abi): Remove configure option.
11833         * configure: Regenerated.
11834         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11835         text.
11836         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11837         * scripts/soversions.awk: Do not handle default_setname variable.
11838         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11839         variable.
11840         * sysdeps/mach/hurd/configure: Regenerated.
11841         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11842         variable.
11843         * sysdeps/unix/sysv/linux/configure: Regenerated.
11845 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11847         * elf/Makefile (CFLAGS-interp.c): Remove.
11848         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11849         path string.
11850         * elf/interp.c: Include generated runtime-linker.h
11852         * Makerules (lib%.so): Don't include $(+interp) in
11853         prerequisites.
11854         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11855         * dlfcn/eval.c: Remove file.
11857         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11858         macros.
11860         [BZ #17266]
11861         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11862         4.2 and newer.
11864         [BZ #17370]
11865         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11867 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11868             Jakub Jelinek  <jakub@redhat.com>
11870         [BZ #17266]
11871         * libio/stdio.h: Check definition of __fortify_function
11872         instead of __extern_always_inline to include bits/stdio2.h.
11873         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11874         check if __extern_always_inline is defined.
11875         [__USE_MISC || __USE_XOPEN]: Likewise.
11876         [__USE_ISOC99] Likewise.
11877         * misc/sys/cdefs.h (__fortify_function): Define only if
11878         __extern_always_inline is defined.
11879         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11880         __extern_always_inline and __extern_inline only for g++-4.3
11881         and newer or a compatible gcc.
11883 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11885         [BZ #17371]
11886         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11887         last change to handle zero prefix length.
11889 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11891         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11892         _SC_REGEX_VERSION.
11894         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11895         _POSIX_RAW_SOCKETS.
11897 2014-09-13  Allan McRae  <allan@archlinux.org>
11899         * po/ru.po: Update Russian translation from translation project.
11901 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11903         * locale/programs/locale.c (show_locale_vars): Inline local function
11904         into its sole call site.  Clean up some style nits.
11905         (print_item): New function, broken out of ...
11906         (show_info): ... local function here.  Clean up style nits.
11908         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11909         out of ...
11910         (set_class_defaults): ... local function set_default here.
11911         Define set_default as a macro locally to pass constant parameters.
11912         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11913         rather than a shared local.
11915         * stdlib/rpmatch.c (try): New function, broken out of ...
11916         (rpmatch): ... local function here.  Also, prototypify definition.
11918 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11920         * scripts/soversions.awk: Do not handle configuration names.
11921         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11922         vendor and os variables to soversions.awk.
11923         * configure.ac: Do not modify gnu-* host_os.
11924         * configure: Regenerated
11925         * shlib-versions: Remove first column with configuration names.
11926         * nptl/shlib-versions: Likewise.
11927         * nptl_db/shlib-versions: Likewise.
11928         * sysdeps/hppa/shlib-versions: Likewise.
11929         * sysdeps/m68k/shlib-versions: Likewise.
11930         * sysdeps/mach/hurd/shlib-versions: Likewise.
11931         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11932         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11933         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11934         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11935         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11936         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11937         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11938         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11940         Likewise.
11941         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11942         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11943         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11944         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11945         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11946         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11947         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11948         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11951         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11953         Regenerated.
11954         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11956         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11958         * shlib-versions: Remove OS-specific entries.  Moved to files in
11959         sysdeps.
11960         * sysdeps/mach/hurd/shlib-versions: New file.
11961         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11963         * nptl/shlib-versions: Remove architecture-specific entries.
11964         Moved to files in sysdeps.
11965         * shlib-versions: Likewise.
11966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11967         file.
11968         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11969         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11970         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11971         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11973         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11974         (UDP_NO_CHECK6_RX): Likewise.
11976 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978         * sysdeps/posix/sysconf.c (__sysconf): Spell
11979         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11981 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11983         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11984         loading.
11985         * iconv/Versions (__gconv_transliterate): Export for use from
11986         gconv modules.
11987         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11988         (struct __gconv_trans_data, __gconv_trans_fct,
11989         __gconv_trans_context_fct, __gconv_trans_query_fct,
11990         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11991         definitions.
11992         (struct __gconv_step_data): Remove __trans member.
11993         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11994         longer hidden.  Remove unused trans_data argument.
11995         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11996         (__gconv_translit_find): Remove declaration.
11997         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11998         prototype.
11999         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12000         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12001         trans_data argument.  Add hidden definition.
12002         (__gconv_translit_find): Remove.
12003         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12004         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12005         * iconv/skeleton.c: Remove transliteration initialization.
12006         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12007         __gconv_step_data initialization.
12008         * libio/iofwide.c (__libio_translit_): Remove.
12009         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12010         * wcsmbs/btowc.c (__btowc): Likewise.
12011         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12012         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12013         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12014         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12015         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12016         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12017         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12018         * wcsmbs/wctob.c (wctob): Likewise.
12020 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12022         [BZ #16194]
12023         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12024         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12025         register usage.
12026         * sysdeps/x86/Makefile: Adjust.
12028 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12029             Roland McGrath  <roland@hack.frob.com>
12031         * locale/weight.h: Add include guard.
12032         (findidx): Make static rather than auto; take new parameters
12033         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12034         * locale/weightwc.h: Likewise.
12035         * posix/fnmatch_loop.c
12036         (FCT): Change type of EXTRA from int32_t to wint_t.
12037         Don't include either header inside the function.
12038         Call FINDIDX rather than findidx, and pass new arguments.
12039         #undef FINDIDX at the end of the file.
12040         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12041         FINDIDX before including fnmatch_loop.c for the non-wide version.
12042         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12043         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12044         for the wide version.
12045         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12046         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12047         Pass new arguments to findidx.
12048         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12049         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12050         Don't #include it inside the function.  Pass new arguments to findidx.
12051         * posix/regex_internal.h
12052         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12053         (re_string_elem_size_at): Don't #include it inside the function.
12054         Pass new arguments to findidx.
12055         * string/strcoll_l.c: #include WEIGHT_H at top level.
12056         (get_next_seq): Don't #include it inside the function.
12057         Pass new arguments to findidx.
12058         (get_next_seq_nocache): Likewise.
12059         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12060         (STRXFRM): Don't #include it inside the function.
12061         Pass new arguments to findidx.
12063 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12065         [BZ #17344]
12066         * malloc/malloc.c (unlink): Turn asserts into a call to
12067         malloc_printerr.
12069 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12071         [BZ #17370]
12072         * libio/wfileops (do_ftell_wide): Free OUT.
12074 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12076         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12078 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12080         [BZ #17363]
12081         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12082         group if the current group is empty.
12084 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12086         * benchtests/bench-memset.c (test_main): Add more test from size
12087         from 32 to 512 bytes.
12088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12089         Add POWER8 memset object.
12090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12091         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12092         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12093         implementation.
12094         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12095         Likewise.
12096         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12097         multiarch POWER8 memset optimization.
12098         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12099         POWER8 memset optimization.
12101         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12102         Remove bzero multiarch objects.
12103         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12104         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12105         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12106         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12107         Remove define.
12108         [__bzero]: Redefine to specific name.
12109         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12110         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12111         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12112         define.
12113         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12114         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12116 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12118         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12119         warnings into errors.
12121         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12122         __cxa_thread_atexit_impl prototype.
12124 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12126         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12127         Fix capitalization of error message.
12129 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12131         * sysdeps/mips/preconfigure: Modify ABI tests.
12133 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12135         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12137 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12138             Carlos O'Donell  <carlos@systemhalted.org>
12140         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12141         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12142         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12143         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12144         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12145         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12146         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12147         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12148         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12149         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12150         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12151         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12152         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12153         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12154         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12155         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12156         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12157         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12158         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12159         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12160         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12161         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12162         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12163         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12164         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12165         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12166         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12167         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12168         Deconditionalize the code that was previously under [RESET_PID].
12169         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12170         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12171         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12172         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12173         include sysdep.h.
12175 2014-09-08  Allan McRae  <allan@archlinux.org>
12177         * version.h (RELEASE): Set to "development".
12178         (VERSION): Set to "2.20.90"
12180 2014-09-07  Allan McRae  <allan@archlinux.org
12182         * version.h (RELEASE): Set to "stable".
12183         (VERSION): Set to "2.20"
12184         * include/features.h (__GLIBC_MINOR__): Set to 20.
12186         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12187         Liebler.
12189         * po/ko.po: Update Korean translation from translation project.
12191 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12193         [BZ #17354]
12194         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12195         macro for handling signed relocations.
12197 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12199         [BZ #17325]
12200         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12201         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12202         assert.
12203         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12204         * iconvdata/ibm935.c (BODY): Likewise.
12205         * iconvdata/ibm937.c (BODY): Likewise.
12206         * iconvdata/ibm939.c (BODY): Likewise.
12207         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12208         assert.
12209         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12210         script.
12211         * iconvdata/run-iconv-test.sh: New test loop for checking for
12212         decoder crashers.
12214 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12216         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12217         libm_hidden_ver.
12219 2014-09-01  Allan McRae  <allan@archlinux.org>
12221         * po/eo.po: Update Esperanto translation from translation project.
12223         * po/ca.po: Update Catalan translation from translation project.
12225 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12227         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12228         __proc_dostop call.
12230 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12232         [BZ #17319]
12233         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12234         to call set_thread_area instead of hand written asm.
12235         (__NR_set_thread_area): Removed define.
12236         (TLS_FLAG_WRITABLE): Likewise.
12237         (__ASSUME_SET_THREAD_AREA): Remove check.
12238         (TLS_EBX_ARG): Remove define.
12239         (TLS_LOAD_EBX): Likewise.
12241 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12243         Simplify atomicity of socket creation in bind.
12245         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12246         looking up the name after linking the file.
12248 2014-08-27  Allan McRae  <allan@archlinux.org>
12250         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12252 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12254         [BZ #17187]
12255         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12256         trans_compare, open_translit, __gconv_translit_find):
12257         Remove module loading code.
12259 2014-08-26  Allan McRae  <allan@archlinux.org>
12261         * po/vi.po: Update Vietnamese translation from translation project.
12263         * po/uk.po: Update Ukrainian translation from translation project.
12265         * po/fr.po: Update French translation from translation project.
12267         * po/ru.po: Update Russian translation from translation project.
12269         * po/pl.po: Update Polish translation from translation project.
12271         * po/cs.po: Update Czech translation from translation project.
12273         * po/de.po: Update German translation from translation project.
12275         * po/bg.po: Update Bulgarian translation from translation project.
12277         * po/sv.po: Update Sweedish translation from translation project.
12279         * po/nl.po: Update Dutch translation from translation project.
12281         * po/es.po: Update Spanish translation from translation project.
12283 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12285         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12287         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12288         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12289         (CPPFLAGS-iconvconfig): Likewise.
12290         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12292         * include/libc-symbols.h: Remove unnecessary check for
12293         NOT_IN_libc.
12294         * nptl/pthreadP.h: Likewise.
12295         * sysdeps/aarch64/setjmp.S: Likewise.
12296         * sysdeps/alpha/setjmp.S: Likewise.
12297         * sysdeps/arm/sysdep.h: Likewise.
12298         * sysdeps/i386/setjmp.S: Likewise.
12299         * sysdeps/m68k/setjmp.c: Likewise.
12300         * sysdeps/posix/getcwd.c: Likewise.
12301         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12302         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12303         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12304         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12305         * sysdeps/sh/sh3/setjmp.S: Likewise.
12306         * sysdeps/sh/sh4/setjmp.S: Likewise.
12307         * sysdeps/unix/alpha/sysdep.h: Likewise.
12308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12310         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12311         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12314         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12316         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12319         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12321         * sysdeps/x86_64/setjmp.S: Likewise.
12323 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12325         [BZ #17263]
12326         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12327         <stdint.h>.
12328         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12329         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12331 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12333         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12335         [BZ #17262]
12336         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12337         and __x86_64__ when disabling x87 inline functions.
12339 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12341         [BZ #17259]
12342         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12343         asm statement with __cpuid_count.
12345 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12347         * configure.ac: Change __ehdr_start code to dereference the struct.
12348         Run readelf on the output to look for relocations.
12349         * configure: Regenerated.
12351 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12353         [BZ #17261]
12354         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12355         value to 0.
12356         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12358 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12360         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12362 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12364         [BZ #16892]
12365         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12366         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12368 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12370         * malloc/malloc.c: Fix typo in comment.
12372 2014-08-09  Allan McRae  <allan@archlinux.org>
12374         * Regenerate libc.po.
12376 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12378         * intl/tst-gettext2.sh: Check every lang file for creation.
12380 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12382         * sysdeps/aarch64/fpu/math_private.h
12383         (libc_feholdsetround_noex_aarch64_ctx): New function.
12385 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12387         * sysdeps/arm/armv6/strcpy.S (strcpy):
12388         Fix performance issue in misaligned cases.
12390 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12392         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12393         Move definition from termios.h.
12394         (struct termio): Likewise.
12395         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12396         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12397         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12398         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12399         Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12401         Move definition to ioctl-types.h
12402         (struct termio): Likewise.
12403         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12404         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12405         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12406         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12407         Likewise.
12409 2014-08-05  Richard Henderson  <rth@redhat.com>
12411         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12412         exceptions.
12413         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12414         Add fraiseexcpt.
12415         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12416         Use __feraiseexcept.
12417         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12418         Protect libm symbols with IS_IN_libm.
12420         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12422 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12424         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12426 2014-08-04  Will Newton  <will.newton@linaro.org>
12428         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12429         file.
12431 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12433         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12434         variants for each function.
12436 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12438         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12439         appended ...
12440         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12441         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12442         appended ...
12443         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12444         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12445         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12446         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12447         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12448         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12449         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12450         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12451         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12452         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12453         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12454         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12455         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12456         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12457         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12458         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12459         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12460         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12461         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12462         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12463         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12464         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12465         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12466         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12467         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12469         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12470         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12471         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12472         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12473         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12474         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12475         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12476         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12477         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12478         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12479         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12480         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12481         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12482         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12483         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12484         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12485         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12486         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12487         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12488         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12489         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12490         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12491         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12493         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12494         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12495         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12496         Update #include.
12497         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12498         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12500 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12502         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12503         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12504         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12505         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12506         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12507         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12509 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12511         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12512         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12513         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12514         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12516 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12518         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12519         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12520         (__libc_vfork): Define function under this name.
12521         (__vfork): Define as an alias.
12522         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12523         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12525 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12527         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12528         that was previously under [RESET_PID].
12529         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12531 2014-08-04  Andreas Schwab  <schwab@suse.de>
12533         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12535 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12537         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12538         (main): Likewise.
12540 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12542         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12544 2014-08-01  Richard Henderon  <rth@redhat.com>
12546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12547         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12548         typo in exact zero test.
12549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12550         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12553 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12555         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12556         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12557         * sysdeps/arm/sysdep.h: ... here.
12558         [!__ASSEMBLER__]: Include <stdint.h>.
12560 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12562         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12563         (HAVE_WCTYPE_H): Likewise.
12564         (HAVE_ISWCTYPE): Likewise.
12565         (ENABLE_NLS): Likewise.
12566         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12567         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12569         * posix/regex_internal.c: Check if DEBUG is defined and is
12570         set.
12572         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12573         (HAVE_MBSRTOWCS): Likewise.
12574         * posix/fnmatch.c: Include string.h unconditionally.
12576 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12578         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12579         reversal.
12581 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12583         * sysdeps/generic/safe-fatal.h: New file.
12584         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12585         * nptl/forward.c: Include it.
12586         (__pthread_unwind): Use __safe_fatal as default action, rather
12587         than a bogus use of INTERNAL_SYSCALL that could never work.
12589         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12590         * configure.ac (libc_cv_builtin_trap): New test.
12591         * configure: Regenerated.
12592         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12593         (ABORT_INSTRUCTION): Define using __builtin_trap.
12595         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12596         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12597         * sysdeps/nptl/nptl-signals.h: New file.
12598         * nptl/pthreadP.h: Include <nptl-signals.h>.
12600 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12602         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12603         (ONE_DIRECTION): Define.
12604         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12605         (ONE_DIRECTION): Define.
12606         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12607         (ONE_DIRECTION): Define.
12609 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12611         * sysdeps/s390/Makefile: Delete file.
12612         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12613         * sysdeps/s390/__longjmp.c: Delete file.
12614         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12615         Remove fields __flags and __reserved.
12616         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12617         and add versioning.
12618         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12619         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12620         * sysdeps/s390/rtld-setjmp.S: Likewise.
12621         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12622         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12623         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12624         * sysdeps/s390/s390-32/setjmp.S: ... here.
12625         Add versioning.
12626         (__sigsetjmp): Remove setting __flags field.
12627         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12628         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12629         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12630         * sysdeps/s390/s390-64/setjmp.S: ... here.
12631         Add versioning.
12632         (__sigsetjmp): Remove setting __flags field.
12633         * sysdeps/s390/setjmp.S: Delete file.
12634         * sysdeps/s390/sigjmp.c: Likewise.
12635         * sysdeps/s390/v1-longjmp.c: Likewise.
12636         * sysdeps/s390/v1-setjmp.h: Likewise.
12637         * sysdeps/s390/v1-sigjmp.c: Likewise.
12638         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12639         Remove v1-longjmp_chk.
12640         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12641         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12642         Include debug/longjmp_chk.c and add versioning.
12643         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12644         Include nptl/pt-longjmp.c and add versioning.
12645         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12646         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12647         Include __longjmp.c.
12648         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12649         Move to ...
12650         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12651         (__getcontext): Remove setting __flags field.
12652         Add versioning.
12653         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12654         Don't restore upper high grps.
12655         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12656         Likewise.
12657         (__swapcontext): Remove setting uc_flags field.
12658         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12659         Delete file.
12660         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12661         Include __longjmp.c.
12662         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12663         Move to ...
12664         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12665         (__getcontext): Remove setting __flags field.
12666         Add versioning.
12667         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12668         (__swapcontext): Remove setting uc_flags field.
12669         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12670         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12671         Remove fields uc_high_gprs and __reserved.
12672         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12673         New file with reverted content.
12674         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12675         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12676         Regenerated.
12677         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12678         Regenerated.
12680 2014-07-31  Andreas Schwab  <schwab@suse.de>
12682         * config.h.in (HAVE_IFUNC): Define to 0.
12683         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12684         definedness.
12686 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12689         memmove-avx-unaligned, memcpy-avx-unaligned and
12690         mempcpy-avx-unaligned.
12691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12692         Add tests for AVX memcpy functions.
12693         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12694         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12695         memcpy_chk.
12696         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12697         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12698         memmove_chk.
12699         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12700         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12701         mempcpy_chk.
12702         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12703         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12704         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12706 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12708         [BZ #17213]
12709         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12710         powerpc64le.
12712 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12714         [BZ #16839]
12715         * manual/llio.texi: Add section about open file description locks.
12716         * manual/examples/ofdlocks.c: Example of open file description
12717         lock usage.
12718         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12719         F_OFD_SETLK, and F_OFD_SETLKW.
12721 2014-07-23  Allan McRae  <allan@archlinux.org>
12723         * po/es.po: Update Spanish translation from translation project.
12725 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12727         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12729 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12731         [BZ #17078]
12732         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12733         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12734         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12736 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12738         [BZ #17088]
12739         * math/fesetenv.c (__fesetenv)
12740         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12741         * math/feupdateenv.c (__feupdateenv)
12742         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12744         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12745         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12746         (__ASSUME_SOCKETCALL): Do not define.
12748         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12749         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12750         (__ASSUME_SOCKETCALL): Do not define.
12751         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12752         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12753         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12754         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12756         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12758         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12760         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12761         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12762         (__ASSUME_SOCKETCALL): Do not define.
12763         (__ASSUME_IPC64): Define unconditionally.
12764         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12765         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12766         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12767         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12768         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12769         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12770         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12771         Likewise.
12773         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12774         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12775         (__ASSUME_SOCKETCALL): Do not define.
12776         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12777         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12778         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12779         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12780         (__ASSUME_REQUEUE_PI): Define unconditionally.
12781         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12782         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12783         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12784         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12785         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12786         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12788         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12789         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12790         (__ASSUME_SOCKETCALL): Do not define.
12791         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12792         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12793         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12794         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12795         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12796         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12798         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12799         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12800         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12801         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12803         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12804         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12805         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12806         (__ASSUME_GETCPU_SYSCALL): Likewise.
12808         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12809         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12810         cases for individual architectures.
12811         * sysdeps/gnu/configure: Regenerated.
12812         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12813         LIBC_SLIBDIR_RTLDDIR.
12814         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12815         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12816         LIBC_SLIBDIR_RTLDDIR.
12817         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12819         LIBC_SLIBDIR_RTLDDIR.
12820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12821         Regenerated.
12822         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12823         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12824         file.
12825         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12826         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12827         file.
12828         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12829         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12830         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12831         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12833         * sysdeps/aarch64/shlib-versions: Move to ...
12834         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12835         * sysdeps/alpha/shlib-versions: Move to ...
12836         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12837         * sysdeps/arm/shlib-versions: Move to ...
12838         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12839         * sysdeps/hppa/shlib-versions: Move all contents except for
12840         libgcc_s entry to ...
12841         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12842         entry from ...
12843         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12844         * sysdeps/ia64/shlib-versions: Move to ...
12845         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12846         entry from ...
12847         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12848         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12849         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12850         * sysdeps/microblaze/shlib-versions: Move to ...
12851         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12852         * sysdeps/mips/shlib-versions: Move to ...
12853         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12854         entry from ...
12855         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12856         * sysdeps/tile/shlib-versions: Move to ...
12857         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12858         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12859         from ...
12860         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12861         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12862         entry from ...
12863         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12865 2014-07-17  Will Newton  <will.newton@linaro.org>
12867         * sysdeps/arm/bits/atomic.h
12868         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12869         (__arch_compare_and_exchange_bool_16_int): Likewise.
12870         (__arch_compare_and_exchange_bool_64_int): Likewise.
12872         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12873         into an #else block.
12875 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12877         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12878         just Linux configurations.  Test empirically that the compiler sets
12879         __ARM_EABI__, rather than using the tuple to decide.
12880         * sysdeps/arm/preconfigure: Regenerated.
12881         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12882         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12883         contents appended ...
12884         * sysdeps/arm/configure.ac: ... here.
12885         * sysdeps/arm/configure: Regenerated.
12887 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12889         * nptl/pthread_kill.c: New file.
12890         * nptl/pthread_sigmask.c: New file.
12891         * nptl/pthread_sigqueue.c: New file.
12893         * sysdeps/nptl/lowlevellock.h: New file.
12894         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12895         * sysdeps/nptl/lowlevellock-futex.h: New file.
12897         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12898         Remove dead declarations.
12900 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12902         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12903         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12904         config-cflags-avx2.
12905         * sysdeps/x86_64/configure.ac: Likewise.
12906         * sysdeps/i386/configure: Regenerated.
12907         * sysdeps/x86_64/configure: Likewise.
12908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12909         memset-avx2 only if config-cflags-avx2 is yes.
12910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12911         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12912         defined.
12913         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12914         only if HAVE_AVX2_SUPPORT is defined.
12915         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12917 2014-07-14  Alan Modra  <amodra@gmail.com>
12919         [BZ #17153]
12920         * elf/elf.h (DT_PPC64_NUM): Correct value.
12921         * NEWS: Add to fixed bug list.
12923 2014-07-13  Jim Meyering  <meyering@fb.com>
12925         [BZ 17150]
12926         regex: don't deref NULL upon heap allocation failure
12927         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12928         failure in one more place.
12929         To trigger the segfault, configure grep -with-included-regex,
12930         build it, and run these commands:
12931         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12933 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12935         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12937 2014-07-11  Richard Henderson  <rth@redhat.com>
12939         * sysdeps/aarch64/libm-test-ulps: Update.
12941 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12943         [BZ #17135]
12944         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12945         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12946         (__nptl_setxid): Initialize error member.  Call
12947         __nptl_setxid_error.
12948         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12949         * nptl/descr.h (struct xid_command): Add error member.
12950         * nptl/tst-setuid3.c: New file.
12951         * nptl/Makefile (tests): Add it.
12953 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12955         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12956         New define.
12957         (__lll_trylock): Use __lll_base_trylock.
12958         (__lll_cond_trylock): Likewise.
12960 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12962         * nptl/pthread_create.c (start_thread): Use atomic_or and
12963         lll_futex_wake directly rather than lll_robust_dead.
12964         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12965         (lll_robust_dead): Macro removed.
12966         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12967         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12968         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12969         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12970         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12971         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12972         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12973         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12974         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12976         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12977         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12978         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12979         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12980         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12982         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12983         Use atomic_compare_and_exchange_val_acq directly rather than
12984         lll_robust_trylock.
12985         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12986         (__lll_robust_trylock, lll_robust_trylock): Removed.
12987         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12988         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12989         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12990         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12991         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12992         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12993         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12994         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12996         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12997         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12998         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12999         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13002 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13004         * manual/locale.texi (Locale Names): New section documenting
13005         locale name syntax.  Adjust menu and node chaining accordingly.
13006         (Choosing Locale): Reference Locale Names, Locale Categories.
13007         Mention setting LC_ALL=C.  Reflect that name syntax is now
13008         documented.
13009         (Locale Categories): New section title.  Reference Locale Names.
13010         LC_ALL is an environment variable, but not a category.
13011         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13012         description, now in Locale Name.  Reference that section.  Locale
13013         name syntax is now documented.
13015 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13017         [BZ #17137]
13018         * locale/findlocale.c (name_present, valid_locale_name): New
13019         functions.
13020         (_nl_find_locale): Use the loc_name variable to store name
13021         candidates.  Call name_present and valid_locale_name to check and
13022         validate locale names.  Return an error if the locale is invalid.
13024 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13026         * locale/setlocale.c (setlocale): Use strdup for allocating
13027         composite name copy.
13029 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13031         Sync up with gnulib.
13032         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13033         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13034         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13035         and _GL_ARG_NONNULL.
13036         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13037         [!_LIBC]: Include code for Windows and Cygwin.
13038         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13039         Include prototype for int strerror_r.
13040         [!_LIBC] (is_open): New function.
13041         (flush_stdout): New function.
13042         (print_errno_message): Use it.
13043         (error): Likewise.
13044         (error_at_line): Likewise.
13045         (error_tail) Add function attribute macros.  Use
13046         __builtin_expect.
13048         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13050         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13052         * io/ftw.c: Include sys/param.h unconditionally.
13054         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13056         [BZ #17125]
13057         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13058         libc_freeres_ptr.
13059         (freecache): New function to free CACHE on exit.
13061         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13062         initialization.
13064 2014-07-09  David S. Miller  <davem@davemloft.net>
13066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13068         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13069         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13070         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13071         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13072         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13073         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13074         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13075         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13076         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13077         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13078         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13079         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13080         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13082 2014-07-09  Andreas Schwab  <schwab@suse.de>
13084         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13085         output.
13086         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13087         (do_test): Likewise.
13089         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13091 2014-07-09  Will Newton  <will.newton@linaro.org>
13093         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13094         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13095         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13096         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13097         * sysdeps/hppa/start.S (_start): Likewise.
13099 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13101         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13103         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13104         defined.
13106 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13108         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13109         after checking that it is non-NULL.
13111         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13113 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13115         * sysdeps/powerpc/memmove.c: Remove file.
13116         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13117         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13118         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13119         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13120         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13121         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13122         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13123         string memmove instead of removed powerpc one.
13125         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13126         [weak_alias]: Fix compiler warning due trailing data.
13127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13128         [weak_alias]: Likewise.
13129         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13130         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13133         (__libc_ifunc_impl_list): Add memmove functions.
13135 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13137         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13138         Remove code.
13139         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13140         Likewise
13141         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13142         Likewise
13143         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13144         Likewise
13145         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13146         Likewise
13147         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13148         Likewise
13149         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13150         Likewise
13151         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13152         Likewise
13153         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13154         Likewise
13155         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13156         Likewise
13157         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13158         Likewise
13159         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13160         Likewise
13161         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13162         Likewise
13163         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13164         Likewise
13165         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13166         Likewise
13167         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13168         Likewise
13169         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13170         Likewise
13172 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13174         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13175         to avoid alignment traps in non-cacheable memory.
13176         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13179         multiarch objects.
13180         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13181         file: multiarch power7 memmove.
13182         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13183         multiarch default memmove.
13184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13185         multiarch memove for powerpc32/power4.
13187         * string/bcopy.c: Use full path to include memmove.c.
13188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13189         multiarch objects.
13190         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13191         bcopy for powerpc64.
13192         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13193         bcopy for powerpc64.
13194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13195         and memmove implementations.
13196         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13197         optimized multiarch memmove for POWER7/powerpc64.
13198         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13199         default multiarch memmove for powerpc64.
13200         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13201         multiarch for powerpc64.
13202         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13203         for POWER7/powerpc64.
13204         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13205         memmove for POWER7/powerpc64.
13207         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13208         glibc default one.
13210         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13211         __ELF_NATIVE_CLASS equal to 64.
13213 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13215         * sysdeps/nptl/lowlevellock.h: File removed.
13217         * NEWS: NPTL is no longer an add-on!
13218         * nptl/internaltypes.h: Moved ...
13219         * sysdeps/nptl/internaltypes.h: ... here.
13220         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13221         * sysdeps/nptl/fork.c: Likewise.
13222         * sysdeps/nptl/gai_misc.h: Likewise.
13223         * sysdeps/nptl/librt-cancellation.c: Likewise.
13224         * sysdeps/nptl/jmp-unwind.c: Likewise.
13225         * sysdeps/nptl/setxid.h: Likewise.
13226         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13227         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13228         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13229         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13230         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13231         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13232         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13233         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13234         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13235         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13236         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13237         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13238         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13239         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13240         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13241         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13242         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13243         * nptl/Makeconfig: Moved ...
13244         * sysdeps/nptl/Makeconfig: ... here.
13245         * nptl/configure: File removed.
13246         * nptl/ANNOUNCE: File removed.
13247         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13248         * sysdeps/unix/sysv/linux/configure: Regenerated.
13250         * nptl/Makefile (routines): Add libc_pthread_init,
13251         libc_multiple_threads, register-atfork and unregister-atfork.
13252         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13253         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13254         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13255         pthread-pi-defines.sym, structsem.sym.
13256         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13257         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13258         [$(subdir) = nptl] (tests): Add tst-setgetname.
13259         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13260         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13261         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13262         [!LIBC_SIGACTION]: Remove aliases.
13263         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13264         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13265         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13266         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13267         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13268         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13271         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13272         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13273         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13274         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13275         __libc_allocate_rtsig_private.
13276         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13277         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13278         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13279         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13280         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13281         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13282         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13283         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13284         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13285         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13286         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13287         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13288         * nptl/internaltypes.h: ... here.
13289         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13290         * sysdeps/nptl/jmp-unwind.c: ... here.
13291         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13292         * nptl/libc-lowlevellock.c: ... here.
13293         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13294         * nptl/libc_multiple_threads.c: ... here.
13295         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13296         * nptl/libc_pthread_init.c: ... here.
13297         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13298         * nptl/lowlevelbarrier.sym: ... here.
13299         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13300         * nptl/lowlevelcond.sym: ... here.
13301         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13302         * nptl/lowlevellock.c: ... here.
13303         * nptl/lowlevellock.h: Moved ...
13304         * sysdeps/nptl/lowlevellock.h: ... here.
13305         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13306         * nptl/lowlevelrobustlock.c: ... here.
13307         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13308         * nptl/lowlevelrobustlock.sym: ... here.
13309         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13310         * nptl/lowlevelrwlock.sym: ... here.
13311         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13312         * nptl/pt-fork.c: ... here.
13313         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13314         * nptl/pthread-pi-defines.sym: ... here.
13315         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13316         * nptl/pthread_attr_getaffinity.c: ... here.
13317         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13318         * nptl/pthread_attr_setaffinity.c: ... here.
13319         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13320         * nptl/pthread_mutex_cond_lock.c: ... here.
13321         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13322         Update #include.
13323         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13324         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13325         * nptl/pthread_once.c: ... here, replacing old file.
13326         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13327         * nptl/pthread_yield.c: ... here.
13328         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13329         * nptl/register-atfork.c: ... here.
13330         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13331         * nptl/sem_post.c: ... here.
13332         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13333         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13334         * nptl/sem_timedwait.c: ... here.
13335         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13336         * nptl/sem_trywait.c: ... here.
13337         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13338         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13339         * nptl/sem_wait.c: ... here.
13340         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13341         * nptl/structsem.sym: ... here.
13342         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13343         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13344         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13345         * nptl/unregister-atfork.c: ... here.
13346         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13347         * nptl/unwindbuf.sym: ... here.
13348         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13349         * sysdeps/nptl/fork.c: ... here.
13350         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13351         * sysdeps/nptl/fork.h: ... here.
13352         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13353         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13354         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13355         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13356         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13357         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13358         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13359         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13360         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13361         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13362         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13363         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13364         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13365         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13366         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13367         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13368         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13369         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13370         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13371         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13372         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13373         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13374         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13375         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13376         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13377         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13378         * sysdeps/unix/sysv/linux/raise.c: ... here.
13379         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13380         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13381         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13382         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13383         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13384         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13385         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13386         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13387         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13388         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13389         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13390         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13391         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13392         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13393         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13395 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13397         * sysdeps/generic/memcopy.h: Add comment for
13398         MEMCPY_OK_FOR_FWD_MEMMOVE.
13400 2014-07-04  Will Newton  <will.newton@linaro.org>
13402         * string/memchr.c: Merge from gnulib.
13403         [_LIBC]: Remove conditionals.
13404         (__ptr_t): Remove define.
13405         (LONG_MAX_32_BITS): Likewise.
13406         (LONG_MAX): Likewise.
13407         (MEMCHR): Use ANSI prototype and optimize algorithm.
13409         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13411 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13413         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13414         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13416         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13417         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13418         in a bare environment with no <stdlib.h> installed.
13419         * sysdeps/nptl/configure: Regenerated.
13421         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13423         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13424         AC_EGREP_CPP for kernel header checks, so they only succeed if
13425         including <linux/version.h> actually works right.
13426         * sysdeps/unix/sysv/linux/configure: Regenerated.
13428         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13429         value so it's not diagnosed as unused.
13431         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13432         thing) with "ifeq ($(subdir),rt)".
13434 2014-07-03  Richard Henderson  <rth@redhat.com>
13436         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13437         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13438         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13440         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13441         (math_force_eval): New.
13443         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13444         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13446         * sysdeps/alpha/fpu/s_round.c: Remove file.
13447         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13449         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13450         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13451         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13452         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13453         (_dl_start, print_statistics): Likewise.
13454         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13455         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13457         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13458         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13459         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13460         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13461         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13462         (HP_SMALL_TIMING_AVAIL): Define.
13463         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13464         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13465         (HP_SMALL_TIMING_AVAIL): Define.
13466         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13467         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13469         * sysdeps/aarch64/hp-timing.h: New file.
13471         * sysdeps/generic/hp-timing.h: Remove dead comment.
13472         * sysdeps/generic/hp-timing-common.h: New file.
13473         * sysdeps/alpha/hp-timing.h: Include it.
13474         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13475         * sysdeps/i386/i686/hp-timing.h: Likewise.
13476         * sysdeps/ia64/hp-timing.h: Likewise.
13477         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13478         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13479         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13480         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13481         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13482         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13483         (hp_timing_t): New.
13485         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13486         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13487         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13488         * elf/rtld.c (_dl_start_final): Likewise.
13489         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13490         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13491         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13492         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13493         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13494         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13495         (HP_TIMING_DIFF_INIT): Remove.
13496         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13497         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13498         (HP_TIMING_DIFF_INIT): Remove.
13499         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13500         * sysdeps/i386/i686/hp-timing.c: Remove file.
13501         * sysdeps/x86_64/hp-timing.c: Remove file.
13502         * sysdeps/ia64/hp-timing.c: Remove file.
13503         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13504         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13505         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13506         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13508         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13509         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13510         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13511         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13513         (HP_TIMING_ACCUM): Remove.
13514         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13515         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13516         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13518         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13519         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13520         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13521         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13522         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13523         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13524         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13525         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13527         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13529 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13531         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13533 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13535         Sync up with gettext.
13536         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13537         [_MSC_VER]: Include malloc.h
13538         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13539         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13540         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13541         TEMP_FAILURE_RETRY.  Cast return of alloca.
13542         [!_LIBC] Call gl_rwlock_init.
13543         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13545 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13547         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13548         before checking its value.
13550 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13552         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13554         * debug/memcpy_chk.c: Don't include pagecopy.h.
13555         * debug/mempcpy_chk.c: Likewise.
13556         * string/memcpy.c: Likewise.
13557         * string/memmove.c: Likewise.
13558         * sysdeps/powerpc/memmove.c: Likewise.
13559         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13560         definition of PAGE_COPY_FWD_MAYBE here...
13561         * sysdeps/generic/pagecopy.h: ... from here.
13562         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13564 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13565             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13567         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13569         optimizations.
13570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13571         (__libc_ifunc_impl_list): Likewise.
13572         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13573         multiarch strcat for PPC64.
13574         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13575         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13577 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13579         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13581 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13583         * intl/loadmsgcat.c: Remove declaration of
13584         get_sysdep_segment_value.
13585         (get_sysdep_segment_value): Use ISO C style.
13586         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13587         semicolon.  Fix typo and formatting in comment.
13588         (_nl_unload_domain): Use ISO C style.
13590         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13592 2014-07-02  Will Newton  <will.newton@linaro.org>
13594         * malloc/obstack.c: Merge from gnulib master.
13595         [HAVE_CONFIG_H]: Remove conditional code.
13596         [!_LIBC]: Include config.h.
13597         [!ELIDE_CODE]: Don't include inttypes.h, include
13598         stdint.h unconditionally.
13599         (print_and_abort): Mark as _Noreturn.
13600         (_obstack_allocated_p): Mark as __attribute_pure__.
13601         (obstack_free): Rename to __obstack_free.
13602         [!__attribute__]: Remove conditional code.
13603         * malloc/obstack.h: Merge from gnulib master.
13604         [__cplusplus]: Move conditional down.
13605         [!__attribute_pure__]: Define __attribute_pure__ here
13606         if it is not already defined.
13607         (_obstack_memory_used): Mark as __attribute_pure__.
13608         [!__obstack_free]: Define as obstack_free.
13609         [__GNUC__]: Remove check for ancient NeXT gcc.
13611 2014-07-02  Will Newton  <will.newton@linaro.org>
13612             Paul Eggert  <eggert@cs.ucla.edu>
13614         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13616 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         * resolv/gethnamaddr.c: Add comment warning that the file is
13619         not maintained.
13621 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13623         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13624         entries.
13626         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13627         entry for aio_cancel and aio_cancel64.
13628         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13629         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13630         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13631         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13632         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13633         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13634         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13635         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13636         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13637         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13638         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13639         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13640         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13642 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13644         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13645         * nptl/pthread_mutex_lock.c: Likewise.
13646         * nptl/pthread_mutex_timedlock.c: Likewise.
13647         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13649 2014-07-01  Richard henderson  <rth@redhat.com>
13651         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13652         (__isnan, __isnanl): Remove.
13653         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13655         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13657 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13659         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13661 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13663         * resolv/nss_dns/dns-host.c (getanswer_r)
13664         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13666 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13668         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13669         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13670         undefine.
13671         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13672         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13674 2014-07-01  Roland McGrath <roland@hack.frob.com>
13676         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13677         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13679         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13680         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13682         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13683         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13684         ... here.
13685         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13686         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13688         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13689         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13690         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13691         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13693         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13694         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13695         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13696         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13697         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13698         Moved ...
13699         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13700         ... here.
13701         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13702         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13703         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13704         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13705         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13706         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13707         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13708         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13709         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13710         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13711         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13712         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13713         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13714         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13715         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13716         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13717         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13718         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13719         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13720         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13721         ... here.
13722         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13723         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13724         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13725         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13726         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13727         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13728         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13729         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13731 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13733         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13734         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13735         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13736         Add sysdep.
13738 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13742 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13744         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13747         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13749         * sysdeps/arm/libm-test-ulps: Regenerated.
13751 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13752             Roland McGrath <roland@hack.frob.com>
13754         * test-skeleton.c (signal_handler): Kill the whole process group
13755         before killing the child individually.
13756         (main): Report any failure on `setpgid'.
13758 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13760         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13761         from _TLS_H to _ARM_NPTL_TLS_H.
13762         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13763         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13765 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #16539]
13768         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13769         (__expm1l): Return argument unchanged when small but not
13770         subnormal.
13772         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13773         include macro name.
13774         (_FP_UNPACK_RAW_1_P): Likewise.
13775         (_FP_PACK_RAW_1): Likewise.
13776         (_FP_PACK_RAW_1_P): Likewise.
13777         (_FP_MUL_MEAT_1_wide): Likewise.
13778         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13779         (_FP_MUL_MEAT_1_hard): Likewise.
13780         (_FP_DIV_MEAT_1_imm): Likewise.
13781         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13782         (_FP_DIV_MEAT_1_udiv): Likewise.
13783         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13784         (_FP_UNPACK_RAW_2): Likewise.
13785         (_FP_UNPACK_RAW_2_P): Likewise.
13786         (_FP_PACK_RAW_2): Likewise.
13787         (_FP_PACK_RAW_2_P): Likewise.
13788         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13789         (_FP_MUL_MEAT_2_wide): Likewise.
13790         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13791         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13792         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13793         (_FP_MUL_MEAT_2_gmp): Likewise.
13794         (_FP_DIV_MEAT_2_udiv): Likewise.
13795         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13796         (_FP_FRAC_SRL_4): Likewise.
13797         (_FP_FRAC_SRST_4): Likewise.
13798         (_FP_FRAC_SRS_4): Likewise.
13799         (_FP_UNPACK_RAW_4): Likewise.
13800         (_FP_UNPACK_RAW_4_P): Likewise.
13801         (_FP_PACK_RAW_4): Likewise.
13802         (_FP_PACK_RAW_4_P): Likewise.
13803         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13804         (_FP_MUL_MEAT_4_wide): Likewise.
13805         (_FP_MUL_MEAT_4_gmp): Likewise.
13806         (umul_ppppmnnn): Likewise.
13807         (_FP_DIV_MEAT_4_udiv): Likewise.
13808         (__FP_FRAC_ADD_4): Likewise.
13809         (__FP_FRAC_SUB_3): Likewise.
13810         (__FP_FRAC_SUB_4): Likewise.
13811         (__FP_FRAC_DEC_3): Likewise.
13812         (__FP_FRAC_DEC_4): Likewise.
13813         (__FP_FRAC_ADDI_4): Likewise.
13814         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13815         (_FP_FRAC_SRL_8): Likewise.
13816         (_FP_FRAC_SRS_8): Likewise.
13818         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13819         include macro name.
13820         (FP_UNPACK_RAW_EP): Likewise.
13821         (FP_PACK_RAW_E): Likewise.
13822         (FP_PACK_RAW_EP): Likewise.
13823         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13824         (_FP_ISSIGNAN): Likewise.
13825         (_FP_ADD_INTERNAL): Likewise.
13826         (_FP_FMA): Likewise.
13827         (_FP_CMP): Likewise.
13828         (_FP_SQRT): Likewise.
13829         (_FP_TO_INT): Likewise.
13830         (_FP_FROM_INT): Likewise.
13831         (FP_EXTEND): Likewise.
13832         (_FP_DIV_MEAT_N_loop): Likewise.
13834 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13836         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13837         throughout.
13839 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13841         [BZ #17097]
13842         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13843         result with correct sign in case of exponents that produce
13844         overflow except for X very close to 1.
13846 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13848         mktime: merge #if/#ifdef usage from glibc
13849         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13850         as that works with both Glibc's and Gnulib's style.
13851         See thread starting at Siddhesh Poyarekar's bug report at:
13852         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13854 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13856         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13857         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13858         * sysdeps/tile/tilegx/memmove.c: Remove file.
13860 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13862         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13863         abi-name definition.
13864         * scripts/soversions.awk: Do not handle or generate ABI lines.
13865         * shlib-versions: Remove ABI entries.
13866         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13867         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13869 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13872         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13873         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13874         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13876         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13878         Moved ...
13879         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13880         ... here.
13881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13882         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13884         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13885         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13886         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13887         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13888         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13890         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13892         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13894         Moved ...
13895         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13897         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13899         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13901         Moved ...
13902         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13904         Moved ...
13905         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13907         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13909         Moved ...
13910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13912         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13914         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13916         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13918         Moved ...
13919         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13921         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13922         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13923         Moved ...
13924         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13925         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13926         Moved ...
13927         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13928         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13929         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13930         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13931         Moved ...
13932         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13933         ... here.
13934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13935         Identical file removed.
13936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13937         Moved ...
13938         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13940         Identical file removed.
13941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13942         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13943         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13944         Moved ...
13945         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13947         Identical file removed.
13948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13949         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13950         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13951         Identical file removed.
13952         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13953         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13955         Identical file removed.
13956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13957         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13959         Identical file removed.
13960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13961         Moved ...
13962         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13963         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13964         Identical file removed.
13965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13966         Moved ...
13967         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13969         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13970         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13971         Identical file removed.
13972         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13973         Moved ...
13974         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13975         ... here.
13976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13977         Identical file removed.
13978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13979         Moved ...
13980         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13982         Identical file removed.
13983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13984         Moved ...
13985         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13987         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13989         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13991         Moved ...
13992         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13993         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13994         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13996         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13997         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13998         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13999         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14000         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14002 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14004         [BZ #17092]
14005         * nscd/nscd.c (monitor_child): Return exit status of child
14006         instead of return value from wait syscall.
14008 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14010         * configure.ac (libc_commonpagesize): Remove variable.
14011         (libc_relro_required): Likewise.
14012         (libc_cv_z_relro): Remove configure test.
14013         * configure: Regenerated.
14014         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14015         variable.
14016         (libc_relro_required): Likewise.
14017         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14018         (libc_relro_required): Likewise.
14019         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14020         (libc_relro_required): Likewise.
14021         * sysdeps/arm/preconfigure: Regenerated.
14022         * sysdeps/ia64/preconfigure: Remove file.
14023         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14024         variable.
14025         (libc_relro_required): Likewise.
14027         [BZ #16561]
14028         [BZ #16562]
14029         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14030         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14031         recompute overflowing results in original rounding mode.
14032         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14033         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14034         recompute overflowing results in original rounding mode.
14035         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14036         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14037         recompute overflowing results in original rounding mode.
14038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14039         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14040         recompute overflowing results in original rounding mode.
14041         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14042         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14043         recompute overflowing results in original rounding mode.
14044         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14045         (libc_feholdsetround_ctx): New macro.
14046         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14047         * sysdeps/i386/fpu/libm-test-ulps: Update.
14048         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14050 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14052         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14053         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14054         corresponding .cpsetup call.
14056 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14058         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14059         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14060         * sysdeps/arm/Makefile [$(subdir) = csu]
14061         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14062         (static-only-routines): Add aeabi_read_tp here.
14063         (shared-only-routines): Add libc-aeabi_read_tp here.
14064         (CFLAGS-libc-start.c): Add -fexceptions here.
14065         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14066         (sysdep_routines, static-only-routines, shared-only-routines):
14067         Don't add to these here.
14068         (CFLAGS-libc-start.c): Likewise.
14070         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14071         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14072         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14073         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14074         * sysdeps/arm/Makefile [$(subdir) = rt]
14075         (librt-sysdep_routines, librt-shared-only-routines):
14076         Append rt-aeabi_unwind_cpp_pr1 here.
14077         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14078         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14079         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14080         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14081         Append nptl-aeabi_unwind_cpp_pr1 here.
14082         (tests): Filter out tst-cleanupx4 here.
14083         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14084         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14085         Don't do those here.
14087 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14089         * scripts/list-sources.sh: Do not handle ports specially.
14091 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14093         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14094         * sysdeps/arm/feupdateenv.c: Likewise.
14096         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14098 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14100         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14101         trailing whitespace removed.
14102         * scripts/config.guess: Update to version 2014-03-23.
14103         * scripts/config.sub: Update to version 2014-05-01
14104         * scripts/install-sh: Update to version 2013-12-25.23.
14105         * scripts/move-if-change: Update from gnulib.
14107 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14109         * debug/memmove_chk.c: Remove pagecopy.h include.
14111 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14113         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14114         identical to gnulib mktime.
14116 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14118         * configure.ac: Do not test for machine being rs6000.  Do not test
14119         for powerpc*-*soft.
14120         * configure: Regenerated.
14122         [BZ #11505]
14123         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14124         test.
14125         * configure: Regenerated.
14126         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14127         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14128         Remove configure test.
14129         * sysdeps/arm/configure: Regenerated.
14130         * sysdeps/nptl/configure.ac: Do not check
14131         libc_cv_asm_cfi_directives.
14132         * sysdeps/nptl/configure: Regenerated.
14133         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14134         * sysdeps/x86_64/nptl/configure: Remove generated file.
14135         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14136         unconditional.
14137         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14139 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14141         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14142         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14143         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14144         it is defined.
14146         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14147         instead of whether it is defined.
14148         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14149         * sysdeps/hppa/dl-machine.h: Likewise.
14150         * sysdeps/ia64/dl-machine.h: Likewise.
14151         * sysdeps/m68k/dl-machine.h: Likewise.
14152         * sysdeps/microblaze/dl-machine.h: Likewise.
14153         * sysdeps/mips/dl-machine.: Likewise.
14154         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14155         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14156         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14157         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14158         * sysdeps/sh/dl-machine.h: Likewise.
14159         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14160         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14161         * sysdeps/tile/dl-machine.h: Likewise.
14162         * sysdeps/x86_64/dl-machine.h: Likewise.
14164         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14165         code.
14166         (verify_persistent_db): Likewise.
14168 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14171         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14173         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14175         Moved ...
14176         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14177         ... here.
14178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14179         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14181         Identical file removed.
14182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14183         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14185         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14187         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14189         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14193         Moved ...
14194         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14196         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14198         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14200         Moved ...
14201         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14205         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14207         Identical file removed.
14208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14209         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14211         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14213         Moved ...
14214         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14215         ... here.
14216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14217         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14219         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14223         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14225         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14227         Moved ...
14228         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14230         Moved ...
14231         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14233         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14235         Moved ...
14236         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14238         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14240         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14241         folded into ...
14242         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14243         * sysdeps/unix/sysv/linux/s390/Versions
14244         (libpthread: GLIBC_2.19): New version set.
14245         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14246         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14247         (librt: GLIBC_2.3.3): New version set.
14248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14249         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14250         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14251         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14252         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14253         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14254         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14255         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14256         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14257         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14258         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14259         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14260         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14261         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14262         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14263         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14264         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14265         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14266         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14267         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14268         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14269         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14270         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14272         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14274         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14276         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14278         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14279         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14283         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14284         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14286         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14288         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14290         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14292         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14294         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14295         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14296         (__libc_vfork): Define the function under this name.
14297         [!NOT_IN_libc] (__vfork): Make this an alias.
14298         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14299         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14300         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14301         (__libc_vfork): Define the function under this name.
14302         [!NOT_IN_libc] (__vfork): Make this an alias.
14303         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14304         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14305         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14308         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14310         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14311         code that was previously under [RESET_PID].
14312         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14313         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14316         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14317         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14318         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14319         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14320         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14321         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14322         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14323         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14324         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14325         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14326         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14327         Moved ...
14328         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14330         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14334         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14338         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14340         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14341         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14342         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14343         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14344         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14345         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14346         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14347         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14348         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14349         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14350         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14351         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14352         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14353         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14354         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14356         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14358 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14360         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14361         that was previously under [RESET_PID].
14362         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14364 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14366         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14367         not undefine and redefine.
14368         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14369         [O_CLOEXEC]: Make code unconditional.
14370         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14371         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14372         <kernel-features.h>.
14373         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14374         conditional variable definition.
14375         (shm_open) [O_CLOEXEC]: Make code unconditional.
14376         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14377         code.
14379         * configure.ac (USE_REGPARMS): Don't define here.
14380         * configure: Regenerated.
14381         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14382         * sysdeps/i386/configure: Regenerated.
14384         * nptl/createthread.c: Don't include kernel-features.h.
14385         * nptl/pthread_cancel.c: Likewise.
14386         * nptl/pthread_condattr_setclock.c: Likewise.
14387         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14388         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14389         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14390         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14391         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14392         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14393         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14396         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14397         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14398         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14399         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14400         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14401         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14402         * nscd/gai.c: Likewise.
14403         * nss/nss_db/db-open.c: Likewise.
14404         * sysdeps/generic/ldsodefs.h: Likewise.
14405         * sysdeps/sh/nptl/tls.h: Likewise.
14406         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14407         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14408         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14409         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14410         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14411         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14412         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14413         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14414         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14415         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14416         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14417         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14418         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14419         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14420         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14421         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14422         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14423         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14424         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14425         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14427         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14428         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14429         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14434         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14435         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14436         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14437         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14438         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14439         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14440         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14441         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14442         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14443         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14444         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14445         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14446         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14447         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14448         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14449         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14450         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14451         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14452         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14453         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14454         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14455         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14456         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14457         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14458         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14459         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14460         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14461         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14462         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14463         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14486         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14487         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14488         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14489         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14490         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14492         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14493         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14494         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14495         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14496         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14497         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14498         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14499         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14500         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14501         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14502         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14503         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14504         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14505         * sysdeps/unix/sysv/linux/system.c: Likewise.
14506         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14507         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14508         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14509         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14510         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14511         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14512         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14514         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14515         * configure: Regenerated.
14516         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14518         * configure.ac (base_machine): Do not set specially for particular
14519         machines here.
14520         * configure: Regenerated.
14521         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14522         settings from configure.ac.
14523         * sysdeps/i386/preconfigure: New file.
14524         * sysdeps/s390/preconfigure: Likewise.
14525         * sysdeps/sh/preconfigure: Likewise.
14526         * sysdeps/sparc/preconfigure: Likewise.
14528 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14530         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14531         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14532         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14533         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14534         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14535         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14536         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14537         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14538         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14539         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14540         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14541         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14542         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14543         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14544         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14545         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14546         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14547         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14548         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14550         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14551         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14552         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14553         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14554         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14555         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14556         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14557         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14558         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14559         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14560         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14561         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14562         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14563         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14564         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14565         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14566         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14567         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14568         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14569         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14571         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14572         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14573         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14574         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14575         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14577         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14579         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14580         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14581         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14583         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14585         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14587         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14590         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14592         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14594         Moved ...
14595         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14596         ... here.
14597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14598         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14600         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14602         Moved ...
14603         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14605         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14607         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14609         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14611         Moved ...
14612         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14614         Moved ...
14615         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14617         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14619         Moved ...
14620         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14622         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14624         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14626         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14628         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14630         Moved ...
14631         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14632         ... here.
14633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14634         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14636         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14638         Moved ...
14639         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14641         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14643         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14645         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14647         Moved ...
14648         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14650         Moved ...
14651         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14653         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14655         Moved ...
14656         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14658         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14660         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14662 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14664         * timezone/checktab.awk: Update from tzcode 2014e.
14665         * timezone/private.h: Likewise.
14666         * timezone/tzfile.h: Likewise.
14667         * timezone/zdump.c: Likewise.
14668         * timezone/zic.c: Likewise.
14670         * sysdeps/unix/sysv/linux/kernel-features.h
14671         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14672         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14673         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14674         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14675         Remove conditional code.
14677 2014-06-25  Will Newton  <will.newton@linaro.org>
14679         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14680         (_dl_arm_cap_flags): Add HWCAP2 values.
14681         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14682         (_DL_HWCAP_COUNT): Increase to 37.
14683         (_DL_HWCAP_LAST): New define.
14684         (_DL_HWCAP2_LAST): New define.
14685         (_dl_procinfo): Add support for printing
14686         AT_HWCAP2 entries.
14687         (_dl_string_hwcap): Use _dl_hwcap_string.
14689 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14693 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14695         * README: Do not mention ports directory.
14697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14698         Remove macro.
14699         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14700         <kernel-features.h>.
14701         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14702         conditional variable definition.
14703         (__futimes): Update comment.
14704         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14705         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14707         [BZ #16560]
14708         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14709         arguments close to 0.
14710         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14711         Likewise.
14712         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14713         Likewise.
14714         * math/auto-libm-test-in: Add more tests of exp10.
14715         * math/auto-libm-test-out: Regenerated.
14716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14718         * sysdeps/unix/sysv/linux/kernel-features.h
14719         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14720         * sysdeps/unix/sysv/linux/readv.c: Do not include
14721         <kernel-features.h>.
14722         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14723         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14724         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14725         unconditional.
14726         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14727         conditional code.
14728         * sysdeps/unix/sysv/linux/writev.c: Do not include
14729         <kernel-features.h>.
14730         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14731         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14732         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14733         unconditional.
14734         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14735         conditional code.
14737 2014-06-25  Will Newton  <will.newton@linaro.org>
14739         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14740         comment changes throughout the file.  Remove checks
14741         for HAVE_*_H definitions that are not required.
14742         (__gen_tempname): Call abort if an unknown kind value is
14743         passed.
14745 2014-06-25  Andreas Schwab  <schwab@suse.de>
14747         [BZ #17086]
14748         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14749         scalbln, scalblnf, scalblnl in libc.
14751 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753         [BZ #17086]
14754         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14755         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14756         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14758 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14760         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14761         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14762         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14763         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14764         Update #include.
14765         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14766         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14767         Update #include.
14768         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14769         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14770         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14771         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14772         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14773         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14774         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14775         * sysdeps/x86/bits/semaphore.h: ... here.
14776         * sysdeps/x86/nptl/elide.h: Moved ...
14777         * sysdeps/x86/elide.h: ... here.
14778         * sysdeps/x86_64/nptl/Implies: File removed.
14779         * sysdeps/i386/nptl/Implies: File removed.
14781 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #16539]
14784         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14785         return the argument for normal arguments with exponent below -64.
14786         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14787         Likewise.
14788         * math/auto-libm-test-in: Add another test of expm1.
14789         * math/auto-libm-test-out: Regenerated.
14791         [BZ #16287]
14792         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14793         calling __erfcl for arguments at least 16.
14794         * math/auto-libm-test-in: Add more tests of erf.
14795         * math/auto-libm-test-out: Regenerated.
14797         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14798         individual architectures.
14799         * sysdeps/unix/sysv/linux/configure: Regenerated.
14800         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14801         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14802         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14803         (ldd_rewrite_script): Define variable.
14804         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14806         file.
14807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14808         generated file.
14809         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14810         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14811         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14812         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14813         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14814         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14815         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14816         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14818 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14820         [BZ #17084]
14821         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14822         Rename member __data.d to __data.__elision_data.
14824 2014-06-24  Wilco  <wdijkstr@arm.com>
14826         * NEWS: Add 16918 to fixed bug list.
14828 2014-06-24  Wilco  <wdijkstr@arm.com>
14830         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14832 2014-06-24  Wilco  <wdijkstr@arm.com>
14834         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14835         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14836         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14837         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14838         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14839         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14840         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14841         Use _FPU_MASK_RM.
14843 2014-06-24  Wilco  <wdijkstr@arm.com>
14845         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14847 2014-06-24  Wilco  <wdijkstr@arm.com>
14849         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14850         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14851         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14852         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14854 2014-06-24  Wilco  <wdijkstr@arm.com>
14856         [BZ #16918]
14857         * sysdeps/arm/feupdateenv.c (feupdateenv):
14858         Rewrite to reduce FPSCR accesses and fix return value.
14860 2014-06-24  Wilco  <wdijkstr@arm.com>
14862         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14863         Optimize to avoid unnecessary FPSCR writes.
14864         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14865         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14866         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14867         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14869 2014-06-24  Wilco  <wdijkstr@arm.com>
14871         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14872         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14873         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14874         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14875         Call libc_fetestexcept_vfp.
14876         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14877         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14878         __SOFTFP__ ifdef so that they can be built for softfp.
14880 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14882         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14883         argument type signed char.
14885         * Makerules (check-abi): Dump diff of symlist if the test
14886         fails.
14888 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14890         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14891         using abort.
14893         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14894         Remove unused variable ST.
14896 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14898         [BZ #16354]
14899         [BZ #17061]
14900         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14901         small arguments before calling __expm1.
14902         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14903         small arguments before calling __expm1f.
14904         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14905         small arguments before calling __expm1l.
14906         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14907         Likewise.
14908         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14909         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14910         spurious underflow for some cosh tests.
14911         * math/auto-libm-test-out: Regenerated.
14912         * sysdeps/i386/fpu/libm-test-ulps: Update.
14914         [BZ #17050]
14915         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14916         (__ieee754_y1): Set errno if return value overflows.
14917         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14918         (__ieee754_y1f): Set errno if return value overflows.
14919         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14920         (__ieee754_y1l): Set errno if return value overflows.
14921         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14922         (__ieee754_y1l): Set errno if return value overflows.
14923         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14924         * math/auto-libm-test-out: Regenerated.
14926         * math/gen-auto-libm-tests.c: Document use of
14927         ignore-zero-inf-sign.
14928         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14929         (input_flags): Add ignore-zero-inf-sign.
14930         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14931         * math/gen-libm-test.pl (generate_testfile): Handle
14932         ignore-zero-inf-sign.
14933         * math/auto-libm-test-in: Mark some cpow tests with
14934         ignore-zero-inf-sign and some with xfail-rounding.
14935         * math/auto-libm-test-out: Regenerated.
14936         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14937         * sysdeps/i386/fpu/libm-test-ulps: Update.
14938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14940         [BZ #16315]
14941         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14942         overflowing or underflowing operations take place with sign of
14943         result.
14944         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14945         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14946         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14947         (__ieee754_pow): Recompute overflowing and underflowing results in
14948         original rounding mode.
14949         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14950         (__powl_helper): Allow negative argument X and scale negated value
14951         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14952         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14953         overflowing or underflowing operations take place with sign of
14954         result.
14955         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14956         Include <math.h>.
14957         * math/auto-libm-test-in: Add more tests of pow.
14958         * math/auto-libm-test-out: Regenerated.
14959         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14960         (pow_tonearest_test_data): Remove.
14961         (pow_test_tonearest): Likewise.
14962         (pow_towardzero_test_data): Likewise.
14963         (pow_test_towardzero): Likewise.
14964         (pow_downward_test_data): Likewise.
14965         (pow_test_downward): Likewise.
14966         (pow_upward_test_data): Likewise.
14967         (pow_test_upward): Likewise.
14968         (main): Don't call removed functions.
14969         * sysdeps/i386/fpu/libm-test-ulps: Update.
14970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14975         Moved ...
14976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14978         Moved ...
14979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14981         Moved ...
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14984         Moved ...
14985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14987         File removed.
14988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14989         File removed.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14991         File removed.
14992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14993         File removed.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14995         File removed.
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14997         File removed.
14998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14999         File removed.
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15001         File removed.
15002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15003         File removed.
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15005         File removed.
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15007         File removed.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15009         File removed.
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15011         Moved ...
15012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15014         Moved ...
15015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15016         ... here.
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15018         Moved ...
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15021         Moved ...
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15024         Moved ...
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15027         Moved ...
15028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15030         Moved ...
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15033         Moved ...
15034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15036         Moved ...
15037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15040         ... here.
15041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15042         Moved ...
15043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15045         Moved ...
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15047         ... here.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15049         Moved ...
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15051         ... here.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15053         Moved ...
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15055         ... here.
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15057         Moved ...
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15060         Moved ...
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15065         Moved ...
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15067         ... here.
15068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15069         Moved ...
15070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15071         ... here.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15073         Moved ...
15074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15076         Moved ...
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15079         Moved ...
15080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15082         Moved ...
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15085         Moved ...
15086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15087         ... here.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15089         Moved ...
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15092         Moved ...
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15095         Moved ...
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15098         Moved ...
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15103         Moved ...
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15106         Moved ...
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15109         Moved ...
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15111         ... here.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15113         Moved ...
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15115         ... here.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15117         Moved ...
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15119         ... here.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15121         Moved ...
15122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15124         Moved ...
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15127         Moved ...
15128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15130         Moved ...
15131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15132         ... here.
15133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15134         Moved ...
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15136         ... here.
15137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15138         Moved ...
15139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15140         ... here.
15141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15142         Moved ...
15143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15145         Moved ...
15146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15148 2014-06-23  Will Newton  <will.newton@linaro.org>
15149             Wilco  <wdijkstr@arm.com>
15151         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15152         implementation.  Include get-rounding-mode.h.
15153         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15154         [!libc_feholdsetround_noex_ctx]: Define
15155         libc_feholdsetround_noex_ctx.
15156         [!libc_feholdsetround_noexf_ctx]: Define
15157         libc_feholdsetround_noexf_ctx.
15158         [!libc_feholdsetround_noexl_ctx]: Define
15159         libc_feholdsetround_noexl_ctx.
15160         (libc_feholdsetround_ctx): New function.
15161         (libc_feresetround_ctx): New function.
15162         (libc_feholdsetround_noex_ctx): New function.
15163         (libc_feresetround_noex_ctx): New function.
15165 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15167         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15168         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15169         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15170         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15171         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15172         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15174         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15175         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15176         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15177         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15178         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15179         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15181         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15183         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15185         Moved ...
15186         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15187         ... here.
15188         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15189         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15191         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15193         Moved ...
15194         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15196         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15198         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15200         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15202         Moved ...
15203         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15204         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15205         Moved ...
15206         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15208         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15210         Moved ...
15211         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15213         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15214         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15215         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15216         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15217         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15219         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15220         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15221         Moved ...
15222         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15223         ... here.
15224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15225         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15227         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15228         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15229         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15230         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15231         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15232         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15233         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15235         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15237         Moved ...
15238         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15240         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15242         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15244         Moved ...
15245         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15246         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15247         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15248         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15249         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15251         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15252         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15253         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15254         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15255         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15256         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15257         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15258         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15259         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15260         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15262         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15263         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15264         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15265         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15266         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15267         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15268         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15270         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15271         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15272         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15273         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15274         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15278         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15280 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15283         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15284         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15285         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15286         (IPV6_PMTUDISC_INTERFACE): Likewise.
15287         (IPV6_PMTUDISC_OMIT): Likewise.
15289 2014-06-23  Andreas Schwab  <schwab@suse.de>
15291         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15292         Remove unused errout label.
15294 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15296         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15297         macro: hardware supports Vector Crypto instructions.
15299 2014-06-23  Will Newton  <will.newton@linaro.org>
15301         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15302         rather than __builtin_expect.
15304         * elf/dl-lookup.c (undefined_msg): Remove variable.
15305         (_dl_lookup_symbol_x): Replace undefined_msg with string
15306         literal.
15308         * elf/dl-lookup.c (do_lookup_unique): New function.
15309         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15310         to a separate function.
15312 2014-06-23  Andreas Schwab  <schwab@suse.de>
15314         [BZ #17079]
15315         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15316         before reading the next line.
15318 2014-06-23  Will Newton  <will.newton@linaro.org>
15320         * test-skeleton.c (signal_handler): Use printf and %m
15321         rather than perror.  Use printf rather than fprintf to
15322         stderr.  Use puts rather than fputs to stderr.
15323         (main): Likewise.
15325 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15327         * nscd/nscd.c (thread_info_t): Remove typedef.
15328         (thread_info): Remove variable.
15330 2014-06-21  Allan McRae  <allan@archlinux.org>
15332         * NEWS: Mention CVE-2014-4043.
15334 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15336         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15337         * nptl/smp.h: ... here.
15339         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15341         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15342         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15343         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15344         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15346         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15347         * nptl/stack-aliasing.h: New file.
15348         * sysdeps/i386/i686/stack-aliasing.h: New file.
15349         * sysdeps/i386/i686/nptl/Makefile: File removed.
15350         * sysdeps/x86_64/stack-aliasing.h: New file.
15351         * sysdeps/x86_64/nptl/Makefile
15352         (CFLAGS-pthread_create.c): Variable removed.
15354         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15355         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15356         old file.
15357         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15358         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15359         old file.
15361 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15363         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15364         (__ASSUME_SIGFRAME_V2): Remove macro.
15365         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15366         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15367         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15368         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15369         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15370         Declare as function.  Remove conditional macro definitions.
15371         (__default_rt_sa_restorer): Likewise.
15372         (__default_sa_restorer_v1): Remove declaration.
15373         (__default_sa_restorer_v2): Likewise.
15374         (__default_rt_sa_restorer_v1): Likewise.
15375         (__default_rt_sa_restorer_v2): Likewise.
15376         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15377         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15378         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15380 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15382         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15383         (libpthread-routines): Add sysdep.
15384         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15385         * sysdeps/unix/sysv/linux/sparc/Versions
15386         (libpthread: GLIBC_2.3.3): New version set.
15387         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15388         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15389         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15390         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15391         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15392         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15393         Moved ...
15394         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15395         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15396         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15397         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15398         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15399         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15400         * sysdeps/sparc/nptl/sem_init.c: ... here.
15401         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15402         * sysdeps/sparc/nptl/sem_post.c: ... here.
15403         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15404         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15405         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15406         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15407         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15408         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15409         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15410         (libpthread-routines): Add cpu_relax.
15411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15412         File removed.
15413         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15414         (librt: GLIBC_2.3.3): New version set.
15415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15416         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15417         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15418         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15421         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15423         Moved ...
15424         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15426         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15428         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15430         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15432         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15434         Moved ...
15435         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15436         Update #include.
15437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15438         Moved ...
15439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15440         Update #include.
15441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15442         Moved ...
15443         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15444         Update #include.
15445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15446         Moved ...
15447         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15448         Update #include.
15449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15450         Moved ...
15451         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15452         Update #include.
15453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15454         Moved ...
15455         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15456         Update #include.
15457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15458         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15460         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15464         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15466         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15468         Moved ...
15469         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15471         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15473         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15475 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15477         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15478         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15479         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15480         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15481         * nscd/nscd.c: Likewise.
15482         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15483         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15484         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15485         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15487         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15488         <kernel-features.h>.
15489         (init_mq_netlink): Remove conditional have_sock_cloexec
15490         definitions.  Remove code conditional on have_sock_cloexec < 0.
15491         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15492         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15493         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15494         <kernel-features.h>.
15495         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15496         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15498 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15501         Add tests for memset_chk and memset.
15503         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15504         with AVX2_Usable.
15506 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15508         [BZ #16046]
15509         * elf/tst-dl-iter-static.c: New file.
15510         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15512         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15513         error.
15515 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15517         * sysdeps/unix/sysv/linux/kernel-features.h
15518         (__ASSUME_F_GETOWN_EX): Remove macro.
15519         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15520         <kernel-features.h>.
15521         (miss_F_GETOWN_EX): Remove variable or macro.
15522         (do_fcntl): Do not check miss_F_GETOWN_EX.
15523         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15526         Remove macro.
15527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15528         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15529         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15531         * sysdeps/unix/sysv/linux/kernel-features.h
15532         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15533         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15534         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15535         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15537 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15539         [BZ #17075]
15540         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15541         Fix calculation of the symbol's value.
15542         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15543         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15544         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15545         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15546         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15547         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15548         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15549         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15550         (modules-names): Add `tst-armtlsdescmod',
15551         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15552         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15553         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15554         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15555         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15556         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15557         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15558         ($(objpfx)tst-armtlsdescloc): New dependency.
15559         ($(objpfx)tst-armtlsdescextnow): Likewise.
15560         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15561         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15562         TLS scheme support.
15563         * sysdeps/arm/configure: Regenerate.
15565 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15567         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15568         (__atfct_seterrno_2): Likewise.
15569         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15570         <kernel-features.h>.
15571         (__ASSUME_ATFCTS): Do not undefine and redefine.
15572         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15573         (__have_atfcts): Remove conditional definition.
15574         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15575         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15576         unreachable if [__ASSUME_ATFCTS].
15577         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15578         not undefine and redefine.
15579         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15580         <kernel-features.h>.
15581         (faccessat) [__NR_faccessat]: Make code unconditional.
15582         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15583         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15584         <kernel-features.h>.
15585         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15586         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15587         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15588         <kernel-features.h>.
15589         (fchownat) [__NR_fchownat]: Make code unconditional.
15590         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15591         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15592         <kernel-features.h>.
15593         (futimesat) [__NR_futimesat]: Make code unconditional.
15594         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15595         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15596         <kernel-features.h>.
15597         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15598         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15599         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15600         <kernel-features.h>.
15601         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15602         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15603         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15604         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15605         <kernel-features.h>.
15606         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15607         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15608         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15609         <kernel-features.h>.
15610         (linkat) [__NR_linkat]: Make code unconditional.
15611         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15612         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15613         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15614         <kernel-features.h>.
15615         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15616         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15617         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15618         <kernel-features.h>.
15619         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15620         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15621         * sysdeps/unix/sysv/linux/openat.c: Do not include
15622         <kernel-features.h>.
15623         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15624         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15625         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15626         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15627         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15628         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15629         <kernel-features.h>.
15630         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15631         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15632         result of INLINE_SYSCALL directly, not via int variable.
15633         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15634         <kernel-features.h>.
15635         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15636         (renameat) [__NR_renameat]: Make code unconditional.
15637         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15638         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15639         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15640         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15641         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15642         (__ASSUME_ATFCTS): Do not undefine and redefine.
15643         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15644         <kernel-features.h>.
15645         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15646         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15647         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15648         <kernel-features.h>.
15649         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15650         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15651         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15652         (__ASSUME_ATFCTS): Do not undefine and redefine.
15653         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15654         <kernel-features.h>.
15655         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15656         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15657         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15658         <kernel-features.h>.
15659         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15660         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15662 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15664         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15666 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15668         [BZ #17069]
15669         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15670         constructed tree before returning error.
15671         * posix/bug-regexp36.c: Expand test case.
15673 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15675         [BZ #6803]
15676         * math/libm-test.inc (scalbln_test_date):
15677         Add errno expectations.
15678         * math/w_scalblnf.c: New File.
15679         Add wrapper which checks for setting errno to ERANGE.
15680         Add weak_alias for corresponding scalbln function.
15681         * math/w_scalbln.c: Likewise.
15682         * math/w_scalblnl.c: Likewise.
15683         * math/Makefile (libm-calls): Add w_scalbln.
15684         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15685         Remove weak_alias for corresponding scalbln function.
15686         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15688         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15689         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15690         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15691         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15692         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15693         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15694         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15695         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15696         Remove long_double_symbol for scalblnl function in libm, libc.
15697         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15698         Add wrapper which checks for setting errno to ERANGE.
15699         Add long_double_symbol for scalblnl function in libm, libc.
15700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15701         Remove long_double_symbol for scalblnl in libm.
15702         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15703         Add wrapper which checks for setting errno to ERANGE.
15704         Add long_double_symbol for scalblnl function in libm.
15705         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15706         Do not use wrapper because of own implementation.
15708 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15710         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15711         3 bytes for __pad1 for x32.
15712         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15714 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15715             H.J. Lu  <hongjiu.lu@intel.com>
15717         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15718         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15719         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15720         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15721         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15723 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15725         [BZ #17069]
15726         * posix/regcomp.c (parse_expression): Deallocate partially
15727         constructed tree before returning error.
15728         * posix/Makefile.c (tests): Add bug-regex36.
15729         (generated): Add bug-regex36.mtrace.
15730         (tests-special): Add $(objpfx)bug-regex36-mem.out
15731         (bug-regex36-ENV): New variable.
15732         ($(objpfx)bug-regex36-mem.out): New rule.
15733         * posix/bug-regex36.c: New file.
15735 2014-06-19  Will Newton  <will.newton@linaro.org>
15737         * malloc/malloc.c (systrim): If extra is zero then return
15738         early.
15740 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15742         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15744 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15746         * sysdeps/aarch64/strchr.S: New file.
15748 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15750         [BZ #17022]
15751         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15752         from arguments -2 or below.
15753         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15754         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15756 2014-06-18  Andreas Schwab  <schwab@suse.de>
15758         [BZ #17062]
15759         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15760         of a bracket expr not to run off the end of the string.
15761         * posix/Makefile (tests): Add tst-fnmatch3.
15762         * posix/tst-fnmatch3.c: New file.
15764 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15766         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15767         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15768         [$(cross-compiling) = no]: Likewise.
15769         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15770         [$(cross-compiling) = no]: Likewise.
15772 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15774         [BZ #17031]
15775         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15776         double, adjusted for any remainder from the high double.
15777         * math/libm-test.inc (nearbyint): Add tests.
15778         (rint): Likewise.
15780 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15782         * nptl/sysdeps/powerpc/Makefile: Moved ...
15783         * sysdeps/powerpc/nptl/Makefile: ... here.
15784         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15785         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15786         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15787         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15788         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15789         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15790         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15791         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15792         * nptl/sysdeps/powerpc/tls.h: Moved ...
15793         * sysdeps/powerpc/nptl/tls.h: ... here.
15795 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15797         [BZ #16681]
15798         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15799         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15800         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15801         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15802         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15803         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15804         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15805         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15806         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15808 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15810         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15812 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15814         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15815         defined operator.
15817         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15818         $TIMEOUTFACTOR.
15820 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15822         [BZ #17058]
15823         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15824         non-executed part of the test.
15826 2014-06-16  Andreas Schwab  <schwab@suse.de>
15828         * string/bits/string2.h (strdup, strndup): Update feature guard.
15830 2014-06-14  David S. Miller  <davem@davemloft.net>
15832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15834 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15836         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15837         that was previously under [RESET_PID].
15838         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15840         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15841         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15842         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15843         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15844         (__libc_vfork): New strong alias.
15845         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15847 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15849         * sysdeps/generic/elide.h: New file.
15851 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15853         * Makefile (installed-headers): Adjust path of pthread.h header.
15855 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15857         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15858         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15860         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15862         * nptl/sysdeps/s390/Makefile: Moved ...
15863         * sysdeps/s390/nptl/Makefile: ... here.
15864         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15865         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15866         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15867         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15868         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15869         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15870         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15871         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15872         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15873         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15874         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15875         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15876         * nptl/sysdeps/s390/tls.h: Moved ...
15877         * sysdeps/s390/nptl/tls.h: ... here.
15879         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15880         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15882 2014-06-13  David S. Miller  <davem@davemloft.net>
15884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15887         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15891         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15892         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15893         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15894         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15895         Remove RESET_PID cpp guards.
15896         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15897         Remove RESET_PID cpp guards.
15898         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15900 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15902         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15903         __sp to uintptr_t.
15905 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15907         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15908         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15910         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15911         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15915         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15917         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15918         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15921         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15922         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15924         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15926         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15928         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15929         (pthread_rwlock_rdlock): Add elision.
15930         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15931         (pthread_rwlock_wrlock): Add elision.
15932         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15933         (pthread_rwlock_trywrlock): Add elision.
15934         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15935         (pthread_rwlock_tryrdlock): Add elision.
15936         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15937         (pthread_rwlock_tryrdlock): Add elision unlock.
15938         * nptl/sysdeps/pthread/pthread.h:
15939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15940         (PTHREAD_RWLOCK_INITIALIZER,
15941         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15942         Handle new elision field.
15943         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15944         * sysdeps/arm/nptl/bits/pthreadtypes.h
15945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15946         * sysdeps/sh/nptl/bits/pthreadtypes.h
15947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15948         * sysdeps/tile/nptl/bits/pthreadtypes.h
15949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15950         * sysdeps/a/nptl/bits/pthreadtypes.h
15951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15952         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15954         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15956         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15958         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15960         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15962         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15964         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15966         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15968         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15969         (elision_init): Set try_xbegin to zero when no RTM.
15970         * sysdeps/x86/nptl/bits/pthreadtypes.h
15971         (pthread_rwlock_t): Change __pad1 to __rwelision.
15972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15974 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15976         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15977         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15978         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15979         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15981 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15983         [BZ #16996]
15984         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15985         that the cached result has been set before returning it.
15987 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15989         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15990         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15991         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15992         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15993         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15994         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15996         * nptl/sysdeps/sparc/Makefile: Moved ...
15997         * sysdeps/sparc/nptl/Makefile: ... here.
15998         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15999         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16000         * nptl/sysdeps/sparc/tls.h: Moved ...
16001         * sysdeps/sparc/nptl/tls.h: ... here.
16002         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16003         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16004         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16005         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16006         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16007         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16008         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16009         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16010         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16011         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16012         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16013         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16014         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16015         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16016         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16017         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16018         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16019         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16020         Update #include.
16021         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16023         Update #include.
16024         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16026         Update #include.
16027         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16029         Update #include.
16031         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16033         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16034         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16036         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16037         (struct list_links): Type removed.
16038         (struct thread_node, struct timer_node): Replace struct list_links
16039         with struct list_head.
16040         (list_unlink_ip): Likewise.
16041         * sysdeps/pthread/timer_routines.c
16042         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16043         (list_append, list_insbefore): Likewise.
16044         (list_init): Function removed.
16045         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16046         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16047         * sysdeps/pthread/Makefile: ... here, new file.
16049         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16050         * sysdeps/nptl/Implies: ... here.
16051         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16052         * nptl/sysdeps/pthread/list.h: Moved ...
16053         * include/list.h: ... here.
16054         * nptl/sysdeps/pthread/createthread.c: Moved ...
16055         * nptl/createthread.c: ... here.
16056         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16057         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16058         * nptl/pt-longjmp.c: ... here.
16059         * nptl/sysdeps/pthread/Makefile: Moved ...
16060         * sysdeps/nptl/Makefile: ... here.
16061         * nptl/sysdeps/pthread/Subdirs: Moved ...
16062         * sysdeps/nptl/Subdirs: ... here.
16063         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16064         * sysdeps/nptl/aio_misc.h: ... here.
16065         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16066         * sysdeps/nptl/bits/libc-lock.h: ... here.
16067         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16068         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16069         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16070         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16071         * nptl/sysdeps/pthread/configure: Moved ...
16072         * sysdeps/nptl/configure: ... here.
16073         * nptl/sysdeps/pthread/configure.ac: Moved ...
16074         * sysdeps/nptl/configure.ac: ... here.
16075         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16076         * sysdeps/nptl/gai_misc.h: ... here.
16077         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16078         * sysdeps/nptl/librt-cancellation.c: ... here.
16079         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16080         * sysdeps/nptl/malloc-machine.h: ... here.
16081         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16082         * sysdeps/nptl/pthread-functions.h: ... here.
16083         * nptl/sysdeps/pthread/pthread.h: Moved ...
16084         * sysdeps/nptl/pthread.h: ... here.
16085         * nptl/sysdeps/pthread/setxid.h: Moved ...
16086         * sysdeps/nptl/setxid.h: ... here.
16087         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16088         * sysdeps/nptl/sigfillset.c: ... here.
16089         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16090         * sysdeps/nptl/tcb-offsets.h: ... here.
16091         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16092         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16093         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16094         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16095         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16096         * sysdeps/pthread/allocalim.h: ... here.
16097         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16098         * sysdeps/pthread/bits/sigthread.h: ... here.
16099         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16100         * sysdeps/pthread/flockfile.c: ... here.
16101         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16102         * sysdeps/pthread/ftrylockfile.c: ... here.
16103         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16104         * sysdeps/pthread/funlockfile.c: ... here.
16105         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16106         * sysdeps/pthread/posix-timer.h: ... here.
16107         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16108         * sysdeps/pthread/timer_create.c: ... here.
16109         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16110         * sysdeps/pthread/timer_delete.c: ... here.
16111         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16112         * sysdeps/pthread/timer_getoverr.c: ... here.
16113         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16114         * sysdeps/pthread/timer_gettime.c: ... here.
16115         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16116         * sysdeps/pthread/timer_routines.c: ... here.
16117         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16118         * sysdeps/pthread/timer_settime.c: ... here.
16119         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16120         * sysdeps/pthread/tst-timer.c: ... here.
16121         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16122         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16124         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16125         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16127         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16128         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16129         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16130         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16131         Update #include target.
16132         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16133         * sysdeps/i386/i686/nptl/Makefile: ... here.
16134         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16135         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16136         Update #include target.
16137         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16138         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16139         * nptl/sysdeps/i386/Makefile: Moved ...
16140         * sysdeps/i386/nptl/Makefile: ... here.
16141         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16142         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16143         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16144         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16145         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16146         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16147         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16148         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16149         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16150         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16151         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16152         * nptl/sysdeps/i386/tls.h: Moved ...
16153         * sysdeps/i386/nptl/tls.h: ... here.
16155         * sysdeps/sh/Makefile [$(subdir) = csu]
16156         (gen-as-const-headers): Add tcb-offsets.sym.
16157         * nptl/sysdeps/sh/Makefile: File removed.
16158         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16159         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16160         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16161         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16162         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16163         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16164         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16165         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16166         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16167         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16168         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16169         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16170         * nptl/sysdeps/sh/tls.h: Moved ...
16171         * sysdeps/sh/nptl/tls.h: ... here.
16172         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16173         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16174         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16175         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16176         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16177         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16178         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16179         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16180         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16181         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16183         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16184         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16185         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16186         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16187         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16188         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16189         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16190         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16191         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16193         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16195         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16197         Moved ...
16198         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16200         Moved ...
16201         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16206         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16207         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16208         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16209         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16210         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16211         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16212         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16213         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16214         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16215         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16216         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16217         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16218         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16219         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16221 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16223         * posix/spawn_faction_addopen.c: Include string.h.
16225 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16227         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16228         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16229         * nptl/sysdeps/x86_64/Makefile: Moved ...
16230         * sysdeps/x86_64/nptl/Makefile: ... here.
16231         * nptl/sysdeps/x86_64/configure: Moved ...
16232         * sysdeps/x86_64/nptl/configure: ... here.
16233         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16234         * sysdeps/x86_64/nptl/configure.ac: ... here.
16235         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16236         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16237         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16238         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16239         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16240         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16241         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16242         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16243         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16244         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16245         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16246         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16247         * nptl/sysdeps/x86_64/tls.h: Moved ...
16248         * sysdeps/x86_64/nptl/tls.h: ... here.
16249         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16250         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16251         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16252         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16254         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16256 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16260 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16262         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16263         type.
16264         [POSIX] (off_t): Likewise.
16265         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16266         [POSIX] (S_ISBLK): Require macro.
16267         [POSIX] (S_ISCHR): Likewise.
16268         [POSIX] (S_ISDIR): Likewise.
16269         [POSIX] (S_ISFIFO): Likewise.
16270         [POSIX] (S_ISREG): Likewise.
16271         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16272         optional-macro.
16273         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16274         type.
16275         [POSIX] (time_t): Likewise.
16276         [POSIX] (timer_t): Likewise.
16278 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16280         [BZ #17048]
16281         * posix/spawn_int.h (struct __spawn_action): Make the path string
16282         non-const to support deallocation.
16283         * posix/spawn_faction_addopen.c
16284         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16285         * posix/spawn_faction_destroy.c
16286         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16287         path in all spawn_do_open actions.
16288         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16289         posix_spawn_file_actions_addopen.
16291 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16293         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16294         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16295         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16296         conditional code always true.
16297         (__libc_vfork): New alias.
16299 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16301         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16302         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16304         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16306         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16307         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16309         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16310         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16312         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16313         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16315 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16317         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16318         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16319         multiarch strcmp for PPC64.
16320         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16321         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16323         multiarch optimizations.
16324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16325         (__libc_ifunc_impl_list): Likewise.
16327 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16329         * benchtests/scripts/validate_benchout.py: New script.
16330         * benchtests/Makefile (bench-func): Call it.
16331         * benchtests/scripts/benchout.schema.json: New file.
16333 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16335         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16336         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16337         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16338         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16339         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16340         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16341         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16342         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16343         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16344         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16345         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16346         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16347         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16348         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16349         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16350         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16352         Moved ...
16353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16354         ... here.
16355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16356         Moved ...
16357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16359         Moved ...
16360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16361         ... here.
16362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16363         Moved ...
16364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16365         ... here.
16366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16367         Moved ...
16368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16370         Moved ...
16371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16372         ... here.
16373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16374         Moved ...
16375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16376         ... here.
16377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16378         Moved ...
16379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16381         Moved ...
16382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16383         ... here.
16384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16385         Moved ...
16386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16387         ... here.
16388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16389         Moved ...
16390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16391         ... here.
16392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16393         Moved ...
16394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16396         Moved ...
16397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16398         ... here.
16399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16400         Moved ...
16401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16402         ... here.
16403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16404         Moved ...
16405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16406         ... here.
16407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16408         Moved ...
16409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16411         Moved ...
16412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16413         ... here.
16414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16415         Moved ...
16416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16417         ... here.
16418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16419         Moved ...
16420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16422         Moved ...
16423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16424         ... here.
16425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16426         Moved ...
16427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16429         Moved ...
16430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16432         Moved ...
16433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16434         ... here.
16435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16436         Moved ...
16437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16438         ... here.
16439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16440         Moved ...
16441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16442         ... here.
16443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16444         Moved ...
16445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16447         Moved ...
16448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16449         ... here.
16450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16451         Moved ...
16452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16453         ... here.
16454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16455         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16457         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16459         Moved ...
16460         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16461         ... here.
16462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16463         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16465         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16466         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16467         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16469         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16471         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16473         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16475         Moved ...
16476         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16481         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16483         Moved ...
16484         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16486         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16487         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16488         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16489         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16490         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16492 2014-06-10  Wilco  <wdijkstr@arm.com>
16494         * math/test-fenv-return.c: New file.
16495         * math/Makefile: Add new test test-fenv-return.
16497 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16499         [BZ #17042]
16500         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16501         when x - 1 is zero.
16502         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16503         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16504         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16505         0.0L for an argument of 1.0L.
16506         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16507         Likewise.
16508         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16509         value when x - 1 is zero.
16510         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16511         * sysdeps/i386/fpu/libm-test-ulps: Update.
16512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16514 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16516         [BZ #15119]
16517         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16519 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16521         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16522         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16524 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16526         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16527         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16529         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16530         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16532         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16533         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16535         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16536         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16538         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16539         if not already defined.
16540         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16541         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16542         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16543         (TLS_INIT_TP): Use it.
16544         (TLS_DEFINE_INIT_TP): New macro.
16545         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16547 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16549         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16550         constant.
16551         [POSIX] (IXANY): Likewise.
16552         [POSIX] (OLCUC): Likewise.
16553         [POSIX || POSIX2008] (CBAUD): Do not allow.
16554         [POSIX || POSIX2008] (DEFECHO): Likewise.
16555         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16556         [POSIX || POSIX2008] (ECHOKE): Likewise.
16557         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16558         [POSIX || POSIX2008] (EXTA): Likewise.
16559         [POSIX || POSIX2008] (EXTB): Likewise.
16560         [POSIX || POSIX2008] (FLUSHO): Likewise.
16561         [POSIX || POSIX2008] (LOBLK): Likewise.
16562         [POSIX || POSIX2008] (PENDIN): Likewise.
16563         [POSIX || POSIX2008] (SWTCH): Likewise.
16564         [POSIX || POSIX2008] (VDISCARD): Likewise.
16565         [POSIX || POSIX2008] (VDSUSP): Likewise.
16566         [POSIX || POSIX2008] (VLNEXT): Likewise.
16567         [POSIX || POSIX2008] (VREPRINT): Likewise.
16568         [POSIX || POSIX2008] (VSTATUS): Likewise.
16569         [POSIX || POSIX2008] (VWERASE): Likewise.
16570         (B*): Change to B[0123456789]*.
16571         * conform/data/time.h-data [POSIX || UNIX98]
16572         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16573         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16574         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16575         [POSIX] (tm_*): Do not allow.
16577 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16579         * Makefile (install): Don't set LANGUAGE.
16580         * Makefile.in (install): Likewise.
16581         * assert/Makefile (test-assert-ENV): Remove variable.
16582         (test-assert-perr-ENV): Likewise.
16583         * elf/Makefile (neededtest4-ENV): Likewise.
16584         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16585         [$(cross-compiling) = no]: Don't set LANGUAGE.
16586         * io/ftwtest-sh (LANG): Remove variable.
16587         * libio/Makefile (tst-widetext-ENV): Likewise.
16588         * manual/install.texi (Running make install): Don't refer to
16589         environment settings for make install.
16590         * INSTALL: Regenerated.
16591         * nptl/tst-tls6.sh: Don't set LANG.
16592         * posix/globtest.sh (LANG): Remove variable.
16593         * string/Makefile (tester-ENV): Likewise.
16594         (inl-tester-ENV): Likewise.
16595         (noinl-tester-ENV): Likewise.
16596         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16597         [$(cross-compiling) = no]: Don't set LANGUAGE.
16598         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16599         without explicit environment settings.
16601 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16603         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16604         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16605         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16606         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16608 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16610         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16611         other files in the crypt directory.
16612         * crypt/crypt.c: Remove duplicate includes.
16613         * crypt/crypt-entry.c: Likewise.
16614         * crypt/crypt_util.c: Likewise.
16616 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16618         * Makeconfig (run-program-env): New variable.
16619         (run-program-prefix-before-env): Likewise.
16620         (run-program-prefix-after-env): Likewise.
16621         (run-program-prefix): Define in terms of new variables.
16622         (built-program-cmd-before-env): New variable.
16623         (built-program-cmd-after-env): Likewise.
16624         (built-program-cmd): Define in terms of new variables.
16625         (test-program-prefix-before-env): New variable.
16626         (test-program-prefix-after-env): Likewise.
16627         (test-program-prefix): Define in terms of new variables.
16628         (test-program-cmd-before-env): New variable.
16629         (test-program-cmd-after-env): Likewise.
16630         (test-program-cmd): Define in terms of new variables.
16631         * Rules (make-test-out): Use $(run-program-env).
16632         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16633         (help): Do not mention environment variables.  Mention
16634         --timeoutfactor option.
16635         (timeoutfactor): New variable.
16636         (blacklist_exports): Remove function.
16637         (exports): Remove variable.
16638         (command): Do not include ${exports}.
16639         * manual/install.texi (Configuring and compiling): Do not mention
16640         test wrappers preserving environment variables.  Mention that last
16641         assignment to a variable must take precedence.
16642         * INSTALL: Regenerated.
16643         * benchtests/Makefile (run-bench): Use $(run-program-env).
16644         * catgets/Makefile ($(objpfx)test1.cat): Use
16645         $(built-program-cmd-before-env), $(run-program-env) and
16646         $(built-program-cmd-after-env).
16647         ($(objpfx)test2.cat): Do not specify environment variables
16648         explicitly.
16649         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16650         $(run-program-env) and $(built-program-cmd-after-env).
16651         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16652         $(run-program-env) and $(test-program-cmd-after-env).
16653         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16654         explicitly.
16655         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16656         run_program_env and test_program_cmd_after_env arguments.
16657         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16658         * elf/tst-pathopt.sh: Use run_program_env argument.
16659         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16660         $(test-wrapper-env) and $(run-program-env).
16661         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16662         run_program_env arguments.
16663         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16664         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16665         $(test-program-prefix-before-env), $(run-program-env) and
16666         $(test-program-prefix-after-env).
16667         ($(objpfx)tst-gettext2.out): Likewise.
16668         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16669         run_program_env and test_program_prefix_after_env arguments.
16670         * intl/tst-gettext2.sh: Likewise.
16671         * intl/tst-gettext4.sh: Do not set environment variables
16672         explicitly.
16673         * intl/tst-gettext6.sh: Likewise.
16674         * intl/tst-translit.sh: Likewise.
16675         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16676         $(test-program-prefix-before-env), $(run-program-env) and
16677         $(test-program-prefix-after-env).
16678         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16679         run_program_env and test_program_prefix_after_env arguments.
16680         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16681         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16682         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16683         explicitly with each use of ${test_wrapper_env}.
16684         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16685         $(test-program-prefix-before-env), $(run-program-env) and
16686         $(test-program-prefix-after-env).
16687         * posix/tst-getconf.sh: Do not set environment variables
16688         explicitly.
16689         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16690         run_program_env and test_program_prefix_after_env arguments.
16691         * stdio-common/tst-printf.sh: Do not set environment variables
16692         explicitly.
16693         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16694         $(test-program-prefix-before-env), $(run-program-env) and
16695         $(test-program-prefix-after-env).
16696         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16697         run_program_env and test_program_prefix_after_env arguments.
16698         Split $test calls into $test_pre and $test.
16699         * timezone/Makefile (build-testdata): Use
16700         $(built-program-cmd-before-env), $(run-program-env) and
16701         $(built-program-cmd-after-env).
16703 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16705         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16706         strlen for non SHARED builds.
16708 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16710         * nptl/allocatestack.c (check_list): Inlined function...
16711         (__reclaim_stacks): ... here.
16713 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16715         [BZ #15698]
16716         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16717         memory overrun.
16719 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16721         * Rules (make-test-out): Include
16722         LOCPATH=$(common-objpfx)localedata in default environment.
16723         * debug/Makefile (tst-chk1-ENV): Remove variable.
16724         (tst-chk2-ENV): Likewise.
16725         (tst-chk3-ENV): Likewise.
16726         (tst-chk4-ENV): Likewise.
16727         (tst-chk5-ENV): Likewise.
16728         (tst-chk6-ENV): Likewise.
16729         (tst-lfschk1-ENV): Likewise.
16730         (tst-lfschk2-ENV): Likewise.
16731         (tst-lfschk3-ENV): Likewise.
16732         (tst-lfschk4-ENV): Likewise.
16733         (tst-lfschk5-ENV): Likewise.
16734         (tst-lfschk6-ENV): Likewise.
16735         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16736         (tst-iconv7-ENV): Likewise.
16737         * intl/Makefile (LOCPATH-ENV): Likewise.
16738         (tst-codeset-ENV): Likewise.
16739         (tst-gettext3-ENV): Likewise.
16740         (tst-gettext5-ENV): Likewise.
16741         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16742         (tst-fopenloc-ENV): Likewise.
16743         (tst-fgetws-ENV): Remove variable.
16744         (tst-ungetwc1-ENV): Likewise.
16745         (tst-ungetwc2-ENV): Likewise.
16746         (bug-ungetwc2-ENV): Likewise.
16747         (tst-swscanf-ENV): Likewise.
16748         (bug-ftell-ENV): Likewise.
16749         (tst-fgetwc-ENV): Likewise.
16750         (tst-fseek-ENV): Likewise.
16751         (tst-ftell-partial-wide-ENV): Likewise.
16752         (tst-ftell-active-handler-ENV): Likewise.
16753         (tst-ftell-append-ENV): Likewise.
16754         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16755         (tst-regexloc-ENV): Likewise.
16756         (bug-regex1-ENV): Likewise.
16757         (tst-regex-ENV): Likewise.
16758         (tst-regex2-ENV): Likewise.
16759         (bug-regex5-ENV): Likewise.
16760         (bug-regex6-ENV): Likewise.
16761         (bug-regex17-ENV): Likewise.
16762         (bug-regex18-ENV): Likewise.
16763         (bug-regex19-ENV): Likewise.
16764         (bug-regex20-ENV): Likewise.
16765         (bug-regex22-ENV): Likewise.
16766         (bug-regex23-ENV): Likewise.
16767         (bug-regex25-ENV): Likewise.
16768         (bug-regex26-ENV): Likewise.
16769         (bug-regex30-ENV): Likewise.
16770         (bug-regex32-ENV): Likewise.
16771         (bug-regex33-ENV): Likewise.
16772         (bug-regex34-ENV): Likewise.
16773         (bug-regex35-ENV): Likewise.
16774         (tst-rxspencer-ENV): Likewise.
16775         (tst-rxspencer-no-utf8-ENV): Likewise.
16776         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16777         (tst-sscanf-ENV): Likewise.
16778         (tst-swprintf-ENV): Likewise.
16779         (tst-swscanf-ENV): Likewise.
16780         (test-vfprintf-ENV): Likewise.
16781         (scanf13-ENV): Likewise.
16782         (bug14-ENV): Likewise.
16783         (tst-grouping-ENV): Likewise.
16784         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16785         (tst-strtod3-ENV): Likewise.
16786         (tst-strtod4-ENV): Likewise.
16787         (tst-strtod5-ENV): Likewise.
16788         (testmb2-ENV): Likewise./
16789         * string/Makefile (tst-strxfrm-ENV): Likewise.
16790         (tst-strxfrm2-ENV): Likewise.
16791         (bug-strcoll1-ENV): Likewise.
16792         (test-strcasecmp-ENV): Likewise.
16793         (test-strncasecmp-ENV): Likewise.
16794         * time/Makefile (tst-strptime-ENV): Likewise.
16795         (tst-ftime_l-ENV): Likewise.
16796         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16797         (tst-mbrtowc-ENV): Likewise.
16798         (tst-wcrtomb-ENV): Likewise.
16799         (tst-mbrtowc2-ENV): Likewise.
16800         (tst-c16c32-1-ENV): Likewise.
16801         (tst-mbsnrtowcs-ENV): Likewise.
16803 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16805         * manual/resource.texi (How to get information about the memory
16806         subsystem?): Fix typo.
16807         Reported by Peon de la Parra Ivan <peon@keba.com>
16809 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16811         [BZ #16882]
16812         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16813         (pthread_spin_lock): Branch out of spin loop to proper location.
16814         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16815         (pthread_spin_lock): Likewise.
16817         * nptl/tst-spin4.c: New test.
16818         * nptl/Makefile (tests): Add tst-spin4.
16820 2014-06-03  Andreas Schwab  <schwab@suse.de>
16822         [BZ #15946]
16823         * resolv/res_send.c (send_dg): Reload file descriptor after
16824         calling reopen.
16826 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16828         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16830 2014-06-03  Richard Henderson  <rth@redhat.com>
16832         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16833         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16834         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16835         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16836         in the SAVE_PID block.
16837         (__libc_vfork): New alias.
16838         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16840         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16841         child in registers, not on the stack.  Remove RESET_PID conditionals.
16842         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16844 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16846         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16848 2014-06-03  Wilco  <wdijkstr@arm.com>
16850         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16851         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16852         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16853         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16854         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16855         Likewise.
16857 2014-06-03  Wilco  <wdijkstr@arm.com>
16859         * sysdeps/aarch64/fpu/math_private.h
16860         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16861         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16862         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16863         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16864         Fix declarations.
16866 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16868         * crypt/crypt-private.h: Include ufc-crypt.h.
16869         (__b64_from_24bit): Declare extern.
16870         * crypt/crypt_util.c(__b64_from_24bit): New function.
16871         (b64t): New static const variable.
16872         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16873         (b64t): Remove variable.
16874         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16875         * crypt/sha256-crypt.c: Include crypt-private.h.
16876         (b64t): Remove variable.
16877         (__sha256_crypt_r): Remove b64_from_24bit and replace
16878         with __b64_from_24bit.
16879         * crypt/sha512-crypt.c: Likewise.
16881 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16883         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16884         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16885         Label the code __libc_vfork rather than __vfork.
16886         [!NOT_IN_libc] (vfork): Define as weak alias.
16887         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16888         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16889         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16891 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16893         * malloc/malloc.c (malloc_info): Fix format specifier for
16894         n_mmaps.
16896 2014-06-02  Wilco  <wdijkstr@arm.com>
16898         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16899         FPCR write.
16901 2014-06-02  Wilco  <wdijkstr@arm.com>
16903         [BZ #17009]
16904         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16905         Rewrite to reduce FPCR/FPSR accesses.
16907 2014-06-01  David S. Miller  <davem@davemloft.net>
16909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16911 2014-05-31  David S. Miller  <davem@davemloft.net>
16913         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16914         to occur in round to nearest mode when |x| >= 2.0
16916 2014-05-30  Richard Henderson  <rth@twiddle.net>
16918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16919         (PSEUDO_RET_NOERRNO): Remove.
16920         (ret): Don't redefine.
16921         (ret_NOERRNO): Define in terms of ret.
16922         (ret_ERRVAL): Likewise.
16924         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16925         use of PSEUDO_RET; perform the error check directly.
16927 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16929         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16930         with __int128_t.
16932 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16934         * malloc/malloc (malloc_info): Fix formatting.
16936 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16937             Roland McGrath  <roland@hack.frob.com>
16939         * malloc/malloc (malloc_info): Also print mmapped statistics.
16941 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16943         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16944         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16946 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16948         * malloc/malloc.c (malloc_info): Inline mi_arena.
16950 2014-05-29  Richard Henderson  <rth@twiddle.net>
16952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16953         Remove comma before expanding ASM_ARGS_##nr.
16954         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16955         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16956         of ASM_ARGS_##nr.
16957         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16958         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16959         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16960         (ASM_ARGS_1): Add leading comma.
16962         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16963         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16964         to __errno_location.
16965         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16966         Remove the expected plt for __errno_location.
16968         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16969         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16970         call to __read_tp.
16972         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16973         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16974         it and break it down.
16975         (DOCARGS_0, DOCARGS_1): Do nothing.
16976         (DOCARGS_2): Update to store into the new stack frame.
16977         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16978         (UNDOCARGS_1): Update to restore from the new stack frame.
16979         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16980         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16982         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16983         (SINGLE_THREAD_P): New parameter for result regno.
16984         (PSEUDO): Update to match; use cbz instead of beq.
16986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16987         Use ENTRY to define the _nocancel entry point.  Share the syscall
16988         and syscall error check paths with the cancel path.
16989         (PSEUDO_END): New.
16991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16992         whitespace; tabs before and after asm mnemonics.
16994 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16996         [BZ #15132]
16997         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16998         Call fstat64 or stat64 internally, depending on arguments passed.
16999         Replace stat buffer argument with file descriptor argument.
17000         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17001         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17002         Pass fd to __internal_statvfs instead of calling fstat64.
17003         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17004         Pass fd to __internal_statvfs64 instead of calling fstat64.
17005         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17006         Pass -1 to __internal_statvfs instead of calling stat64.
17007         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17008         Pass -1 to __internal_statvfs64 instead of calling stat64.
17010 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17012         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17013         that was previously under [RESET_PID].
17014         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17016         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17017         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17019 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17021         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17023         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17024         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17026 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17028         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17030 2014-05-27  Andreas Schwab  <schwab@suse.de>
17032         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17033         TLS_INIT_TP macro.
17034         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17035         * elf/rtld.c (init_tls, dl_main): Likewise.
17036         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17037         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17038         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17039         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17040         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17041         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17042         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17043         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17044         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17045         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17046         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17047         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17048         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17049         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17050         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17051         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17052         * sysdeps/generic/tls.h: Update description.
17054 2014-05-27  Will Newton  <will.newton@linaro.org>
17056         [BZ #16990]
17057         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17058         and restore r2 rather than just restoring.
17060 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17062         [BZ #16724]
17063         * libio/tst-ftell-append.c: New test case.
17064         * libio/Makefile (tests): Add test case.
17065         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17066         append mode.
17067         * libio/wfileops.c (do_ftell_wide): Likewise.
17069 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17073         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17074         ...
17075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17077         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17078         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17079         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17080         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17081         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17082         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17083         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17084         Moved ...
17085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17087         Moved ...
17088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17089         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17090         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17091         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17092         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17093         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17094         ...
17095         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17096         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17097         Moved ...
17098         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17099         here.
17100         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17101         ...
17102         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17103         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17104         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17106         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17107         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17108         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17109         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17111         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17112         merge into ...
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17115         ...
17116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17118         ...
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17121         Moved ...
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17123         here.
17124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17125         Moved ...
17126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17128         Moved ...
17129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17132         conditional [RESET_PID].
17133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17135         removed.
17136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17137         removed.
17139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17140         <tcb-offsets.h>.
17141         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17142         (__libc_vfork): New strong alias.
17143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17144         removed.
17145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17146         Removed.
17148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17149         <tcb-offsets.h>.
17150         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17151         (__libc_vfork): New strong alias.
17152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17153         removed.
17154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17155         removed.
17157 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17159         * malloc/malloc.c (mi_arena): New function.
17160         (malloc_info): Remove nested function mi_arena. Call non-nosted
17161         function mi_arena.
17163 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17165         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17166         by insrwi.
17167         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17168         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17169         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17170         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17171         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17172         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17173         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17175 2014-05-26  Andreas Schwab  <schwab@suse.de>
17177         [BZ #16984]
17178         * locale/programs/repertoire.c (repertoire_read): Add slash
17179         between I18NPATH element and file name.
17180         * locale/programs/locfile.c (locfile_read): Likewise.
17182 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17184         * nptl/pthread_mutexattr_settype.c
17185         (__pthread_mutexattr_settype):
17186         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17188 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17190         * nptl/tst-mutex5 (do_test):
17191         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17193 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17195         * benchtests/README: Document 'init' directive.
17196         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17197         BENCH_INIT.
17198         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17199         (parse_file): Recognize 'init' directive.
17201 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17203         [BZ #16796]
17204         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17205         alignment of struct pthread.
17207 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17209         [BZ #16878]
17210         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17211         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17212         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17213         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17215 2014-05-25  Richard Henderson  <rth@twiddle.net>
17217         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17218         (SINGLE_THREAD_P_PIC): Remove.
17219         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17220         (SINGLE_THREAD_P_PIC): Remove.
17222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17223         branch to syscall error ...
17224         (PSEUDO): ... here.
17225         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17226         from __local_syscall_error to .Lsyscall_error.
17227         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17228         (SYSCALL_ERROR): Update label name.
17230         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17231         Do not use DOARGS/UNDOARGS.
17232         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17233         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17234         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17235         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17236         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17238         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17239         block comment.
17241         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17242         define if !NOT_IN_libc.
17243         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17244         define with non-default symbol versions.
17246 2014-05-23  Richard Henderson  <rth@twiddle.net>
17248         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17249         (vfork, __vfork): Define via compat_symbol.
17251         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17252         [!HAVE_IFUNC] (vfork_compat): Remove.
17253         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17255 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17257         [BZ #16978]
17258         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17259         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17260         variable.
17262 2014-05-23  Richard Henderson  <rth@twiddle.net>
17264         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17265         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17266         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17267         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17269         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17270         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17271         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17272         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17273         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17274         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17275         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17276         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17277         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17278         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17279         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17280         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17281         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17282         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17283         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17284         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17285         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17286         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17287         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17288         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17289         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17290         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17291         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17292         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17294         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17295         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17296         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17297         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17298         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17299         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17300         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17301         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17302         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17303         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17304         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17305         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17306         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17307         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17308         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17309         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17310         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17311         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17312         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17313         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17314         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17315         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17316         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17317         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17318         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17319         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17320         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17321         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17322         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17323         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17324         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17326         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17327         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17328         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17329         before exiting on error.
17330         (__libc_vfork): New strong alias.
17331         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17332         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17334         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17335         that was previously under [RESET_PID].
17336         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17338         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17340 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17342         [BZ #16977]
17343         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17344         value when x - 1 is zero.
17345         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17346         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17347         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17348         0.0L for an argument of 1.0L.
17349         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17350         Likewise.
17351         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17352         value when x - 1 is zero.
17353         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17354         * sysdeps/i386/fpu/libm-test-ulps: Update.
17355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17357 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17359         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17360         alphasort and versionsort.
17362 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17364         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17365         macro.
17366         [copysignf]: Likewise.
17368 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17370         * crypt/md5-crypt.c: Fix formatting.
17372 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17374         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17375         (b64_from_24bit): New function.
17377 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17379         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17380         libc_hidden_builtin_def to ifunc.
17381         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17382         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17384 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17386         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17387         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17389 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17391         * nscd/Depend (linuxthreads): Remove.
17392         (nptl): Add.
17393         * resolv/Depend (linuxthreads): Remove.
17394         * rt/Depend (linuxthreads): Remove.
17396         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17397         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17398         $(common-objpfx)elf/.
17399         (link-libc-before-gnulib): Likewise.
17400         (elfobjdir): Remove variable.
17401         * Makefile (install): Use $(elf-objpfx) instead of
17402         $(common-objpfx)elf/.
17403         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17404         $(elfobjdir)/.
17405         (link-libc-deps): Likewise.
17406         ($(common-objpfx)libc.so): Likewise.
17407         ($(common-objpfx)linkobj/libc.so): Likewise.
17408         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17409         instead of $(common-objpfx)elf/.
17410         (symbolic-link-list): Likewise.
17411         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17412         [$(cross-compiling) = no]: Likewise.
17413         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17414         $(elfobjdir)/.
17415         (static-gnulib-arch): Likewise.
17416         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17417         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17418         $(common-objpfx)elf/.
17420 2014-05-21  Richard Henderson  <rth@redhat.com>
17422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17423         (SINGLE_THREAD_P): Use the correct width load.  Fold
17424         into the ldr offset.
17426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17427         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17429 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17431         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17432         (libgcc_s_resume): Use __attribute_used__.
17433         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17434         Likewise.
17436 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17438         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17439         optimization when used with float constants.
17441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17443 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17445         [BZ #16915]
17446         * locale/nl_langinfo_l.c: Make direct reference to every
17447         _nl_current_CATEGORY symbol.
17448         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17449         (tests-static): Add tst-langinfo-static.
17450         (tests-special): Add tst-langinfo-static.out.
17451         ($(objpfx)tst-langinfo.out): Redirect output.
17452         ($(objpfx)tst-langinfo-static.out): New.
17453         * localedata/tst-langinfo.sh: Send output to stdout.
17454         * localedata/tst-langinfo-static.c: New file.
17456         [BZ #16965]
17457         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17458         when the shift amount is modulo the limb size.
17460 2014-05-20  Richard Henderson  <rth@redhat.com>
17462         [BZ #16967]
17463         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17464         Change type of sa_flags from unsigned int to int.
17466         [BZ #16966]
17467         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17469         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17471 2014-05-20  Will Newton  <will.newton@linaro.org>
17473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17474         Test the return value of the system call in the nocancel case.
17476 2014-05-20  Will Newton  <will.newton@linaro.org>
17477             Yvan Roux  <yvan.roux@linaro.org>
17479         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17480         #include of asm/ptrace.h.
17481         (PTRACE_GET_THREAD_AREA): Remove #undef.
17482         (PTRACE_GETHBPREGS): Likewise.
17483         (PTRACE_SETHBPREGS): Likewise.
17484         (struct user_regs_struct): New structure.
17485         (struct user_fpsimd_struct): New structure.
17486         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17487         #include of asm/ptrace.h and second #include of sys/user.h.
17488         (PTRACE_GET_THREAD_AREA): Remove #undef.
17489         (PTRACE_GETHBPREGS): Likewise.
17490         (PTRACE_SETHBPREGS): Likewise.
17491         (ELF_NGREG): Use new struct user_regs_struct.
17492         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17494 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17497         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17499 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17501         [BZ #16958]
17502         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17503         membar to avoid block loads/stores to overlap previous stores.
17505 2014-05-17  Richard Henderson  <rth@redhat.com>
17507         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17508         Create the __##syscall_name##_nocancel entry point.
17509         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17510         Remove; let the sysdep-cancel.h code create it.
17512 2014-05-17  David S. Miller  <davem@davemloft.net>
17514         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17515         Protect with __USE_GNU.
17516         (TIOCSET_TEMPT): Likewise.
17517         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17518         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17519         these are already provided in bits/ioctl-types.h
17521 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17523         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17524         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17526         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17527         Use wait4 regardless of [__NR_waitpid].
17529 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17531         PR libgcc/60166
17532         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17533         (_FP_NANSIGN_Q): Set the quiet bit.
17535 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17537         * benchtests/Makefile
17538         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17539         not $(common-objpfx)math/libm.so.
17540         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17541         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17542         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17543         $(common-objpfx)dlfcn/libdl.so.
17544         ($(objpfx)tst-audit8): Depend on $(libm), not
17545         $(common-objpfx)math/libm.so.
17546         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17547         not $(common-objpfx)dlfcn/libdl.so.
17548         * math/Makefile
17549         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17550         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17551         [$(build-shared) = yes].
17552         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17553         $(common-objpfx)nptl/libpthread.so.
17554         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17555         $(common-objpfx)math/libm.so$(libm.so-version) or
17556         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17557         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17558         $(common-objpfx)dlfcn/libdl.so.
17559         * setjmp/Makefile (link-libm): Remove variable.
17560         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17561         * stdio-common/Makefile (link-libm): Remove variable.
17562         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17563         * stdlib/Makefile (link-libm): Remove variable.
17564         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17565         ($(objpfx)tst-strtod-round): Likewise.
17566         ($(objpfx)tst-tininess): Likewise.
17567         ($(objpfx)tst-strtod-underflow): Likewise.
17568         ($(objpfx)tst-strtod6): Likewise.
17569         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17570         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17571         $(common-objpfx)dlfcn/libdl.so.
17573 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17575         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17576         BSD terminal modes definitions.
17578 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17580         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17581         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17583         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17584         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17585         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17586         Don't do #include_next.
17587         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17588         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17589         Don't do #include_next.
17590         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17591         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17592         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17593         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17595 2014-05-16  Allan McRae  <allan@archlinux.org>
17597         * po/sv.po: Update Swedish translation from translation project.
17599         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17600         in sed expression.
17602 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17604         [BZ #16917]
17605         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17606         errno if the TIOCGPTN ioctl fails with an error different than
17607         EINVAL.
17608         * login/tst-ptsname.c: New file.
17609         * login/Makefile (tests): Add tst-ptsname.
17611         [BZ #16943]
17612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17613         and prlimit64.
17615 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17617         [BZ #16849]
17618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17619         herrno to return EAI_AGAIN.
17621 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17623         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17624         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17625         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17626         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17627         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17628         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17629         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17630         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17631         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17632         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17633         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17634         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17635         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17636         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17637         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17638         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17639         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17640         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17641         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17642         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17643         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17644         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17645         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17646         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17647         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17648         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17649         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17650         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17651         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17652         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17654         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17656         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17658         Moved ...
17659         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17661         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17663         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17665         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17667         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17669         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17671         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17673         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17675         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17677         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17679         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17681         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17683         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17685         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17687         Moved ...
17688         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17690         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17692         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17694         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17696         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17698         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17700         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17702         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17704         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17706         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17708         Moved ...
17709         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17711         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17713         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17714         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17715         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17716         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17717         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17719         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17721         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17723         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17725         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17726         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17727         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17728         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17729         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17731         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17733         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17735         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17737         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17739         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17740         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17741         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17742         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17743         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17745         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17746         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17748         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17749         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17750         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17751         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17752         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17753         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17754         Moved ...
17755         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17756         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17757         Moved ...
17758         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17760         Moved ...
17761         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17763         Moved ...
17764         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17765         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17766         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17768         Moved ...
17769         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17770         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17771         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17772         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17773         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17774         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17775         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17776         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17777         Moved ...
17778         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17779         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17780         Moved ...
17781         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17782         ... here.
17783         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17784         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17785         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17786         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17787         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17788         Moved ...
17789         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17790         ... here.
17791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17792         Moved ...
17793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17794         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17795         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17796         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17797         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17799         Moved ...
17800         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17801         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17802         Moved ...
17803         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17805         Moved ...
17806         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17808         Moved ...
17809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17811         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17813         Moved ...
17814         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17815         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17816         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17817         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17818         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17819         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17820         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17821         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17822         Moved ...
17823         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17825         Moved ...
17826         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17827         ... here.
17828         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17829         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17830         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17831         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17832         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17833         Moved ...
17834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17835         ... here.
17836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17837         Moved ...
17838         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17839         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17840         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17841         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17842         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17843         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17844         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17845         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17846         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17847         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17848         Moved ...
17849         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17850         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17851         Moved ...
17852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17854         Moved ...
17855         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17857         Moved ...
17858         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17859         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17860         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17862         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17863         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17864         Moved ...
17865         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17866         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17867         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17869         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17871         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17873         Moved ...
17874         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17876         Moved ...
17877         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17878         ... here.
17879         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17880         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17881         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17882         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17884         Moved ...
17885         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17886         ... here.
17887         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17888         Moved ...
17889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17890         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17891         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17892         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17893         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17894         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17895         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17896         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17897         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17898         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17899         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17901         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17902         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17904         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17905         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17907         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17908         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17909         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17910         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17911         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17912         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17913         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17914         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17915         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17916         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17917         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17918         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17919         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17921         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17923         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17925         Moved ...
17926         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17927         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17928         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17930         Moved ...
17931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17933         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17935         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17939         Moved ...
17940         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17942         Moved ...
17943         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17945         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17947         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17949         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17950         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17951         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17952         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17953         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17954         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17955         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17956         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17957         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17958         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17959         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17961         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17962         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17963         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17964         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17965         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17967         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17968         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17969         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17970         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17971         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17972         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17973         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17974         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17975         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17976         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17981         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17982         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17983         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17984         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17985         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17986         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17987         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17988         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17989         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17990         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17991         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17992         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17993         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17994         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17995         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17996         Update #include.
17997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17998         Likewise.
17999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18000         Likewise.
18001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18002         Likewise.
18003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18004         Likewise.
18005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18006         Likewise.
18007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18008         Likewise.
18009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18010         Likewise.
18011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18012         Likewise.
18013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18014         Likewise.
18015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18020         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18022         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18024         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18025         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18026         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18031         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18032         that was previously under [RESET_PID].
18033         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18034         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18035         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18037         * sysdeps/i386/nptl/Implies: New file.
18038         * sysdeps/x86_64/nptl/Implies: New file.
18039         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18040         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18041         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18042         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18044         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18048         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18050         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18051         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18052         (__libc_vfork): New strong alias.
18053         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18054         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18056         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18057         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18058         (__libc_vfork): New strong alias.
18059         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18060         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18061         * nptl/pt-vfork.c: New file.
18062         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18063         (libpthread: GLIBC_2.20): New version set (empty).
18065 2014-05-14  Will Newton  <will.newton@linaro.org>
18067         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18068         rather than #if.
18070 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18072         [BZ #16564]
18073         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18074         arguments with exponent 65 or above.
18075         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18076         arguments 0x1p113L or above.
18077         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18078         to arguments 0x1p107L or above.
18079         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18080         positive arguments with exponent 65 or above.
18081         * math/auto-libm-test-in: Add more tests of log1p.
18082         * math/auto-libm-test-out: Regenerated.
18084         [BZ #16928]
18085         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18086         non-finite arguments is +0.
18087         * math/s_cacosf.c (__cacosf): Likewise.
18088         * math/s_cacosl.c (__cacosl): Likewise.
18089         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18090         * sysdeps/i386/fpu/libm-test-ulps: Update.
18091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18093         [BZ #16927]
18094         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18095         value.
18096         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18097         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18098         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18099         for explicit high bit of mantissa when testing for argument equal
18100         to 1.
18101         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18102         * sysdeps/i386/fpu/libm-test-ulps: Update.
18103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105         [BZ #16516]
18106         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18107         (__erf): Scale by 16 instead of 8 in potentially underflowing
18108         case.  Ensure exception if result actually underflows.
18109         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18110         (__erff): Scale by 16 instead of 8 in potentially underflowing
18111         case.  Ensure exception if result actually underflows.
18112         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18113         (efx8): Remove variable.
18114         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18115         case.  Ensure exception if result actually underflows.
18116         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18117         (efx8): Remove variable.
18118         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18119         case.  Ensure exception if result actually underflows.
18120         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18121         (efx8): Remove variable.
18122         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18123         case.  Ensure exception if result actually underflows.
18124         * math/auto-libm-test-in: Add more tests of erf.
18125         * math/auto-libm-test-out: Regenerated.
18127 2014-05-14  Andreas Schwab  <schwab@suse.de>
18129         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18130         Remove code conditionalized on USE___THREAD.
18132         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18133         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18134         not definedness.
18136 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18138         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18139         Define unconditionally.
18140         (__ASSUME_O_CLOEXEC): Likewise.
18141         (__ASSUME_SOCK_CLOEXEC): Likewise.
18142         (__ASSUME_IN_NONBLOCK): Likewise.
18143         (__ASSUME_PIPE2): Likewise.
18144         (__ASSUME_EVENTFD2): Likewise.
18145         (__ASSUME_SIGNALFD4): Likewise.
18146         (__ASSUME_DUP3): Likewise.
18147         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18148         (__ASSUME_DUP3): Do not define.
18149         (__ASSUME_EVENTFD2): Likewise.
18150         (__ASSUME_IN_NONBLOCK): Likewise.
18151         (__ASSUME_O_CLOEXEC): Likewise.
18152         (__ASSUME_PIPE2): Likewise.
18153         (__ASSUME_SIGNALFD4): Likewise.
18154         (__ASSUME_SOCK_CLOEXEC): Likewise.
18155         (__ASSUME_UTIMES): Undefine.
18156         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18157         (__ASSUME_UTIMES): Do not define.
18158         (__ASSUME_O_CLOEXEC): Likewise.
18159         (__ASSUME_SOCK_CLOEXEC): Likewise.
18160         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18161         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18162         0x020621].
18163         (__ASSUME_PIPE2): Likewise.
18164         (__ASSUME_EVENTFD2): Likewise.
18165         (__ASSUME_SIGNALFD4): Likewise.
18166         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18167         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18168         Do not define.
18169         (__ASSUME_EVENTFD2): Likewise.
18170         (__ASSUME_SIGNALFD4): Likewise.
18171         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18172         (__ASSUME_32BITUIDS): Likewise.
18173         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18174         (__ASSUME_IPC64): Likewise.
18175         (__ASSUME_ST_INO_64_BIT): Likewise.
18176         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18177         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18178         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18179         (__ASSUME_UTIMES): Do not define.
18180         (__ASSUME_PSELECT): Likewise.
18181         (__ASSUME_PPOLL): Likewise.
18182         (__ASSUME_O_CLOEXEC): Likewise.
18183         (__ASSUME_SOCK_CLOEXEC): Likewise.
18184         (__ASSUME_IN_NONBLOCK): Likewise.
18185         (__ASSUME_PIPE2): Likewise.
18186         (__ASSUME_EVENTFD2): Likewise.
18187         (__ASSUME_SIGNALFD4): Likewise.
18188         (__ASSUME_DUP3): Likewise.
18189         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18190         (__ASSUME_UTIMES): Likewise.
18191         (__ASSUME_O_CLOEXEC): Likewise.
18192         (__ASSUME_SOCK_CLOEXEC): Likewise.
18193         (__ASSUME_IN_NONBLOCK): Likewise.
18194         (__ASSUME_PIPE2): Likewise.
18195         (__ASSUME_EVENTFD2): Likewise.
18196         (__ASSUME_SIGNALFD4): Likewise.
18197         (__ASSUME_DUP3): Likewise.
18198         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18199         (__ASSUME_UTIMES): Likewise.
18200         (__ASSUME_O_CLOEXEC): Likewise.
18201         (__ASSUME_SOCK_CLOEXEC): Likewise.
18202         (__ASSUME_IN_NONBLOCK): Likewise.
18203         (__ASSUME_PIPE2): Likewise.
18204         (__ASSUME_EVENTFD2): Likewise.
18205         (__ASSUME_SIGNALFD4): Likewise.
18206         (__ASSUME_DUP3): Likewise.
18207         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18208         Likewise.
18209         (__ASSUME_UTIMES): Likewise.
18210         (__ASSUME_EVENTFD2): Likewise.
18211         (__ASSUME_SIGNALFD4): Likewise.
18212         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18213         (__ASSUME_O_CLOEXEC): Likewise.
18214         (__ASSUME_SOCK_CLOEXEC): Likewise.
18215         (__ASSUME_IN_NONBLOCK): Likewise.
18216         (__ASSUME_PIPE2): Likewise.
18217         (__ASSUME_EVENTFD2): Likewise.
18218         (__ASSUME_SIGNALFD4): Likewise.
18219         (__ASSUME_DUP3): Likewise.
18220         (__ASSUME_UTIMES): Undefine.
18222         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18223         feclearexcept.  Remove symbol versioning code.
18224         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18225         symbol versioning code.
18226         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18227         symbol versioning code.
18228         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18229         feupdateenv.  Remove symbol versioning code.
18230         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18231         fegetexceptflag.  Remove symbol versioning code.
18232         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18233         fesetexceptflag.  Remove symbol versioning code.
18234         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18235         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18236         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18237         (__posix_fadvise64_l32): Remove prototype.
18238         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18239         code.
18241 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18243         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18244         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18245         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18246         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18248 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18250         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18251         current working directory
18253 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18255         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18256         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18257         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18258         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18259         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18260         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18261         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18264         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18265         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18266         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18267         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18268         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18270         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18271         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18272         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18273         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18274         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18275         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18276         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18277         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18278         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18279         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18280         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18281         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18282         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18283         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18284         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18285         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18286         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18287         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18288         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18289         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18290         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18291         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18292         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18293         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18294         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18295         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18296         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18298         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18299         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18301         * sysdeps/unix/sysv/linux/arm/Makefile
18302         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18303         Add rt-aeabi_unwind_cpp_pr1.
18304         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18305         Add nptl-aeabi_unwind_cpp_pr1.
18306         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18307         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18308         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18309         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18310         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18311         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18313         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18314         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18315         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18316         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18318         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18319         Deconditionalize the code that was previously under [RESET_PID].
18320         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18322         * sysdeps/generic/exit-thread.h: New file.
18323         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18324         * include/unistd.h (__exit_thread): Remove declaration.
18325         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18326         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18327         * csu/libc-start.c: Include <exit-thread.h>.
18328         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18329         * nptl/pthread_create.c: Include <exit-thread.h>.
18330         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18331         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18332         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18333         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18334         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18335         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18336         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18337         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18338         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18339         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18340         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18341         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18342         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18343         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18344         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18345         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18346         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18348 2014-05-13  Andreas Schwab  <schwab@suse.de>
18350         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18352 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18354         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18355         (__ASSUME_UTIMES): Do not condition on kernel version.
18356         (__ASSUME_PSELECT): Define unconditionally.
18357         (__ASSUME_PPOLL): Likewise.
18358         (__ASSUME_ATFCTS): Likewise.
18359         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18360         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18361         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18362         (__ASSUME_UTIMENSAT): Define unconditionally.
18363         (__ASSUME_PRIVATE_FUTEX): Likewise.
18364         (__ASSUME_FALLOCATE): Likewise.
18365         (__ASSUME_O_CLOEXEC): Likewise.
18366         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18367         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18368         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18369         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18370         (__ASSUME_IN_NONBLOCK): Likewise.
18371         (__ASSUME_PIPE2): Likewise.
18372         (__ASSUME_EVENTFD2): Likewise.
18373         (__ASSUME_SIGNALFD4): Likewise.
18374         (__ASSUME_DUP3): Likewise.
18375         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18376         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18377         (__ASSUME_AT_RANDOM): Likewise.
18378         (__ASSUME_PREADV): Likewise.
18379         (__ASSUME_PWRITEV): Likewise.
18380         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18381         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18382         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18383         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18384         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18385         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18386         (__ASSUME_O_CLOEXEC): Define unconditionally.
18387         (__ASSUME_PSELECT): Do not undefine conditionally.
18388         (__ASSUME_PPOLL): Likewise.
18389         (__ASSUME_ATFCTS): Likewise.
18390         (__ASSUME_SET_ROBUST_LIST): Likewise.
18391         (__ASSUME_UTIMENSAT): Likewise.
18392         (__ASSUME_FDATASYNC): Define unconditionally.
18393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18394         (__ASSUME_SIGFRAME_V2): Likewise.
18395         )__ASSUME_EVENTFD2): Likewise.
18396         (__ASSUME_SIGNALFD4): Likewise.
18397         (__ASSUME_PSELECT): Do not undefine conditionally.
18398         (__ASSUME_PPOLL): Likewise.
18399         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18400         (__ASSUME_PSELECT): Define unconditionally.
18401         (__ASSUME_PPOLL): Likewise.
18402         (__ASSUME_O_CLOEXEC): Likewise.
18403         (__ASSUME_SOCK_CLOEXEC): Likewise.
18404         (__ASSUME_IN_NONBLOCK): Likewise.
18405         (__ASSUME_PIPE2): Likewise.
18406         (__ASSUME_EVENTFD2): Likewise.
18407         (__ASSUME_SIGNALFD4): Likewise.
18408         (__ASSUME_DUP3): Likewise.
18409         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18410         (__ASSUME_O_CLOEXEC): Likewise.
18411         (__ASSUME_SOCK_CLOEXEC): Likewise.
18412         (__ASSUME_IN_NONBLOCK): Likewise.
18413         (__ASSUME_PIPE2): Likewise.
18414         (__ASSUME_EVENTFD2): Likewise.
18415         (__ASSUME_SIGNALFD4): Likewise.
18416         (__ASSUME_DUP3): Likewise.
18417         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18418         (__ASSUME_EVENTFD2): Likewise.
18419         (__ASSUME_SIGNALFD4): Likewise.
18420         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18422 2014-05-12  Andreas Schwab  <schwab@suse.de>
18424         [BZ #16932]
18425         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18426         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18427         than maximum RPC packet size.
18428         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18429         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18430         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18431         (_nss_nis_getservbyport_r): Likewise.
18433 2014-05-12  Will Newton  <will.newton@linaro.org>
18435         * malloc/Makefile (tests): Add tst-mallopt.
18436         * malloc/tst-mallopt.c: New file.
18438 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18440         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18441         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18443 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18445         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18446         (tst-tlsmod6.so): Likewise.
18448 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18450         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18452 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18454         [BZ #16064]
18455         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18456         and <dl-procinfo.h>.
18457         (__fegetenv): Save SSE state in envp->__eip if supported.
18458         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18459         envp->__eip if supported.
18460         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18461         and <dl-procinfo.h>.
18462         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18463         __data_offset and __data_selector in environment to 0.  Set SSE
18464         state if supported.
18465         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18466         test-fenv-sse.
18467         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18468         -mfpmath=sse.
18469         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18471 2014-05-09  Will Newton  <will.newton@linaro.org>
18473         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18474         and libc_relro_required for ARM.
18475         * sysdeps/arm/preconfigure: Regenerate.
18477 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18478             Stefan Liebler  <stli@linux.vnet.ibm.com>
18480         * config.make.in (enable-lock-elision): New Makefile variable.
18481         * configure.ac: Likewise.
18482         * configure: Regenerate.
18483         * sysdeps/s390/configure.ac:
18484         Add check for gcc transactions support.
18485         * sysdeps/s390/configure: Regenerate.
18486         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18487         Build elision files if enabled.
18488         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18489         Add lock elision support for s390.
18490         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18491         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18492         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18493         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18494         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18495         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18496         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18497         Likewise.
18498         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18499         Likewise.
18500         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18501         Likewise.
18502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18503         Likewise.
18504         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18505         (__lll_timedlock_elision, __lll_lock_elision)
18506         (__lll_unlock_elision, __lll_trylock_elision)
18507         (lll_timedlock_elision, lll_lock_elision)
18508         (lll_unlock_elision, lll_trylock_elision): Add.
18509         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18510         (pthread_mutex_t): Add lock elision support for s390.
18512 2014-05-14  Wilco  <wdijkstr@arm.com>
18514         * sysdeps/arm/fclrexcpt.c: Cleanup.
18515         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18516         * sysdeps/arm/feenablxcpt.c: Cleanup.
18517         * sysdeps/arm/fegetenv.c: Cleanup.
18518         * sysdeps/arm/fegetexcept.c: Cleanup.
18519         * sysdeps/arm/fegetround.c: Cleanup.
18520         * sysdeps/arm/feholdexcpt.c: Cleanup.
18521         * sysdeps/arm/fesetenv.c: Cleanup.
18522         * sysdeps/arm/fesetround.c: Cleanup.
18523         * sysdeps/arm/feupdateenv.c: Cleanup.
18524         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18525         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18526         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18527         * sysdeps/arm/ftestexcept.c: Cleanup.
18528         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18529         * sysdeps/arm/setfpucw.c: Cleanup.
18531 2014-05-09  Will Newton  <will.newton@linaro.org>
18533         * sysdeps/arm/armv7/strcmp.S: New file.
18534         * NEWS: Mention addition of ARMv7 optimized strcmp.
18536 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18538         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18539         look for %.ac rather than %.in.
18541         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18542         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18543         * sysdeps/mach/hurd/configure: Regenerated.
18544         * sysdeps/unix/sysv/linux/configure: Regenerated.
18546         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18548 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18550         [BZ# 16922]
18551         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18552         (LONG_SUB): Ditto.
18553         (PTR_SUB): Ditto.
18555 2014-05-07  Andreas Schwab  <schwab@suse.de>
18557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18558         when skipping over non-matching result from nscd.
18560 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18562         [BZ #16876]
18563         * nptl/sockperf.c (client): Check socket return value.
18565         [BZ #16877]
18566         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18567         nscd security class.
18569 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18571         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18572         * sysdeps/arm/unwind.h: ... here.
18574 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18576         [BZ# 16916]
18577         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18578         Define.
18580 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18582         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18583         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18584         multiarch strncpy for PPC64.
18585         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18586         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18588         multiarch optimizations.
18589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18590         (__libc_ifunc_impl_list): Likewise.
18591         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18592         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18593         multiarch stpncpy for PPC64.
18594         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18595         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18597 2014-05-06  Andreas Schwab  <schwab@suse.de>
18599         [BZ #16912]
18600         * gmon/mcount.c (_MCOUNT_DECL): Use
18601         atomic_compare_and_exchange_bool_acq instead of
18602         catomic_compare_and_exchange_bool_acq.
18604 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18606         * elf/Makefile (others, install-bin): Remove pldd.
18607         (pldd-modules): Variable removed.
18608         ($(objpfx)pldd): Target removed.
18609         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18610         (others, install-bin): Append pldd here.
18611         ($(objpfx)pldd): New target.
18613         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18614         to 0, so the first #if test emitted later doesn't see it undefined.
18615         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18616         * sysdeps/gnu/errlist.c: Regenerated.
18618 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18620         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18621         [libc_hidden_builtin_def]: Define to empty value.
18622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18623         [libc_hidden_builtin_def]: Likewise.
18624         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18625         [libc_hidden_builtin_def]: Likewise.
18626         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18627         [libc_hidden_builtin_def]: Likewise.
18628         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18629         __redirect_memcpy and define ifunc as default hidden symbol.
18630         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18631         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18633 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18635         * locale/iso-4217.def: Reintroduce XDR currency.
18637 2014-05-04  Allan McRae  <allan@archlinux.org>
18639         * po/eo.po: Update Esperanto translation from translation project.
18641 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18643         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18644         and FEATURE_INDEX_MAX to 1.
18645         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18647 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18649         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18650         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18651         * iconvdata/big5.c (ONE_DIRECTION): Define.
18652         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18653         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18654         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18655         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18656         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18657         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18658         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18659         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18660         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18661         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18662         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18663         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18664         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18665         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18666         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18667         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18668         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18669         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18670         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18671         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18672         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18673         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18674         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18675         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18676         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18677         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18678         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18679         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18680         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18681         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18682         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18683         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18684         * iconvdata/johab.c (ONE_DIRECTION): Define.
18685         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18686         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18687         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18688         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18689         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18690         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18691         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18692         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18693         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18694         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18696 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18698         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18699         (_IO_JUMPS_OFFSET): Define to 0.
18701         * nptl/sysdeps/pthread/bits/libc-lock.h
18702         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18703         (__libc_lock_define_initialized_recursive): Always define using
18704         initializer.  Modern compilers treat uninitialized (implicit zero) and
18705         explicit zero initializers the same (i.e. put the datum in bss).
18707 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18709         * nscd/nscd-client.h: Include <string.h>.
18711 2014-05-01  David S. Miller  <davem@davemloft.net>
18713         [BZ #16885]
18714         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18715         multiple zero bytes exist at the end of a string.
18716         Reported by Aurelien Jarno <aurelien@aurel32.net>
18718         * string/test-strcmp.c (check): Add explicit test for situations where
18719         there are multiple zero bytes after the first.
18721 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18723         [BZ #16890]
18724         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18725         when compiling wprintf.
18726         * stdio-common/tstdiomisc.c (t3): New function.
18727         (main): Call it.
18729 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18731         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18732         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18733         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18734         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18736 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18738         * stdlib/longlong.h: Updated from GCC.
18740 2014-05-01  Will Newton  <will.newton@linaro.org>
18741             Bernard Ogden  <bernie.ogden@linaro.org>
18743         * NEWS: Update fixed bug list.
18745         [BZ #15119]
18746         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18748 2014-04-30  David S. Miller  <davem@davemloft.net>
18750         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18751         (libc_feholdexcept_setround_sparc_ctx): New function.
18752         (libc_fesetenv_sparc_ctx): Likewise.
18753         (libc_feupdateenv_sparc_ctx): Likewise.
18754         (libc_feholdsetround_sparc_ctx): Likewise.
18755         (libc_feholdexcept_setround_ctx): Define.
18756         (libc_feholdexcept_setroundf_ctx): Likewise.
18757         (libc_feholdexcept_setroundl_ctx): Likewise.
18758         (libc_fesetenv_ctx): Likewise.
18759         (libc_fesetenvf_ctx): Likewise.
18760         (libc_fesetenvl_ctx): Likewise.
18761         (libc_feupdateenv_ctx): Likewise.
18762         (libc_feupdateenvf_ctx): Likewise.
18763         (libc_feupdateenvl_ctx): Likewise.
18764         (libc_feresetround_ctx): Likewise.
18765         (libc_feresetroundf_ctx): Likewise.
18766         (libc_feresetroundl_ctx): Likewise.
18767         (libc_feholdsetround_ctx): Likewise.
18768         (libc_feholdsetroundf_ctx): Likewise.
18769         (libc_feholdsetroundl_ctx): Likewise.
18771         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18772         with __USE_GNU instead of XOPEN cpp guards.
18774         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18775         0.
18777         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18778         with XOPEN cpp guards.
18780 2014-04-30  Julian Brown  <julian@codesourcery.com>
18782         [BZ #16888]
18783         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18784         handling.
18786 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18788         [BZ #9894]
18789         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18790         Change to 2.6.32.
18791         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18792         * sysdeps/unix/sysv/linux/configure: Regenerated.
18793         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18794         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18795         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18796         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18797         * README: Update reference to required Linux kernel version.
18798         * manual/install.texi (Linux): Update reference to required Linux
18799         kernel headers version.
18800         * INSTALL: Regenerated.
18802         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18803         header inclusion.
18804         [POSIX] (limits.h): Likewise.
18805         [POSIX] (math.h): Likewise.
18806         [POSIX] (sys/wait.h): Likewise.
18807         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18808         function.
18809         [POSIX] (stddef.h): Do not allow header inclusion.
18811 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18813         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18815 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18817         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18818         Return immediately after lll_futex_wake.
18820 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18822         [BZ #16791]
18823         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18824         structure.
18825         (datahead_init_pos): Call datahead_init_common early.
18826         (datahead_init_neg): Likewise.
18828         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18829         datahead_init_neg): New functions.
18830         * nscd/aicache.c (addhstaiX): Use them.
18831         * nscd/grpcache.c (cache_addgr): Likewise.
18832         * nscd/hstcache.c (cache_addhst): Likewise.
18833         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18834         * nscd/netgroupcache.c (do_notfound): Likewise.
18835         (addgetnetgrentX): Likewise.
18836         (addinnetgrX): Likewise.
18837         * nscd/pwdcache.c (cache_addpw): Likewise.
18838         * nscd/servicescache.c (cache_addserv): Likewise.
18840 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841             Atsushi Onoe  <atsushi@onoe.org>
18843         [BZ #14308]
18844         [BZ #12994]
18845         [BZ #13651]
18846         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18847         one response is valid.
18848         * resolv/res_send.c (send_dg): Check for validity of other
18849         response if the current response is a referral.
18851 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18853         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18855 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18857         [BZ #16823]
18858         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18859         Always divide by positive zero when computing -Inf result.
18860         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18861         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18863 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18865         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18866         FPSCR if value do not change.
18867         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18868         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18869         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18870         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18871         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18872         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18873         function.
18875 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18877         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18878         * sysdeps/unix/sysv/linux/hppa: Move directory from
18879         ports/systeps/unix/sysv/linux/hppa.
18880         * README: Update listing for hppa-*-linux-gnu.
18882 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18884         [BZ #16754]
18885         * manual/stdio.texi (Hook functions): Fix types of stream hook
18886         functions.
18887         [BZ #16854]
18888         * socket/sys/socket.h: Fix typo in comment.
18890 2014-04-28  Wilco  <wdijkstr@arm.com>
18892         * sysdeps/arm/fenv_private.h: New file.
18893         * sysdeps/arm/math_private.h: New file.
18894         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18896 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18898         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18899         with __int128_t.
18900         (La_x86_64_retval): Likewise.
18902 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18904         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18905         fpsr if value didn't change.
18906         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18907         to fpcr if value didn't change.
18908         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18909         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18910         fpsr or fpcr if value didn't change.
18911         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18912         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18913         fpcr if value didn't change.
18914         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18915         to fpsr if value didn't change.
18917 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18919         * nptl/tst-sem3.c: Use test-skeleton.c
18920         (main): Rename to do_test.  Use return instead of
18921         exit.
18922         * nptl/tst-sem4.c: Use test-skeleton.c
18923         (main): Rename to do_test.
18925 2014-04-22  David S. Miller  <davem@davemloft.net>
18927         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18928         (struct sigaction): New struct member __glibc_reserved0, change
18929         type of sa_flags to int.
18931 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18933         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18934         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18936 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18938         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18939         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18941 2014-04-22  Will Newton  <will.newton@linaro.org>
18942             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18944         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18945         (__longjmp): Add longjmp and longjmp_target SystemTap
18946         probes.
18947         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18948         (__sigsetjmp): Add setjmp SystemTap probe.
18950 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18952         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18953         match manual order.
18955 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18957         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18959         * sysdeps/powerpc/fpu/fenv_private.h
18960         (libc_feholdexcept_setroundl_ctx): Define to
18961         libc_feholdexcept_setround_ppc_ctx.
18962         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18963         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18964         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18965         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18967 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18969         * sysdeps/aarch64/math-tests.h: New file.
18971 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18973         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18974         New.
18975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18976         Check and set bit_AVX2_Usable.
18977         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18978         macro.
18979         (bit_AVX2): Likewise.
18980         (index_AVX2_Usable): Likewise.
18981         (CPUID_AVX2): Likewise.
18982         (HAS_AVX2): Likewise.
18984 2014-04-17  Will Newton  <will.newton@linaro.org>
18986         * manual/setjmp.texi (System V contexts): Add note that
18987         calling setcontext on a context created by a call to a
18988         signal handler is undefined.  Update text to note that
18989         setcontext from a signal handler is possible but not
18990         recommended.
18992         [BZ #16629]
18993         * stdlib/tst-setcontext.c: Include signal.h.
18994         (main): Check that the signal stack before and
18995         after swapcontext is the same.
18997         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18998         Re-implement to restore registers in user code and avoid
18999         rt_sigreturn system call.
19001 2014-04-17  Wilco  <wdijkstr@arm.com>
19003         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19004         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19005         * math/test-fenv.c: Skip exception trap tests on targets which only
19006         support non-stop mode.
19008 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19009             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19011         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19012         (libc_feholdsetround_aarch64_ctx)
19013         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19014         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19015         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19016         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19017         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19018         (libc_feresetround_noexl_ctx): Define.
19020 2014-04-16  Richard Henderson  <rth@redhat.com>
19022         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19024         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19025         unwind tables.
19027         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19028         const from the non-libc, non-ldso copy.
19030         * sysdeps/alpha/libm-test-ulps: Regenerate.
19032 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19033             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19035         * sysdeps/aarch64/fpu/math_private.h: New file.
19037 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19039         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19041 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19043         [BZ #16275]
19044         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19045         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19047         Intel MPX bound registers before _dl_profile_fixup.
19048         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19049         registers after _dl_profile_fixup.  Save and restore bound
19050         registers bnd0/bnd1 when calling _dl_call_pltexit.
19051         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19052         (LR_BND_OFFSET): Likewise.
19053         (LRV_BND0_OFFSET): Likewise.
19054         (LRV_BND1_OFFSET): Likewise.
19056 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19058         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19059         to...
19060         * sysdeps/mach/hurd/i386/tls.h: ... here.
19061         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19062         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19063         fields.
19065 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19067         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19069 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19071         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19073 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19075         [BZ #14770]
19076         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19077         * sysdeps/s390/configure: Regenerate.
19079         [BZ #16824]
19080         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19081         Set round-to-nearest internally to reduce error accumulation.
19083 2014-04-16  Alan Modra  <amodra@gmail.com>
19085         [BZ #16740]
19086         [BZ #16619]
19087         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19088         * math/libm-test.inc (frexp_test_data): Add tests.
19089         * NEWS: Update fixed bug list.
19091 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19093         * benchtests/Makefile: Depend on libraries in build directory.
19094         (bench-math): Separate out math tests.
19095         (bench-pthread): Separate out pthread tests.
19096         (bench): Include math and pthread tests.
19098 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19100         [BZ #16831]
19101         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19102         _dl_debug_initialize.
19104         * configure.ac: Remove SELinux header check.
19105         * configure: Regenerate.
19106         * nscd/selinux.c (perms): Array of const char* to permission names.
19107         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19108         default policy. Call string_to_security_class and string_to_av_perm to
19109         translate strings. Enforce default policy and call avs_has_perm with
19110         results of translated strings.
19112 2014-04-13  David S. Miller  <davem@davemloft.net>
19114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19116 2014-04-12  Allan McRae  <allan@archlinux.org>
19118         [BZ #16838]
19119         * manual/string.texi (Collation Functions): Fix qsort argument
19120         order in example.
19121         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19123 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19125         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19126         Make the test a no-op if there are no exceptions defined.
19128 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19130         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19131         enable-hardcoded-path-in-tests
19133 2014-04-11  Will Newton  <will.newton@linaro.org>
19135         * benchtests/Makefile (extra-objs): Add json-lib.o.
19136         (bench-func): Tidy up JSON output.
19137         * benchtests/bench-skeleton.c: Include json-lib.h.
19138         (main): Use JSON library functions to do output of
19139         benchmark results.
19140         * benchtests/bench-timing-type.c (main): Output the
19141         timing type simply, leaving formatting to the user.
19142         * benchtests/json-lib.c: New file.
19143         * benchtests/json-lib.h: Likewise.
19145 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19147         [BZ #15215]
19148         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19149         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19150         memory barriers.  Add comments.
19151         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19152         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19153         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19154         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19155         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19156         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19158 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19160         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19161         * sysdeps/s390/s390-64/configure.ac: ... this ...
19162         * sysdeps/s390/configure.ac: ... to here.
19163         * sysdeps/s390/s390-32/configure: Delete file.
19164         * sysdeps/s390/s390-64/configure: Delete file.
19165         * sysdeps/s390/configure: Regenerate.
19167 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19169         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19171 2014-04-11  Will Newton  <will.newton@linaro.org>
19173         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19174         to zero if it is not defined elsewhere.  (mtrim): Test
19175         the value of MALLOC_DEBUG with #if rather than #ifdef.
19177 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19179         * benchtests/pthread_once-inputs: New file.
19180         * benchtests/pthread_once-source.c: New file.
19181         * benchtests/README: Update documentation.
19183 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19184             H.J. Lu  <hongjiu.lu@intel.com>
19186         [BZ #16275]
19187         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19188         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19189         * sysdeps/x86_64/configure: Regenerated.
19190         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19191         macro.
19192         (REGISTER_SAVE_RAX): Likewise.
19193         (REGISTER_SAVE_RCX): Likewise.
19194         (REGISTER_SAVE_RDX): Likewise.
19195         (REGISTER_SAVE_RSI): Likewise.
19196         (REGISTER_SAVE_RDI): Likewise.
19197         (REGISTER_SAVE_R8): Likewise.
19198         (REGISTER_SAVE_R9): Likewise.
19199         (REGISTER_SAVE_BND0): Likewise.
19200         (REGISTER_SAVE_BND1): Likewise.
19201         (REGISTER_SAVE_BND2): Likewise.
19202         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19203         bound registers when calling _dl_fixup.
19205 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19208         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19209         of its definition.
19210         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19211         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19212         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19213         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19214         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19215         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19216         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19218 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19220         [BZ #15514]
19221         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19222         pathconf(_PC_NAME_MAX).
19224 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19226         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19227         Remove macro usage.
19228         (__PTHREAD_SPINS): Move definition to ...
19229         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19230         (__PTHREAD_SPINS): ... here.
19231         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19232         (__PTHREAD_SPIN): Likewise.
19233         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19234         (__PTHREAD_SPIN): Likewise.
19235         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19236         (__PTHREAD_SPIN): Likewise.
19237         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19238         (__PTHREAD_SPIN): Likewise.
19239         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19240         (__PTHREAD_SPIN): Likewise.
19241         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19242         (__PTHREAD_SPIN): Likewise.
19243         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19244         (__PTHREAD_SPIN): Likewise.
19245         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19246         (__PTHREAD_SPIN): Likewise.
19247         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19248         (__PTHREAD_SPIN): Likewise.
19249         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19250         (__PTHREAD_SPIN): Likewise.
19251         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19252         (__PTHREAD_SPIN): Likewise.
19253         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19254         (__PTHREAD_SPIN): Likewise.
19256         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19257         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19258         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19259         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19260         imply folder.
19261         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19262         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19263         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19264         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19265         correct imply path.
19266         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19267         strlen symbol for non multi-arch builds.
19268         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19269         missing hidden_def and weak_alias.
19271 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19273         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19275 2014-04-07  Will Newton  <will.newton@linaro.org>
19277         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19278         and contents.  [!_LIBC] Remove #ifndef and contents.
19279         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19280         * string/memccpy.c (__memccpy): Use ANSI prototype.
19281         * string/memfrob.c (memfrob): Likewise.
19282         * string/strcoll.c (STRCOLL): Likewise.
19283         * string/strlen.c (strlen): Likewise.
19284         * string/strtok.c (STRTOK): Likewise.
19285         * string/strcat.c: Remove unused #include of memcopy.h.
19286         (strcat): Use ANSI prototype.
19287         * string/strchr.c: Remove unused #include of memcopy.h.
19288         (strchr): Use ANSI prototype.
19289         * string/strcmp.c: Remove unused #include of memcopy.h.
19290         (strcmp): Use ANSI prototype.
19291         * string/strcpy.c: Remove unused #include of memcopy.h.
19292         (strcpy): Use ANSI prototype.
19294 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19296         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19297         * config.make.in (config-extra-cppflags): Set it from
19298         libc_extra_cppflags.
19299         * configure.ac (libc_extra_cflags): Make it accumulate over
19300         configure fragments.
19301         (libc_extra_cppflags): New flag.
19302         * configure. Regenerate.
19303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19304         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19305         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19308         [BZ #16815]
19309         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19310         result for FE_DOWNWARD rounding mode.
19311         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19312         Likewise.
19313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19315 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19317         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19318         in function argument name.
19320 2014-04-03  David Svoboda  <svoboda@cert.org>
19322         [BZ #5666]
19323         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19324         explicitly.
19326 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19328         * elf/dl-unmap-segments.h: New file.
19329         * sysdeps/generic/ldsodefs.h
19330         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19331         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19332         * elf/dl-fptr.c: Likewise.
19333         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19334         * sysdeps/aarch64/tlsdesc.c: Likewise.
19335         * sysdeps/arm/tlsdesc.c: Likewise.
19336         * sysdeps/i386/tlsdesc.c: Likewise.
19337         * sysdeps/tile/dl-runtime.c: Likewise.
19338         * sysdeps/x86_64/tlsdesc.c: Likewise.
19339         * elf/dl-load.h: New file.
19340         * elf/dl-load.c: Include it.
19341         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19342         Macros moved to dl-load.h.
19343         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19344         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19345         Use _dl_unmap_segments in place of __munmap.
19346         Break out segment-mapping loop into ...
19347         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19349 2014-04-03  Will Newton  <will.newton@linaro.org>
19351         * elf/dl-lookup.c (do_lookup_x): Remove comment
19352         referring to nested function and move variable
19353         declarations down to before first use.
19355 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19357         [BZ #16799]
19358         [BZ #16800]
19359         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19360         with 0 numerator.
19361         * math/s_catanf.c (__catanf): Likewise.
19362         * math/s_catanh.c (__catanh): Likewise.
19363         * math/s_catanhf.c (__catanhf): Likewise.
19364         * math/s_catanhl.c (__catanhl): Likewise.
19365         * math/s_catanl.c (__catanl): Likewise.
19366         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19367         by positive zero when computing -Inf result.
19368         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19369         (catanh_test): Likewise.
19370         * sysdeps/i386/fpu/libm-test-ulps: Update.
19371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19373         [BZ #16789]
19374         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19375         instead of using underflowing value in computing result.
19376         * math/s_clog10.c (__clog10): Likewise.
19377         * math/s_clog10f.c (__clog10f): Likewise.
19378         * math/s_clog10l.c (__clog10l): Likewise.
19379         * math/s_clogf.c (__clogf): Likewise.
19380         * math/s_clogl.c (__clogl): Likewise.
19381         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19382         (clog10_test): Likewise.
19383         * sysdeps/i386/fpu/libm-test-ulps: Update.
19384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19386 2014-04-02  Alan Modra  <amodra@gmail.com>
19388         [BZ #16739]
19389         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19390         output when value is near a power of two.  Use int64_t for lx and
19391         remove casts.  Use decimal rather than hex exponent constants.
19392         Don't use long double multiplication when double will suffice.
19393         * math/libm-test.inc (nextafter_test_data): Add tests.
19394         * NEWS: Add 16739 and 16786 to bug list.
19396         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19398         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19400 2014-04-01  Will Newton  <will.newton@linaro.org>
19402         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19403         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19405 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19407         [BZ #13347]
19408         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19409         * nptl/tst-setuid2.c: New file.
19410         * nptl/Makefile (xtests): Add tst-setuid2.
19412 2014-04-01  Alan Modra  <amodra@gmail.com>
19414         [BZ #16786]
19415         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19417 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19419         [BZ #6803]
19420         [BZ #6804]
19421         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19422         set errno as appropriate.
19423         * math/w_scalbf.c (__scalbf): Likewise.
19424         * math/w_scalbl.c (__scalbl): Likewise.
19425         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19426         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19427         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19428         Add more NaN tests.
19430         [BZ #16349]
19431         * math/w_atan2.c: Include <errno.h>.
19432         (__atan2): Set errno for result underflowing to zero.
19433         * math/w_atan2f.c: Include <errno.h>.
19434         (__atan2f): Set errno for result underflowing to zero.
19435         * math/w_atan2l.c: Include <errno.h>.
19436         (__atan2l): Set errno for result underflowing to zero.
19437         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19438         tests.
19439         * math/auto-libm-test-out: Regenerated.
19441 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19443         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19444         Encode instruction correctly in little endian.
19445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19446         Likewise.
19447         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19448         Likewise.
19449         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19450         Likewise.
19451         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19452         Likewise.
19454 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19456         [BZ #9894]
19457         * sysdeps/unix/sysv/linux/kernel-features.h
19458         [__sparc__ && !__arch64__ && !__sparc_v9__]
19459         (__ASSUME_SET_ROBUST_LIST): Do not define.
19460         [__sparc__ && !__arch64__ && !__sparc_v9__]
19461         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19462         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19463         Likewise.
19464         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19465         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19466         (__ASSUME_REQUEUE_PI): Likewise.
19467         (__ASSUME_SET_ROBUST_LIST): Likewise.
19468         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19469         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19470         Undefine.
19471         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19472         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19473         Likewise.
19474         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19475         Likewise.
19476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19477         Likewise.
19478         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19479         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19480         Undefine.
19481         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19482         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19483         Likewise.
19485         [BZ #16648]
19486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19487         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19488         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19490 2014-03-31  Will Newton  <will.newton@linaro.org>
19492         * benchtests/Makefile (bench): Add ffs and ffsll to list
19493         of tests.
19494         * benchtests/ffs-inputs: New file.
19495         * benchtests/ffsll-inputs: Likewise.
19497 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19499         [BZ #16770]
19500         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19501         too large before casting to int.
19502         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19503         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19504         * math/libm-test.inc (scalb_test_data): Add more tests.
19506 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19508         * benchtests/Makefile (DETAILED_OPT): New make option.
19509         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19510         set.
19511         * benchtests/bench-skeleton.c: Include stdbool.h.
19512         (main): Store and print timings per input.
19513         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19514         member to each argument value.
19515         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19516         (_print_arg_data): Initialize per-input timing to 0.
19518         * benchtests/Makefile (timing-type): New binary.
19519         (bench-clean): Also remove bench-timing-type.
19520         (bench): New target for timing-type.
19521         (bench-func): Print output in JSON format.
19522         * benchtests/bench-skeleton.c (main): Print output in JSON
19523         format.
19524         * benchtests/bench-timing-type.c: New file.
19525         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19526         (TIMING_PRINT_STATS): Remove.
19527         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19528         name separately.
19530         * benchtests/bench-modf.c: Remove.
19531         * benchtests/modf-inputs: New inputs file.
19533 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19535         [BZ #16362]
19536         * math/s_clog10.c (M_PI_LOG10E): New macro.
19537         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19538         imaginary parts are 0.
19539         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19540         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19541         imaginary parts are 0.
19542         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19543         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19544         imaginary parts are 0.
19545         * math/libm-test.inc (clog10_test_data): Update expected results
19546         for when real and imaginary parts are 0.
19548 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19550         * elf/dl-load.c: Finish conversion of __builtin_expect into
19551         __glibc_{un}likely.
19553 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19555         [BZ #16348]
19556         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19557         1+x for argument with exponent below -67.
19558         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19559         Likewise.
19560         * math/auto-libm-test-in: Add more tests of exp.
19561         * math/auto-libm-test-out: Regenerated.
19563 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19565         [BZ #16759]
19566         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19567         (nscd_getnetgrent): Use it.
19569         [BZ #16760]
19570         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19571         of stpcpy.
19573 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19575         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19576         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19577         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19578         (lll_robust_unlock): Remove out of line section. Use cfi
19579         intrinsics.
19580         (LLL_STUB_UNWIND_INFO*): Remove.
19581         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19582         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19583         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19584         (lll_robust_unlock): Remove out of line section. Use cfi
19585         intrinsics.
19586         (LLL_STUB_UNWIND_INFO*): Remove.
19588 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19590         [BZ #16758]
19591         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19592         blank values.
19594 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19596         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19598 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19600         [BZ #16198]
19601         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19602         fnstenv.
19603         * math/test-fenv-preserve.c: New file.
19604         * math/Makefile (tests): Add test-fenv-preserve.
19606 2014-03-26  Will Newton <will.newton@linaro.org>
19608         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19610 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19612         * scripts/versionlist.awk: Partition the version sets and emit all
19613         GLIBC_* (sorted) before all others (sorted).
19615 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19617         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19618         GLIBC_2.2.5 version.
19620 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19622         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19623         calls.
19625         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19626         previous change.
19628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19630 2014-03-25  Andreas Schwab  <schwab@suse.de>
19632         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19633         label to be used after in6ailist is initialized.
19635 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19637         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19638         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19640 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19642         [BZ #16357]
19643         [BZ #16599]
19644         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19645         min_plus_half.
19646         (fp_formats): Update initializers.
19647         (init_fp_formats): Initialize new field.
19648         (output_for_one_input_case): Allow underflow for results up to
19649         min_plus_half.
19650         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19651         * math/auto-libm-test-in: Don't mark some underflows from asin and
19652         atanh as spurious.
19653         * math/auto-libm-test-out: Regenerated.
19654         * sysdeps/i386/fpu/libm-test-ulps: Update.
19655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657 2014-03-25  Andreas Schwab  <schwab@suse.de>
19659         * libio/Makefile (tst-ftell-partial-wide-ENV)
19660         (tst-ftell-active-handler-ENV): Define.
19662 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19664         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19666 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19668         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19670 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19672         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19673         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19674         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19676 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19678         [BZ #16634]
19679         * elf/dl-load.c (open_verify): Add mode parameter.
19680         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19681         (open_path): Change from boolean 'secure' to complete flag 'mode'
19682         (_dl_map_object): Adjust.
19683         * elf/Makefile (tests): Add tst-dlopen-aout.
19684         * elf/tst-dlopen-aout.c: New test.
19686 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19688         [BZ #16714]
19689         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19690         (struct stat): Rename member pad0 to __glibc_reserved0.
19692         [BZ #16712]
19693         * sysdeps/s390/s390-32/bits/wordsize.h
19694         (__WORDSIZE32_SIZE_ULONG): New define.
19695         * sysdeps/s390/s390-64/bits/wordsize.h
19696         (__WORDSIZE32_SIZE_ULONG): Likewise.
19697         * sysdeps/generic/stdint.h (SIZE_MAX):
19698         Define as UL if __WORDSIZE32_SIZE_ULONG.
19700         [BZ #16713]
19701         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19702         (__glibc_reserved0): New variable.
19703         (sa_flags): Change type to int.
19705         * posix/Makefile (before-compile): Use += before-compile instead
19706         of a :=.
19708         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19709         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19711 2014-03-20  Andreas Schwab  <schwab@suse.de>
19713         [BZ #16743]
19714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19715         non-matching result from nscd.
19717 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19719         * scripts/bench.py: Moved to ...
19720         * benchtests/scripts/bench.py: ... here.
19721         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19723 2014-03-24  Andreas Schwab  <schwab@suse.de>
19725         [BZ #16002]
19726         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19727         alloca_account and account alloca use for struct in6ailist.
19729 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19731         [BZ #16284]
19732         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19733         rounding mode to recompute results that overflow to infinity or
19734         underflow to zero.
19735         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19736         bug 16284.
19737         * math/auto-libm-test-out: Regenerated.
19738         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19739         (ccosh_test): Likewise.
19740         (csin_test_data): Use plus_oflow.
19741         (csin_test): Use ALL_RM_TEST.
19742         (csinh_test_data): Use plus_oflow.
19743         (csinh_test): Use ALL_RM_TEST.
19744         * sysdeps/i386/fpu/libm-test-ulps: Update.
19745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19747 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19749         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19750         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19751         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19753         [BZ #16731]
19754         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19755         when x - 1 is zero.
19756         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19757         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19758         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19759         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19760         argument is 1.
19761         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19762         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19763         zero.
19764         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19765         * sysdeps/i386/fpu/libm-test-ulps: Update.
19766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19770         * scripts/bench.pl: Remove file.
19771         * scripts/bench.py: New benchmark script.
19772         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19773         * benchtests/README: Mention python dependency.
19774         * scripts/pylintrc: New file.
19775         * scripts/pylint: New file.
19777         * bits/mathdef.h: Use #ifdef instead of #if.
19778         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19779         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19780         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19781         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19782         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19783         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19785 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19786             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19788         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19790         and strpbrk-ppc64 objects.
19791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19792         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19793         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19794         multiarch strpbrk for POWER7.
19795         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19796         multiarch strpbrk for PPC64.
19797         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19798         ifunc selector.
19799         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19800         strpbrk for POWER7.
19802 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19804         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19805         (atan_test): Likewise.
19806         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19807         (atanh_test): Use ALL_RM_TEST.
19808         (atan2_test_data): Likewise.
19809         (cabs_test): Likewise.
19810         (cacosh_test): Likewise.
19811         (carg_test): Likewise.
19812         (casin_test): Likewise.
19813         (casinh_test): Likewise.
19814         (cbrt_test): Likewise.
19815         (csqrt_test): Likewise.
19816         (erf_test): Likewise.
19817         (erfc_test): Likewise.
19818         (pow10_test): Likewise.
19819         (exp2_test): Likewise.
19820         (hypot_test): Likewise.
19821         (j0_test): Likewise.
19822         (j1_test): Likewise.
19823         (lgamma_test): Likewise.
19824         (gamma_test): Likewise.
19825         (sincos_test): Likewise.
19826         (tanh_test): Likewise.
19827         (y0_test): Likewise.
19828         (y1_test): Likewise.
19829         * sysdeps/i386/fpu/libm-test-ulps: Update.
19830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19834         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19836         and strcspn-ppc64 objects.
19837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19838         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19839         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19840         multiarch strcspn for POWER7.
19841         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19842         multiarch strcspn for PPC64.
19843         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19844         ifunc selector.
19845         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19846         strcspn for POWER7.
19848 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19850         * math/gen-libm-test.pl (generate_testfile): Expect only function
19851         name as argument to AUTO_TESTS_* and pass results for all rounding
19852         modes to parse_args.
19853         (parse_auto_input): Separate inputs of automatic tests from
19854         outputs before storing in %auto_tests.
19855         * math/libm-test.inc (acos_test_data): Update call to
19856         AUTO_TESTS_f_f.
19857         (acos_test): Use ALL_RM_TEST.
19858         (acos_tonearest_test_data): Remove.
19859         (acos_test_tonearest): Likewise.
19860         (acos_towardzero_test_data): Likewise.
19861         (acos_test_towardzero): Likewise.
19862         (acos_downward_test_data): Likewise.
19863         (acos_test_downward): Likewise.
19864         (acos_upward_test_data): Likewise.
19865         (acos_test_upward): Likewise.
19866         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19867         (asin_test_data): Likewise.
19868         (asin_test): Use ALL_RM_TEST.
19869         (asin_tonearest_test_data): Remove.
19870         (asin_test_tonearest): Likewise.
19871         (asin_towardzero_test_data): Likewise.
19872         (asin_test_towardzero): Likewise.
19873         (asin_downward_test_data): Likewise.
19874         (asin_test_downward): Likewise.
19875         (asin_upward_test_data): Likewise.
19876         (asin_test_upward): Likewise.
19877         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19878         (atan_test_data): Likewise.
19879         (atanh_test_data): Likewise.
19880         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19881         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19882         (carg_test_data): Likewise.
19883         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19884         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19885         (ccosh_test_data): Likewise.
19886         (cexp_test_data): Likewise.
19887         (clog_test_data): Likewise.
19888         (clog10_test_data): Likewise.
19889         (cos_test_data): Update call to AUTO_TESTS_f_f.
19890         (cos_test): Use ALL_RM_TEST.
19891         (cos_tonearest_test_data): Remove.
19892         (cos_test_tonearest): Likewise.
19893         (cos_towardzero_test_data): Likewise.
19894         (cos_test_towardzero): Likewise.
19895         (cos_downward_test_data): Likewise.
19896         (cos_test_downward): Likewise.
19897         (cos_upward_test_data): Likewise.
19898         (cos_test_upward): Likewise.
19899         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19900         (cosh_test): Use ALL_RM_TEST.
19901         (cosh_tonearest_test_data): Remove.
19902         (cosh_test_tonearest): Likewise.
19903         (cosh_towardzero_test_data): Likewise.
19904         (cosh_test_towardzero): Likewise.
19905         (cosh_downward_test_data): Likewise.
19906         (cosh_test_downward): Likewise.
19907         (cosh_upward_test_data): Likewise.
19908         (cosh_test_upward): Likewise.
19909         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19910         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19911         (ctan_test_data): Likewise.
19912         (ctan_test): Use ALL_RM_TEST.
19913         (ctan_tonearest_test_data): Remove.
19914         (ctan_test_tonearest): Likewise.
19915         (ctan_towardzero_test_data): Likewise.
19916         (ctan_test_towardzero): Likewise.
19917         (ctan_downward_test_data): Likewise.
19918         (ctan_test_downward): Likewise.
19919         (ctan_upward_test_data): Likewise.
19920         (ctan_test_upward): Likewise.
19921         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19922         (ctanh_test): Use ALL_RM_TEST.
19923         (ctanh_tonearest_test_data): Remove.
19924         (ctanh_test_tonearest): Likewise.
19925         (ctanh_towardzero_test_data): Likewise.
19926         (ctanh_test_towardzero): Likewise.
19927         (ctanh_downward_test_data): Likewise.
19928         (ctanh_test_downward): Likewise.
19929         (ctanh_upward_test_data): Likewise.
19930         (ctanh_test_upward): Likewise.
19931         (erf_test_data): Update call to AUTO_TESTS_f_f.
19932         (erfc_test_data): Likewise.
19933         (exp_test_data): Likewise.
19934         (exp_test): Use ALL_RM_TEST.
19935         (exp_tonearest_test_data): Remove.
19936         (exp_test_tonearest): Likewise.
19937         (exp_towardzero_test_data): Likewise.
19938         (exp_test_towardzero): Likewise.
19939         (exp_downward_test_data): Likewise.
19940         (exp_test_downward): Likewise.
19941         (exp_upward_test_data): Likewise.
19942         (exp_test_upward): Likewise.
19943         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19944         (exp10_test): Use ALL_RM_TEST.
19945         (exp10_tonearest_test_data): Remove.
19946         (exp10_test_tonearest): Likewise.
19947         (exp10_towardzero_test_data): Likewise.
19948         (exp10_test_towardzero): Likewise.
19949         (exp10_downward_test_data): Likewise.
19950         (exp10_test_downward): Likewise.
19951         (exp10_upward_test_data): Likewise.
19952         (exp10_test_upward): Likewise.
19953         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19954         (expm1_test_data): Likewise.
19955         (expm1_test): Use ALL_RM_TEST.
19956         (expm1_tonearest_test_data): Remove.
19957         (expm1_test_tonearest): Likewise.
19958         (expm1_towardzero_test_data): Likewise.
19959         (expm1_test_towardzero): Likewise.
19960         (expm1_downward_test_data): Likewise.
19961         (expm1_test_downward): Likewise.
19962         (expm1_upward_test_data): Likewise.
19963         (expm1_test_upward): Likewise.
19964         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19965         (fma_test): Use ALL_RM_TEST.
19966         (fma_towardzero_test_data): Remove.
19967         (fma_test_towardzero): Likewise.
19968         (fma_downward_test_data): Likewise.
19969         (fma_test_downward): Likewise.
19970         (fma_upward_test_data): Likewise.
19971         (fma_test_upward): Likewise.
19972         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19973         (j0_test_data): Update call to AUTO_TESTS_f_f.
19974         (j1_test_data): Likewise.
19975         (jn_test_data): Update call to AUTO_TESTS_if_f.
19976         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19977         (log_test_data): Update call to AUTO_TESTS_f_f.
19978         (log10_test_data): Likewise.
19979         (log1p_test_data): Likewise.
19980         (log2_test_data): Likewise.
19981         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19982         (pow_tonearest_test_data): Likewise.
19983         (sin_test_data): Update call to AUTO_TESTS_f_f.
19984         (sin_test): Use ALL_RM_TEST.
19985         (sin_tonearest_test_data): Remove.
19986         (sin_test_tonearest): Likewise.
19987         (sin_towardzero_test_data): Likewise.
19988         (sin_test_towardzero): Likewise.
19989         (sin_downward_test_data): Likewise.
19990         (sin_test_downward): Likewise.
19991         (sin_upward_test_data): Likewise.
19992         (sin_test_upward): Likewise.
19993         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19994         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19995         (sinh_test): Use ALL_RM_TEST.
19996         (sinh_tonearest_test_data): Remove.
19997         (sinh_test_tonearest): Likewise.
19998         (sinh_towardzero_test_data): Likewise.
19999         (sinh_test_towardzero): Likewise.
20000         (sinh_downward_test_data): Likewise.
20001         (sinh_test_downward): Likewise.
20002         (sinh_upward_test_data): Likewise.
20003         (sinh_test_upward): Likewise.
20004         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20005         (sqrt_test): Use ALL_RM_TEST.
20006         (sqrt_tonearest_test_data): Remove.
20007         (sqrt_test_tonearest): Likewise.
20008         (sqrt_towardzero_test_data): Likewise.
20009         (sqrt_test_towardzero): Likewise.
20010         (sqrt_downward_test_data): Likewise.
20011         (sqrt_test_downward): Likewise.
20012         (sqrt_upward_test_data): Likewise.
20013         (sqrt_test_upward): Likewise.
20014         (tan_test_data): Update call to AUTO_TESTS_f_f.
20015         (tan_test): Use ALL_RM_TEST.
20016         (tan_tonearest_test_data): Remove.
20017         (tan_test_tonearest): Likewise.
20018         (tan_towardzero_test_data): Likewise.
20019         (tan_test_towardzero): Likewise.
20020         (tan_downward_test_data): Likewise.
20021         (tan_test_downward): Likewise.
20022         (tan_upward_test_data): Likewise.
20023         (tan_test_upward): Likewise.
20024         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20025         (tgamma_test_data): Likewise.
20026         (y0_test_data): Likewise.
20027         (y1_test_data): Likewise.
20028         (yn_test_data): Update call to AUTO_TESTS_if_f.
20029         (main): Do not call removed functions.
20031 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20033         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20034         (ldexp_test_data): Remove.
20035         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20036         scalbn_test_data.
20037         (scalb_test): Use ALL_RM_TEST.
20039 2014-03-19  Andreas Schwab  <schwab@suse.de>
20041         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20043 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20045         [BZ #16649]
20046         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20047         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20048         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20050         (__ASSUME_PREADV): Undefine.
20051         (__ASSUME_PWRITEV): Likewise.
20053 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20055         * bits/mman-linux.h: Add comment about non-Linux use.
20056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20057         bits/mman-linux.h resting place.
20059         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20060         * bits/mman-linux.h: ... here.
20062 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20064         * conform/conformtest.pl: Add standard definition when calling C
20065         preprocessor on data files.
20066         (checknamespace): Remove unused variable.
20068 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20070         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20071         minus_oflow, plus_uflow and minus_uflow in expected results.
20072         * math/libm-test.inc (scalbn_test_data): Add more tests of
20073         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20074         minus_uflow.
20075         (scalbn_test): Use ALL_RM_TEST.
20076         (scalbln_test_data): Add more tests of negative arguments.  Use
20077         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20078         (scalbln_test): Use ALL_RM_TEST.
20080 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20082         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20084 2014-03-18  Will Newton  <will.newton@linaro.org>
20086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20087         inaccurate comment.
20089 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20091         * Makerules [!subdir] (check-abi): Exit with error status if a
20092         test failed.
20094 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20096         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20097         for rint.  Include results for all rounding modes.
20098         (nearbyint_test): Use ALL_RM_TEST.
20099         (rint_test_data): Include all tests used for nearbyint.
20101 2014-03-17  Will Newton  <will.newton@linaro.org>
20103         * nptl/sysdeps/pthread/pthread.h: Revert previous
20104         change.
20106         * sysdeps/generic/ldsodefs.h: Revert previous
20107         change.
20109         * libio/genops.c: Revert previous change.
20110         * libio/libioP.h: Likewise.
20111         * stdio-common/vfprintf.c: Likewise.
20113         * sysdeps/generic/math_private.h: Revert previous
20114         change.
20116         * sysdeps/generic/math_private.h: Check whether
20117         HAVE_RM_CTX is defined with #ifdef rather
20118         than #if.
20120         * argp/argp-fmtstream.h: Check whether
20121         __STRICT_ANSI__ is defined with #ifdef rather
20122         than #if.
20123         * argp/argp.h: Likewise.
20125         * libio/genops.c: Check whether
20126         _IO_JUMPS_OFFSET is defined with #ifdef rather
20127         than #if.
20128         * libio/libioP.h: Likewise.
20129         * stdio-common/vfprintf.c: Likewise.
20131         * sysdeps/generic/ldsodefs.h: Check whether
20132         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20133         than #if.
20135         * nptl/sysdeps/pthread/pthread.h: Check
20136         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20137         its value.
20139 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20141         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20142         setting O_APPEND.
20143         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20144         test case.
20146         [BZ #16680]
20147         * libio/fileops.c (_IO_file_open): Seek to end of file but
20148         don't cache the offset.
20149         (get_file_offset): Remove function.
20150         (do_ftell): Use cached offset when available.
20151         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20152         don't cache the offset.
20153         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20154         case.
20155         (do_one_test): Call it.
20156         (do_ftell_test): Fix up expected old offset for a+ mode.
20157         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20158         available.
20160         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20161         up test status with function return status.
20162         (do_write_test): Likewise.
20163         (do_append_test): Likewise.
20165         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20166         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20167         Remove.
20169 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20171         * math/gen-libm-test.pl (parse_args): Handle results specified for
20172         each rounding mode separately.
20173         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20174         tests and results from lrint_tonearest_test_data,
20175         lrint_towardzero_test_data, lrint_downward_test_data and
20176         lrint_upward_test_data.
20177         (lrint_test): Use ALL_RM_TEST.
20178         (lrint_tonearest_test_data): Remove.
20179         (lrint_test_tonearest): Likewise.
20180         (lrint_towardzero_test_data): Likewise.
20181         (lrint_test_towardzero): Likewise.
20182         (lrint_downward_test_data): Likewise.
20183         (lrint_test_downward): Likewise.
20184         (lrint_upward_test_data): Likewise.
20185         (lrint_test_upward): Likewise.
20186         (llrint_test_data): Merge in per-rounding-mode tests and results
20187         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20188         llrint_downward_test_data and llrint_upward_test_data.
20189         (llrint_test): Use ALL_RM_TEST.
20190         (llrint_tonearest_test_data): Remove.
20191         (llrint_test_tonearest): Likewise.
20192         (llrint_towardzero_test_data): Likewise.
20193         (llrint_test_towardzero): Likewise.
20194         (llrint_downward_test_data): Likewise.
20195         (llrint_test_downward): Likewise.
20196         (llrint_upward_test_data): Likewise.
20197         (llrint_test_upward): Likewise.
20198         (rint_test_data): Merge in per-rounding-mode tests and results
20199         from rint_tonearest_test_data, rint_towardzero_test_data,
20200         rint_downward_test_data and rint_upward_test_data.  Add
20201         per-rounding-mode results for tests not in those arrays.
20202         (rint_test): Use ALL_RM_TEST.
20203         (rint_tonearest_test_data): Remove.
20204         (rint_test_tonearest): Likewise.
20205         (rint_towardzero_test_data): Likewise.
20206         (rint_test_towardzero): Likewise.
20207         (rint_downward_test_data): Likewise.
20208         (rint_test_downward): Likewise.
20209         (rint_upward_test_data): Likewise.
20210         (rint_test_upward): Likewise.
20211         (main): Don't call removed functions.
20213 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20215         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20216         "Compiled on ..." crapola.  It is anti-useful.
20218 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20220         * scripts/evaluate-test.sh: Handle fourth argument to determine
20221         whether test run should stop on failure.
20222         * Makeconfig (stop-on-test-failure): New variable.
20223         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20224         $(stop-on-test-failure).
20225         * Makefile (tests): Give a summary of results from testing and
20226         exit with failure status if they include an ERROR or FAIL.
20227         (xtests): Likewise.
20228         * manual/install.texi (Configuring and compiling): Mention
20229         stop-on-test-failure=y.
20230         * INSTALL: Regenerated.
20232 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20234         * scripts/versionlist.awk: New file.
20235         * Makerules [$(build-shared) = yes]
20236         (postclean-generated): Add Versions.def, not Versions.def.v and
20237         Versions.def.v.i.
20238         ($(common-objpfx)Versions.def.v.i): Target removed.
20239         ($(common-objpfx)Versions.def): New target.
20240         ($(common-objpfx)Versions.all): Depend on that rather that
20241         $(common-objpfx)Versions.def.v.
20242         * Versions.def: File removed.
20244         * Makeconfig (+gccwarn): Add -Wundef.
20245         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20246         a dl-sysdep.h breaking its contract.
20247         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20248         * include/stackinfo.h: New file.
20249         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20250         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20251         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20252         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20253         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20254         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20255         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20256         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20257         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20258         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20259         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20260         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20261         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20262         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20263         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20265 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20267         [BZ #16707]
20268         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20269         implementation.
20270         * math/libm-test.inc (round_test_data): Add more tests.
20272         [BZ #16706]
20273         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20274         implementation.
20275         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20277         [BZ #16701]
20278         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20279         implementation.
20280         * math/libm-test.inc (ceil_test_data): Add more tests.
20282         * math/libm-test.inc (trunc_test_data): Add more tests related to
20283         BZ#16414.
20285 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20287         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20288         with #if rather than #ifdef.
20289         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20291 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20293         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20294         first.  Disable AVX-512 GCC support if assembler doesn't support
20295         it.
20296         * sysdeps/x86_64/configure: Regenerated.
20298 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20300         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20301         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20302         (__old_pthread_attr_setstack): Likewise.
20303         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20304         [!_STACK_GROWS_DOWN]: Likewise.
20306 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20308         * config.make.in (have-bash2): Delete.
20309         * configure.ac (libc_cv_have_bash2): Delete.
20310         * configure: Regenerate.
20311         * elf/Makefile (common-ldd-rewrite): Rename to ...
20312         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20313         (sh-ldd-rewrite): Delete.
20314         (bash-ldd-rewrite): Delete.
20315         (have-bash2): Delete checks.
20316         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20317         ldd-rewrite.
20319         * config.make.in (have-ksh): Delete.
20320         (KSH): Delete.
20321         * configure.ac (libc_cv_have_ksh): Delete.
20322         * configure: Regenerate.
20324         * elf/Makefile: Delete $(have-ksh) check.
20325         ($(objpfx)sotruss): Change KSH to BASH.
20326         * elf/sotruss.ksh: Rename to ...
20327         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20328         function style to match POSIX.  Drop ksh vim mode setting.
20330         * manual/time.texi (Specifying the Time Zone with TZ): Change
20331         Tuesday to Thursday.
20333         * debug/tst-longjmp_chk2.c: Update header comment.
20334         (stackoverflow_handler): Add comment.  Call assert on pass value.
20336 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20338         [BZ #16194]
20339         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20340         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20341         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20342         (La_x86_64_vector): Add zmm.
20343         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20344         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20345         ($(objpfx)tst-audit10): New target.
20346         ($(objpfx)tst-audit10.out): Likewise.
20347         (tst-audit10-ENV): New.
20348         (AVX512-CFLAGS): Likewise.
20349         (CFLAGS-tst-audit10.c): Likewise.
20350         (CFLAGS-tst-auditmod10a.c): Likewise.
20351         (CFLAGS-tst-auditmod10b.c): Likewise.
20352         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20353         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20354         * sysdeps/x86_64/configure: Regenerated.
20355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20356         AVX-512 zmm register support.
20357         (_dl_x86_64_save_sse): Likewise.
20358         (_dl_x86_64_restore_sse): Likewise.
20359         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20360         size vector registers.
20361         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20362         (ZMM_SIZE): Likewise.
20363         * sysdeps/x86_64/tst-audit10.c: New file.
20364         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20365         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20367 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20369         * configure.ac (HAVE_EHDR_START): New check.
20370         * configure: Regenerated.
20371         * config.h.in (HAVE_EHDR_START): New #undef.
20372         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20373         assuming the lowest-addressed segment maps the start of the file.
20375 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20377         * INSTALL: Regenerated.
20379 2014-03-13  Will Newton  <will.newton@linaro.org>
20381         * manual/setjmp.texi (System V contexts): Improve
20382         clarity and grammar of documentation.
20384 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20386         [BZ #16381]
20387         * elf/Makefile (tests): Add tst-pie2.
20388         (tests-pie): Add tst-pie2.
20389         * elf/tst-pie2.c: New file.
20390         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20391         for ET_EXEC.
20392         * elf/rtld.c (map_doit): Load executable as lt_executable.
20393         (dl_main): Likewise.
20395 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20397         [BZ #16642]
20398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20399         (__ASSUME_PSELECT): Undefine.
20401 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20403         [BZ #16689]
20404         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20405         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20406         static build.
20407         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20408         selector for static builds.
20410 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20412         [BZ #16695]
20413         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20414         key in the buffer.
20416 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20418         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20419         IFUNC selector for static builds.
20421 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20423         * sysdeps/mips/math_private.h [__mips_hard_float]
20424         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20425         libc_feresetround_mips_ctx.
20426         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20427         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20428         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20430         [BZ #16677]
20431         * math/s_nextafter.c (__nextafter): Do not return value from
20432         overflowing computation.
20433         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20434         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20435         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20436         Likewise.
20437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20438         Likewise.
20439         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20440         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20442 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20444         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20445         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20446         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20447         the new mov targetting sp.
20449 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20451         [BZ #16683]
20452         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20453         Define it for static builds as well.
20454         (NO_BZERO_IMPL): Likewise.
20456 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20458         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20459         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20460         multiarch strspn for PPC64.
20461         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20462         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20464         (__libc_ifunc_impl_list): Likewise.
20465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20466         multiarch optimizations
20467         * string/strspn.c (strspn): Using macro to redefine symbol name.
20469 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20470             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20472         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20473         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20474         multiarch strncat for PPC64.
20475         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20476         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20478         (__libc_ifunc_impl_list): Likewise.
20479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20480         multiarch optimizations
20482 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20484         [BZ #16639]
20485         * nscd/nscd.service: Make service type forking.
20487 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20489         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20490         sign in non default rounding modes.
20491         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20493 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20495         * math/libm-test.inc (ALL_RM_TEST): New macro.
20496         (ceil_test): Use ALL_RM_TEST.
20497         (cimag_test): Likewise.
20498         (conj_test): Likewise.
20499         (copysign_test): Likewise.
20500         (cproj_test): Likewise.
20501         (creal_test): Likewise.
20502         (fabs_test): Likewise.
20503         (floor_test): Likewise.
20504         (fmax_test): Likewise.
20505         (fmin_test): Likewise.
20506         (fmod_test): Likewise.
20507         (fpclassify_test): Likewise.
20508         (frexp_test): Likewise.
20509         (ilogb_test): Likewise.
20510         (isfinite_test): Likewise.
20511         (finite_test): Likewise.
20512         (isgreater_test): Likewise.
20513         (isgreaterequal_test): Likewise.
20514         (isinf_test): Likewise.
20515         (isless_test): Likewise.
20516         (islessequal_test): Likewise.
20517         (islessgreater_test): Likewise.
20518         (isnan_test): Likewise.
20519         (isnormal_test): Likewise.
20520         (issignaling_test): Likewise.
20521         (isunordered_test): Likewise.
20522         (logb_test): Likewise.
20523         (logb_downward_test_data): Remove.
20524         (logb_test_downward): Likewise.
20525         (lround_test): Use ALL_RM_TEST.
20526         (llround_test): Likewise.
20527         (modf_test): Likewise.
20528         (nexttoward_test): Likewise.
20529         (remainder_test): Likewise.
20530         (drem_test): Likewise.
20531         (remainder_tonearest_test_data): Likewise.
20532         (remainder_test_tonearest): Likewise.
20533         (drem_test_tonearest): Likewise.
20534         (remainder_towardzero_test_data): Likewise.
20535         (remainder_test_towardzero): Likewise.
20536         (drem_test_towardzero): Likewise.
20537         (remainder_downward_test_data): Likewise.
20538         (remainder_test_downward): Likewise.
20539         (drem_test_downward): Likewise.
20540         (remainder_upward_test_data): Likewise.
20541         (remainder_test_upward): Likewise.
20542         (drem_test_upward): Likewise.
20543         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20544         (round_test): Use ALL_RM_TEST.
20545         (signbit_test): Likewise.
20546         (trunc_test): Likewise.
20547         (significand_test): Likewise.
20548         (main): Don't call removed functions.
20550 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20552         [BZ #16674]
20553         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20554         || __USE_XOPEN2K8].
20555         (ILL_ILLOPN): Likewise.
20556         (ILL_ILLADR): Likewise.
20557         (ILL_ILLTRP): Likewise.
20558         (ILL_PRVOPC): Likewise.
20559         (ILL_PRVREG): Likewise.
20560         (ILL_COPROC): Likewise.
20561         (ILL_BADSTK): Likewise.
20562         (FPE_INTDIV): Likewise.
20563         (FPE_INTOVF): Likewise.
20564         (FPE_FLTDIV): Likewise.
20565         (FPE_FLTOVF): Likewise.
20566         (FPE_FLTUND): Likewise.
20567         (FPE_FLTRES): Likewise.
20568         (FPE_FLTINV): Likewise.
20569         (FPE_FLTSUB): Likewise.
20570         (SEGV_MAPERR): Likewise.
20571         (SEGV_ACCERR): Likewise.
20572         (BUS_ADRALN): Likewise.
20573         (BUS_ADRERR): Likewise.
20574         (BUS_OBJERR): Likewise.
20575         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20576         (TRAP_TRACE): Likewise.
20577         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20578         __USE_XOPEN2K8].
20579         (CLD_KILLED): Likewise.
20580         (CLD_DUMPED): Likewise.
20581         (CLD_TRAPPED): Likewise.
20582         (CLD_STOPPED): Likewise.
20583         (CLD_CONTINUED): Likewise.
20584         (POLL_IN): Likewise.
20585         (POLL_OUT): Likewise.
20586         (POLL_MSG): Likewise.
20587         (POLL_ERR): Likewise.
20588         (POLL_PRI): Likewise.
20589         (POLL_HUP): Likewise.
20590         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20591         Likewise.
20592         (ILL_ILLOPN): Likewise.
20593         (ILL_ILLADR): Likewise.
20594         (ILL_ILLTRP): Likewise.
20595         (ILL_PRVOPC): Likewise.
20596         (ILL_PRVREG): Likewise.
20597         (ILL_COPROC): Likewise.
20598         (ILL_BADSTK): Likewise.
20599         (FPE_INTDIV): Likewise.
20600         (FPE_INTOVF): Likewise.
20601         (FPE_FLTDIV): Likewise.
20602         (FPE_FLTOVF): Likewise.
20603         (FPE_FLTUND): Likewise.
20604         (FPE_FLTRES): Likewise.
20605         (FPE_FLTINV): Likewise.
20606         (FPE_FLTSUB): Likewise.
20607         (SEGV_MAPERR): Likewise.
20608         (SEGV_ACCERR): Likewise.
20609         (BUS_ADRALN): Likewise.
20610         (BUS_ADRERR): Likewise.
20611         (BUS_OBJERR): Likewise.
20612         (BUS_MCEERR_AR): Likewise.
20613         (BUS_MCEERR_AO): Likewise.
20614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20615         (TRAP_TRACE): Likewise.
20616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20617         __USE_XOPEN2K8].
20618         (CLD_KILLED): Likewise.
20619         (CLD_DUMPED): Likewise.
20620         (CLD_TRAPPED): Likewise.
20621         (CLD_STOPPED): Likewise.
20622         (CLD_CONTINUED): Likewise.
20623         (POLL_IN): Likewise.
20624         (POLL_OUT): Likewise.
20625         (POLL_MSG): Likewise.
20626         (POLL_ERR): Likewise.
20627         (POLL_PRI): Likewise.
20628         (POLL_HUP): Likewise.
20629         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20630         (ILL_ILLOPN): Likewise.
20631         (ILL_ILLADR): Likewise.
20632         (ILL_ILLTRP): Likewise.
20633         (ILL_PRVOPC): Likewise.
20634         (ILL_PRVREG): Likewise.
20635         (ILL_COPROC): Likewise.
20636         (ILL_BADSTK): Likewise.
20637         (FPE_INTDIV): Likewise.
20638         (FPE_INTOVF): Likewise.
20639         (FPE_FLTDIV): Likewise.
20640         (FPE_FLTOVF): Likewise.
20641         (FPE_FLTUND): Likewise.
20642         (FPE_FLTRES): Likewise.
20643         (FPE_FLTINV): Likewise.
20644         (FPE_FLTSUB): Likewise.
20645         (SEGV_MAPERR): Likewise.
20646         (SEGV_ACCERR): Likewise.
20647         (BUS_ADRALN): Likewise.
20648         (BUS_ADRERR): Likewise.
20649         (BUS_OBJERR): Likewise.
20650         (BUS_MCEERR_AR): Likewise.
20651         (BUS_MCEERR_AO): Likewise.
20652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20653         (TRAP_TRACE): Likewise.
20654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20655         __USE_XOPEN2K8].
20656         (CLD_KILLED): Likewise.
20657         (CLD_DUMPED): Likewise.
20658         (CLD_TRAPPED): Likewise.
20659         (CLD_STOPPED): Likewise.
20660         (CLD_CONTINUED): Likewise.
20661         (POLL_IN): Likewise.
20662         (POLL_OUT): Likewise.
20663         (POLL_MSG): Likewise.
20664         (POLL_ERR): Likewise.
20665         (POLL_PRI): Likewise.
20666         (POLL_HUP): Likewise.
20667         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20668         Likewise.
20669         (ILL_ILLOPN): Likewise.
20670         (ILL_ILLADR): Likewise.
20671         (ILL_ILLTRP): Likewise.
20672         (ILL_PRVOPC): Likewise.
20673         (ILL_PRVREG): Likewise.
20674         (ILL_COPROC): Likewise.
20675         (ILL_BADSTK): Likewise.
20676         (ILL_BADIADDR): Likewise.
20677         (ILL_BREAK): Likewise.
20678         (FPE_INTDIV): Likewise.
20679         (FPE_INTOVF): Likewise.
20680         (FPE_FLTDIV): Likewise.
20681         (FPE_FLTOVF): Likewise.
20682         (FPE_FLTUND): Likewise.
20683         (FPE_FLTRES): Likewise.
20684         (FPE_FLTINV): Likewise.
20685         (FPE_FLTSUB): Likewise.
20686         (FPE_DECOVF): Likewise.
20687         (FPE_DECDIV): Likewise.
20688         (FPE_DECERR): Likewise.
20689         (FPE_INVASC): Likewise.
20690         (FPE_INVDEC): Likewise.
20691         (SEGV_MAPERR): Likewise.
20692         (SEGV_ACCERR): Likewise.
20693         (SEGV_PSTKOVF): Likewise.
20694         (BUS_ADRALN): Likewise.
20695         (BUS_ADRERR): Likewise.
20696         (BUS_OBJERR): Likewise.
20697         (BUS_MCEERR_AR): Likewise.
20698         (BUS_MCEERR_AO): Likewise.
20699         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20700         (TRAP_TRACE): Likewise.
20701         (TRAP_BRANCH): Likewise.
20702         (TRAP_HWBKPT): Likewise.
20703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20704         __USE_XOPEN2K8].
20705         (CLD_KILLED): Likewise.
20706         (CLD_DUMPED): Likewise.
20707         (CLD_TRAPPED): Likewise.
20708         (CLD_STOPPED): Likewise.
20709         (CLD_CONTINUED): Likewise.
20710         (POLL_IN): Likewise.
20711         (POLL_OUT): Likewise.
20712         (POLL_MSG): Likewise.
20713         (POLL_ERR): Likewise.
20714         (POLL_PRI): Likewise.
20715         (POLL_HUP): Likewise.
20716         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20717         (ILL_ILLOPN): Likewise.
20718         (ILL_ILLADR): Likewise.
20719         (ILL_ILLTRP): Likewise.
20720         (ILL_PRVOPC): Likewise.
20721         (ILL_PRVREG): Likewise.
20722         (ILL_COPROC): Likewise.
20723         (ILL_BADSTK): Likewise.
20724         (FPE_INTDIV): Likewise.
20725         (FPE_INTOVF): Likewise.
20726         (FPE_FLTDIV): Likewise.
20727         (FPE_FLTOVF): Likewise.
20728         (FPE_FLTUND): Likewise.
20729         (FPE_FLTRES): Likewise.
20730         (FPE_FLTINV): Likewise.
20731         (FPE_FLTSUB): Likewise.
20732         (SEGV_MAPERR): Likewise.
20733         (SEGV_ACCERR): Likewise.
20734         (BUS_ADRALN): Likewise.
20735         (BUS_ADRERR): Likewise.
20736         (BUS_OBJERR): Likewise.
20737         (BUS_MCEERR_AR): Likewise.
20738         (BUS_MCEERR_AO): Likewise.
20739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20740         (TRAP_TRACE): Likewise.
20741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20742         __USE_XOPEN2K8].
20743         (CLD_KILLED): Likewise.
20744         (CLD_DUMPED): Likewise.
20745         (CLD_TRAPPED): Likewise.
20746         (CLD_STOPPED): Likewise.
20747         (CLD_CONTINUED): Likewise.
20748         (POLL_IN): Likewise.
20749         (POLL_OUT): Likewise.
20750         (POLL_MSG): Likewise.
20751         (POLL_ERR): Likewise.
20752         (POLL_PRI): Likewise.
20753         (POLL_HUP): Likewise.
20754         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20755         (ILL_ILLOPN): Likewise.
20756         (ILL_ILLADR): Likewise.
20757         (ILL_ILLTRP): Likewise.
20758         (ILL_PRVOPC): Likewise.
20759         (ILL_PRVREG): Likewise.
20760         (ILL_COPROC): Likewise.
20761         (ILL_BADSTK): Likewise.
20762         (FPE_INTDIV): Likewise.
20763         (FPE_INTOVF): Likewise.
20764         (FPE_FLTDIV): Likewise.
20765         (FPE_FLTOVF): Likewise.
20766         (FPE_FLTUND): Likewise.
20767         (FPE_FLTRES): Likewise.
20768         (FPE_FLTINV): Likewise.
20769         (FPE_FLTSUB): Likewise.
20770         (SEGV_MAPERR): Likewise.
20771         (SEGV_ACCERR): Likewise.
20772         (BUS_ADRALN): Likewise.
20773         (BUS_ADRERR): Likewise.
20774         (BUS_OBJERR): Likewise.
20775         (BUS_MCEERR_AR): Likewise.
20776         (BUS_MCEERR_AO): Likewise.
20777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20778         (TRAP_TRACE): Likewise.
20779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20780         __USE_XOPEN2K8].
20781         (CLD_KILLED): Likewise.
20782         (CLD_DUMPED): Likewise.
20783         (CLD_TRAPPED): Likewise.
20784         (CLD_STOPPED): Likewise.
20785         (CLD_CONTINUED): Likewise.
20786         (POLL_IN): Likewise.
20787         (POLL_OUT): Likewise.
20788         (POLL_MSG): Likewise.
20789         (POLL_ERR): Likewise.
20790         (POLL_PRI): Likewise.
20791         (POLL_HUP): Likewise.
20792         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20793         (ILL_ILLOPN): Likewise.
20794         (ILL_ILLADR): Likewise.
20795         (ILL_ILLTRP): Likewise.
20796         (ILL_PRVOPC): Likewise.
20797         (ILL_PRVREG): Likewise.
20798         (ILL_COPROC): Likewise.
20799         (ILL_BADSTK): Likewise.
20800         (FPE_INTDIV): Likewise.
20801         (FPE_INTOVF): Likewise.
20802         (FPE_FLTDIV): Likewise.
20803         (FPE_FLTOVF): Likewise.
20804         (FPE_FLTUND): Likewise.
20805         (FPE_FLTRES): Likewise.
20806         (FPE_FLTINV): Likewise.
20807         (FPE_FLTSUB): Likewise.
20808         (SEGV_MAPERR): Likewise.
20809         (SEGV_ACCERR): Likewise.
20810         (BUS_ADRALN): Likewise.
20811         (BUS_ADRERR): Likewise.
20812         (BUS_OBJERR): Likewise.
20813         (BUS_MCEERR_AR): Likewise.
20814         (BUS_MCEERR_AO): Likewise.
20815         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20816         (TRAP_TRACE): Likewise.
20817         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20818         __USE_XOPEN2K8].
20819         (CLD_KILLED): Likewise.
20820         (CLD_DUMPED): Likewise.
20821         (CLD_TRAPPED): Likewise.
20822         (CLD_STOPPED): Likewise.
20823         (CLD_CONTINUED): Likewise.
20824         (POLL_IN): Likewise.
20825         (POLL_OUT): Likewise.
20826         (POLL_MSG): Likewise.
20827         (POLL_ERR): Likewise.
20828         (POLL_PRI): Likewise.
20829         (POLL_HUP): Likewise.
20830         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20831         (ILL_ILLOPN): Likewise.
20832         (ILL_ILLADR): Likewise.
20833         (ILL_ILLTRP): Likewise.
20834         (ILL_PRVOPC): Likewise.
20835         (ILL_PRVREG): Likewise.
20836         (ILL_COPROC): Likewise.
20837         (ILL_BADSTK): Likewise.
20838         (ILL_DBLFLT): Likewise.
20839         (ILL_HARDWALL): Likewise.
20840         (FPE_INTDIV): Likewise.
20841         (FPE_INTOVF): Likewise.
20842         (FPE_FLTDIV): Likewise.
20843         (FPE_FLTOVF): Likewise.
20844         (FPE_FLTUND): Likewise.
20845         (FPE_FLTRES): Likewise.
20846         (FPE_FLTINV): Likewise.
20847         (FPE_FLTSUB): Likewise.
20848         (SEGV_MAPERR): Likewise.
20849         (SEGV_ACCERR): Likewise.
20850         (BUS_ADRALN): Likewise.
20851         (BUS_ADRERR): Likewise.
20852         (BUS_OBJERR): Likewise.
20853         (BUS_MCEERR_AR): Likewise.
20854         (BUS_MCEERR_AO): Likewise.
20855         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20856         (TRAP_TRACE): Likewise.
20857         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20858         __USE_XOPEN2K8].
20859         (CLD_KILLED): Likewise.
20860         (CLD_DUMPED): Likewise.
20861         (CLD_TRAPPED): Likewise.
20862         (CLD_STOPPED): Likewise.
20863         (CLD_CONTINUED): Likewise.
20864         (POLL_IN): Likewise.
20865         (POLL_OUT): Likewise.
20866         (POLL_MSG): Likewise.
20867         (POLL_ERR): Likewise.
20868         (POLL_PRI): Likewise.
20869         (POLL_HUP): Likewise.
20870         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20871         (ILL_ILLOPN): Likewise.
20872         (ILL_ILLADR): Likewise.
20873         (ILL_ILLTRP): Likewise.
20874         (ILL_PRVOPC): Likewise.
20875         (ILL_PRVREG): Likewise.
20876         (ILL_COPROC): Likewise.
20877         (ILL_BADSTK): Likewise.
20878         (FPE_INTDIV): Likewise.
20879         (FPE_INTOVF): Likewise.
20880         (FPE_FLTDIV): Likewise.
20881         (FPE_FLTOVF): Likewise.
20882         (FPE_FLTUND): Likewise.
20883         (FPE_FLTRES): Likewise.
20884         (FPE_FLTINV): Likewise.
20885         (FPE_FLTSUB): Likewise.
20886         (SEGV_MAPERR): Likewise.
20887         (SEGV_ACCERR): Likewise.
20888         (BUS_ADRALN): Likewise.
20889         (BUS_ADRERR): Likewise.
20890         (BUS_OBJERR): Likewise.
20891         (BUS_MCEERR_AR): Likewise.
20892         (BUS_MCEERR_AO): Likewise.
20893         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20894         (TRAP_TRACE): Likewise.
20895         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20896         __USE_XOPEN2K8].
20897         (CLD_KILLED): Likewise.
20898         (CLD_DUMPED): Likewise.
20899         (CLD_TRAPPED): Likewise.
20900         (CLD_STOPPED): Likewise.
20901         (CLD_CONTINUED): Likewise.
20902         (POLL_IN): Likewise.
20903         (POLL_OUT): Likewise.
20904         (POLL_MSG): Likewise.
20905         (POLL_ERR): Likewise.
20906         (POLL_PRI): Likewise.
20907         (POLL_HUP): Likewise.
20908         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20909         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20911         [BZ #16670]
20912         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20913         before #include of <time.h>.
20914         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20915         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20916         (test-xfail-UNIX98/sched.h/conform): Likewise.
20918 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20920         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20921         error absence of trapping exception support.
20922         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20924 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20926         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20927         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20928         * timezone/Makefile (testdata): Move definition above include of
20929         Rules.
20930         (test-zones): New variable.
20931         (tests-special): Add zone files.
20932         (build-testdata): Use $(evaluate-test).
20934         * elf/Makefile (tests-special): Rename tests to end with .out.
20935         ($(objpfx)noload-mem): Likewise.
20936         ($(objpfx)tst-leaks1-mem): Likewise.
20937         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20938         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20939         $(objpfx)test-iconvconfig.out.
20940         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20941         set -e inside subshell and redirect output to file.
20942         * iconvdata/Makefile (generated): Rename tests to end with .out.
20943         Correct type.
20944         (tests-special): Rename tests to end with .out.
20945         ($(objpfx)mtrace-tst-loading): Likewise.
20946         * intl/Makefile (generated): Likewise.
20947         (tests-special): Likewise.
20948         ($(objpfx)mtrace-tst-gettext): Likewise.
20949         * misc/Makefile (generated): Likewise.
20950         (tests-special): Likewise.
20951         ($(objpfx)tst-error1-mem): Likewise.
20952         * nptl/Makefile (tests-special): Likewise.
20953         ($(objpfx)tst-stack3-mem): Likewise.
20954         (generated): Likewise.
20955         * posix/Makefile (generated): Likewise.
20956         (tests-special): Likewise.
20957         (xtests-special): Likewise.
20958         ($(objpfx)tst-fnmatch-mem): Likewise.
20959         ($(objpfx)bug-regex2-mem): Likewise.
20960         ($(objpfx)bug-regex14-mem): Likewise.
20961         ($(objpfx)bug-regex21-mem): Likewise.
20962         ($(objpfx)bug-regex31-mem): Likewise.
20963         ($(objpfx)tst-vfork3-mem): Likewise.
20964         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20965         ($(objpfx)tst-pcre-mem): Likewise.
20966         ($(objpfx)tst-boost-mem): Likewise.
20967         ($(objpfx)bug-ga2-mem): Likewise.
20968         ($(objpfx)bug-glob2-mem): Likewise.
20969         * resolv/Makefile (generate): Likewise.
20970         (tests-special): Likewise.
20971         (xtests-special): Likewise.
20972         (generated): Likewise.
20973         ($(objpfx)mtrace-tst-leaks): Likewise.
20974         ($(objpfx)mtrace-tst-leaks2): Likewise.
20976         * scripts/merge-test-results.sh: New file.
20977         * Makefile (tests-special-notdir): New variable.
20978         (tests): Run merge-test-results.sh.
20979         (xtests): Likewise.
20980         * Rules (tests-special-notdir): New variable.
20981         (xtests-special-notdir): Likewise.
20982         (tests): Run merge-test-results.sh
20983         (xtests): Likewise.
20985         * Makeconfig (test-xfail-name): New variable.
20986         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20987         compute variable name for expected failures.
20988         * conform/Makefile (conformtest-headers-data): New variable.
20989         (conformtest-standards): Likewise.
20990         (conformtest-headers-ISO): Likewise.
20991         (conformtest-headers-ISO99): Likewise.
20992         (conformtest-headers-ISO11): Likewise.
20993         (conformtest-headers-POSIX): Likewise.
20994         (conformtest-headers-XPG3): Likewise.
20995         (conformtest-headers-XPG4): Likewise.
20996         (conformtest-headers-UNIX98): Likewise.
20997         (conformtest-headers-XOPEN2K): Likewise.
20998         (conformtest-headers-POSIX2008): Likewise.
20999         (conformtest-headers-XOPEN2K8): Likewise.
21000         (conformtest-header-list-base): Likewise.
21001         (conformtest-header-list-tests): Likewise.
21002         (conformtest-header-base): Likewise.
21003         (conformtest-header-tests): Likewise.
21004         (tests-special): Add $(conformtest-header-list-tests).  If
21005         [$(fast-check) && !$(cross-compiling)], add
21006         $(conformtest-header-tests) instead of
21007         $(objpfx)run-conformtest.out.
21008         (generated): Add $(conformtest-header-list-base).  If
21009         [$(fast-check) && !$(cross-compiling)], add
21010         $(conformtest-header-base).  Remove previous setting.
21011         ($(conformtest-header-list-tests)): New target.
21012         (test-xfail-run-conformtest): Remove variable.
21013         ($(objpfx)run-conformtest.out): Remove target.
21014         (test-xfail-ISO11/complex.h/conform): New variable.
21015         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21016         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21017         (test-xfail-XPG3/varargs.h/conform): Likewise.
21018         (test-xfail-XPG4/varargs.h/conform): Likewise.
21019         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21020         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21021         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21022         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21023         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21024         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21025         (test-xfail-XPG3/ftw.h/conform): Likewise.
21026         (test-xfail-XPG3/grp.h/conform): Likewise.
21027         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21028         (test-xfail-XPG3/limits.h/conform): Likewise.
21029         (test-xfail-XPG3/pwd.h/conform): Likewise.
21030         (test-xfail-XPG3/search.h/conform): Likewise.
21031         (test-xfail-XPG3/signal.h/conform): Likewise.
21032         (test-xfail-XPG3/stdio.h/conform): Likewise.
21033         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21034         (test-xfail-XPG3/string.h/conform): Likewise.
21035         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21036         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21037         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21038         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21039         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21040         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21041         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21042         (test-xfail-XPG3/termios.h/conform): Likewise.
21043         (test-xfail-XPG3/time.h/conform): Likewise.
21044         (test-xfail-XPG3/unistd.h/conform): Likewise.
21045         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21046         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21047         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21048         (test-xfail-XPG4/netdb.h/conform): Likewise.
21049         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21050         (test-xfail-XPG4/signal.h/conform): Likewise.
21051         (test-xfail-XPG4/stdio.h/conform): Likewise.
21052         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21053         (test-xfail-XPG4/stropts.h/conform): Likewise.
21054         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21055         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21056         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21057         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21058         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21059         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21060         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21061         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21062         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21063         (test-xfail-XPG4/termios.h/conform): Likewise.
21064         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21065         (test-xfail-XPG4/unistd.h/conform): Likewise.
21066         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21067         (test-xfail-POSIX/sched.h/conform): Likewise.
21068         (test-xfail-POSIX/signal.h/conform): Likewise.
21069         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21070         (test-xfail-POSIX/tar.h/conform): Likewise.
21071         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21072         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21073         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21074         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21075         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21076         (test-xfail-UNIX98/sched.h/conform): Likewise.
21077         (test-xfail-UNIX98/signal.h/conform): Likewise.
21078         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21079         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21080         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21081         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21082         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21083         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21084         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21085         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21086         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21087         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21088         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21089         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21090         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21091         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21092         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21093         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21094         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21095         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21096         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21097         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21098         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21099         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21100         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21101         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21102         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21103         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21104         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21105         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21106         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21107         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21108         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21109         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21110         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21111         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21112         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21113         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21114         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21115         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21116         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21117         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21118         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21119         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21120         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21121         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21122         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21123         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21124         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21125         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21126         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21127         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21128         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21129         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21130         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21131         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21132         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21133         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21134         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21135         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21136         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21137         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21138         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21139         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21140         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21141         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21142         (conformtest-cc-flags): Likewise.
21143         ($(conformtest-header-tests): New target.
21144         * conform/check-header-lists.sh: New file.
21145         * conform/run-conformtest.sh: Remove.
21147         * conform/conformtest.pl: Allow ' and \ in values given for
21148         constants.
21149         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21150         inclusion.
21151         [POSIX] (sys/types.h): Likewise.
21152         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21153         inclusion.
21154         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21155         inclusion.
21156         * conform/data/signal.h-data (SIGIO): Remove expectation.
21157         [XPG3] (SIGBUS): Do not expect.
21158         [POSIX || XPG3] (SIGPOLL): Likewise.
21159         [POSIX || XPG3] (SIGPROF): Likewise.
21160         [POSIX || XPG3] (SIGSYS): Likewise.
21161         [XPG3] (SIGTRAP): Likewise.
21162         [POSIX || XPG3] (SIGURG): Likewise.
21163         [POSIX || XPG3] (SIGVTALRM): Likewise.
21164         [POSIX || XPG3] (SIGXCPU): Likewise.
21165         [POSIX || XPG3] (SIGXFSZ): Likewise.
21166         [POSIX] (SA_SIGINFO): Expect.
21167         [XPG3] (siginfo_t): Do not expect type or contents.
21168         [POSIX] (si_pid): Do not expect element.
21169         [POSIX] (si_uid): Likewise.
21170         [POSIX] (si_addr): Likewise.
21171         [POSIX] (si_status): Likewise.
21172         [POSIX] (si_band): Likewise.
21173         [XPG4] (si_value): Likewise.
21174         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21175         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21176         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21177         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21178         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21179         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21180         [POSIX || XPG3] (ILL_COPROC): Likewise.
21181         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21182         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21183         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21184         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21185         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21186         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21187         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21188         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21189         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21190         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21191         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21192         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21193         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21194         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21195         [POSIX || XPG3] (CLD_EXITED): Likewise.
21196         [POSIX || XPG3] (CLD_KILLED): Likewise.
21197         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21198         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21199         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21200         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21201         [POSIX || XPG3] (POLL_IN): Likewise.
21202         [POSIX || XPG3] (POLL_OUT): Likewise.
21203         [POSIX || XPG3] (POLL_MSG): Likewise.
21204         [POSIX || XPG3] (POLL_ERR): Likewise.
21205         [POSIX || XPG3] (POLL_PRI): Likewise.
21206         [POSIX || XPG3] (POLL_HUP): Likewise.
21207         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21208         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21209         (SIG*): Do not allow.
21210         [XPG3] (si_*): Likewise.
21211         [XPG3] (SI_*): Likewise.
21212         [XPG3 || XPG4] (sigev_*): Likewise.
21213         [XPG3 || XPG4] (SIGEV_*): Likewise.
21214         [XPG3 || XPG4] (sival_*): Likewise.
21215         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21216         [POSIX || XPG3] (BUS_*): Likewise.
21217         [POSIX || XPG3] (CLD_*): Likewise.
21218         [POSIX || XPG3] (FPE_*): Likewise.
21219         [POSIX || XPG3] (ILL_*): Likewise.
21220         [POSIX || XPG3] (POLL_*): Likewise.
21221         [POSIX || XPG3] (SEGV_*): Likewise.
21222         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21223         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21224         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21225         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21226         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21227         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21228         Specify type and value.
21229         (TVERSLEN): Likewise.
21230         (REGTYPE): Likewise.
21231         (AREGTYPE): Likewise.
21232         (LNKTYPE): Likewise.
21233         (SYMTYPE): Likewise.
21234         (CHRTYPE): Likewise.
21235         (BLKTYPE): Likewise.
21236         (DIRTYPE): Likewise.
21237         (FIFOTYPE): Likewise.
21238         (CONTTYPE): Likewise.
21239         (TSUID): Likewise.
21240         (TSGID): Likewise.
21241         (TSVTX): Likewise.
21242         (TUREAD): Likewise.
21243         (TUWRITE): Likewise.
21244         (TUEXEC): Likewise.
21245         (TGREAD): Likewise.
21246         (TGWRITE): Likewise.
21247         (TGEXEC): Likewise.
21248         (TOREAD): Likewise.
21249         (TOWRITE): Likewise.
21250         (TOEXEC): Likewise.
21251         [POSIX] (TSVTX): Expect constant.
21253 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21255         * Makefile (tests): Change dependencies to ....
21256         (tests-special): ... additions to this variable.
21257         (tests): Depend on $(tests-special).
21258         * Makerules (check-abi-list): New variable.
21259         (check-abi): Depend on $(check-abi-list).
21260         [$(subdir) = elf] (tests-special): Add
21261         $(objpfx)check-abi-libc.out.
21262         [$(build-shared) = yes && subdir] (tests-special): Add
21263         $(check-abi-list).
21264         [$(build-shared) = yes && subdir] (tests): Do not depend on
21265         check-abi.
21266         * Rules (tests): Depend on $(tests-special).
21267         (xtests): Depend on $(xtests-special).
21268         * catgets/Makefile (tests): Change dependencies to ....
21269         (tests-special): ... additions to this variable.
21270         * conform/Makefile (tests): Change dependencies to ....
21271         (tests-special): ... additions to this variable.
21272         * elf/Makefile (tests): Change dependencies to ....
21273         (tests-special): ... additions to this variable.
21274         * grp/Makefile (tests): Change dependencies to ....
21275         (tests-special): ... additions to this variable.
21276         * iconv/Makefile (xtests): Change dependencies to ....
21277         (xtests-special): ... additions to this variable.
21278         * iconvdata/Makefile (tests): Change dependencies to ....
21279         (tests-special): ... additions to this variable.
21280         * intl/Makefile (tests): Change dependencies to ....
21281         (tests-special): ... additions to this variable.  Also add
21282         $(objpfx)tst-gettext.out.
21283         * io/Makefile (tests): Change dependencies to ....
21284         (tests-special): ... additions to this variable.
21285         * libio/Makefile (tests): Change dependencies to ....
21286         (tests-special): ... additions to this variable.
21287         * malloc/Makefile (tests): Change dependencies to ....
21288         (tests-special): ... additions to this variable.
21289         * misc/Makefile (tests): Change dependencies to ....
21290         (tests-special): ... additions to this variable.
21291         * nptl/Makefile (tests): Change dependencies to ....
21292         (tests-special): ... additions to this variable.
21293         * nptl_db/Makefile (tests): Change dependencies to ....
21294         (tests-special): ... additions to this variable.
21295         * posix/Makefile (tests): Change dependencies to ....
21296         (tests-special): ... additions to this variable.
21297         (xtests): Change dependencies to ....
21298         (xtests-special): ... additions to this variable.
21299         * resolv/Makefile (tests): Change dependencies to ....
21300         (tests-special): ... additions to this variable.
21301         (xtests): Change dependencies to ....
21302         (xtests-special): ... additions to this variable.
21303         * stdio-common/Makefile (tests): Change dependencies to ....
21304         (tests-special): ... additions to this variable.
21305         (do-tst-unbputc): Remove target.
21306         (do-tst-printf): Likewise.
21307         * stdlib/Makefile (tests): Change dependencies to ....
21308         (tests-special): ... additions to this variable.
21309         * string/Makefile (tests): Change dependencies to ....
21310         (tests-special): ... additions to this variable.
21311         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21312         (tests-special): ... additions to this variable.
21314         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21315         whole file.
21316         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21317         whole file.
21318         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21319         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21321         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21322         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21323         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21324         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21325         * conform/data/libgen.h-data [XPG3]: Likewise.
21326         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21327         * conform/data/ndbm.h-data [XPG3]: Likewise.
21328         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21329         * conform/data/netdb.h-data [XPG3]: Likewise.
21330         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21331         * conform/data/poll.h-data [XPG3]: Likewise.
21332         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21333         * conform/data/strings.h-data [XPG3]: Likewise.
21334         * conform/data/stropts.h-data [XPG3]: Likewise.
21335         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21336         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21337         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21338         Likewise.
21339         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21340         * conform/data/sys/time.h-data [XPG3]: Likewise.
21341         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21342         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21343         * conform/data/sys/un.h-data [XPG3]: Likewise.
21344         * conform/data/syslog.h-data [XPG3]: Likewise.
21345         * conform/data/ucontext.h-data [XPG3]: Likewise.
21346         * conform/data/utmpx.h-data [XPG3]: Likewise.
21347         * conform/data/varargs.h-data [UNIX98]: Enable file.
21349         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21351         * math/libm-test.inc (struct test_f_f_data): Move expected results
21352         into structure for each rounding mode.
21353         (struct test_ff_f_data): Likewise.
21354         (struct test_ff_f_data_nexttoward): Likewise.
21355         (struct test_fi_f_data): Likewise.
21356         (struct test_fl_f_data): Likewise.
21357         (struct test_if_f_data): Likewise.
21358         (struct test_fff_f_data): Likewise.
21359         (struct test_c_f_data): Likewise.
21360         (struct test_f_f1_data): Likewise.
21361         (struct test_fF_f1_data): Likewise.
21362         (struct test_ffI_f1_data): Likewise.
21363         (struct test_c_c_data): Likewise.
21364         (struct test_cc_c_data): Likewise.
21365         (struct test_f_i_data): Likewise.
21366         (struct test_ff_i_data): Likewise.
21367         (struct test_f_l_data): Likewise.
21368         (struct test_f_L_data): Likewise.
21369         (struct test_fFF_11_data): Likewise.
21370         (RM_): New macro.
21371         (RM_FE_DOWNWARD): Likewise.
21372         (RM_FE_TONEAREST): Likewise.
21373         (RM_FE_TOWARDZERO): Likewise.
21374         (RM_FE_UPWARD): Likewise.
21375         (RUN_TEST_LOOP_f_f): Update references to expected results.
21376         (RUN_TEST_LOOP_2_f): Likewise.
21377         (RUN_TEST_LOOP_fff_f): Likewise.
21378         (RUN_TEST_LOOP_c_f): Likewise.
21379         (RUN_TEST_LOOP_f_f1): Likewise.
21380         (RUN_TEST_LOOP_fF_f1): Likewise.
21381         (RUN_TEST_LOOP_fI_f1): Likewise.
21382         (RUN_TEST_LOOP_ffI_f1): Likewise.
21383         (RUN_TEST_LOOP_c_c): Likewise.
21384         (RUN_TEST_LOOP_cc_c): Likewise.
21385         (RUN_TEST_LOOP_f_i): Likewise.
21386         (RUN_TEST_LOOP_f_i_tg): Likewise.
21387         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21388         (RUN_TEST_LOOP_f_b): Likewise.
21389         (RUN_TEST_LOOP_f_b_tg): Likewise.
21390         (RUN_TEST_LOOP_f_l): Likewise.
21391         (RUN_TEST_LOOP_f_L): Likewise.
21392         (RUN_TEST_LOOP_fFF_11): Likewise.
21393         * math/gen-libm-test.pl (parse_args): Output four copies of
21394         expected results for each test.
21396         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21397         (__ASSUME_UTIMES): Remove.
21398         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21399         (__ASSUME_UTIMES): Likewise.
21401         * math/gen-auto-libm-tests.c: Update comment on output format.
21402         (output_for_one_input_case): Generate before-rounding and
21403         after-rounding information as conditions on output flags not
21404         floating-point format.
21405         * math/auto-libm-test-out: Regenerated.
21406         * math/gen-libm-test.pl (cond_value): New function.
21407         (or_cond_value): Use cond_value.
21408         (generate_testfile): Handle conditional exceptions.
21410 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21412         * math/libm-test.inc (max_valid_error): New variable.
21413         (init_max_error): Take new argument specifying whether function
21414         results are exactly determined.  Set max_valid_error and bound
21415         other variables for errors based on this argument.
21416         (set_max_error): Do not record results above max_valid_error.
21417         (check_float_internal): Only accept errors of up to 0.5ulps if
21418         also at most max_valid_error.
21419         (START): Take new argument EXACT and pass it to init_max_error.
21420         (acos_test): Update call to START.
21421         (acos_test_tonearest): Likewise.
21422         (acos_test_towardzero): Likewise.
21423         (acos_test_downward): Likewise.
21424         (acos_test_upward): Likewise.
21425         (acosh_test): Likewise.
21426         (asin_test): Likewise.
21427         (asin_test_tonearest): Likewise.
21428         (asin_test_towardzero): Likewise.
21429         (asin_test_downward): Likewise.
21430         (asin_test_upward): Likewise.
21431         (asinh_test): Likewise.
21432         (atan_test): Likewise.
21433         (atanh_test): Likewise.
21434         (atan2_test): Likewise.
21435         (cabs_test): Likewise.
21436         (cacos_test): Likewise.
21437         (cacosh_test): Likewise.
21438         (carg_test): Likewise.
21439         (casin_test): Likewise.
21440         (casinh_test): Likewise.
21441         (catan_test): Likewise.
21442         (catanh_test): Likewise.
21443         (cbrt_test): Likewise.
21444         (ccos_test): Likewise.
21445         (ccosh_test): Likewise.
21446         (ceil_test): Likewise.
21447         (cexp_test): Likewise.
21448         (cimag_test): Likewise.
21449         (clog_test): Likewise.
21450         (clog10_test): Likewise.
21451         (conj_test): Likewise.
21452         (copysign_test): Likewise.
21453         (cos_test): Likewise.
21454         (cos_test_tonearest): Likewise.
21455         (cos_test_towardzero): Likewise.
21456         (cos_test_downward): Likewise.
21457         (cos_test_upward): Likewise.
21458         (cosh_test): Likewise.
21459         (cosh_test_tonearest): Likewise.
21460         (cosh_test_towardzero): Likewise.
21461         (cosh_test_downward): Likewise.
21462         (cosh_test_upward): Likewise.
21463         (cpow_test): Likewise.
21464         (cproj_test): Likewise.
21465         (creal_test): Likewise.
21466         (csin_test): Likewise.
21467         (csinh_test): Likewise.
21468         (csqrt_test): Likewise.
21469         (ctan_test): Likewise.
21470         (ctan_test_tonearest): Likewise.
21471         (ctan_test_towardzero): Likewise.
21472         (ctan_test_downward): Likewise.
21473         (ctan_test_upward): Likewise.
21474         (ctanh_test): Likewise.
21475         (ctanh_test_tonearest): Likewise.
21476         (ctanh_test_towardzero): Likewise.
21477         (ctanh_test_downward): Likewise.
21478         (ctanh_test_upward): Likewise.
21479         (erf_test): Likewise.
21480         (erfc_test): Likewise.
21481         (exp_test): Likewise.
21482         (exp_test_tonearest): Likewise.
21483         (exp_test_towardzero): Likewise.
21484         (exp_test_downward): Likewise.
21485         (exp_test_upward): Likewise.
21486         (exp10_test): Likewise.
21487         (exp10_test_tonearest): Likewise.
21488         (exp10_test_towardzero): Likewise.
21489         (exp10_test_downward): Likewise.
21490         (exp10_test_upward): Likewise.
21491         (pow10_test): Likewise.
21492         (exp2_test): Likewise.
21493         (expm1_test): Likewise.
21494         (expm1_test_tonearest): Likewise.
21495         (expm1_test_towardzero): Likewise.
21496         (expm1_test_downward): Likewise.
21497         (expm1_test_upward): Likewise.
21498         (fabs_test): Likewise.
21499         (fdim_test): Likewise.
21500         (floor_test): Likewise.
21501         (fma_test): Likewise.
21502         (fma_test_towardzero): Likewise.
21503         (fma_test_downward): Likewise.
21504         (fma_test_upward): Likewise.
21505         (fmax_test): Likewise.
21506         (fmin_test): Likewise.
21507         (fmod_test): Likewise.
21508         (fpclassify_test): Likewise.
21509         (frexp_test): Likewise.
21510         (hypot_test): Likewise.
21511         (ilogb_test): Likewise.
21512         (isfinite_test): Likewise.
21513         (finite_test): Likewise.
21514         (isgreater_test): Likewise.
21515         (isgreaterequal_test): Likewise.
21516         (isinf_test): Likewise.
21517         (isless_test): Likewise.
21518         (islessequal_test): Likewise.
21519         (islessgreater_test): Likewise.
21520         (isnan_test): Likewise.
21521         (isnormal_test): Likewise.
21522         (issignaling_test): Likewise.
21523         (isunordered_test): Likewise.
21524         (j0_test): Likewise.
21525         (j1_test): Likewise.
21526         (jn_test): Likewise.
21527         (ldexp_test): Likewise.
21528         (lgamma_test): Likewise.
21529         (gamma_test): Likewise.
21530         (lrint_test): Likewise.
21531         (lrint_test_tonearest): Likewise.
21532         (lrint_test_towardzero): Likewise.
21533         (lrint_test_downward): Likewise.
21534         (lrint_test_upward): Likewise.
21535         (llrint_test): Likewise.
21536         (llrint_test_tonearest): Likewise.
21537         (llrint_test_towardzero): Likewise.
21538         (llrint_test_downward): Likewise.
21539         (llrint_test_upward): Likewise.
21540         (log_test): Likewise.
21541         (log10_test): Likewise.
21542         (log1p_test): Likewise.
21543         (log2_test): Likewise.
21544         (logb_test): Likewise.
21545         (logb_test_downward): Likewise.
21546         (lround_test): Likewise.
21547         (llround_test): Likewise.
21548         (modf_test): Likewise.
21549         (nearbyint_test): Likewise.
21550         (nextafter_test): Likewise.
21551         (nexttoward_test): Likewise.
21552         (pow_test): Likewise.
21553         (pow_test_tonearest): Likewise.
21554         (pow_test_towardzero): Likewise.
21555         (pow_test_downward): Likewise.
21556         (pow_test_upward): Likewise.
21557         (remainder_test): Likewise.
21558         (drem_test): Likewise.
21559         (remainder_test_tonearest): Likewise.
21560         (drem_test_tonearest): Likewise.
21561         (remainder_test_towardzero): Likewise.
21562         (drem_test_towardzero): Likewise.
21563         (remainder_test_downward): Likewise.
21564         (drem_test_downward): Likewise.
21565         (remainder_test_upward): Likewise.
21566         (drem_test_upward): Likewise.
21567         (remquo_test): Likewise.
21568         (rint_test): Likewise.
21569         (rint_test_tonearest): Likewise.
21570         (rint_test_towardzero): Likewise.
21571         (rint_test_downward): Likewise.
21572         (rint_test_upward): Likewise.
21573         (round_test): Likewise.
21574         (scalb_test): Likewise.
21575         (scalbn_test): Likewise.
21576         (scalbln_test): Likewise.
21577         (signbit_test): Likewise.
21578         (sin_test): Likewise.
21579         (sin_test_tonearest): Likewise.
21580         (sin_test_towardzero): Likewise.
21581         (sin_test_downward): Likewise.
21582         (sin_test_upward): Likewise.
21583         (sincos_test): Likewise.
21584         (sinh_test): Likewise.
21585         (sinh_test_tonearest): Likewise.
21586         (sinh_test_towardzero): Likewise.
21587         (sinh_test_downward): Likewise.
21588         (sinh_test_upward): Likewise.
21589         (sqrt_test): Likewise.
21590         (sqrt_test_tonearest): Likewise.
21591         (sqrt_test_towardzero): Likewise.
21592         (sqrt_test_downward): Likewise.
21593         (sqrt_test_upward): Likewise.
21594         (tan_test): Likewise.
21595         (tan_test_tonearest): Likewise.
21596         (tan_test_towardzero): Likewise.
21597         (tan_test_downward): Likewise.
21598         (tan_test_upward): Likewise.
21599         (tanh_test): Likewise.
21600         (tgamma_test): Likewise.
21601         (trunc_test): Likewise.
21602         (y0_test): Likewise.
21603         (y1_test): Likewise.
21604         (yn_test): Likewise.
21605         (significand_test): Likewise.
21607         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21608         individual tests in comment.
21609         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21610         (prev_max_error): New variable.
21611         (prev_real_max_error): Likewise.
21612         (prev_imag_max_error): Likewise.
21613         (compare_ulp_data): Don't refer to test names in comment.
21614         (find_test_ulps): Remove function.
21615         (find_function_ulps): Likewise.
21616         (find_complex_function_ulps): Likewise.
21617         (init_max_error): Take function name as argument.  Look up ulps
21618         for that function.
21619         (print_ulps): Remove function.
21620         (print_max_error): Use prev_max_error instead of calling
21621         find_function_ulps.
21622         (print_complex_max_error): Use prev_real_max_error and
21623         prev_imag_max_error instead of calling find_complex_function_ulps.
21624         (check_float_internal): Take max_ulp parameter instead of calling
21625         find_test_ulps.  Don't call print_ulps.
21626         (check_float): Update call to check_float_internal.
21627         (check_complex): Update calls to check_float_internal.
21628         (START): Pass argument to init_max_error.
21629         * math/gen-libm-test.pl (%results): Don't include "kind"
21630         information.
21631         (parse_ulps): Don't handle ulps of individual tests.
21632         (print_ulps_file): Likewise.
21633         (output_ulps): Likewise.
21634         * math/README.libm-test: Update.
21635         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21636         individual tests.
21637         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21638         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21639         * sysdeps/arm/libm-test-ulps: Likewise.
21640         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21641         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21642         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21643         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21644         * sysdeps/microblaze/libm-test-ulps: Likewise.
21645         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21646         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21647         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21648         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21649         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21650         * sysdeps/sh/libm-test-ulps: Likewise.
21651         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21652         * sysdeps/tile/libm-test-ulps: Likewise.
21653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21655 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21657         * math/libm-test.inc (print_complex_max_error): Check separately
21658         whether real and imaginary errors are within allowed range and
21659         pass 0 to print_complex_function_ulps instead of value within
21660         allowed range.
21662 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21664         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21665         formatting.
21666         (get_handles_fopen): Likewise.
21667         (do_write_test): Likewise.
21669         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21671         * libio/fileops.c (do_ftell): Use cached offset when
21672         available.
21673         * libio/iofwide.c (do_ftell_wide): Likewise.
21674         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21675         _IO_file_attach.
21676         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21678         [BZ #16532]
21679         * libio/libioP.h (get_file_offset): New function.
21680         * libio/fileops.c (get_file_offset): Likewise.
21681         (do_ftell): Likewise.
21682         (_IO_new_file_seekoff): Split out ftell logic.
21683         * libio/wfileops.c (do_ftell_wide): Likewise.
21684         (_IO_wfile_seekoff): Split out ftell logic.
21685         * libio/tst-ftell-active-handler.c: New test case.
21686         * libio/Makefile (tests): Add it.
21688 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21690         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21691         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21693 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21695         [BZ #16639]
21696         * nscd/connections.c (nscd_init): Call do_exit.
21697         (start_threads): Call do_exit and notify_parent.
21698         (begin_drop_privileges): Call do_exit.
21699         (finish_drop_privileges): Likewise.
21700         * nscd/selinux.c (preserve_capabilities): Likewise.
21701         (install_real_capabilities): Likewise.
21702         (nscd_selinux_enabled): Likewise.
21703         (avc_create_thread): Likewise.
21704         (avc_alloc_lock): Likewise.
21705         (nscd_avc_init): Likewise.
21706         * nscd/nscd.c (parent_fd): New static variable.
21707         (main): Create a pipe between parent and child processes.
21708         Skip closing parent_fd.
21709         (monitor_child): New function.
21710         (do_exit): Likewise.
21711         (notify_parent): Likewise.
21712         * nscd/nscd.h (notify_parent): Likewise.
21713         (do_exit): Likewise.
21715 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21717         * malloc/malloc.c (__libc_calloc): Revert last change.
21719 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21723 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21725         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21727         implementation.
21728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21729         (__libc_ifunc_impl_list): Likewise.
21730         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21731         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21732         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21733         * string/strrchr.c: Define STRRCHR.
21735 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21737         * benchtest/bench-strtok.c (simple_strtok): Delete.
21738         (strtok_string): Use as benchmark.
21739         * string/strtok (STRTOK): New macro.
21741 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21743         * manual/threads.texi: Add header and standard comments to all
21744         functions.
21746         * elf/dl-lookup.c (check_match): New function.
21747         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21748         (do_lookup_x): Remove nested function check_match. Use non-nested
21749         function check_match.
21751 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21753         * csu/Makefile (generated, before-compile): Use += rather than =.
21754         * catgets/Makefile (generated, generated-dirs): Likewise.
21755         * debug/Makefile (generated): Likewise.
21756         * dlfcn/Makefile (generated): Likewise.
21757         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21758         * iconvdata/Makefile (before-compile, generated): Likewise.
21759         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21760         * libio/Makefile (generated): Likewise.
21761         * malloc/Makefile (generated): Likewise.
21762         * manual/Makefile (generated, generated-dirs): Likewise.
21763         * misc/Makefile (generated): Likewise.
21764         * posix/Makefile (generated): Likewise.
21765         * resolv/Makefile (generated): Likewise.
21766         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21767         * timezone/Makefile (generated, generated-dirs): Likewise.
21769         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21771 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21774         power8 implementation.
21775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21776         file: POWER8 llround ifunc implementation.
21777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21778         (__lllround): Add POWER8 implementation.
21779         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21780         POWER8 llround implementation.
21782         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21783         power8 implementation.
21784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21785         file: POWER8 llrint ifunc implementation.
21786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21787         Add POWER8 implementation.
21788         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21789         POWER8 llrint implementation.
21791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21792         power8 implementation.
21793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21794         file: POWER8 finite ifunc implementation.
21795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21796         Add POWER8 implementation.
21797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21798         Likewise.
21799         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21800         POWER8 finite implementation.
21801         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21804         power8 implementation.
21805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21806         file: POWER8 isinf ifunc implementation.
21807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21808         POWER8 implementation.
21809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21810         Likewise.
21811         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21812         isinf implementation.
21813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21815         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21816         (INIT_ARCH): Add hwcap2 initialization.
21817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21818         power8 implementation.
21819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21820         file: POWER8 isnan ifunc implementation.
21821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21822         POWER8 implementation.
21823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21824         Likewise.
21825         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21826         isnan implementation.
21827         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21829 2014-02-27  Joey Ye  <joey.ye@arm.com>
21831         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21832         (_FP_NANFRAC_Q): Set to zero.
21834 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21836         [BZ #16623]
21837         * math/auto-libm-test-in: New test inputs.
21838         * math/auto-libm-test-out: Regenerate.
21839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21840         and DA.
21841         (__cos): Likewise.
21842         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21844 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21846         * scripts/evaluate-test.sh: Take new argument indicating whether
21847         failure is expected.
21848         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21849         indicating whether failure is expected.
21850         * conform/Makefile (test-xfail-run-conformtest): New variable.
21851         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21852         level.
21853         * posix/Makefile (test-xfail-annexc): New variable.
21854         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21856 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21858         * argp/Makefile: Include Makeconfig immediately after defining
21859         subdir.
21860         * assert/Makefile: Likewise.
21861         * benchtests/Makefile: Likewise.
21862         * catgets/Makefile: Likewise.
21863         * conform/Makefile: Likewise.
21864         * crypt/Makefile: Likewise.
21865         * csu/Makefile: Likewise.
21866         (all): Remove target.
21867         * ctype/Makefile: Include Makeconfig immediately after defining
21868         subdir.
21869         * debug/Makefile: Likewise.
21870         * dirent/Makefile: Likewise.
21871         * dlfcn/Makefile: Likewise.
21872         * gmon/Makefile: Likewise.
21873         * gnulib/Makefile: Likewise.
21874         * grp/Makefile: Likewise.
21875         * gshadow/Makefile: Likewise.
21876         * hesiod/Makefile: Likewise.
21877         * hurd/Makefile: Likewise.
21878         (all): Remove target.
21879         * iconvdata/Makefile: Include Makeconfig immediately after
21880         defining subdir.
21881         * inet/Makefile: Likewise.
21882         * intl/Makefile: Likewise.
21883         * io/Makefile: Likewise.
21884         * libio/Makefile: Likewise.
21885         (all): Remove target.
21886         * locale/Makefile: Include Makeconfig immediately after defining
21887         subdir.
21888         * login/Makefile: Likewise.
21889         * mach/Makefile: Likewise.
21890         (all): Remove target.
21891         * malloc/Makefile: Include Makeconfig immediately after defining
21892         subdir.
21893         (all): Remove target.
21894         * manual/Makefile: Include Makeconfig immediately after defining
21895         subdir.
21896         * math/Makefile: Likewise.
21897         * misc/Makefile: Likewise.
21898         * nis/Makefile: Likewise.
21899         * nss/Makefile: Likewise.
21900         * po/Makefile: Likewise.
21901         (all): Remove target.
21902         * posix/Makefile: Include Makeconfig immediately after defining
21903         subdir.
21904         * pwd/Makefile: Likewise.
21905         * resolv/Makefile: Likewise.
21906         * resource/Makefile: Likewise.
21907         * rt/Makefile: Likewise.
21908         * setjmp/Makefile: Likewise.
21909         * shadow/Makefile: Likewise.
21910         * signal/Makefile: Likewise.
21911         * socket/Makefile: Likewise.
21912         * soft-fp/Makefile: Likewise.
21913         * stdio-common/Makefile: Likewise.
21914         * stdlib/Makefile: Likewise.
21915         * streams/Makefile: Likewise.
21916         * string/Makefile: Likewise.
21917         * sunrpc/Makefile: Likewise.
21918         (all): Remove target.
21919         * sysvipc/Makefile: Include Makeconfig immediately after defining
21920         subdir.
21921         * termios/Makefile: Likewise.
21922         * time/Makefile: Likewise.
21923         * timezone/Makefile: Likewise.
21924         (all): Remove target.
21925         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21926         subdir.
21927         * wctype/Makefile: Likewise.
21929 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21931         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21932         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21933         (libc_feholdexcept_setround_mips): Ditto.
21934         (libc_feholdsetround): New.
21935         (libc_feholdsetroundf): New.
21936         (libc_feholdsetroundl): New.
21937         (libc_feupdateenv_test_mips): New.
21938         (libc_feupdateenv_test): New.
21939         (libc_feupdateenv_testf): New.
21940         (libc_feupdateenv_testl): New.
21941         (libc_feresetround): New.
21942         (libc_feresetroundf): New.
21943         (libc_feresetroundl): New.
21944         (libc_fetestexcept_mips): New.
21945         (libc_fetestexcept): New.
21946         (libc_fetestexceptf): New.
21947         (libc_fetestexceptl): New.
21948         (HAVE_RM_CTX): New.
21949         (libc_feholdexcept_setround_mips_ctx): New.
21950         (libc_feholdexcept_setround_ctx): New.
21951         (libc_feholdexcept_setroundf_ctx): New.
21952         (libc_feholdexcept_setroundl_ctx): New.
21953         (libc_fesetenv_mips_ctx): New.
21954         (libc_fesetenv_ctx): New.
21955         (libc_fesetenv_ctxf): New.
21956         (libc_fesetenv_ctxl): New.
21957         (libc_feupdateenv_mips_ctx): New.
21958         (libc_feupdateenv_ctx): New.
21959         (libc_feupdateenvf_ctx): New.
21960         (libc_feupdateenvl_ctx): New.
21961         (libc_feholdsetround_mips_ctx): New.
21962         (libc_feholdsetround_ctx): New.
21963         (libc_feholdsetroundf_ctx): New.
21964         (libc_feholdsetroundl_ctx): New.
21965         (libc_feresetround_mips_ctx): New.
21966         (libc_feresetround_ctx): New.
21967         (libc_feresetroundf_ctx): New.
21968         (libc_feresetroundl_ctx): New.
21970 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21972         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21974         * manual/ipc.texi: New file.
21975         * manual/Makefile (chapters): Add ipc.
21976         * manual/job.texi: Add "Inter-Process Communication" to next.
21977         * manual/process.texi: Add "Inter-Process Communication" to prev.
21979 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21983 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21985         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21987         * manual/arith.texi: Fix spaces after sentences.
21988         * manual/charset.texi: Likewise.
21989         * manual/errno.texi: Likewise.
21990         * manual/install.texi: Likewise.
21991         * manual/llio.texi: Likewise.
21992         * manual/locale.texi: Likewise.
21993         * manual/maint.texi: Likewise.
21994         * manual/math.texi: Likewise.
21995         * manual/memory.texi: Likewise.
21996         * manual/message.texi: Likewise.
21997         * manual/probes.texi: Likewise.
21998         * manual/resource.texi: Likewise.
21999         * manual/signal.texi: Likewise.
22000         * manual/socket.texi: Likewise.
22001         * manual/stdio.texi: Likewise.
22002         * manual/string.texi: Likewise.
22003         * manual/time.texi: Likewise.
22004         * manual/users.texi: Likewise.
22006 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22008         [BZ #16632]
22009         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22010         _DEFAULT_SOURCE is defined.
22012 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22013             Carlos O'Donell  <carlos@redhat.com>
22015         [BZ #16613]
22016         * elf/dl-tls.c (_dl_count_modids): New function.
22017         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22018         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22019         audit library and increment generation counter.
22020         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22021         * elf/tst-audit9.c: New file.
22022         * elf/tst-auditmod9a.c: New file.
22023         * elf/tst-auditmod9b.c: New file.
22024         * elf/Makefile: Add rules to build and run tst-audit9.
22026 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22028         [BZ #15347]
22029         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22031 2014-02-25  Will Newton  <will.newton@linaro.org>
22033         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22034         (__longjmp): Restore sp and lr before restoring callee
22035         saved registers.  Add longjmp and longjmp_target
22036         SystemTap probe point.
22037         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22038         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22039         Define to zero to match jmpbuf layout.
22040         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22041         (__sigsetjmp): Save sp and lr before saving callee
22042         saved registers.  Add setjmp SystemTap probe point.
22044 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22046         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22048 2014-02-24  Andreas Schwab  <schwab@suse.de>
22050         [BZ #15804]
22051         * elf/pldd.c (wait_for_ptrace_stop): New function.
22052         (main): Call it after attaching.
22054 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22056         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22057         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22058         Versions files is now verboten.
22059         * hurd/Versions (libc: GLIBC_2.0):
22060         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22061         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22062         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22063         * mach/Versions: Likewise.
22065         * csu/Versions: Remove unused %include.
22066         * resolv/Versions: Likewise.
22068 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22070         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22071         ($(objpfx)check-local-headers.out): Likewise.
22072         ($(objpfx)begin-end-check.out): Likewise.
22073         * Makerules (check-abi-%.out): Likewise.
22074         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22075         ($(objpfx)test2.cat): Likewise.
22076         ($(objpfx)de/libc.cat): Likewise.
22077         ($(objpfx)test-gencat.out): Likewise.
22078         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22079         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22080         ($(objpfx)noload-mem): Likewise.
22081         ($(objpfx)tst-pathopt.out): Likewise.
22082         ($(objpfx)tst-rtld-load-self.out): Likewise.
22083         ($(objpfx)tst-array1-cmp.out): Likewise.
22084         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22085         ($(objpfx)tst-array2-cmp.out): Likewise.
22086         ($(objpfx)tst-array3-cmp.out): Likewise.
22087         ($(objpfx)tst-array4-cmp.out): Likewise.
22088         ($(objpfx)tst-array5-cmp.out): Likewise.
22089         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22090         ($(objpfx)check-textrel.out): Likewise.
22091         ($(objpfx)check-execstack.out): Likewise.
22092         ($(objpfx)check-localplt.out): Likewise.
22093         ($(objpfx)order2-cmp.out): Likewise.
22094         ($(objpfx)tst-leaks1-mem): Likewise.
22095         ($(objpfx)tst-leaks1-static-mem): Likewise.
22096         ($(objpfx)tst-initorder-cmp.out): Likewise.
22097         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22098         ($(objpfx)tst-unused-dep.out): Likewise.
22099         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22100         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22101         * iconv/Makefile (test-iconvconfig): Likewise.
22102         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22103         ($(objpfx)iconv-test.out): Likewise.
22104         ($(objpfx)tst-tables.out): Likewise.
22105         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22106         ($(objpfx)tst-gettext.out): Likewise.
22107         ($(objpfx)tst-translit.out): Likewise.
22108         ($(objpfx)tst-gettext2.out): Likewise.
22109         ($(objpfx)tst-gettext4.out): Likewise.
22110         ($(objpfx)tst-gettext6.out): Likewise.
22111         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22112         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22113         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22114         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22115         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22116         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22117         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22118         ($(objpfx)wordexp-tst.out): Likewise.
22119         ($(objpfx)annexc.out): Likewise.
22120         ($(objpfx)tst-fnmatch-mem): Likewise.
22121         ($(objpfx)bug-regex2-mem): Likewise.
22122         ($(objpfx)bug-regex14-mem): Likewise.
22123         ($(objpfx)bug-regex21-mem): Likewise.
22124         ($(objpfx)bug-regex31-mem): Likewise.
22125         ($(objpfx)tst-vfork3-mem): Likewise.
22126         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22127         ($(objpfx)tst-pcre-mem): Likewise.
22128         ($(objpfx)tst-boost-mem): Likewise.
22129         ($(objpfx)tst-getconf.out): Likewise.
22130         ($(objpfx)bug-ga2-mem): Likewise.
22131         ($(objpfx)bug-glob2-mem): Likewise.
22132         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22133         ($(objpfx)mtrace-tst-leaks2): Likewise.
22134         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22135         ($(objpfx)tst-printf.out): Likewise.
22136         ($(objpfx)tst-setvbuf1.out): Likewise.
22137         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22138         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22139         ($(objpfx)tst-fmtmsg.out): Likewise.
22140         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22141         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22143         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22144         * bits/sigaction.h [__USE_MISC]: Likewise.
22145         * bits/waitstatus.h: Update #endif comments.
22146         * ctype/ctype.h: Likewise.
22147         * dirent/dirent.h: Likewise.
22148         [__USE_MISC]: Remove redundant conditionals.
22149         * grp/grp.h: Update #endif comments.
22150         [__USE_GNU]: Remove redundant conditionals.
22151         [__USE_MISC]: Likewise.
22152         * inet/netinet/in.h [__USE_GNU]: Likewise.
22153         * io/sys/stat.h [__USE_MISC]: Likewise.
22154         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22155         * libio/bits/stdio.h: Update #endif comments.
22156         [__USE_MISC]: Remove redundant conditionals.
22157         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22158         * libio/stdio.h: Update #endif comments.
22159         [__USE_MISC]: Remove redundant conditionals.
22160         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22161         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22162         * math/math.h: Update #else and #endif comments.
22163         [__USE_MISC]: Remove redundant conditionals.
22164         * misc/sys/uio.h: Update #endif comments.
22165         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22166         * posix/glob.h [__USE_MISC]: Likewise.
22167         * posix/sys/types.h: Update #endif comments.
22168         [__USE_MISC]: Remove redundant conditionals.
22169         * posix/sys/wait.h: Update #endif comments.
22170         [__USE_MISC]: Remove redundant conditionals.
22171         * posix/unistd.h: Update #endif comments.
22172         [__USE_MISC]: Remove redundant conditionals.
22173         * pwd/pwd.h [__USE_GNU]: Likewise.
22174         [__USE_MISC]: Likewise.
22175         * resolv/netdb.h [__USE_GNU]: Likewise.
22176         * signal/signal.h: Update #endif comments.
22177         [__USE_MISC]: Remove redundant conditionals.
22178         * stdlib/stdlib.h: Update #else and #endif comments.
22179         [__USE_MISC]: Remove redundant conditionals.
22180         [__USE_GNU]: Likewise.
22181         * string/bits/string2.h [__USE_MISC]: Likewise.
22182         * string/string.h: Update #endif comments.
22183         [__USE_MISC]: Remove redundant conditionals.
22184         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22185         Likewise.
22186         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22187         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22188         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22189         Likewise.
22190         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22191         Likewise.
22192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22193         comments.
22194         [__USE_MISC]: Remove redundant conditionals.
22195         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22196         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22197         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22198         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22199         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22200         Likewise.
22201         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22202         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22203         Likewise.
22204         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22205         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22206         Likewise.
22207         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22208         Likewise.
22209         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22210         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22211         Likewise.
22212         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22213         Likewise.
22214         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22215         * sysdeps/x86/bits/string.h: Update #endif comments.
22216         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22217         conditionals.
22218         * time/sys/time.h: Update #endif comments.
22219         * time/time.h: Likewise.
22220         [__USE_MISC]: Remove redundant conditionals.
22222 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22224         [BZ #16600]
22225         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22227 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22229         * Versions.def (librt): Add GLIBC_2.17.
22231 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22233         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22234         synonym for _SYS_AUXV_H to allow direct inclusion.
22235         * sysdeps/sparc/bits/hwcap.h: Likewise.
22236         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22237         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22238         * sysdeps/sparc/sysdep.h: Likewise.
22240 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22242         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22244 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22246         * benchtests/bench-strrchr.c: Print length instead of position.
22248 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22250         [BZ #16611]
22251         * sysdeps/unix/sysv/linux/kernel-features.h
22252         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22253         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22254         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22255         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22256         Likewise.
22257         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22258         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22259         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22260         (__ASSUME_SENDMMSG): Define instead of using previous
22261         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22262         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22263         (__ASSUME_SENDMMSG_SYSCALL): Define.
22264         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22265         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22266         Likewise.
22267         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22268         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22269         Likewise.
22270         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22271         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22272         Likewise.
22273         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22274         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22275         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22276         [__ASSUME_SENDMMSG]: Change conditionals to
22277         [__ASSUME_SENDMMSG_SOCKETCALL].
22278         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22279         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22280         Define.
22281         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22282         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22283         Likewise.
22284         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22285         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22286         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22287         [!__ASSUME_SENDMMSG]: Change conditional to
22288         [!__ASSUME_SENDMMSG_SOCKETCALL].
22289         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22290         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22291         Define.
22293         [BZ #16610]
22294         * sysdeps/unix/sysv/linux/kernel-features.h
22295         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22296         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22297         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22298         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22299         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22300         [__i386__ || __sparc__]
22301         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22302         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22303         (__ASSUME_RECVMMSG): Define instead of using previous
22304         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22305         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22306         (__ASSUME_RECVMMSG_SYSCALL): Define.
22307         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22308         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22309         Likewise.
22310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22311         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22312         Likewise.
22313         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22315         Likewise.
22316         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
22322         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22323         Define.
22324         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22325         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22327         Likewise.
22328         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22329         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22330         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22331         [!__ASSUME_RECVMMSG]: Change condition to
22332         [!__ASSUME_RECVMMSG_SOCKETCALL].
22333         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22334         (__ASSUME_RECVMMSG_SYSCALL): Define.
22336         [BZ #16609]
22337         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22338         __powerpc__ || __s390__ || __sh__ || __sparc__]
22339         (__ASSUME_SOCKETCALL): Define.
22340         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22341         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22342         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22343         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22344         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22345         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22346         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22347         (__ASSUME_ACCEPT4): Define instead of using previous
22348         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22349         __powerpc__ || __sparc__ || __s390__)] condition.
22350         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22351         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22352         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22353         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22354         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22355         [!__ASSUME_ACCEPT4]: Change condition to
22356         [!__ASSUME_ACCEPT4_SOCKETCALL].
22357         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22358         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22359         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22360         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22361         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22362         __ASSUME_ACCEPT4_SYSCALL.
22363         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22364         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22365         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22366         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22367         __ASSUME_ACCEPT4_SYSCALL.
22368         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22369         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22370         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22371         [__ASSUME_ACCEPT4]: Change condition to
22372         [__ASSUME_ACCEPT4_SOCKETCALL].
22373         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22374         (__ASSUME_SOCKETCALL): Define.
22375         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22377         (__ASSUME_SOCKETCALL): Define.
22378         (__ASSUME_ACCEPT4): Remove.
22379         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22380         Define.
22381         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22382         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22383         Likewise.
22384         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22385         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22387         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22388         macro.
22389         (HWCAP_ARM_LPAE): Likewise.
22390         (HWCAP_ARM_EVTSTRM): Likewise.
22391         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22392         Add vpfd32, lpae and evtstrm.
22393         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22394         Increase to 22.
22396 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22398         * math/auto-libm-test-in: Add tests of clog10.
22399         * math/auto-libm-test-out: Regenerated.
22400         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22401         * sysdeps/i386/fpu/libm-test-ulps: Update.
22402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404 2014-02-18  Andreas Schwab  <schwab@suse.de>
22406         [BZ #16574]
22407         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22408         Store non-zero if the second buffer was newly allocated.
22409         (send_dg): Likewise.
22410         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22411         to send_vc and send_dg.
22412         (res_nsend): Pass NULL for ansp2_malloced.
22413         * resolv/res_query.c (__libc_res_nquery): Add parameter
22414         answerp2_malloced and pass it down to __libc_res_nsend.
22415         (res_nquery): Pass additional NULL to __libc_res_nquery.
22416         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22417         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22418         second answer buffer if answerp2_malloced was set.
22419         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22420         (__libc_res_nquerydomain): Add parameter
22421         answerp2_malloced and pass it down to __libc_res_nquery.
22422         (res_nquerydomain): Pass additional NULL to
22423         __libc_res_nquerydomain.
22424         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22425         additional NULL to __libc_res_nsend and __libc_res_nquery.
22426         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22427         additional NULL to __libc_res_nsearch.
22428         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22429         parameter of __libc_res_nsearch to check for separately allocated
22430         second buffer.
22431         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22432         __libc_res_nquery.
22433         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22434         additional NULL to __libc_res_nquery.
22435         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22436         __libc_res_nsearch.
22437         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22438         * include/resolv.h: Update prototypes of __libc_res_nquery,
22439         __libc_res_nsearch, __libc_res_nsend.
22441 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22443         * math/auto-libm-test-in: Add tests of fma.
22444         * math/auto-libm-test-out: Regenerated.
22445         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22446         (fma_towardzero_test_data): Likewise.
22447         (fma_downward_test_data): Likewise.
22448         (fma_upward_test_data): Likewise.
22449         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22450         mpc_mode.
22451         (rounding_modes): Add values for new field.
22452         (func_calc_method): Add value mpfr_fff_f.
22453         (func_calc_desc): Add mpfr_fff_f union field.
22454         (test_function): Add field exact_args.
22455         (FUNC): Add macro argument EXACT_ARGS.
22456         (FUNC_mpfr_f_f): Update call to FUNC.
22457         (FUNC_mpfr_f_f): Likewise.
22458         (FUNC_mpfr_ff_f): Likewise.
22459         (FUNC_mpfr_if_f): Likewise.
22460         (FUNC_mpc_c_f): Likewise.
22461         (FUNC_mpc_c_c): Likewise.
22462         (test_functions): Add fma.  Update calls to FUNC.
22463         (handle_input_arg): Add argument exact_args.
22464         (add_test): Update call to handle_input_arg.
22465         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22466         (output_for_one_input_case): Update call to calc_generic_results.
22467         Recalculate exact zero results in each rounding mode.
22469         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22470         non-negative before setting low bit.
22471         * math/auto-libm-test-in: Mark one asin test possibly having
22472         spurious underflow.
22473         * math/auto-libm-test-out: Regenerated.
22474         * sysdeps/i386/fpu/libm-test-ulps: Update.
22475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22477 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22479         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22480         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22481         ports/sysdeps/unix/sysv/linux/microblaze.
22482         * README: Add missing listing for microblaze*-*-linux-gnu.
22484 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22486         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22487         duplicate code
22489 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22491         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22492         * sysdeps/unix/sysv/linux/ia64: Move directory from
22493         ports/sysdeps/unix/sysv/linux/ia64.
22494         * README: Update listing for ia64-*-linux-gnu.
22496 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22497             Joseph Myers  <joseph@codesourcery.com>
22499         * Makeconfig (test-name): New variable.
22500         (evaluate-test): Likewise.
22501         * Makerules (do-test-clean): Remove .test-result files.
22502         (common-mostlyclean): Likewise.
22503         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22504         * scripts/evaluate-test.sh: New file.
22506 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22508         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22509         separate $(objpfx)tst-fopenloc-cmp.out and
22510         $(objpfx)tst-fopenloc-mem.out targets.
22511         (tests): Update dependencies.
22512         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22513         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22514         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22515         (tst-rxspencer-no-utf8-ARGS): New variable.
22516         (tst-rxspencer-no-utf8-ENV): Likewise.
22517         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22518         instead of $(objpfx)tst-rxspencer-mem.
22519         ($(objpfx)tst-rxspencer-mem): Change target to
22520         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22521         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22522         * posix/tst-rxspencer-no-utf8.c: New file.
22524         * elf/Makefile ($(objpfx)order.out): Remove rule.
22525         [$(run-built-tests) = yes] (tests): Depend on
22526         $(objpfx)order-cmp.out.
22527         ($(objpfx)order-cmp.out): New rule.
22528         [$(run-built-tests) = yes] (tests): Depend on
22529         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22530         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22531         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22532         $(objpfx)tst-array5-static-cmp.out.
22533         ($(objpfx)tst-array1.out): Remove rule.
22534         ($(objpfx)tst-array1-cmp.out): New rule.
22535         ($(objpfx)tst-array1-static.out): Remove rule.
22536         ($(objpfx)tst-array1-static-cmp.out): New rule.
22537         ($(objpfx)tst-array2.out): Remove rule.
22538         ($(objpfx)tst-array2-cmp.out): New rule.
22539         ($(objpfx)tst-array3.out): Remove rule.
22540         ($(objpfx)tst-array3-cmp.out): New rule.
22541         ($(objpfx)tst-array4.out): Remove rule.
22542         ($(objpfx)tst-array4-cmp.out): New rule.
22543         ($(objpfx)tst-array5.out): Remove rule.
22544         ($(objpfx)tst-array5-cmp.out): New rule.
22545         ($(objpfx)tst-array5-static.out): Remove rule.
22546         ($(objpfx)tst-array5-static-cmp.out): New rule.
22547         [$(run-built-tests) = yes] (tests): Depend on
22548         $(objpfx)order2-cmp.out.
22549         ($(objpfx)order2.out): Remove rule.
22550         ($(objpfx)order2-cmp.out): New rule.
22551         ($(objpfx)tst-initorder.out): Remove rule.
22552         [$(run-built-tests) = yes] (tests): Depend on
22553         $(objpfx)tst-initorder-cmp.out.
22554         ($(objpfx)tst-initorder-cmp.out): New rule.
22555         ($(objpfx)tst-initorder2.out): Remove rule.
22556         [$(run-built-tests) = yes] (tests): Depend on
22557         $(objpfx)tst-initorder2-cmp.out.
22558         ($(objpfx)tst-initorder2-cmp.out): New rule.
22559         [$(run-built-tests) = yes] (tests): Depend on
22560         $(objpfx)tst-unused-dep-cmp.out.
22561         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22562         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22563         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22564         on $(objpfx)tst-setvbuf1-cmp.out.
22565         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22566         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22567         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22568         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22569         ($(objpfx)tst-svc.out): Remove rule.
22570         ($(objpfx)tst-svc-cmp.out): New rule.
22572 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22574         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22575         * ctype/ctype.h [__USE_MISC]: Likewise.
22576         * dirent/dirent.h [__USE_MISC]: Likewise.
22577         * grp/grp.h [__USE_MISC]: Likewise.
22578         * io/fcntl.h [__USE_MISC]: Likewise.
22579         * io/sys/stat.h [__USE_MISC]: Likewise.
22580         * libio/stdio.h [__USE_MISC]: Likewise.
22581         * posix/unistd.h [__USE_MISC]: Likewise.
22582         * pwd/pwd.h [__USE_MISC]: Likewise.
22583         * stdlib.h [__USE_MISC]: Likewise.
22584         * string/bits/string2.h [__USE_MISC]: Likewise.
22585         * string/string.h [__USE_MISC]: Likewise.
22586         * time/time.h [__USE_MISC]: Likewise.
22588 2014-02-13  Andreas Schwab  <schwab@suse.de>
22590         [BZ #16574]
22591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22592         second answer buffer if it was separately allocated.
22594 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22596         * sysdeps/mips/math-tests.h: Include <features.h>.
22597         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22598         (ROUNDING_TESTS_long_double): Do not define.
22599         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22600         (EXCEPTION_TESTS_long_double): Likewise.
22601         * sysdeps/mips/mips64/libm-test-ulps: Update.
22603         * include/features.h (__USE_BSD): Remove macro definitions.
22604         (__USE_SVID): Likewise.
22605         (_BSD_SOURCE): Likewise.
22606         (_SVID_SOURCE): Likewise.
22607         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22608         from definition of _DEFAULT_SOURCE.
22609         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22610         [_DEFAULT_SOURCE].
22611         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22612         * bits/mman.h [__USE_BSD]: Likewise.
22613         * bits/termios.h [__USE_BSD]: Likewise.
22614         * bits/waitstatus.h [__USE_BSD]: Likewise.
22615         * ctype/ctype.h [__USE_SVID]: Likewise.
22616         * dirent/dirent.h [__USE_BSD]: Likewise.
22617         * grp/grp.h [__USE_SVID]: Likewise.
22618         [__USE_BSD]: Likewise.
22619         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22620         * io/fcntl.h [__USE_BSD]: Likewise.
22621         * io/ftw.h [__USE_BSD]: Likewise.
22622         * io/sys/stat.h [__USE_BSD]: Likewise.
22623         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22624         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22625         * libio/stdio.h [__USE_SVID]: Likewise.
22626         [__USE_BSD]: Likewise.
22627         * math/math.h [__USE_SVID]: Likewise.
22628         [__USE_BSD]: Likewise.
22629         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22630         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22631         * misc/search.h [__USE_SVID]: Likewise.
22632         * misc/sys/mman.h [__USE_BSD]: Likewise.
22633         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22634         * misc/sys/uio.h [__USE_BSD]: Likewise.
22635         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22636         * posix/glob.h [__USE_BSD]: Likewise.
22637         * posix/regex.h [__USE_BSD]: Likewise.
22638         * posix/sys/types.h [__USE_BSD]: Likewise.
22639         [__USE_SVID]: Likewise.
22640         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22641         * posix/sys/wait.h [__USE_BSD]: Likewise.
22642         [__USE_SVID]: Likewise.
22643         * posix/unistd.h [__USE_BSD]: Likewise.
22644         [__USE_SVID]: Likewise.
22645         * pwd/pwd.h [__USE_SVID]: Likewise.
22646         * resolv/netdb.h [__USE_BSD]: Likewise.
22647         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22648         * signal/signal.h [__USE_BSD]: Likewise.
22649         [__USE_SVID]: Likewise.
22650         * socket/sys/socket.h [__USE_BSD]: Likewise.
22651         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22652         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22653         [__USE_SVID]: Likewise.
22654         * string/bits/string2.h [__USE_BSD]: Likewise.
22655         [__USE_SVID]: Likewise.
22656         * string/bits/string3.h [__USE_BSD]: Likewise.
22657         * string/endian.h [__USE_BSD]: Likewise.
22658         * string/string.h [__USE_SVID]: Likewise.
22659         [__USE_BSD]: Likewise.
22660         * string/strings.h [__USE_BSD]: Likewise.
22661         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22662         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22663         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22664         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22665         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22666         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22667         Likewise.
22668         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22669         Likewise.
22670         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22671         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22672         Likewise.
22673         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22674         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22675         Likewise.
22676         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22677         Likewise.
22678         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22679         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22680         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22681         Likewise.
22682         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22683         Likewise.
22684         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22685         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22686         * termios/termios.h [__USE_BSD]: Likewise.
22687         * time/sys/time.h [__USE_BSD]: Likewise.
22688         * time/time.h [__USE_BSD]: Likewise.
22689         [__USE_SVID]: Likewise.
22691         * Makefile (subdir_targets): Remove subdir_lint.out.
22693         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22694         (do-tst-printf): Likewise.
22695         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22696         $(objpfx)tst-printf.out.
22698         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22700         * Makerules (check-abi-%): Change target to
22701         $(objpfx)check-abi-%.out.
22702         (check-abi target): Update dependencies.
22703         (check-abi-pattern variable): Redirect output of diff to $@.
22704         (check-abi variable): Likewise.
22705         * elf/Makefile (check-abi): Update dependencies.
22707         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22708         unused.
22709         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22710         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22711         subnormal range.
22712         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22713         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22714         value has largest subnormal exponent.
22715         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22716         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22717         * sysdeps/aarch64/soft-fp/sfp-machine.h
22718         (_FP_TININESS_AFTER_ROUNDING): New macro.
22719         * sysdeps/alpha/soft-fp/sfp-machine.h
22720         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22721         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22722         Likewise.
22723         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22724         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22725         * sysdeps/mips/soft-fp/sfp-machine.h
22726         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22727         * sysdeps/powerpc/soft-fp/sfp-machine.h
22728         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22729         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22730         Likewise.
22731         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22732         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22733         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22734         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22735         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22736         Likewise.
22738 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22740         [BZ #16545]
22741         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22742         model 1.
22744 2014-02-12  Richard Henderson  <rth@redhat.com>
22746         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22747         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22748         * sysdeps/unix/sysv/linux/alpha: Move directory from
22749         ports/sysdeps/unix/sysv/linux/alpha.
22750         * README: Update listing for alpha-*-linux-gnu.
22752 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22754         * include/features.h: Update comment documenting feature test
22755         macros.
22756         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22757         _DEFAULT_SOURCE.
22758         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22759         (_SVID_SOURCE): Likewise.
22760         (_DEFAULT_SOURCE): Update description of default features.
22761         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22762         with _GNU_SOURCE.
22763         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22764         (S_ISVTX): Likewise.
22765         * manual/math.texi (Mathematical Constants): Likewise.
22766         * manual/signal.texi (Interrupted Primitives): Likewise.
22767         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22768         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22769         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22770         Don't refer to _SVID_SOURCE in warning text.
22772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22774         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22775         already defined.
22776         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22777         * sysdeps/mips/dl-lookup.c: Remove.
22778         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22780 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22782         [BZ #16447]
22783         * math/auto-libm-test-in: Add testcase for expl.
22784         * math/auto-libm-test-out: Regenerate.
22785         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22786         calculation of unsafe.
22787         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22789 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22791         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22792         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22793         ports/sysdeps/unix/sysv/linux/aarch64.
22794         * README: Update listing for aarch64*-*-linux-gnu.
22796 2014-02-11  Will Newton  <will.newton@linaro.org>
22798         * manual/probes.texi (Mathematical Function Probes): Use
22799         "triggered" instead of "hit".
22801         * manual/probes.texi (Internal Probes): Add documentation
22802         of setjmp, longjmp and longjmp_target probes.
22804         * include/stap-probe.h: Add comment about probe argument
22805         format.
22807         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22808         definition.  (tr_where, tr_freehook, tr_mallochook,
22809         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22811 2014-02-11  David S. Miller  <davem@davemloft.net>
22813         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22814         processing int_tests.
22816 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22818         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22819         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22820         * sysdeps/unix/sysv/linux/mips: Move directory from
22821         ports/sysdeps/unix/sysv/linux/mips.
22822         * README: Update listing for mips-*-linux-gnu and
22823         mips64-*-linux-gnu.
22825 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22827         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22828         * sysdeps/unix/sysv/linux/m68k: Move directory from
22829         ports/sysdeps/unix/sysv/linux/m68k.
22830         * README: Update listing for m68k-*-linux-gnu.
22832 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22834         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22835         * sysdeps/unix/sysv/linux/generic: Move directory from
22836         ports/sysdeps/unix/sysv/linux/generic.
22837         * sysdeps/unix/sysv/linux/tile: Move directory from
22838         ports/sysdeps/unix/sysv/linux/tile.
22839         * README: Update listing for tile*-*-linux-gnu.
22841 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22843         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22844         __builtin_expect.
22845         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22846         * catgets/open_catalog.c (__open_catalog): Likewise.
22847         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22848         * debug/confstr_chk.c: Likewise.
22849         * debug/fread_chk.c (__fread_chk): Likewise.
22850         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22851         * debug/getgroups_chk.c: Likewise.
22852         * debug/mbsnrtowcs_chk.c: Likewise.
22853         * debug/mbsrtowcs_chk.c: Likewise.
22854         * debug/mbstowcs_chk.c: Likewise.
22855         * debug/memcpy_chk.c: Likewise.
22856         * debug/memmove_chk.c: Likewise.
22857         * debug/mempcpy_chk.c: Likewise.
22858         * debug/memset_chk.c: Likewise.
22859         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22860         * debug/strcat_chk.c (__strcat_chk): Likewise.
22861         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22862         * debug/strncat_chk.c (__strncat_chk): Likewise.
22863         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22864         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22865         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22866         * debug/wcpncpy_chk.c: Likewise.
22867         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22868         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22869         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22870         * debug/wcsncpy_chk.c: Likewise.
22871         * debug/wcsnrtombs_chk.c: Likewise.
22872         * debug/wcsrtombs_chk.c: Likewise.
22873         * debug/wcstombs_chk.c: Likewise.
22874         * debug/wmemcpy_chk.c: Likewise.
22875         * debug/wmemmove_chk.c: Likewise.
22876         * debug/wmempcpy_chk.c: Likewise.
22877         * debug/wmemset_chk.c: Likewise.
22878         * dirent/scandirat.c (SCANDIRAT): Likewise.
22879         * dlfcn/dladdr1.c (dladdr1): Likewise.
22880         * dlfcn/dladdr.c (dladdr): Likewise.
22881         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22882         * dlfcn/dlerror.c (__dlerror): Likewise.
22883         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22884         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22885         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22886         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22887         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22888         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22889         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22890         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22891         Likewise.
22892         * elf/dl-conflict.c: Likewise.
22893         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22894         * elf/dl-dst.h: Likewise.
22895         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22896         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22897         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22898         * elf/dl-init.c (call_init, _dl_init): Likewise.
22899         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22900         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22901         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22902         Likewise.
22903         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22904         Likewise.
22905         * elf/dl-minimal.c (__libc_memalign): Likewise.
22906         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22907         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22908         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22909         * elf/dl-sym.c (do_sym): Likewise.
22910         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22911         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22912         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22913         * elf/dl-writev.h (_dl_writev): Likewise.
22914         * elf/ldconfig.c (search_dir): Likewise.
22915         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22916         (dl_main): Likewise.
22917         * elf/setup-vdso.h (setup_vdso): Likewise.
22918         * grp/compat-initgroups.c (compat_call): Likewise.
22919         * grp/fgetgrent.c (fgetgrent): Likewise.
22920         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22921         * grp/putgrent.c (putgrent): Likewise.
22922         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22923         Likewise.
22924         * hurd/hurdinit.c: Likewise.
22925         * iconvdata/8bit-gap.c (struct): Likewise.
22926         * iconvdata/ansi_x3.110.c : Likewise.
22927         * iconvdata/big5.c : Likewise.
22928         * iconvdata/big5hkscs.c : Likewise.
22929         * iconvdata/cp1255.c: Likewise.
22930         * iconvdata/cp1258.c : Likewise.
22931         * iconvdata/cp932.c : Likewise.
22932         * iconvdata/euc-cn.c: Likewise.
22933         * iconvdata/euc-jisx0213.c : Likewise.
22934         * iconvdata/euc-jp.c: Likewise.
22935         * iconvdata/euc-jp-ms.c : Likewise.
22936         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22937         * iconvdata/gb18030.c : Likewise.
22938         * iconvdata/gbbig5.c (const): Likewise.
22939         * iconvdata/gbgbk.c: Likewise.
22940         * iconvdata/gbk.c : Likewise.
22941         * iconvdata/ibm1364.c : Likewise.
22942         * iconvdata/ibm930.c : Likewise.
22943         * iconvdata/ibm932.c: Likewise.
22944         * iconvdata/ibm933.c : Likewise.
22945         * iconvdata/ibm935.c : Likewise.
22946         * iconvdata/ibm937.c : Likewise.
22947         * iconvdata/ibm939.c : Likewise.
22948         * iconvdata/ibm943.c: Likewise.
22949         * iconvdata/iso_11548-1.c: Likewise.
22950         * iconvdata/iso-2022-cn.c : Likewise.
22951         * iconvdata/iso-2022-cn-ext.c : Likewise.
22952         * iconvdata/iso-2022-jp-3.c: Likewise.
22953         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22954         * iconvdata/iso-2022-kr.c : Likewise.
22955         * iconvdata/iso646.c (gconv_end): Likewise.
22956         * iconvdata/iso_6937-2.c : Likewise.
22957         * iconvdata/iso_6937.c : Likewise.
22958         * iconvdata/iso8859-1.c: Likewise.
22959         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22960         * iconvdata/shift_jisx0213.c : Likewise.
22961         * iconvdata/sjis.c : Likewise.
22962         * iconvdata/t.61.c : Likewise.
22963         * iconvdata/tcvn5712-1.c : Likewise.
22964         * iconvdata/tscii.c: Likewise.
22965         * iconvdata/uhc.c : Likewise.
22966         * iconvdata/unicode.c (gconv_end): Likewise.
22967         * iconvdata/utf-16.c (gconv_end): Likewise.
22968         * iconvdata/utf-32.c (gconv_end): Likewise.
22969         * iconvdata/utf-7.c (base64): Likewise.
22970         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22971         * iconv/gconv_close.c (__gconv_close): Likewise.
22972         * iconv/gconv_open.c (__gconv_open): Likewise.
22973         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22974         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22975         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22976         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22977         (ucs4le_internal_loop_single): Likewise.
22978         * iconv/iconv.c (iconv): Likewise.
22979         * iconv/iconv_close.c: Likewise.
22980         * iconv/loop.c (SINGLE): Likewise.
22981         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22982         * include/atomic.h: Likewise.
22983         * inet/inet6_option.c (option_alloc): Likewise.
22984         * intl/bindtextdom.c (set_binding_values): Likewise.
22985         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22986         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22987         * intl/localealias.c (read_alias_file): Likewise.
22988         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22989         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22990         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22991         * libio/fmemopen.c (fmemopen): Likewise.
22992         * libio/iofgets.c (_IO_fgets): Likewise.
22993         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22994         * libio/iofgetws.c (fgetws): Likewise.
22995         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22996         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22997         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22998         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22999         * locale/findlocale.c (_nl_find_locale): Likewise.
23000         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23001         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23002         Likewise.
23003         * locale/setlocale.c (setlocale): Likewise.
23004         * login/programs/pt_chown.c (main): Likewise.
23005         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23006         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23007         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23008         (mmap, mmap64, mremap, munmap): Likewise.
23009         * math/e_exp2l.c: Likewise.
23010         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23011         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23012         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23013         * math/s_catan.c (__catan): Likewise.
23014         * math/s_catanf.c (__catanf): Likewise.
23015         * math/s_catanh.c (__catanh): Likewise.
23016         * math/s_catanhf.c (__catanhf): Likewise.
23017         * math/s_catanhl.c (__catanhl): Likewise.
23018         * math/s_catanl.c (__catanl): Likewise.
23019         * math/s_ccosh.c (__ccosh): Likewise.
23020         * math/s_ccoshf.c (__ccoshf): Likewise.
23021         * math/s_ccoshl.c (__ccoshl): Likewise.
23022         * math/s_cexp.c (__cexp): Likewise.
23023         * math/s_cexpf.c (__cexpf): Likewise.
23024         * math/s_cexpl.c (__cexpl): Likewise.
23025         * math/s_clog10.c (__clog10): Likewise.
23026         * math/s_clog10f.c (__clog10f): Likewise.
23027         * math/s_clog10l.c (__clog10l): Likewise.
23028         * math/s_clog.c (__clog): Likewise.
23029         * math/s_clogf.c (__clogf): Likewise.
23030         * math/s_clogl.c (__clogl): Likewise.
23031         * math/s_csin.c (__csin): Likewise.
23032         * math/s_csinf.c (__csinf): Likewise.
23033         * math/s_csinh.c (__csinh): Likewise.
23034         * math/s_csinhf.c (__csinhf): Likewise.
23035         * math/s_csinhl.c (__csinhl): Likewise.
23036         * math/s_csinl.c (__csinl): Likewise.
23037         * math/s_csqrt.c (__csqrt): Likewise.
23038         * math/s_csqrtf.c (__csqrtf): Likewise.
23039         * math/s_csqrtl.c (__csqrtl): Likewise.
23040         * math/s_ctan.c (__ctan): Likewise.
23041         * math/s_ctanf.c (__ctanf): Likewise.
23042         * math/s_ctanh.c (__ctanh): Likewise.
23043         * math/s_ctanhf.c (__ctanhf): Likewise.
23044         * math/s_ctanhl.c (__ctanhl): Likewise.
23045         * math/s_ctanl.c (__ctanl): Likewise.
23046         * math/w_pow.c: Likewise.
23047         * math/w_powf.c: Likewise.
23048         * math/w_powl.c: Likewise.
23049         * math/w_scalb.c (sysv_scalb): Likewise.
23050         * math/w_scalbf.c (sysv_scalbf): Likewise.
23051         * math/w_scalbl.c (sysv_scalbl): Likewise.
23052         * misc/error.c (error_tail): Likewise.
23053         * misc/pselect.c (__pselect): Likewise.
23054         * nis/nis_callback.c (__nis_create_callback): Likewise.
23055         * nis/nis_call.c (__nisfind_server): Likewise.
23056         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23057         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23058         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23059         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23060         * nis/nis_lookup.c (nis_lookup): Likewise.
23061         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23062         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23063         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23064         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23065         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23066         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23067         * nis/nss_compat/compat-initgroups.c (add_group)
23068         (internal_getgrent_r): Likewise.
23069         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23070         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23071         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23072         (internal_getspnam_r): Likewise.
23073         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23074         (_nss_nis_getaliasbyname_r): Likewise.
23075         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23076         (_nss_nis_getntohost_r): Likewise.
23077         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23078         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23079         (_nss_nis_getgrgid_r): Likewise.
23080         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23081         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23082         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23083         (_nss_nis_gethostbyname4_r): Likewise.
23084         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23085         (initgroups_netid): Likewise.
23086         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23087         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23088         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23089         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23090         (_nss_nis_getprotobynumber_r): Likewise.
23091         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23092         (_nss_nis_getsecretkey): Likewise.
23093         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23094         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23095         (_nss_nis_getpwuid_r): Likewise.
23096         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23097         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23098         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23099         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23100         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23101         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23102         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23103         Likewise.
23104         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23105         (_nss_nisplus_getntohost_r): Likewise.
23106         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23107         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23108         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23109         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23110         Likewise.
23111         * nis/nss_nisplus/nisplus-initgroups.c
23112         (_nss_nisplus_initgroups_dyn): Likewise.
23113         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23114         (_nss_nisplus_getnetbyaddr_r): Likewise.
23115         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23116         (_nss_nisplus_getprotobynumber_r): Likewise.
23117         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23118         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23119         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23120         Likewise.
23121         * nis/nss_nisplus/nisplus-service.c
23122         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23123         (_nss_nisplus_getservbyport_r): Likewise.
23124         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23125         (_nss_nisplus_getspnam_r): Likewise.
23126         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23127         Likewise.
23128         * nscd/aicache.c (addhstaiX): Likewise.
23129         * nscd/cache.c (cache_search, prune_cache): Likewise.
23130         * nscd/connections.c (register_traced_file, send_ro_fd)
23131         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23132         (main_loop_epoll): Likewise.
23133         * nscd/grpcache.c (addgrbyX): Likewise.
23134         * nscd/hstcache.c (addhstbyX): Likewise.
23135         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23136         * nscd/mem.c (gc, mempool_alloc): Likewise.
23137         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23138         (addinnetgrX): Likewise.
23139         * nscd/nscd-client.h (__nscd_acquire_maplock)
23140         (__nscd_drop_map_ref): Likewise.
23141         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23142         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23143         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23144         Likewise.
23145         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23146         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23147         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23148         (__nscd_get_map_ref): Likewise.
23149         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23150         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23151         Likewise.
23152         * nscd/pwdcache.c (addpwbyX): Likewise.
23153         * nscd/selinux.c (preserve_capabilities): Likewise.
23154         * nscd/servicescache.c (addservbyX): Likewise.
23155         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23156         * posix/fnmatch.c (fnmatch): Likewise.
23157         * posix/getopt.c (_getopt_internal_r): Likewise.
23158         * posix/glob.c (glob, glob_in_dir): Likewise.
23159         * posix/wordexp.c (exec_comm_child): Likewise.
23160         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23161         (getanswer_r, gaih_getanswer_slice): Likewise.
23162         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23163         * resolv/res_init.c: Likewise.
23164         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23165         * resolv/res_query.c (__libc_res_nquery): Likewise.
23166         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23167         Likewise.
23168         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23169         * stdio-common/perror.c (perror): Likewise.
23170         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23171         * stdio-common/tmpnam.c (tmpnam): Likewise.
23172         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23173         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23174         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23175         Likewise.
23176         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23177         * stdlib/putenv.c (putenv): Likewise.
23178         * stdlib/setenv.c (__add_to_environ): Likewise.
23179         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23180         * stdlib/strtol_l.c (INTERNAL): Likewise.
23181         * string/memmem.c (memmem): Likewise.
23182         * string/strerror.c (strerror): Likewise.
23183         * string/strnlen.c (__strnlen): Likewise.
23184         * string/test-memmem.c (simple_memmem): Likewise.
23185         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23186         * sunrpc/pm_getport.c (__get_socket): Likewise.
23187         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23188         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23189         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23190         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23191         Likewise.
23192         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23193         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23194         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23195         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23196         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23197         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23198         Likewise.
23199         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23200         Likewise.
23201         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23202         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23203         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23204         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23205         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23207         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23208         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23209         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23210         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23211         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23212         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23213         Likewise.
23214         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23215         Likewise.
23216         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23217         Likewise.
23218         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23219         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23220         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23221         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23222         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23223         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23224         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23225         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23227         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23228         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23229         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23230         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23231         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23233         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23234         Likewise.
23235         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23236         Likewise.
23237         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23238         Likewise.
23239         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23240         Likewise.
23241         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23243         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23244         Likewise.
23245         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23246         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23247         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23248         * sysdeps/posix/sleep.c: Likewise.
23249         * sysdeps/posix/tempname.c: Likewise.
23250         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23251         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23252         Likewise.
23253         * sysdeps/powerpc/powerpc32/dl-machine.h
23254         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23255         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23256         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23257         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23258         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23259         Likewise.
23260         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23261         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23262         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23263         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23264         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23265         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23266         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23267         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23268         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23269         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23270         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23271         (elf_machine_lazy_rel): Likewise.
23272         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23273         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23274         (elf_machine_lazy_rel): Likewise.
23275         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23276         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23277         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23278         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23279         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23280         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23281         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23282         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23283         Likewise.
23284         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23285         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23286         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23287         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23288         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23289         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23290         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23291         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23292         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23293         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23294         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23295         Likewise.
23296         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23297         (__posix_fallocate64_l64): Likewise.
23298         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23299         (posix_fallocate): Likewise.
23300         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23301         Likewise.
23302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23303         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23304         (getifaddrs_internal): Likewise.
23305         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23306         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23307         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23308         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23309         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23310         (__posix_fallocate64_l64): Likewise.
23311         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23312         Likewise.
23313         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23314         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23315         (__get_clockfreq): Likewise.
23316         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23317         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23318         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23321         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23322         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23323         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23324         Likewise.
23325         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23326         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23327         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23328         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23329         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23330         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23331         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23332         Likewise.
23333         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23334         (posix_fallocate): Likewise.
23335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23336         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23337         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23338         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23339         (elf_machine_rela, elf_machine_rela_relative)
23340         (elf_machine_lazy_rel): Likewise.
23341         * time/asctime.c (asctime_internal): Likewise.
23342         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23343         * time/tzset.c (__tzset_parse_tz): Likewise.
23344         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23345         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23346         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23347         * wcsmbs/wcsmbsload.h: Likewise.
23349         [BZ #15894]
23350         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23352         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23353         (arena_get2): Remove THREAD_STATS conditionals.
23354         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23355         (__malloc_stats, int): Likewise.
23357 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23359         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23360         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23362         * manual/setjmp.texi: Fix typos/grammar errors.
23364         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23365         Only return early when n is <= 0.  Delete unused return statement.
23367         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23368         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23369         * debug/tst-longjmp_chk3.c: New file.
23371         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23372         (test_main): Replace code with set_fortify_handler call.
23373         * debug/test-strcpy_chk.c: Likewise.
23374         * debug/tst-chk1.c: Likewise.
23375         * debug/tst-longjmp_chk.c: Likewise.
23376         * test-skeleton.c: Include fcntl.h & paths.h
23377         (set_fortify_handler): Define.
23379         * debug/tst-longjmp_chk.c: Add header comment and include
23380         ../test-skeleton.c.
23381         (do_test): Mark static.
23382         (TEST_FUNCTION): Define.
23384         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23385         (IP_PMTUDISC_INTERFACE): Likewise.
23386         (IP_MULTICAST_IF): Likewise.
23387         (IP_MULTICAST_TTL): Likewise.
23388         (IP_MULTICAST_LOOP): Likewise.
23389         (IP_ADD_MEMBERSHIP): Likewise.
23390         (IP_DROP_MEMBERSHIP): Likewise.
23391         (IP_UNBLOCK_SOURCE): Likewise.
23392         (IP_BLOCK_SOURCE): Likewise.
23393         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23394         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23395         (IP_MSFILTER): Likewise.
23396         (MCAST_JOIN_GROUP): Likewise.
23397         (MCAST_BLOCK_SOURCE): Likewise.
23398         (MCAST_UNBLOCK_SOURCE): Likewise.
23399         (MCAST_LEAVE_GROUP): Likewise.
23400         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23401         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23402         (MCAST_MSFILTER): Likewise.
23403         (IP_MULTICAST_ALL): Likewise.
23404         (IP_UNICAST_IF): Likewise.
23406         * timezone/Makefile: Delete $(have-ksh) check.
23407         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23408         * timezone/tzselect.ksh: Add +x mode bits.
23410         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23411         (ANON_INODE_FS_MAGIC): Likewise.
23412         (BDEVFS_MAGIC): Likewise.
23413         (BINFMTFS_MAGIC): Likewise.
23414         (BTRFS_TEST_MAGIC): Likewise.
23415         (CRAMFS_MAGIC_WEND): Likewise.
23416         (DEBUGFS_MAGIC): Likewise.
23417         (ECRYPTFS_SUPER_MAGIC): Likewise.
23418         (EXT3_SUPER_MAGIC): Likewise.
23419         (EXT4_SUPER_MAGIC): Likewise.
23420         (FUTEXFS_SUPER_MAGIC): Likewise.
23421         (HOSTFS_SUPER_MAGIC): Likewise.
23422         (HUGETLBFS_MAGIC): Likewise.
23423         (MINIX3_SUPER_MAGIC): Likewise.
23424         (MTD_INODE_FS_MAGIC): Likewise.
23425         (NILFS_SUPER_MAGIC): Likewise.
23426         (OPENPROM_SUPER_MAGIC): Likewise.
23427         (PIPEFS_MAGIC): Likewise.
23428         (PSTOREFS_MAGIC): Likewise.
23429         (QNX6_SUPER_MAGIC): Likewise.
23430         (RAMFS_MAGIC): Likewise.
23431         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23432         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23433         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23434         (SECURITYFS_MAGIC): Likewise.
23435         (SELINUX_MAGIC): Likewise.
23436         (SMACK_MAGIC): Likewise.
23437         (SOCKFS_MAGIC): Likewise.
23438         (SQUASHFS_MAGIC): Likewise.
23439         (STACK_END_MAGIC): Likewise.
23440         (TMPFS_MAGIC): Likewise.
23441         (USBDEVICE_SUPER_MAGIC): Likewise.
23442         (V9FS_MAGIC): Likewise.
23443         (XENFS_SUPER_MAGIC): Likewise.
23444         (CRAMFS_MAGIC): Fix typo in comment.
23445         (EXT2_SUPER_MAGIC): Update comment.
23446         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23448 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23450         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23451         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23452         * sysdeps/unix/sysv/linux/arm: Move directory from
23453         ports/sysdeps/unix/sysv/linux/arm.
23454         * README: Update listing for arm-*-linux-gnueabi.
23456         * README: Remove mention of am33.
23458 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23460         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23461         than the comma operator, to avoid "rhs of comma has no effect"
23462         compiler warnings.
23463         (__sigfillset, __sigandset, __sigorset): Likewise.
23464         * include/signal.h (__sigemptyset): Likewise.
23465         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23467 2014-02-07  Allan McRae  <allan@archlinux.org>
23469         * version.h (RELEASE): Set to "development".
23470         (VERSION): Set to "2.19.90"
23471         * NEWS: Add 2.20 section.
23473 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23475         [BZ #16529]
23476         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23478 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23480         * manual/contrib.texi: Update entry for Carlos O'Donell,
23481         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23483 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23485         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23487         * sysdeps/unix/sysv/linux/kernel-features.h
23488         [__LINUX_KERNEL_VERSION >= 0x020621]
23489         (__ASSUME_PROC_PID_TASK_COMM): Define.
23491 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23493         [BZ #16398]
23494         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23495         conversion when destination buffer does not have enough space.
23496         * libio/tst-ftell-partial-wide.c: New test case.
23497         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23499         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23500         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23501         Leonard and Allan McRae.
23503 2014-02-04  David S. Miller  <davem@davemloft.net>
23505         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23506         32-bit.
23508 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23511         New file
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23513         New file
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23515         New file.
23516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23517         New file.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23519         New file.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23521         New file.
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23523         New file.
23524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23525         New file.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23527         New file.
23528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23529         New file.
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23531         New file.
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23533         New file.
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23535         New file.
23537 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23539         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23540         * shlib-versions: Likewise.
23542 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23543             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23545         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23546         (abilist-pattern): New variable, set to %-le.abilist.
23548         * Makerules (abilist-pattern): New variable.
23549         (vpath): Use $(abilist-pattern) in place of %.abilist.
23550         (check-abi-% pattern rule): Likewise.
23551         (check-abi, update-abi): Likewise.
23553 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23557 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23559         * manual/startup.texi: Add next, previous, and top entries for
23560         the `Program Arguments' and `Environment Variables' nodes.
23562 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23564         * manual/macros.texi: Add comments before MTASC-safety macros.
23566         * manual/users.texi: Document MTASC-safety properties.
23568         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23569         (pthread_getspecific, pthread_setspecific): Format with
23570         @deftypefun, and add @safety note.
23571         * manual/signal.texi: Move comments that analyze the above
23572         functions to their home place.
23574 2014-02-03  Allan McRae  <allan@archlinux.org>
23576         * po/sl.po: Update Slovenian translation from translation project.
23578 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23580         * manual/time.texi (timegm): Add missing blank after @c.
23581         Reported by Joseph Myers <joseph@codesourcery.com>.
23583 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23585         * manual/check-safety.sh: New.
23586         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23588         * manual/terminal.texi: Document MTASC-safety properties.
23590         * manual/filesys.texi: Document MTASC-safety properties.
23592         * manual/errno.texi: Document MTASC-safety properties.
23594         * manual/intro.texi: Document safety identifiers and
23595         conditionals.
23597         * manual/string.texi (wcstok): Fix prototype.
23598         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23600         * manual/time.texi: Document MTASC-safety properties.
23602         * manual/string.texi: Document MTASC-safety properties.
23604         * manual/threads.texi: Document MTASC-safety properties.
23606         * manual/stdio.texi: Document MTASC-safety properties.
23608         * manual/syslog.texi: Document MTASC-safety properties.
23610         * manual/sysinfo.texi: Document MTASC-safety properties.
23612         * manual/startup.texi: Document MTASC-safety properties.
23614         * manual/socket.texi: Document MTASC-safety properties.
23616         * manual/signal.texi: Document MTASC-safety properties.
23618 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23620         * manual/setjmp.texi: Document MTASC-safety properties.
23622         * manual/search.texi: Document MTASC-safety properties.
23624         * manual/resource.texi: Document MTASC-safety properties.
23626         * manual/process.texi: Document MTASC-safety properties.
23628         * manual/platform.texi: Document MTASC-safety properties.
23630         * manual/pipe.texi: Document MTASC-safety properties.
23632         * manual/pattern.texi: Document MTASC-safety properties.
23634         * manual/message.texi: Document MTASC-safety properties.
23636         [BZ #12751]
23637         * manual/memory.texi: Document MTASC-safety properties.
23639         * manual/math.texi: Document MTASC-safety properties.
23641         * manual/locale.texi: Document MTASC-safety properties.
23643         * manual/llio.texi: Document MTASC-safety properties.
23645         * manual/libdl.texi: New.
23647         * manual/lang.texi: Document MTASC-safety properties.
23649         * manual/job.texi: Document MTASC-safety properties.
23651         * manual/getopt.texi: Document MTASC-safety properties.
23653         * manual/ctype.texi: Document MTASC-safety properties.
23655 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23657         [BZ #16046]
23658         * csu/libc-tls.c (static_map): Remove variable.
23659         (__libc_setup_tls): Use main executable's link map for TLS data.
23660         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23661         casing for LM_ID_BASE and GL(dl_nns).
23662         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23663         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23664         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23665         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23666         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23667         member.
23668         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23669         l_phnum members.
23671 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23673         * manual/debug.texi: Document MTASC-safety properties.
23675 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23677         [BZ #16510]
23678         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23679         of __x86_64__ when disabling x87 inline functions.
23681 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23683         * manual/charset.texi: Document MTASC-safety properties.
23685         * manual/crypt.texi: Document MTASC-safety properties.
23687         * manual/conf.texi: Document MTASC-safety properties.
23689         * manual/arith.texi: Document MTASC-safety properties.
23691         * manual/argp.texi: Document MTASC-safety properties.
23693         * manual/macros.texi: Introduce macros to document multi
23694         thread, asynchronous signal and asynchronous cancellation
23695         safety properties.
23696         * manual/intro.texi: Introduce the properties themselves.
23698 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23700         * sysdeps/sh/sh4/Makefile: New file.
23702 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23704         * math/gen-libm-test.pl ($srcdir): New variable.
23705         ($auto_input): Use it.
23707 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23709         [BZ #16506]
23710         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23711         access beyond array bounds when parsing netgroups file.
23713         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23714         the old buffer before realloc.
23716 2014-01-27  Allan McRae  <allan@archlinux.org>
23718         * po/fr.po: Update French translation from translation project.
23720 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23722         * sysdeps/sh/libm-test-ulps: Regenerate.
23724 2014-01-24  David S. Miller  <davem@davemloft.net>
23726         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23728 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23730         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23731         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23733 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23735         [BZ #16474]
23736         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23737         string pointers after reallocation.
23739 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23741         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23742         __SH4A__ instead of __SH_FPU_ANY__.
23744 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23746         * sysdeps/sh/fpu_control.h: New file.
23747         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23748         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23749         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23750         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23751         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23752         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23753         * sysdeps/sh/sys/ucontext.h: Remove.
23754         * sysdeps/sh/sys: Remove directory.
23756 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23758         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23759         s390/sys/ucontext.h.
23760         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23761         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23763 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23765         [BZ #15605]
23766         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23768 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23770         [BZ#16431]
23771         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23772         Adjust the vDSO correctly for internal calls.
23773         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23775 2014-01-20  Allan McRae  <allan@archlinux.org>
23777         * po/ca.po: Update Catalan translation from translation project.
23779 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23781         * sysdeps/s390/sotruss-lib.c: New file.
23783 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23785         [BZ#16430]
23786         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23787         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23788         local calls issues by not having a PLT stub required for IFUNC calls.
23789         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23791 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23793         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23794         * math/test-fpucw-static.c: Likewise.
23796 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23798         [BZ #16453]
23799         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23801 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23803         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23804         implementation for powerpc.
23806 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23808         [BZ #14782]
23809         * sysdeps/posix/system.c (__libc_system): Do not enable
23810         asynchronous cancellation.
23812 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23814         [BZ #16427]
23815         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23816         handling only for numbers special also in the IEEE case.
23818 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23820         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23822 2014-01-11  Allan McRae  <allan@archlinux.org>
23824         * po/bg.po: Update Bulgarian translation from translation project.
23826         * po/de.po: Update German translation from translation project.
23828 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23830         * sysdeps/generic/gcc-compat.h: New file.
23832 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23834         * benchtests/asin-inputs: Correct slow inputs.
23835         * benchtests/acos-inputs: Likewise.
23837 2014-01-10  Allan McRae  <allan@archlinux.org>
23839         * po:sv.po: Update Swedish translation from translation project.
23841         * po/vi.po: Update Vietnamese translation from translation project.
23843         * po/eo.po: Update Esperanto translation from translation project.
23845         * po/cs.po: Update Czech translation from translation project.
23847         * po/nl.po: Update Dutch translation from translation project.
23849         * po/pl.po: Update Polish translation from translation project.
23851         * po/ru.po: Update Russian translation from translation project.
23853         * po/uk.po: Update Ukrainian translation from translation project.
23855 2014-01-08  Brooks Moses  <bmoses@google.com>
23857         * elf/dl-load.c: Fix comment typo.
23859 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23861         * po/header.pot: Rename to...
23862         * po/pot.header: ... this.
23863         * po/Makefile: Use pot.header.
23865 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23866             Maxim Kuvyrkov  <maxim@kugelworks.com>
23868         [BZ #16394]
23869         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23870         SRC and DEST against LEN.
23872 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23874         [BZ #16414]
23875         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23876         implementation.
23877         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23879 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23883 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23885         [BZ #16408]
23886         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23887         for large positive arguments.
23889 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23891         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23893         * math/auto-libm-test-in: Mark various tests with
23894         xfail-rounding:ldbl-128ibm.
23895         * math/auto-libm-test-out: Regenerated.
23897         [BZ #16407]
23898         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23899         Increase overflow threshold.
23901 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23903         [BZ #14286]
23904         * stdio-common/vfprintf.c: Check for integer overflow.
23906 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23908         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23909         the first argument and return value of __tls_get_addr_internal.
23911 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23913         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23914         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23916 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23918         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23919         * sysdeps/s390/rtld-global-offsets.sym: New file.
23920         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23921         GLIBC_2.19 symbol.
23922         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23924         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23925         ... this.
23926         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23927         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23928         ... this.
23929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23930         Regenerate.
23931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23932         Regenerate.
23933         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23934         halfs of GPRs for high_gprs contexts.
23935         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23936         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23937         field.
23938         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23939         uc_flags field.
23940         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23941         64 bit versions:
23942         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23943         for high GPRs (uc_high_gprs) and for future extensions
23944         (__reserved).
23945         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23946         for future extensions (__reserved).
23947         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23948         64 bit versions:
23949         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23950         SC_HIGHGPRS offset definition.
23951         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23952         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23954         * Versions.def: Add GLIBC_2.19 for libpthread.
23955         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23956         siglongjmp for libpthread with GLIBC_2.19 symver.
23957         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23958         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23959         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23960         * sysdeps/s390/__longjmp.c: New file.
23961         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23962         * sysdeps/s390/longjmp.c: New file.
23963         * sysdeps/s390/setjmp.S: New file.
23964         * sysdeps/s390/sigjmp.S: New file.
23965         * sysdeps/s390/v1-longjmp.c: New file.
23966         * sysdeps/s390/v1-setjmp.h: New file.
23967         * sysdeps/s390/v1-sigjmp.c: New file.
23968         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23969         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23970         GLIBC_2.19 version.
23971         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23972         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23973         versioned symbols for ____longjmp_chk.
23974         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23975         Likewise.
23976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23977         Regenerate.
23978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23979         Regenerate.
23980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23981         Regenerate.
23982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23983         Regenerate.
23984         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23985         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23986         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23987         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23988         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23989         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23990         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23991         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23992         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23993         * sysdeps/s390/rtld-__longjmp.c: New file.
23994         * sysdeps/s390/rtld-setjmp.S: New file.
23996 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #16400]
23999         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24000         Return -__logl (x) for small positive arguments without evaluating
24001         a polynomial.
24003 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24005         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24006         Rename to ...
24007         (__ptrace_peeksiginfo_args): ... this.
24008         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24010         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24012 2014-01-06  Allan McRae  <allan@archlinux.org>
24014         * inet/netinet/in.h: Fix typo in comment.
24016 2014-01-05  Andreas Jaeger  <aj@suse.de>
24018         * sysdeps/i386/fpu/libm-test-ulps: Update.
24020 2014-01-05  Allan McRae  <allan@archlinux.org>
24022         * po/libc.pot: Regenerated.
24024         * malloc/memusagestat.c: Fix gettext call formatting.
24026 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24028         * nscd/nscd.c: Improve usage() output.
24030 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24032         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24033         * sysdeps/unix/sysv/linux/configure: Regenerated.
24034         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24035         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24037 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24039         [BZ #16390]
24040         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24041         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24043 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24046         extra tokens at end of #undef directive.
24047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24048         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24049         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24051 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24053         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24055         * math/auto-libm-test-in: Mark various tests with
24056         xfail-rounding:ldbl-128ibm.
24057         * math/auto-libm-test-out: Regenerated.
24059 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24061         [BZ #16386]
24062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24063         numbers with subnormal high part when calculating exponent.
24065         [BZ #16385]
24066         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24067         fabs.
24069         [BZ #16384]
24070         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24071         M_LN2l.
24072         (__ieee754_acoshl): Use __log1pl not __log1p.
24074 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24076         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24077         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24078         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24079         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24080         (reused_arena, arena_get2): Convert to GNU style.
24081         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24082         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24083         (memalign_check, __malloc_set_state): Likewise.
24084         * malloc/mallocbug.c (main): Likewise.
24085         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24086         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24087         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24088         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24089         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24090         (__posix_memalign, malloc_info): Likewise.
24091         * malloc/malloc.h: Likewise.
24092         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24093         (mallochook, memalignhook, reallochook, mabort): Likewise.
24094         * malloc/mcheck.h: Likewise.
24095         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24096         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24097         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24098         * malloc/morecore.c (__default_morecore): Likewise.
24099         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24100         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24101         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24102         (print_and_abort): Likewise.
24103         * malloc/obstack.h: Likewise.
24104         * malloc/set-freeres.c (__libc_freeres): Likewise.
24105         * malloc/tst-mallocstate.c (main): Likewise.
24106         * malloc/tst-mtrace.c (main): Likewise.
24107         * malloc/tst-realloc.c (do_test): Likewise.
24109 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24111         [BZ #16366]
24112         * nscd/netgroupcache.c (do_notfound): New function.
24113         (addgetnetgrentX): Use it.
24115         [BZ # 16365]
24116         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24117         NSS_STATUS_NOTFOUND.
24119 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24121         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24124 2014-01-01  Allan McRae  <allan@archlinux.org>
24126         * scripts/update-copyrights: Update configure input file suffix.
24128         * NEWS: Update copyright year.
24129         * catgets/gencat.c: Likewise.
24130         * csu/version.c: Likewise.
24131         * debug/catchsegv.sh: Likewise.
24132         * debug/pcprofiledump.c: Likewise.
24133         * debug/xtrace.sh: Likewise.
24134         * elf/ldconfig.c: Likewise.
24135         * elf/ldd.bash.in: Likewise.
24136         * elf/pldd.c: Likewise.
24137         * elf/sotruss.ksh: Likewise.
24138         * elf/sprof.c: Likewise.
24139         * iconv/iconv_prog.c: Likewise.
24140         * iconv/iconvconfig.c: Likewise.
24141         * locale/programs/locale.c: Likewise.
24142         * locale/programs/localedef.c: Likewise.
24143         * login/programs/pt_chown.c: Likewise.
24144         * malloc/memusage.sh: Likewise.
24145         * malloc/memusagestat.c: Likewise.
24146         * malloc/mtrace.pl: Likewise.
24147         * manual/libc.texinfo: Likewise.
24148         * nscd/nscd.c: Likewise.
24149         * nss/getent.c: Likewise.
24150         * nss/makedb.c: Likewise.
24151         * posix/getconf.c: Likewise.
24152         * scripts/test-installation.pl: Likewise.
24154         * All files with FSF copyright notices: Update copyright dates
24155         using scripts/update-copyrights.
24156         * intl/plural.c: Regenerated.
24157         * locale/programs/charmap-kw.h: Likewise.
24158         * locale/programs/locfile-kw.h: Likewise.
24160 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24162         * sysdeps/unix/sysv/linux/configure: Regenerated.
24163         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24164         the linux/fanotify.h header.
24165         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24166         HAVE_LINUX_FANOTIFY_H is defined.
24168 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24170         * benchtests/cos-inputs: New inputs.
24171         * benchtests/sin-inputs: Likewise.
24173         * benchtests/atan-inputs: New inputs. Fix name of multiple
24174         precision fallback inputs.
24176         * benchtests/atanh-inputs: New inputs.
24177         * benchtests/tanh-inputs: Likewise.
24179         * benchtests/acosh-inputs: New inputs.
24180         * benchtests/asinh-inputs: Likewise.
24182         * benchtests/cosh-inputs: New inputs.
24183         * benchtests/sinh-inputs: Likewise.
24185         * benchtests/acos-inputs: Add more inputs.
24186         * benchtests/asin-inputs: Likewise.
24188 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24190         [BZ #16375]
24191         * manual/arith.texi: Fix spelling.
24192         * manual/charset.texi: Likewise.
24193         * manual/errno.texi: Likewise.
24194         * manual/filesys.texi: Likewise.
24195         * manual/lang.texi: Likewise.
24196         * manual/llio.texi: Likewise.
24197         * manual/locale.texi: Likewise.
24198         * manual/message.texi: Likewise.
24199         * manual/resource.texi: Likewise.
24200         * manual/search.texi: Likewise.
24201         * manual/setjmp.texi: Likewise.
24202         * manual/stdio.texi: Likewise.
24203         * manual/string.texi: Likewise.
24204         * manual/sysinfo.texi: Likewise.
24205         * manual/time.texi: Likewise.
24207 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24209         * po/sl.po: New file.
24211 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24213         * .gitignore: Add core/.gdbinit/.gdb_history.
24215 2013-12-27  Allan McRae  <allan@archlinux.org>
24217         [BZ #16369]
24218         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24219         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24221 2013-12-24  Brooks Moses  <bmoses@google.com>
24223         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24224         all compilers that claim C++98 compliance, not just GCC.
24225         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24226         Likewise.
24228 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24230         * NEWS: Restore accidentally deleted bug-fix entries.
24232 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24233             Ondřej Bílka  <neleai@seznam.cz>
24235         [BZ #15073]
24236         * malloc/malloc.c (_int_free): Perform sanity check only if we
24237         have_lock.
24239 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24241         [BZ #12986]
24242         * manual/stdio.texi (String Input Conversions): Clarify that character
24243         classes are not supported.
24245 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24249 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24251         [BZ #16337]
24252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24253         Calculate results for small negative arguments directly rather
24254         than using reflection formula with special underflow handling.
24256         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24257         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24258         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24259         (fchflags): Likewise.
24260         (revoke): Likewise.
24261         (setlogin): Likewise.
24262         (sigaltstack): Likewise.
24263         (wait4): Likewise.
24264         (sigblock): Remove.
24265         (sigsetmask): Likewise.
24266         (wait3): Likewise.
24267         (waitpid): Likewise.
24268         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24269         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24270         file.
24271         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24272         * sysdeps/unix/bsd/Makefile: ... here.
24273         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24274         * sysdeps/unix/bsd/Versions: ... here.
24275         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24276         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24277         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24278         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24279         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24280         * sysdeps/unix/bsd/sigblock.c: ... here.
24281         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24282         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24283         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24284         * sysdeps/unix/bsd/sigvec.c: ... here.
24285         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24286         * sysdeps/unix/bsd/tcdrain.c: ... here.
24287         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24288         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24289         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24290         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24291         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24292         * sysdeps/unix/bsd/wait.c: ... here.
24293         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24294         * sysdeps/unix/bsd/wait3.c: ... here.
24295         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24296         * sysdeps/unix/bsd/waitpid.c: ... here.
24298 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24300         [BZ #16356]
24301         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24302         round-to-nearest for [!USE_AS_EXPM1L].
24303         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24304         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24305         more tests of exp and exp10.  Expect some exp10 tests to miss
24306         exceptions or fail in directed rounding modes.
24307         * math/auto-libm-test-out: Regenerated.
24308         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24309         (exp10_test_tonearest): New function.
24310         (exp10_towardzero_test_data): New array.
24311         (exp10_test_towardzero): New function.
24312         (exp10_downward_test_data): New array.
24313         (exp10_test_downward): New function.
24314         (exp10_upward_test_data): New array.
24315         (exp10_test_upward): New function.
24316         (main): Call the new functions.
24317         * sysdeps/i386/fpu/libm-test-ulps: Update.
24318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24320 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24322         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24323         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24324         * math/auto-libm-test-out: Regenerated.
24325         * math/libm-test.inc (acosh_test_data): Add more tests.
24326         (atanh_test_data): Likewise.
24327         (ceil_test_data): Likewise.
24328         (copysign_test_data): Likewise.
24329         * sysdeps/i386/fpu/libm-test-ulps: Update.
24330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24332         * timezone/checktab.awk: Update from tzcode 2013i.
24333         * timezone/private.h: Likewise.
24334         * timezone/scheck.c: Likewise.
24335         * timezone/tzfile.h: Likewise.
24336         * timezone/tzselect.ksh: Likewise.
24337         * timezone/zdump.c: Likewise.
24338         * timezone/zic.c: Likewise.
24340         * math/auto-libm-test-in: Add tests of cpow.
24341         * math/auto-libm-test-out: Regenerated.
24342         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24343         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24344         mpc_cc_c.
24345         (func_calc_desc): Add mpc_cc_c union field.
24346         (test_functions): Add cpow.
24347         (special_fill_2pi): New function.
24348         (special_real_inputs): Add 2pi.
24349         (calc_generic_results): Handle mpc_cc_c.
24350         * sysdeps/i386/fpu/libm-test-ulps: Update.
24351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24353         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24354         csqrt, ctan and ctanh.
24355         * math/auto-libm-test-out: Regenerated.
24356         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24357         (TEST_COND_x86): Likewise.
24358         (ccos_test_data): Use AUTO_TESTS_c_c.
24359         (ccosh_test_data): Likewise.
24360         (cexp_test_data): Likewise.
24361         (clog_test_data): Likewise.
24362         (csqrt_test_data): Likewise.
24363         (ctan_test_data): Likewise.
24364         (ctan_tonearest_test_data): Likewise.
24365         (ctan_towardzero_test_data): Likewise.
24366         (ctan_downward_test_data): Likewise.
24367         (ctan_upward_test_data): Likewise.
24368         (ctanh_test_data): Likewise.
24369         (ctanh_tonearest_test_data): Likewise.
24370         (ctanh_towardzero_test_data): Likewise.
24371         (ctanh_downward_test_data): Likewise.
24372         (ctanh_upward_test_data): Likewise.
24373         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24374         mpc_c_c.
24375         (func_calc_desc): Add mpc_c_c union field.
24376         (FUNC_mpc_c_c): New macro.
24377         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24378         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24379         ctanh.
24380         (special_fill_min_subnorm_p120): New function.
24381         (special_real_inputs): Add min_subnorm_p120.
24382         (calc_generic_results): Handle mpc_c_c.
24383         * sysdeps/i386/fpu/libm-test-ulps: Update.
24384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24386 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24388         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24389         (do_sin_slow): New functions.
24390         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24391         (cslow2, csloww1, csloww2): Use the new functions.
24393         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24394         Use M to change sign of result instead of X.  Assume X is
24395         positive.
24396         (csloww1): Likewise.
24397         (__sin): Adjust.
24398         (__cos): Adjust.
24400         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24401         arguments A and DA.
24402         (__sin): Adjust.
24403         (__cos): Likewise.
24405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24406         (__cos): Likewise.
24407         (sloww1): Don't adjust sign of DX.
24408         (csloww1): Likewise.
24409         (sloww2): Use X directly and don't adjust sign of DX.
24410         (csloww2): Likewise.
24412 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24414         * math/auto-libm-test-in: Add tests of cabs and carg.
24415         * math/auto-libm-test-out: Regenerated.
24416         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24417         (carg_test_data): Likewise.
24418         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24419         mpc_c_f.
24420         (func_calc_desc): Add mpc_c_f union field.
24421         (test_functions): Add cabs and carg.
24422         (calc_generic_results): Handle mpc_c_f.
24424         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24425         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24426         as a macro and a compat symbol.
24427         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24428         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24429         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24430         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24431         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24432         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24433         not use .hidden.
24434         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24435         Likewise.
24436         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24437         Likewise.
24438         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24439         Likewise.
24440         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24441         Likewise.
24442         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24443         Likewise.
24444         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24445         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24446         from GLIBC_2.3.2.
24448 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24452 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24454         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24455         trailing whitespace removed.
24456         * scripts/config.guess: Update to version 2013-11-29.
24457         * scripts/config.sub: Update to version 2013-10-01.
24459         * math/auto-libm-test-in: Add tests of sincos.
24460         * math/auto-libm-test-out: Regenerated.
24461         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24462         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24463         mpfr_f_11.
24464         (func_calc_desc): Add mpfr_f_11 union field.
24465         (test_functions): Add sincos.
24466         (calc_generic_results): Handle mpfr_f_11.
24467         * sysdeps/i386/fpu/libm-test-ulps: Update.
24468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24470 2013-12-19  Andreas Schwab  <schwab@suse.de>
24472         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24473         CALL_MCOUNT.
24474         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24475         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24476         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24478 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24480         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24481         * sysdeps/i386/fpu/libm-test-ulps: Update.
24482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24484         [BZ #16293]
24485         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24486         round-to-nearest mode when using frndint.
24487         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24488         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24489         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24490         Likewise.
24491         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24492         sinh test to fail.
24493         * math/auto-libm-test-out: Regenerated.
24494         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24495         (TEST_COND_x86): Likewise.
24496         (expm1_tonearest_test_data): New array.
24497         (expm1_test_tonearest): New function.
24498         (expm1_towardzero_test_data): New array.
24499         (expm1_test_towardzero): New function.
24500         (expm1_downward_test_data): New array.
24501         (expm1_test_downward): New function.
24502         (expm1_upward_test_data): New array.
24503         (expm1_test_upward): New function.
24504         (main): Run the new test functions.
24505         * sysdeps/i386/fpu/libm-test-ulps: Update.
24506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24508         * include/features.h: Update comment documenting feature test
24509         macros.  Mention _DEFAULT_SOURCE in comment.
24510         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24511         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24512         _BSD_SOURCE and _SVID_SOURCE.
24513         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24514         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24515         !_SVID_SOURCE]: Likewise.
24516         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24517         (__USE_POSIX_IMPLICITLY): Define.
24518         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24519         (_POSIX_SOURCE): Undefine and redefine.
24520         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24521         (_POSIX_C_SOURCE): Likewise.
24522         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24523         (Feature Test Macros): Update documentation of default features.
24525 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24527         * benchtests/Makefile: Add bench-strtok.
24528         * benchtests/bench-strtok.c: New file: strtok benchtest.
24530 2013-12-19  Allan McRae  <allan@archlinux.org>
24532         * manual/install.texi: Suppress menu for plain text output.
24533         * INSTALL: Regenerated.
24535 2013-12-18  Brooks Moses  <bmoses@google.com>
24537         [BZ #15846]
24538         * misc/getauxval.c: Include errno.h.
24539         (__getauxval): Set errno to ENOENT if the requested type is not
24540         found.
24541         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24542         don't declare with __attribute_const__.
24543         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24544         * manual/startup.texi: Document that getauxval sets errno.
24546 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24548         * math/auto-libm-test-in: Add tests of jn and yn.
24549         * math/auto-libm-test-out: Regenerated.
24550         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24551         (yn_test_data): Likewise.
24552         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24553         mpfr_if_f.
24554         (func_calc_desc): Add mpfr_if_f union field.
24555         (FUNC_mpfr_if_f): New macro.
24556         (test_functions): Add jn and yn.
24557         (calc_generic_results): Assert type of second input for
24558         mpfr_ff_f.  Handle mpfr_if_f.
24559         (output_for_one_input_case): Disable all checking for arguments
24560         fitting floating-point types in case of an integer argument.
24561         * sysdeps/i386/fpu/libm-test-ulps: Update.
24562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24565         Don't expect fegetround reference in libm.so.
24567 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24569         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24570         $(config-cflags-nofma).
24572 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24574         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24575         * math/auto-libm-test-out: Regenerated.
24577         [BZ #16338]
24578         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24579         to determine exponent and adjust argument to have exponent of -1.
24580         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24581         log2.
24582         * math/auto-libm-test-out: Regenerated.
24583         * sysdeps/i386/fpu/libm-test-ulps: Update.
24584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24586 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24588         * manual/probes.texi: Remove cases when per-thread arenas are
24589         disabled.
24591 2013-12-18  Andreas Schwab  <schwab@suse.de>
24593         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24594         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24595         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24596         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24597         * sysdeps/i386/i686/multiarch/Makefile: Update.
24598         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24600 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24602         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24603         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24605 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24607         [BZ #15968]
24608         Support TZ transition times < 00:00:00.
24609         This is needed for version-3 tz-format files; it supports time
24610         stamps past 2037 for America/Godthab (the only entry in the tz
24611         database for which this change is relevant).
24612         * manual/time.texi (TZ Variable): Document transition times
24613         from -167:59:59 through -00:00:01.
24614         * time/tzset.c (tz_rule): Time of day is now signed.
24615         (__tzset_parse_tz): Parse negative time of day.
24617         Document TZ transition times >= 25:00:00.
24618         * manual/time.texi (TZ Variable): Document transition times from
24619         25:00:00 through 167:59:59.  These are already supported, and this
24620         support will help with version-3 tz-format files.
24622         * manual/time.texi (TZ Variable): Modernize North America example
24623         to reflect current (i.e., 2007-and-later) daylight saving rules.
24625         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24627 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24629         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24630         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24631         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24633         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24634         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24635         * sysdeps/unix/bsd/clock.c: Likewise.
24636         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24637         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24638         * sysdeps/unix/bsd/init-posix.c: Likewise.
24639         * sysdeps/unix/bsd/poll.c: Likewise.
24640         * sysdeps/unix/bsd/ptsname.c: Likewise.
24641         * sysdeps/unix/bsd/seekdir.c: Likewise.
24642         * sysdeps/unix/bsd/setegid.c: Likewise.
24643         * sysdeps/unix/bsd/seteuid.c: Likewise.
24644         * sysdeps/unix/bsd/setgid.c: Likewise.
24645         * sysdeps/unix/bsd/setrgid.c: Likewise.
24646         * sysdeps/unix/bsd/setruid.c: Likewise.
24647         * sysdeps/unix/bsd/setsid.c: Likewise.
24648         * sysdeps/unix/bsd/setuid.c: Likewise.
24649         * sysdeps/unix/bsd/sigaction.c: Likewise.
24650         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24651         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24652         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24653         * sysdeps/unix/bsd/telldir.c: Likewise.
24654         * sysdeps/unix/bsd/times.c: Likewise.
24655         * sysdeps/unix/bsd/usleep.c: Likewise.
24657         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24658         ($(objpfx)libbsd-compat.a): Remove rule.
24660         * include/features.h (__FAVOR_BSD): Do not define.
24661         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24662         features conflicting with POSIX.
24663         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24664         (_BSD_SOURCE): Remove description of not being a subset of other
24665         feature test macros.
24666         * manual/job.texi (getpgrp): Do not document BSD version.
24667         (getpgid): Do not document by reference to BSD getpgrp.
24668         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24669         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24670         * signal/signal.h [__FAVOR_BSD]: Likewise.
24671         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24672         instead of making contents conditional on [__FAVOR_BSD].
24673         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24675 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24679 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24681         [BZ #16314]
24682         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24683         values below 2**-450, not 2**-500.
24684         * math/auto-libm-test-in: Don't allow spurious underflow from
24685         hypot.
24686         * math/auto-libm-test-out: Regenerated.
24688         [BZ #16316]
24689         [BZ #16330]
24690         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24691         values of ha and hb and sort them after adjusting subnormal
24692         arguments.
24693         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24694         Likewise.
24695         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24696         values of ea and eb and sort them after adjusting subnormal
24697         arguments.
24698         * math/auto-libm-test-in: Do not expect some hypot tests of
24699         subnormals to fail.  Add more hypot tests.
24700         * math/auto-libm-test-out: Regenerated.
24702 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24704         [BZ #13304]
24705         * sysdeps/sh/s_fma.c: New file.
24706         * sysdeps/sh/s_fmaf.c: New file.
24707         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24708         version.
24709         * sysdeps/sh/Implies: Add sh/soft-fp.
24711 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24713         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24714         level of indirection to members `objname', `errstring', `malloced'.
24715         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24716         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24717         it as the __longjmp argument (just pass 1 instead).
24718         (_dl_catch_error): Initialize C with argument pointers and address of
24719         volatile local ERRCODE rather than copying values out of C at return.
24721 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24723         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24724         * math/auto-libm-test-out: Regenerated.
24725         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24726         (hypot_test_data): Likewise.
24727         (pow_test_data): Likewise.
24728         (pow_tonearest_test_data): Likewise.
24729         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24730         mpfr_ff_f.
24731         (func_calc_desc): Add mpfr_ff_f union field.
24732         (FUNC_mpfr_ff_f): New macro.
24733         (test_functions): Add atan2, hypot and pow.
24734         (special_fill_min): New function.
24735         (special_fill_minus_min): Likewise.
24736         (special_fill_min_subnorm): Likewise.
24737         (special_fill_minus_min_subnorm): Likewise.
24738         (special_real_inputs): Add min, -min, min_subnorm and
24739         -min_subnorm.
24740         (calc_generic_results): Handle mpfr_ff_f.
24741         * sysdeps/i386/fpu/libm-test-ulps: Update.
24742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24744 2013-12-16  Will Newton  <will.newton@linaro.org>
24746         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24747         (Aligned Memory Blocks): Add documentation for aligned_alloc
24748         and suggest it as an alternative to posix_memalign.
24749         (Hooks for Malloc): Document __memalign_hook is also called
24750         for aligned_alloc.  (Summary of Malloc): Add summary for
24751         aligned alloc.  Document __memalign_hook is also called
24752         for aligned_alloc.
24754 2013-12-16  Will Newton  <will.newton@linaro.org>
24756         * manual/memory.texi (Malloc Examples): Clarify default
24757         alignment documentation.  Suggest posix_memalign rather
24758         than memalign or valloc.
24759         (Aligned Memory Blocks): Remove suggestion to use memalign
24760         or valloc.  Remove obsolete comment about BSD.
24761         Document memalign errno values and mark the function obsolete.
24762         Document posix_memalign returned error codes.  Mark valloc
24763         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24764         called for posix_memalign and valloc.
24765         (Summary of Malloc): Add posix_memalign to function summary.
24766         __memalign_hook is also called for posix_memalign and valloc.
24768 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24770         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24771         TAYLOR_SIN.
24772         (__sin): Adjust.
24773         (__cos): Likewise.
24774         (sloww): Use mynumber union.  Expand ternary operator into
24775         if-else statements.
24776         (cslow): use mynumber union.
24778 2013-12-16  Allan McRae  <allan@archlinux.org>
24780         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24781         * configure: Regenerated.
24783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24785         [BZ #14120]
24786         * configure.ac: Added --enable-maintainer-mode. Check for
24787         autoconf when enabled.
24788         * configure: Regenerated.
24790         * nscd/nscd.service: New file.
24791         * nscd/nscd.tmpfiles: New file.
24793 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24795         [BZ #12100]
24796         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24797         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24798         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24799         (strstr): Add __strstr_sse2_unaligned ifunc.
24800         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24801         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24802         (strcasestr): Remove __strcasestr_sse42 ifunc.
24803         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24807 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24809         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24810         * sysdeps/sh/bits/fenv.h: ... here.
24811         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24813 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24815         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24818         hypotf multiarch implementations.
24819         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24820         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24821         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24822         multiarch hypot for PPC64.
24823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24826         multiarch hypotf for PPC64.
24828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24829         modff multiarch implementations.
24830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24833         multiarch modf for PPC64.
24834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24837         multiarch modff for PPC64.
24839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24840         and logl multiarch implementations.
24841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24844         multiarch logb for PPC64.
24845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24848         multiarch logb for PPC64.
24849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24852         multiarch logb for PPC64.
24854         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24855         isinff multiarch implementation.
24856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24857         file.
24858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24860         multiarch isinf for PPC64.
24861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24862         file.
24863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24864         multiarch isinff for PPC64.
24866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24867         finitef multiarch implementation.
24868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24869         file.
24870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24872         multiarch finite for PPC64.
24873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24874         file.
24875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24876         multiarch finitef for PPC64.
24878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24879         lrint multiarch implementation.
24880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24881         file.
24882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24884         multiarch llrint for PPC64.
24885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24886         multiarch lrint for PPC64.
24888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24889         copysignf multiarch implementation.
24890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24891         file.
24892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24893         file.
24894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24895         multiarch copysign for PPC64.
24896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24897         multiarch copysignf for PPC64.
24899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24900         multiarch implementation.
24901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24902         file.
24903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24904         file.
24905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24906         file.
24907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24908         file.
24909         multiarch llround for PPC64.
24910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24911         multiarch trunc for PPC64.
24912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24913         multiarch truncf for PPC64.
24915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24916         multiarch implementation.
24917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24918         file.
24919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24920         file.
24921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24922         file.
24923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24924         file.
24925         multiarch llround for PPC64.
24926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24927         multiarch round for PPC64.
24928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24929         multiarch roundf for PPC64.
24931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24932         multiarch implementation.
24933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24934         file.
24935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24936         file.
24937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24938         file.
24939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24940         file.
24941         multiarch llround for PPC64.
24942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24943         multiarch floor for PPC64.
24944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24945         multiarch floorf for PPC64.
24947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24948         multiarch implementation.
24949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24950         file.
24951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24952         file.
24953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24954         file.
24955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24956         file.
24957         multiarch llround for PPC64.
24958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24959         multiarch ceil for PPC64.
24960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24961         multiarch ceilf for PPC64.
24963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24964         multiarch implementation.
24965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24966         file.
24967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24968         file.
24969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24970         file.
24971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24972         multiarch llround for PPC64.
24973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24974         multiarch lround for PPC64.
24976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24977         multiarch implementation.
24978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24981         file.
24982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24985         multiarch isnan for PPC64.
24986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24987         multiarch isnanf for PPC64.
24989         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24990         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24991         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24992         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24993         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24996         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24997         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24998         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24999         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25002         multiarch implementations.
25003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25004         (__libc_ifunc_impl_list): Likewise.
25005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25006         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25007         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25008         multiarch stpcpy for PPC64.
25010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25011         multiarch implementations.
25012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25013         (__libc_ifunc_impl_list): Likewise.
25014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25015         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25016         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25017         multiarch strcpy for PPC64.
25019         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25020         redefine function name.
25021         (_wordcopy_fwd_dest_aligned): Likewise.
25022         (_wordcopy_bwd_aligned): Likewise.
25023         (_wordcopy_bwd_dest_aligned): Likewise.
25024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25025         multiarch implementations.
25026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25027         (__libc_ifunc_impl_list): Likewise.
25028         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25029         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25031         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25032         multiarch wcscpy for PPC64.
25034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25035         multiarch implementations.
25036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25037         (__libc_ifunc_impl_list): Likewise.
25038         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25040         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25041         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25042         multiarch wcscpy for PPC64.
25044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25045         multiarch implementations.
25046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25047         (__libc_ifunc_impl_list): Likewise.
25048         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25049         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25050         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25051         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25052         multiarch wcsrchr for PPC64.
25054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25055         multiarch implementations.
25056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25057         (__libc_ifunc_impl_list): Likewise.
25058         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25059         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25060         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25061         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25062         multiarch wcschr for PPC64.
25064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25065         multiarch implementations.
25066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25067         (__libc_ifunc_impl_list): Likewise.
25068         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25069         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25070         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25071         multiarch strchrnul for PPC64.
25073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25074         implementations.
25075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25076         (__libc_ifunc_impl_list): Likewise.
25077         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25078         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25079         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25080         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25081         strchr for PPC64.
25083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25084         implementations.
25085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25086         (__libc_ifunc_impl_list): Likewise.
25087         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25088         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25089         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25090         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25091         strncmp for PPC64.
25093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25094         multiarch implementations.
25095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25096         (__libc_ifunc_impl_list): Likewise.
25097         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25098         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25099         strncasecmp for PPC64.
25100         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25101         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25102         multiarch strncasecmp_l for PPC64.
25104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25105         multiarch implementations.
25106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25107         (__libc_ifunc_impl_list): Likewise.
25108         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25109         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25110         multiarch strcasecmp for PPC64.
25111         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25112         file.
25113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25114         multiarch strcasecmp_l for PPC64.
25116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25117         implementations.
25118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25119         (__libc_ifunc_impl_list): Likewise.
25120         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25121         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25122         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25123         strnlen for PPC64.
25125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25126         implementations.
25127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25128         (__libc_ifunc_impl_list): Likewise.
25129         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25130         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25131         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25132         strlen for PPC64.
25134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25135         implementations.
25136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25137         (__libc_ifunc_impl_list): Likewise.
25138         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25139         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25140         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25141         rawmemrchr for PPC64.
25143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25144         implementation.
25145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25146         (__libc_ifunc_impl_list): Likewise.
25147         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25148         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25149         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25150         memrchr for PPC64.
25152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25153         implementation.
25154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25155         (__libc_ifunc_impl_list): Likewise.
25156         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25157         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25158         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25159         memchr for PPC64.
25161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25162         implementation.
25163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25164         (__libc_ifunc_impl_list): Likewise.
25165         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25166         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25167         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25168         mempcpy for PPC64.
25170         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25171         avoid cretion of __bzero symbol.
25172         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25173         Likewise.
25174         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25175         Likewise.
25176         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25177         Likewise.
25178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25179         multiarch implementations.
25180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25181         (__libc_ifunc_impl_list): Likewise.
25182         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25183         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25184         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25185         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25186         bzero for PPC32.
25187         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25188         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25189         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25190         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25191         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25192         memset for PPC64.
25193         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25195         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25197         implementations.
25198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25199         (__libc_ifunc_impl_list): Likewise.
25200         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25201         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25202         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25203         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25204         memcmp for PPC64.
25206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25207         multiarch for POWER/PPC64.
25208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25209         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25210         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25211         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25212         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25216         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25217         memcpy for PPC64.
25219         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25220         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25221         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25222         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25223         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25224         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25225         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25226         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25227         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25228         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25229         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25230         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25231         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25232         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25233         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25242 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25244         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25246 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25248         * benchtests/Makefile (bench): Add exp2 and log2.
25249         (LDLIBS-bench-exp2): Add -lm.
25250         (LDLIBS-bench-log2): Likewise.
25251         * benchtests/exp2-inputs: New inputs file.
25252         * benchtests/log2-inputs: New inputs file.
25253         * benchtests/log-inputs: Add new inputs.
25254         * benchtests/tan-inputs: Likewise.
25256 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25258         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25259         definition...
25260         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25261         (csloww2): ... from here.
25263         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25264         instead of structures.
25265         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25266         (POLYNOMIAL): Likewise.
25267         (TAYLOR_SLOW): Likewise.
25268         (__sin): Likewise.
25269         (__cos): Likewise.
25270         (slow1): Likewise.
25271         (slow2): Likewise.
25272         (sloww): Likewise.
25273         (sloww1); Likewise.
25274         (sloww2): Likewise.
25275         (bsloww1): Likewise.
25276         (bsloww2): Likewise.
25277         (cslow2): Likewise.
25278         (csloww): Likewise.
25279         (csloww1): Likewise.
25280         (csloww2): Likewise.
25282 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25284         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25285         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25286         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25287         * malloc/hooks.c (realloc_check): Likewise.
25289         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25290         * malloc/arena.c: Remove PER_THREAD conditional.
25291         [!PER_THREAD]: Remove code.
25292         (ptmalloc_unlock_all2): Likewise.
25293         (ptmalloc_init): Likewise.
25294         (_int_new_arena): Likewise.
25295         (arena_get2): Likewise.
25296         * malloc/hooks.c (__malloc_get_state): Likewise.
25297         (__malloc_set_state): Likewise.
25298         * malloc/malloc.c: Likewise.
25299         (struct malloc_state): Likewise.
25300         (struct malloc_par): Likewise.
25301         (__libc_realloc): Likewise.
25302         (__libc_mallopt): Likewise.
25304 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25306         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25308 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25310         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25311         macro to a function.  Check for zero perturb_byte.
25312         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25314         * malloc/malloc.c: (force_reg): Remove.
25315         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25316         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25317         force_reg by atomic_forced_read.
25318         * malloc/arena.c (ptmalloc_init): Likewise.
25319         * malloc/hooks.c (top_check): Likewise.
25321 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25325 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25329 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25331         * math/auto-libm-test-in: Add tests of lgamma.
25332         * math/auto-libm-test-out: Regenerated.
25333         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25334         (M_LOG_2_SQRT_PIl): Likewise.
25335         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25336         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25337         mpfr_f_f1.
25338         (func_calc_desc): Add mpfr_f_f1 union field.
25339         (ARGS1): New macro.
25340         (ARGS2): Likewise.
25341         (ARGS3): Likewise.
25342         (ARGS4): Likewise.
25343         (RET1): Likewise.
25344         (RET2): Likewise.
25345         (CALC): Likewise.
25346         (FUNC): Likewise.
25347         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25348         (test_functions): Add lgamma.
25349         (calc_generic_results): Handle mpfr_f_f1.
25350         * sysdeps/i386/fpu/libm-test-ulps: Update.
25351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25353 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25355         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25356         __mpn_add_n for PowerPC64/POWER7.
25357         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25358         __mpn_sub_n for PowerPC64/POWER7.
25360         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25361         __mpn_addmul_1 for PowerPC64.
25362         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25363         __mpn_submul_1 for PowerPC64.
25364         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25365         for PowerPC64.
25366         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25367         for PowerPC64.
25369 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25371         [BZ #15089]
25372         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25374 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25376         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25378         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25379         add multiarch folders.
25380         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25381         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25382         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25383         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25384         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25385         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25386         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25387         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25388         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25389         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25390         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25399         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25401         New file.
25402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25403         New file.
25404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25405         multiarch __ieee754_hypot for PowerPC32.
25406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25407         New file.
25408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25409         New file.
25410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25411         multiarch __ieee754_hypotf for PowerPC32.
25413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25414         long_double_symbol only if __logbl is defined.
25415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25416         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25418         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25420         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25421         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25422         path for implementation.
25423         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25424         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25426         logb, and logbl multiarch implementations for PowerPC32.
25427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25428         file.
25429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25430         file.
25431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25432         multiarch logb for PowerPC32.
25433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25434         file.
25435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25436         file.
25437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25438         multiarch logbf for PowerPC32.
25439         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25441         file.
25442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25443         multiarch logbl implementation for PowerPC32.
25445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25446         and modff multiarch implementations.
25447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25448         New file.
25449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25450         New file.
25451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25452         multiarch modf for PowerPC32.
25453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25454         New file.
25455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25456         New file.
25457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25458         multiarch modff for PowerPC32.
25460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25461         and lrintf multiarch implementations.
25462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25463         New file.
25464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25465         New file.
25466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25467         multiarch lrint for PowerPC32.
25468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25469         file: multiarch lrintf for PowerPC32.
25471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25472         and lroundf multiarch implementations.
25473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25474         New file.
25475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25476         New file.
25477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25478         New file.
25479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25480         multiarch lround for PowerPC32.
25481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25482         file: multiarch lroundf for PowerPC32.
25484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25485         copysign and copysignf multiarch implementations.
25486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25487         New file.
25488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25489         New file.
25490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25491         file: multiarch copysign for PowerPC32.
25492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25493         file: multiarch copysignf for PowerPC32.
25495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25496         and truncf multiarch implementations.
25497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25498         New file.
25499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25500         file.
25501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25502         multiarch trunc for PowerPC32.
25503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25504         New file.
25505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25506         New file.
25507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25508         multiarch truncf for PowerPC32.
25510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25511         and roundf multiarch implementations.
25512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25513         New file.
25514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25515         file.
25516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25517         multiarch round for PowerPC32.
25518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25519         New file.
25520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25521         New file.
25522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25523         multiarch roundf for PowerPC32.
25525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25526         and floorf multiarch implementations.
25527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25528         New file.
25529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25530         file.
25531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25532         multiarch floor for PowerPC32.
25533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25534         New file.
25535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25536         New file.
25537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25538         multiarch floorf for PowerPC32.
25540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25541         and ceilf multiarch implementations.
25542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25543         New file.
25544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25545         file.
25546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25547         multiarch ceil for PowerPC32.
25548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25549         New file.
25550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25551         file.
25552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25553         multiarch ceilf for PowerPC32.
25555         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25556         is defined.
25557         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25558         FINITEF is defined.
25559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25560         and finitef multiarch implementations.
25561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25562         New file.
25563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25564         file.
25565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25566         multiarch finite for PowerPC32.
25567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25568         New file.
25569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25570         file: multiarch finitef for PowerPC32.
25572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25573         and isinff multiarch implementations.
25574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25575         file.
25576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25577         file.
25578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25579         multiarch isinf for PowerPC32.
25580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25581         New file.
25582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25583         multiarch isinff for PowerPC32.
25585         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25586         alias when __isnan is defined.
25587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25588         and isnanf multiarch implementations.
25589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25590         file.
25591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25592         file.
25593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25594         file.
25595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25596         file.
25597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25598         multiarch isnan for PowerPC32.
25599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25600         New file.
25601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25602         New file.
25603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25604         multiarch isnanf for PowerPC32.
25606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25607         and sqrtf multiarch implementations.
25608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25609         file.
25610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25611         file.
25612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25613         multiarch sqrt for PowerPC32.
25614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25615         file.
25616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25617         file.
25618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25619         multiarch sqrtf for PowerPC32.
25621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25622         and llroundf multiarch implementations.
25623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25624         New file.
25625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25626         New file.
25627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25628         New file.
25629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25630         file: multiarch llround for PowerPC32.
25631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25632         file: multiarch llroundf for PowerPC32.
25634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25635         multiarch PowerPC32 fpu implementations.
25636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25637         New file.
25638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25639         New file.
25640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25641         multiarch llrint for PowerPC32.
25642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25643         New file.
25644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25645         New file.
25646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25647         file.
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25651         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25652         file.
25653         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25654         file.
25655         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25656         file.
25657         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25658         multiarch wordcopy for PPC32.
25659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25660         wordcopy objects.
25661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25662         (__libc_ifunc_impl_list): Likewise.
25663         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25664         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25665         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25666         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25667         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25668         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25670         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25672         file.
25673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25674         file.
25675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25676         file.
25677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25678         multiarch wcscpy for PPC32.
25679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25680         multiarch objects.
25681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25682         (__libc_ifunc_impl_list): Likewise.
25683         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25684         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25685         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25686         sysdeps/powerpc/power6/wcscpy.c.
25688         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25690         file.
25691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25692         file.
25693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25694         file.
25695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25696         multiarch wcsrchr for PPC32.
25697         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25698         multiarch objects.
25699         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25700         (__libc_ifunc_impl_list): Likewise.
25701         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25702         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25703         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25704         sysdeps/powerpc/power6/wcsrchr.c.
25706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25707         file.
25708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25709         file.
25710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25712         multiarch wcschr for PPc32.
25713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25714         multiarch objects.
25715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25716         (__libc_ifunc_impl_list): Likewise.
25717         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25718         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25719         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25720         sysdeps/powerpc/power6/wcschr.c.
25722         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25723         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25724         file.
25725         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25726         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25727         file: multiarch strchr for PPC32.
25728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25729         multiarch objects.
25730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25731         (__libc_ifunc_impl_list): Likewise.
25733         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25734         name.
25735         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25736         file.
25737         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25738         file.
25739         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25740         multiarch strchrnul for PPC32.
25741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25742         multiarch objects.
25743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25744         (__libc_ifunc_impl_list): Likewise.
25746         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25747         file.
25748         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25749         multiarch strncasecmp for PPC32.
25750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25751         file.
25752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25753         multiarch strncasecmp_l for PPC32.
25754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25755         strncasecmp multiarch objects.
25756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25757         (__libc_ifunc_impl_list): Likewise.
25759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25760         file.
25761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25762         multiarch strncasecmp for PPC32.
25763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25764         New file.
25765         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25766         multiarch strcasecmp_l for PPC32.
25767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25768         multiarch objects.
25769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25770         (__libc_ifunc_impl_list): Likewise.
25772         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25773         file.
25774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25775         file.
25776         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25777         multiarch strncmp for PPC32.
25778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25779         multiarch objects.
25780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25781         (__libc_ifunc_impl_list): Likewise.
25783         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25784         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25785         file.
25786         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25787         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25789         multiarch objects.
25790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25791         (__libc_ifunc_impl_list): Likewise.
25793         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25794         file.
25795         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25796         file.
25797         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25799         multiarch objects.
25800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25801         (__libc_ifunc_impl_list): Likewise.
25803         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25804         file.
25805         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25806         file.
25807         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25808         multiarch rawmemchr for PPC32.
25809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25810         multiarch objects.
25811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25812         (__libc_ifunc_impl_list): Likewise.
25814         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25815         file.
25816         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25817         file.
25818         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25819         file: memrchr multiarch for PPC32.
25820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25821         multiarch objects.
25822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25823         (__libc_ifunc_impl_list): Likewise.
25825         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25826         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25827         file.
25828         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25829         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25830         multiarch memchr for PPC32.
25831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25832         multiarch objects.
25833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25834         (__libc_ifunc_impl_list): Likewise.
25836         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25837         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25838         file.
25839         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25840         file.
25841         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25842         file: multiarch mempcpy for PPC32.
25843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25844         multiarch objects.
25845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25846         (__libc_ifunc_impl_list): Likewise.
25848         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25849         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25850         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25851         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25852         multiarch bzero for PPC32.
25853         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25854         file.
25855         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25856         file.
25857         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25858         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25859         file: multiarch memset for PPC32.
25860         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25862         memset multiarch objects.
25863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25864         (__libc_ifunc_impl_list): Likewise.
25866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25867         file.
25868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25870         memcmp for PPC32.
25871         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25873         multiarch objects.
25874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25875         (__libc_ifunc_impl_list): Likewise.
25877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25880         file.
25881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25882         file.
25883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25884         file.
25885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25886         multiarch memcpy for PPC32.
25887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25888         multiarch objects.
25889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25890         (__libc_ifunc_impl_list): Likewise.
25892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25893         support multiarch for POWER/PPC32.
25894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25895         Likewise.
25896         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25898         Implies file to make multiarch folder appers before the fpu and
25899         default folder for power4 configuration.
25901 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25903         * scripts/bench.pl: Append volatile keyword to type.
25905 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25907         * sysdeps/sh/sotruss-lib.c: New file.
25908         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25910 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25914 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25916         [BZ #6810]
25917         * math/w_tgamma.c: Include <errno.h>.
25918         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25919         * math/w_tgammaf.c: Include <errno.h>.
25920         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25921         * math/w_tgammal.c: Include <errno.h>.
25922         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25923         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25924         underflow.  Add more tgamma tests.
25925         * math/auto-libm-test-out: Regenerated.
25926         * sysdeps/i386/fpu/libm-test-ulps: Update.
25927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25930         sin, sinh, tan, tanh, tgamma, y0 and y1.
25931         * math/auto-libm-test-out: Regenerated.
25932         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25933         (TEST_COND_x86): Likewise.
25934         (M_E2l): Remove macro.
25935         (M_E3l): Likewise.
25936         (M_2_SQRT_PIl): Likewise.
25937         (M_SQRT_PIl): Likewise.
25938         (M_1_DIV_El): Likewise.
25939         (log_test_data): Use AUTO_TESTS_f_f.
25940         (log10_test_data): Likewise.
25941         (log1p_test_data): Likewise.
25942         (log2_test_data): Likewise.
25943         (sin_test_data): Likewise.
25944         (sin_tonearest_test_data): Likewise.
25945         (sin_towardzero_test_data): Likewise.
25946         (sin_downward_test_data): Likewise.
25947         (sin_upward_test_data): Likewise.
25948         (sinh_test_data): Likewise.
25949         (sinh_tonearest_test_data): Likewise.
25950         (sinh_towardzero_test_data): Likewise.
25951         (sinh_downward_test_data): Likewise.
25952         (sinh_upward_test_data): Likewise.
25953         (tan_test_data): Likewise.
25954         (tan_tonearest_test_data): Likewise.
25955         (tan_towardzero_test_data): Likewise.
25956         (tan_downward_test_data): Likewise.
25957         (tan_upward_test_data): Likewise.
25958         (tanh_test_data): Likewise.
25959         (tgamma_test_data): Likewise.
25960         (y0_test_data): Likewise.
25961         (y1_test_data): Likewise.
25962         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25963         (special_real_inputs): Add pi/4.
25964         * sysdeps/i386/fpu/libm-test-ulps: Update.
25965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25967 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25969         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25970         "longjmp_target" static probes.
25971         (__longjmp): Rename to __longjmp_symbol.
25972         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25973         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25974         on which longjmp to generate.
25975         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25976         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25977         probe.
25978         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25979         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25980         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25981         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25982         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25983         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25985         __longjmp_symbol based on which __longjmp to generate.
25986         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25987         probe.
25988         (setjmp): Rename to setjmp_symbol.
25989         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25990         (_setjmp): Rename to _setjmp_symbol.
25991         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25992         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25993         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25994         which setjmp to generate.
25995         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25996         "longjmp_target" static probes.
25998 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26000         * benchtests/README: Add note about output arguments.
26001         * benchtests/bench-sincos.c: Remove file.
26002         * benchtests/sincos-inputs: New file.
26003         * scripts/bench.pl: Identify output arguments and define
26004         static variables for them.
26006         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26008         [BZ #15941]
26009         * Makefile (INSTALL): Add install-plain.texi as the primary
26010         dependency.
26011         * manual/install-plain.texi: New file.
26012         * manual/install.texi: Include node directive only for
26013         non-plaintext output.
26015 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26017         * stdlib/longlong.h: Update from GCC.
26019         [BZ #6807]
26020         [BZ #15901]
26021         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26022         * math/w_j0f.c (y0f): Likewise.
26023         * math/w_j0l.c (__y0l): Likewise.
26024         * math/w_j1.c (y1): Likewise.
26025         * math/w_j1f.c (y1f): Likewise.
26026         * math/w_j1l.c (__y1l): Likewise
26027         * math/w_jn.c (yn): Likewise.
26028         * math/w_jnf.c (ynf): Likewise.
26029         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26030         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26031         value for Bessel function domain errors outside _SVID_ mode.
26032         Adjust sign of return value for yn (negative integer, 0).
26033         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26034         by zero in return for negative x and set sign appropriately for
26035         negative n.
26036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26037         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26038         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26039         expectations in error cases.
26040         (y1_test_data): Likewise.
26041         (yn_test_data): Likewise.
26042         * sysdeps/i386/fpu/libm-test-ulps: Update.
26043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26045 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26047         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26048         "64" to "64-v1".  Add "64-v2".
26049         (abi-64-options): Rename to ...
26050         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26051         (abi-64-condition): Rename to ...
26052         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26053         (abi-64-ld-soname): Rename to ...
26054         (abi-64-v1-ld-soname): ... this.
26055         (abi-64-v2-options): Define.
26056         (abi-64-v2-condition): Likewise.
26057         (abi-64-v2-ld-soname): Likewise.
26058         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26059         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26064 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26065             Alan Modra  <amodra@gmail.com>
26067         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26068         New versions for use with the ELFv2 ABI.
26069         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26070         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26071         declaration.
26072         (struct La_ppc64v2_retval): Likewise.
26073         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26074         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26075         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26076         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26077         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26078         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26079         Do not save or restore CR.
26080         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26081         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26082         return values for ELFv2 ABI.  Fix location of FPR return registers.
26083         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26084         updated values for _CALL_ELF == 2.
26085         (La_regs, La_retval, int_retval): Likewise.
26087 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26089         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26090         (FRAME_MIN_SIZE_PARM): Likewise.
26091         (FRAME_BACKCHAIN): Likewise.
26092         (FRAME_CR_SAVE): Likewise.
26093         (FRAME_LR_SAVE): Likewise.
26094         (FRAME_TOC_SAVE): Likewise.
26095         (FRAME_PARM_SAVE): Likewise.
26096         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26097         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26098         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26099         (call_mcount_parm_offset): New macro.
26100         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26101         (PROF): Use symbolic stack frame offsets.
26102         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26103         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26104         Redefine in terms of FRAME_MIN_SIZE.
26105         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26106         (_dl_profile_resolve): Likewise.  Update comment.
26107         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26108         symbols stack frame offsets.
26109         (__sigsetjmp): Likewise.
26110         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26111         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26112         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26113         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26116         (FRAME_BACKCHAIN): Remove.
26117         (FRAME_CR_SAVE): Likewise.
26118         (FRAME_LR_SAVE): Likewise.
26119         (FRAME_COMPILER_DW): Likewise.
26120         (FRAME_LINKER_DW): Likewise.
26121         (FRAME_TOC_SAVE): Likewise.
26122         (FRAME_PARM_SAVE): Likewise.
26123         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26124         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26125         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26127         (CHECK_SP): Use symbolic stack frame offsets.
26128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26129         zone" instead of caller's parameter save area for temp storage.
26130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26131         Likewise.  Also, use symbolic stack frame offsets.
26132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26133         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26134         our own stack frame instead of the caller's.
26135         (__socket): Use symbolic stack frame offsets.
26137 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26138             Alan Modra  <amodra@gmail.com>
26140         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26141         Define.
26142         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26143         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26144         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26145         New function.
26146         (elf_machine_fixup_plt): Call it.
26147         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26148         reloc arguments.
26149         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26150         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26151         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26152         r2 before calling target.
26154 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26155             Alan Modra  <amodra@gmail.com>
26157         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26158         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26159         versions of macros to support ELFv2 ABI.
26160         (LOCALENTRY): New macro.
26161         (ENTRY, EALIGN): Use it.
26162         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26163         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26164         fall through into ENTRY entry point.
26165         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26166         Only define if _CALL_ELF != 2.
26168         (elf_machine_matches_host): Verify ABI version matches.
26169         (RTLD_START): Use LOCALENTRY.
26170         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26171         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26172         (PLT_ENTRY_WORDS): New macro.
26173         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26174         (elf_machine_runtime_setup): Support ELFv2 ABI.
26175         (elf_machine_fixup_plt): Likewise.
26176         (elf_machine_plt_conflict): Likewise.
26177         (resolve_ifunc): Likewise.
26178         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26179         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26180         Likewise.
26181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26182         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26184         (makecontext): Support ELFv2 ABI.
26185         * elf/elf.h (EF_PPC64_ABI): Define.
26187 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26189         * sysdeps/powerpc/powerpc64/sysdep.h
26190         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26191         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26192         (ENTRY) [ASSEMBLER]: ... but instead here ...
26193         (EALIGN) [ASSEMBLER]: ... and here.
26194         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26195         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26196         (ENTRY_2) [!ASSEMBLER]: Use it.
26197         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26198         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26199         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26200         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26201         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26203         Use PPC64_LOAD_FUNCPTR.
26205         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26207 2013-12-04  Alan Modra  <amodra@gmail.com>
26209         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26210         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26211         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26212         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26215         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26216         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26217         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26218         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26219         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26221 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26224         (__makecontext): Fix incorrect CFI when backtracing out of
26225         context created via makecontext.
26226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26227         (__setcontext): Fix incorrect CFI during switch to new context.
26228         (__novec_setcontext): Likewise.
26230 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26232         [BZ #4772]
26233         * time/strptime_l.c (__strptime_internal): Allow modifiers
26234         in strptime.
26235         * time/tst-strptime.c (day_tests): Add testcase.
26237 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26239         * scripts/bench.pl: Skip over blank lines.
26241 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26243         [BZ #926]
26244         * manual/time.texi (Calendar Time): Clarify what timezone functions
26245         use.
26247 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26251 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26253         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26254         implementation.
26255         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26256         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26257         * debug/memset_chk.c (__memset_chk): Likewise.
26258         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26259         * debug/strncpy_chk.c: Likewise.
26261 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26263         [BZ #15268]
26264         [BZ #15425]
26265         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26266         (__ieee754_exp): For possibly underflowing results, check size of
26267         result and force underflow exception if required.
26268         * math/auto-libm-test-in: Add more tests of exp.
26269         * math/auto-libm-test-out: Regenerated.
26270         * sysdeps/i386/fpu/libm-test-ulps: Update.
26271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26273         [BZ #16283]
26274         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26275         * math/w_exp2f.c (__exp2f): Likewise.
26276         * math/w_exp2l.c (__exp2l): Likewise.
26277         * math/auto-libm-test-in: Do not allow missing errno on exp2
26278         underflow.
26279         * math/auto-libm-test-out: Regenerated.
26281 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26283         [BZ #16274]
26284         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26285         handle filename validation.
26286         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26287         (do_open): Delete.
26289 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26291         [BZ #6786]
26292         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26293         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26294         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26295         <float.h>.
26296         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26298         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26300         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26301         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26302         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26303         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26304         Add more erfc tests.
26305         * math/auto-libm-test-out: Regenerated.
26306         * sysdeps/i386/fpu/libm-test-ulps: Update.
26307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26309         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26310         exp2, expm1, j0 and j1.
26311         * math/auto-libm-test-out: Regenerated.
26312         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26313         (erfc_test_data): Likewise.
26314         (exp_test_data): Likewise.
26315         (exp_tonearest_test_data): Likewise.
26316         (exp_towardzero_test_data): Likewise.
26317         (exp_downward_test_data): Likewise.
26318         (exp_upward_test_data): Likewise.
26319         (exp10_test_data): Likewise.
26320         (exp2_test_data): Likewise.
26321         (expm1_test_data): Likewise.
26322         (j0_test_data): Likewise.
26323         (j1_test_data): Likewise.
26324         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26325         (input_flag_type): Add flag_xfail_rounding.
26326         (input_flags): Add xfail-rounding.
26327         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26328         (output_for_one_input_case): Handle flag_xfail_rounding.
26329         * sysdeps/i386/fpu/libm-test-ulps: Update.
26330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26332 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26334         [BZ #16289]
26335         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26336         division by 0.
26338 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26340         [BZ #16195]
26341         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26342         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26343         (STAP_PROBE0): New macro.
26344         (STAP_PROBE1): Likewise.
26345         (STAP_PROBE2): Likewise.
26346         (STAP_PROBE3): Likewise.
26347         (STAP_PROBE4): Likewise.
26349 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26351         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26353 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26355         * benchtests/Makefile (bench): Add sqrt.
26356         (LDLIBS-bench-sqrt): New.
26357         * benchtests/sqrt-input: New.
26359 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26361         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26362         (GAIH_EAI): Likewise.
26363         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26364         (gaih_inet): Likewise.
26365         (getaddrinfo): Don't use GAIH_EAI.
26367         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26368         (struct gaih): Remove definition.
26370 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26372         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26373         Use HERRNOP directly.
26375 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26379 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26381         * math/gen-auto-libm-tests.c (test_functions): Add more
26382         single-argument functions.
26383         (special_fill_pi_2): New function.
26384         (special_fill_minus_pi_2): Likewise.
26385         (special_fill_pi_6): Likewise.
26386         (special_fill_minus_pi_6): Likewise.
26387         (special_fill_pi_3): Likewise.
26388         (special_fill_2pi_3): Likewise.
26389         (special_fill_e): Likewise.
26390         (special_fill_1_e): Likewise.
26391         (special_fill_e_minus_1): Likewise.
26392         (special_real_inputs): Add more special inputs.
26393         (output_for_one_input_case): Do not require ERANGE on underflow to
26394         zero if round-to-nearest result does not underflow to zero, unless
26395         exact results required.
26396         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26397         atan, atanh, cbrt, cos and cosh.
26398         * math/auto-libm-test-out: Regenerated.
26399         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26400         (acos_tonearest_test_data): Likewise.
26401         (acos_towardzero_test_data): Likewise.
26402         (acos_downward_test_data): Likewise.
26403         (acos_upward_test_data): Likewise.
26404         (acosh_test_data): Likewise.
26405         (asin_test_data): Likewise.
26406         (asin_tonearest_test_data): Likewise.
26407         (asin_towardzero_test_data): Likewise.
26408         (asin_upward_test_data): Likewise.
26409         (asinh_test_data): Likewise.
26410         (atan_test_data): Likewise.
26411         (atanh_test_data): Likewise.
26412         (cbrt_test_data): Likewise.
26413         (cos_test_data): Likewise.
26414         (cos_tonearest_test_data): Likewise.
26415         (cos_towardzero_test_data): Likewise.
26416         (cos_downward_test_data): Likewise.
26417         (cos_upward_test_data): Likewise.
26418         (cosh_test_data): Likewise.
26419         (cosh_tonearest_test_data): Likewise.
26420         (cosh_towardzero_test_data): Likewise.
26421         (cosh_downward_test_data): Likewise.
26422         (cosh_upward_test_data): Likewise.
26423         * sysdeps/i386/fpu/libm-test-ulps: Update.
26424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26426 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26428         [BZ #6787]
26429         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26430         * math/w_exp10f.c (__exp10f): Likewise.
26431         * math/w_exp10l.c (__exp10l): Likewise.
26432         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26433         errno settings in existing tests.
26435         [BZ #14032]
26436         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26437         precision control set to double precision.
26438         * sysdeps/i386/fpu/w_sqrt.c: New file.
26439         * math/auto-libm-test-in: Add more tests.
26440         * math/auto-libm-test-out: Update.
26442         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26443         (sqrt_test_tonearest): New function.
26444         (sqrt_towardzero_test_data): New variable.
26445         (sqrt_test_towardzero): New function.
26446         (sqrt_downward_test_data): New variable.
26447         (sqrt_test_downward): New function.
26448         (sqrt_upward_test_data): New variable.
26449         (sqrt_test_upward): New function.
26450         (main): Call the new functions.
26452         * math/gen-auto-libm-tests.c: New file.
26453         * math/auto-libm-test-in: Likewise.
26454         * math/auto-libm-test-out: New generated file.
26455         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26456         variables.
26457         (%beautify): Add generated representations of zero.
26458         (top level): Set $auto_input and call parse_auto_input.
26459         (beautify): Remove trailing "f" from hex float constants.
26460         (parse_args): Handle XFAIL_TEST.
26461         (convert_condition): New function.
26462         (or_value): Likewise.
26463         (or_cond_value): Likewise.
26464         (generate_testfile): Handle AUTO_TESTS_* lines.
26465         (parse_auto_input): New function.
26466         * math/libm-test.inc (XFAIL_TEST): New macro.
26467         (ERRNO_UNCHANGED): Update value.
26468         (ERRNO_EDOM): Likewise.
26469         (ERRNO_ERANGE): Likewise.
26470         (IGNORE_RESULT): Likewise.
26471         (TEST_COND_flt_32): New macro.
26472         (TEST_COND_dbl_64): Likewise.
26473         (TEST_COND_ldbl_96_intel): Likewise.
26474         (TEST_COND_ldbl_96_m68k): Likewise.
26475         (TEST_COND_ldbl_128): Likewise.
26476         (TEST_COND_ldbl_128ibm): Likewise.
26477         (TEST_COND_long32): Likewise.
26478         (TEST_COND_long64): Likewise.
26479         (TEST_COND_before_rounding): Likewise.
26480         (TEST_COND_after_rounding): Likewise.
26481         (enable_test): Handle XFAIL_TEST flag.
26482         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26483         with finite results.
26484         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26485         auto-libm-test-out.
26487 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26488             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26490         [BZ #16214]
26491         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26492         __tls_get_addr_internal instead of __tls_get_offset in order to
26493         avoid GOT pointer dependency.  Make rtld export
26494         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26495         __tls_get_addr since we are a __tls_get_offset platform.
26496         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26497         GOT pointer being set up before.
26498         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26500 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26502         * manual/math.texi (Errors in Math Functions): Document accuracy
26503         goals.
26505         [BZ #15004]
26506         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26507         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26508         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26509         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26510         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26511         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26512         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26513         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26514         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26515         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26516         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26517         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26518         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26519         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26520         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26521         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26523         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26524         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26525         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26526         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26527         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26528         Likewise.
26529         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26530         Likewise.
26531         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26532         Likewise.
26533         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26534         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26535         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26536         atomic-feupdateenv and flt-rounds.
26537         * sysdeps/powerpc/nofpu/Versions (libc): Add
26538         __atomic_feholdexcept, __atomic_feclearexcept,
26539         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26540         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26541         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26542         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26543         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26544         here.
26545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26546         Update.
26548         * manual/arith.texi (FP Exceptions): Document that exceptions may
26549         not be raised when matherr is used.
26550         (Math Error Reporting): Document overflow in directed rounding
26551         modes.  Document that errno may not be set when finite values are
26552         returned on overflow.  Document intent to set errno on underflow
26553         only for underflow to zero.
26555         [BZ #16271]
26556         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26557         round-to-nearest then adjust result for other rounding modes.
26558         * include/fenv.h (fegetround): Use libm_hidden_proto.
26559         * math/fegetround.c (fegetround): Use libm_hidden_def.
26560         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26561         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26562         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26564         Likewise.
26565         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26566         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26567         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26568         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26570 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26572         [BZ #16077]
26573         * nss/Versions (libnss_files): Add
26574         _nss_files_gethostbyname3_r.
26575         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26576         New function.
26577         (HOST_DB_LOOKUP): Remove macro.
26578         (_nss_files_gethostbyname_r): Implement function without the
26579         HOST_DB_LOOKUP macro.
26580         (_nss_files_gethostbyname2_r): Likewise.
26582 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26584         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26586 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26588         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26589         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26590         warning.
26592 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26594         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26595         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26596         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26597         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26598         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26599         __fe_nomask_env_priv and attribute_hidden.
26600         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26601         (libc_feupdateenv_test_ppc): Likewise.
26602         (libc_feresetround_ppc): Likewise.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26604         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26605         compat_symbol macro.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26607         (__fe_nomask_env): Likewise.
26608         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26610 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26612         * string/Makefile: Remove ifunc tests.
26613         * string/test-string.h: Define TEST_IFUNC.
26614         * string/test-bcopy-ifunc.c: Remove.
26615         * string/test-bzero-ifunc.c: Likewise.
26616         * string/test-memccpy-ifunc.c: Likewise.
26617         * string/test-memchr-ifunc.c: Likewise.
26618         * string/test-memcmp-ifunc.c: Likewise.
26619         * string/test-memcpy-ifunc.c: Likewise.
26620         * string/test-memmem-ifunc.c: Likewise.
26621         * string/test-memmove-ifunc.c: Likewise.
26622         * string/test-mempcpy-ifunc.c: Likewise.
26623         * string/test-memrchr-ifunc.c: Likewise.
26624         * string/test-memset-ifunc.c: Likewise.
26625         * string/test-rawmemchr-ifunc.c: Likewise.
26626         * string/test-stpcpy-ifunc.c: Likewise.
26627         * string/test-stpncpy-ifunc.c: Likewise.
26628         * string/test-strcasecmp-ifunc.c: Likewise.
26629         * string/test-strcasestr-ifunc.c: Likewise.
26630         * string/test-strcat-ifunc.c: Likewise.
26631         * string/test-strchr-ifunc.c: Likewise.
26632         * string/test-strchrnul-ifunc.c: Likewise.
26633         * string/test-strcmp-ifunc.c: Likewise.
26634         * string/test-strcpy-ifunc.c: Likewise.
26635         * string/test-strcspn-ifunc.c: Likewise.
26636         * string/test-strlen-ifunc.c: Likewise.
26637         * string/test-strncasecmp-ifunc.c: Likewise.
26638         * string/test-strncat-ifunc.c: Likewise.
26639         * string/test-strncmp-ifunc.c: Likewise.
26640         * string/test-strncpy-ifunc.c: Likewise.
26641         * string/test-strnlen-ifunc.c: Likewise.
26642         * string/test-strpbrk-ifunc.c: Likewise.
26643         * string/test-strrchr-ifunc.c: Likewise.
26644         * string/test-strspn-ifunc.c: Likewise.
26645         * string/test-strstr-ifunc.c: Likewise.
26647 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26649         * benchtests/Makefile: Remove ifunc tests.
26650         * benchtests/bench-string.h: Define TEST_IFUNC.
26651         * benchtests/bench-bcopy-ifunc.c: Remove.
26652         * benchtests/bench-bzero-ifunc.c: Likewise.
26653         * benchtests/bench-memccpy-ifunc.c: Likewise.
26654         * benchtests/bench-memchr-ifunc.c: Likewise.
26655         * benchtests/bench-memcmp-ifunc.c: Likewise.
26656         * benchtests/bench-memcpy-ifunc.c: Likewise.
26657         * benchtests/bench-memmem-ifunc.c: Likewise.
26658         * benchtests/bench-memmove-ifunc.c: Likewise.
26659         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26660         * benchtests/bench-memrchr-ifunc.c: Likewise.
26661         * benchtests/bench-memset-ifunc.c: Likewise.
26662         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26663         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26664         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26665         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26666         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26667         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26668         * benchtests/bench-strcat-ifunc.c: Likewise.
26669         * benchtests/bench-strchr-ifunc.c: Likewise.
26670         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26671         * benchtests/bench-strcmp-ifunc.c: Likewise.
26672         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26673         * benchtests/bench-strcpy-ifunc.c: Likewise.
26674         * benchtests/bench-strcspn-ifunc.c: Likewise.
26675         * benchtests/bench-strlen-ifunc.c: Likewise.
26676         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26677         * benchtests/bench-strncat-ifunc.c: Likewise.
26678         * benchtests/bench-strncmp-ifunc.c: Likewise.
26679         * benchtests/bench-strncpy-ifunc.c: Likewise.
26680         * benchtests/bench-strnlen-ifunc.c: Likewise.
26681         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26682         * benchtests/bench-strrchr-ifunc.c: Likewise.
26683         * benchtests/bench-strsep-ifunc.c: Likewise.
26684         * benchtests/bench-strspn-ifunc.c: Likewise.
26685         * benchtests/bench-strstr-ifunc.c: Likewise.
26687 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26689         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26691 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26693         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26694         * rt/aio.h: Likewise.
26695         * sysdeps/gnu/bits/utmp.h: Likewise.
26696         * sysdeps/gnu/bits/utmpx.h: Likewise.
26697         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26698         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26699         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26700         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26701         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26702         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26703         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26704         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26705         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26706         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26707         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26708         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26709         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26711         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26712         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26713         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26714         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26715         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26716         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26717         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26718         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26719         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26720         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26721         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26723         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26724         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26725         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26726         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26727         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26728         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26729         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26730         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26731         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26732         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26733         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26734         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26735         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26736         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26737         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26738         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26740 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26742         [BZ #16245]
26743         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26744         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26746 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26748         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26749         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26750         Likewise.
26752 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26754         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26755         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26756         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26757         (__fesetround): Remove define.
26758         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26759         rounding and exceptions handling.
26760         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26761         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26762         (__fe_nomask_env): Likewise.
26763         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26764         __fegetround instead of fegetround.
26765         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26766         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26768 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26770         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26771         it's there.
26773         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26775 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26777         [BZ #11157]
26778         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26779         (encrypt_r): Likewise.
26780         * malloc/obstack.h (obstack_free): Likewise.
26781         * posix/unistd.h (encrypt): Likewise.
26783 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26785         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26786         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26787         DL_CALL_DT_FINI() that call the functions directly.
26788         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26789         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26790         * elf/dl-fini.c: Likewise.
26792 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26794         * malloc/hooks.c (memalign_check): Add alignment rounding.
26795         * malloc/malloc.c (_mid_memalign): New function.
26796         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26797         Implement by calling _mid_memalign.
26798         * manual/probes.texi (Memory Allocation Probes): Remove
26799         memory_valloc_retry and memory_pvalloc_retry.
26801 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26803         * locale/programs/locarchive.c (open_archive): Add const
26804         qualifier to ARCHIVEFNAME and copy default fname to
26805         DEFAULT_FNAME.
26807         [BZ #15601]
26808         * libio/tst-widetext.input: Rename Oriya to Odia.
26809         * locale/iso-639.def: Likewise.
26811         * manual/probes.texi (Mathematical Function Probes): Add
26812         documentation for sin, cos, asin and acos probes.
26813         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26814         (__sin32): Add slowasin probe.
26815         (__cos32): Add slowacos probe.
26816         (__mpsin): Add slowsin probe.
26817         (__mpcos): Add slowcos probe.
26819 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26821         [BZ #15483]
26822         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26823         thread-local __sim_exceptions_thread and global
26824         __sim_exceptions_global.
26825         (__sim_disabled_exceptions): Change to thread-local
26826         __sim_disabled_exceptions_thread and global
26827         __sim_disabled_exceptions_global.
26828         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26829         and global __sim_round_mode_global.
26830         (__simulate_exceptions): Use thread-local floating-point state and
26831         set global state from it as needed.
26832         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26833         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26834         __sim_round_mode_thread.
26835         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26836         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26837         and global __sim_exceptions_global.
26838         (__sim_disabled_exceptions): Change to thread-local
26839         __sim_disabled_exceptions_thread and global
26840         __sim_disabled_exceptions_global.
26841         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26842         and global __sim_round_mode_global.
26843         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26844         (SIM_SET_GLOBAL): Likewise.
26845         * sysdeps/powerpc/soft-fp/sfp-machine.h
26846         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26847         __sim_round_mode_thread.
26848         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26849         __sim_disabled_exceptions_thread.
26850         (__sim_exceptions): Change to __sim_exceptions_thread.
26851         (__sim_disabled_exceptions): Change to
26852         __sim_disabled_exceptions_thread.
26853         (__sim_round_mode): Change to __sim_round_mode_thread.
26854         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26855         thread-local floating-point state and set global state from it as
26856         needed.
26857         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26858         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26859         (__sim_disabled_exceptions): Remove extern declaration.
26860         (feenableexcept): Use thread-local floating-point state and set
26861         global state from it as needed.
26862         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26863         extern declaration.
26864         (__sim_disabled_exceptions): Likewise.
26865         (__sim_round_mode): Likewise.
26866         (__fegetenv): Use thread-local floating-point state.
26867         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26868         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26869         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26870         floating-point state and set global state from it as needed.
26871         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26872         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26873         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26874         Likewise.
26875         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26876         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26877         Likewise.
26878         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26879         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26880         Use __sim_round_mode_thread.
26881         * math/test-fenv-tls.c: New file.
26882         * math/Makefile (tests): Add test-fenv-tls.
26883         ($(objpfx)test-fenv-tls): Depend on
26884         $(common-objpfx)nptl/libpthread.so.
26886 2013-11-19  Andreas Schwab  <schwab@suse.de>
26888         * locale/programs/locale.c (show_info): Decode wordarray elements.
26889         * locale/categories.def (LC_MONETARY): Add element for
26890         _NL_MONETARY_CRNCYSTR.
26891         * locale/C-monetary.c (conversion_rate): New variable.
26892         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26893         element.
26895 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26897         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26898         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26900 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26902         * elf/Makefile (tst-auxv): New test.
26903         * elf/tst-auxv.c: New
26904         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26906 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26908         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26909         (hidden_proto): Caller changed.
26910         (hidden_tls_proto): New macro.
26911         (libc_hidden_tls_proto): Likewise.
26912         (rtld_hidden_tls_proto): Likewise.
26913         (libm_hidden_tls_proto): Likewise.
26914         (libresolv_hidden_tls_proto): Likewise.
26915         (librt_hidden_tls_proto): Likewise.
26916         (libdl_hidden_tls_proto): Likewise.
26917         (libnss_files_hidden_tls_proto): Likewise.
26918         (libnsl_hidden_tls_proto): Likewise.
26919         (libnss_nisplus_hidden_tls_proto): Likewise.
26920         (libutil_hidden_tls_proto): Likewise.
26922 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26924         [BZ #10253]
26925         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26926         (decompose_rpath): Defer expansion to fillin_rpath.
26927         (_dl_init_paths): Pass linkmap to fillin_rpath.
26929 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26931         * benchtests/Makefile: Add strsep.
26932         * benchtests/bench-strsep.c: New file: strsep benchtest.
26933         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26935 2013-11-18  Andreas Schwab  <schwab@suse.de>
26937         * locale/programs/locale.c (show_info) [case byte]: Check for
26938         '\377' instead of '\177'.
26939         * locale/C-monetary.c (not_available): Always use "\377".
26940         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26941         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26942         detect unavailable sign_posn locale elements.
26943         * locale/localeconv.c (__localeconv): For grouping and
26944         mon_grouping handle "\177" and "\377" like no grouping.
26945         (INT_ELEM): New macro.  Use it to set all numeric members.
26946         * locale/programs/ld-monetary.c (monetary_read)
26947         <tok_mon_grouping>: Normalize single -1 to the empty string.
26948         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26949         Likewise.
26951 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26953         [BZ #16055]
26954         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26955         when we match (nil).
26956         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26958 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26960         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26961         (NO_TEST_INLINE): Update value.
26962         (ERRNO_UNCHANGED): Likewise.
26963         (ERRNO_EDOM): Likewise.
26964         (ERRNO_ERANGE): Likewise.
26965         (IGNORE_RESULT): Likewise.
26966         (check_float_internal): Check signs of NaN results if
26967         TEST_NAN_SIGN used.
26968         (check_complex): Pass TEST_NAN_SIGN flag through to second
26969         check_float_internal call.
26970         (copysign_test_data): Add tests with quiet NaNs as second
26971         argument.  Use TEST_NAN_SIGN.
26972         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26973         TEST_NAN_SIGN.
26974         (signbit_test_data): Add tests of quiet NaN argument.
26975         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26977         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26978         $ignore_result.
26979         (parse_args): Handle function results specified as IGNORE.
26980         * math/libm-test.inc (IGNORE_RESULT): New macro.
26981         (check_float_internal): Do not check numerical result if flag
26982         IGNORE_RESULT set.
26983         (check_complex): Pass through IGNORE_RESULT to second
26984         check_float_internal call.
26985         (check_int): Do not check numerical result if flag IGNORE_RESULT
26986         set.
26987         (check_long): Likewise.
26988         (check_bool): Likewise.
26989         (check_longlong): Likewise.
26990         (lrint_test_data): Add tests of infinite and NaN arguments.
26991         (lrint_tonearest_test_data): Likewise.
26992         (lrint_towardzero_test_data): Likewise.
26993         (lrint_downward_test_data): Likewise.
26994         (lrint_upward_test_data): Likewise.
26995         (llrint_test_data): Likewise.
26996         (llrint_tonearest_test_data): Likewise.
26997         (llrint_towardzero_test_data): Likewise.
26998         (llrint_downward_test_data): Likewise.
26999         (llrint_upward_test_data): Likewise.
27000         (lround_test_data): Likewise.
27001         (llround_test_data): Likewise.
27003         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27004         (ERRNO_UNCHANGED): Update value.
27005         (ERRNO_EDOM): Likewise.
27006         (ERRNO_ERANGE): Likewise.
27007         (NO_TEST_INLINE_FLOAT): New macro.
27008         (NO_TEST_INLINE_DOUBLE): Likewise.
27009         (enable_test): New function.
27010         (RUN_TEST_f_f): Check enable_test before running test.
27011         (RUN_TEST_2_f): Likewise.
27012         (RUN_TEST_fff_f): Likewise.
27013         (RUN_TEST_c_f): Likewise.
27014         (RUN_TEST_f_f1): Likewise.
27015         (RUN_TEST_fF_f1): Likewise.
27016         (RUN_TEST_fI_f1): Likewise.
27017         (RUN_TEST_ffI_f1): Likewise.
27018         (RUN_TEST_c_c): Likewise.
27019         (RUN_TEST_cc_c): Likewise.
27020         (RUN_TEST_f_i): Likewise.
27021         (RUN_TEST_f_i_tg): Likewise.
27022         (RUN_TEST_ff_i_tg): Likewise.
27023         (RUN_TEST_f_b): Likewise.
27024         (RUN_TEST_f_b_tg): Likewise.
27025         (RUN_TEST_f_l): Likewise.
27026         (RUN_TEST_f_L): Likewise.
27027         (RUN_TEST_fFF_11): Likewise.
27028         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27029         conditionals.
27030         (cosh_test_data): Likewise.
27031         (exp_test_data): Likewise.
27032         (expm1_test_data): Likewise.
27033         (hypot_test_data): Likewise.
27034         (pow_test_data): Likewise.
27035         (sinh_test_data): Likewise.
27036         (tanh_test_data): Likewise.
27037         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27038         flags argument.
27040         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27041         tests with quiet NaN input and output.
27042         (acosh_test_data): Likewise.
27043         (asin_test_data): Likewise.
27044         (asinh_test_data): Likewise.
27045         (atan_test_data): Likewise.
27046         (atanh_test_data): Likewise.
27047         (atan2_test_data): Likewise.
27048         (cbrt_test_data): Likewise.
27049         (cos_test_data): Likewise.
27050         (cosh_test_data): Likewise.
27051         (erf_test_data): Likewise.
27052         (erfc_test_data): Likewise.
27053         (exp_test_data): Likewise.
27054         (exp10_test_data): Likewise.
27055         (exp2_test_data): Likewise.
27056         (expm1_test_data): Likewise.
27057         (hypot_test_data): Likewise.
27058         (j0_test_data): Likewise.
27059         (j1_test_data): Likewise.
27060         (jn_test_data): Likewise.
27061         (lgamma_test_data): Likewise.
27062         (log_test_data): Likewise.
27063         (log10_test_data): Likewise.
27064         (log1p_test_data): Likewise.
27065         (log2_test_data): Likewise.
27066         (pow_test_data): Likewise.
27067         (scalb_test_data): Likewise.
27068         (sin_test_data): Likewise.
27069         (sincos_test_data): Likewise.
27070         (sinh_test_data): Likewise.
27071         (tan_test_data): Likewise.
27072         (tanh_test_data): Likewise.
27073         (tgamma_test_data): Likewise.
27074         (y0_test_data): Likewise.
27075         (y1_test_data): Likewise.
27076         (yn_test_data): Likewise.
27078         [BZ #16167]
27079         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27080         argument being NaN and avoid computations with second argument in
27081         that case.
27082         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27083         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27084         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27086 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27088         * locale/iso-639.def: Add Chitwani Tharu (the).
27090 2013-11-14  Andreas Schwab  <schwab@suse.de>
27092         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27093         word instead of empty string.
27095 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27098         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27100         (__fe_nomask_env): Likewise.
27102 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27104         * benchtests/bench-timing.h: Include time.h.
27106 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27108         [BZ #15997]
27109         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27110         to 3.4.0 for x32.
27111         * sysdeps/unix/sysv/linux/configure: Regenerated.
27113 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27115         [BZ #16151]
27116         * stdlib/strtod_l.c (round_and_return): Do not consider
27117         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27118         exponent one less than half the least subnormal exponent.
27119         * stdlib/test-strtod-round-data: Add more tests.
27120         * stdlib/tst-strtod-round.c (tests): Regenerated.
27122 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27124         [BZ #14143]
27125         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27126         (__fe_mask_env): Likewise.
27127         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27128         libm_hidden_proto and add function prototype.
27129         (__fe_mask_env): Add function prototype.
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27131         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27133         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27135         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27137 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27139         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27140         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27142 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27144         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27145         of htab_find_slot().
27147 2013-11-11  David S. Miller  <davem@davemloft.net>
27149         [BZ #16150]
27150         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27151         symbol in the non-vis3 case in static builds.
27152         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27153         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27154         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27155         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27157 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27159         [BZ #387]
27160         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27161         it is empty.
27163 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27165         * benchtests/Makefile: Add bench-strtod.
27166         * benchtests/bench-strtod.c: New file: strtod benchtest
27168 2013-11-11  Andreas Schwab  <schwab@suse.de>
27170         [BZ #16153]
27171         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27172         terminating NUL in key length.
27174 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27177         Add artificial ODP entry for vDSO symbol for PPC64.
27178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27179         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27181 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27183         [BZ #15374]
27184         * nss/getent.c (services_keys): Recognize services starting with digit.
27186 2013-11-06  David S. Miller  <davem@davemloft.net>
27188         [BZ #15985]
27189         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27190         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27192 2013-11-06  Will Newton  <will.newton@linaro.org>
27194         * manual/memory.texi (Malloc Examples): Remove register
27195         keyword from examples.
27197 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27199         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27201 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27203         [BZ #6981]
27204         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27205         depending on [__GCC_IEC_559 > 0].
27206         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27207         depending on [__GCC_IEC_559_COMPLEX > 0].
27209 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27211         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27212         to iso-639.def.
27214 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27216         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27218 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27220         [BZ #16112]
27221         * malloc/malloc (malloc_info): Do not handle first bin as
27222         special case.
27224 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27226         * locale/iso-639.def: Add Central Nahuatl (nhn).
27228 2013-11-01  Bruno Haible  <bruno@clisp.org>
27230         [BZ #7003]
27231         * manual/math.texi (BSD Random): Specify range upper bound as
27232         in POSIX.
27234 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27236         * locale/iso-639.def: Add Meadow Mari (mhr).
27238 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27240         [BZ #14752], [BZ #15763]
27241         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27242         Validate name.
27243         * rt/tst_shm.c: Add test for escaping directory.
27245 2013-10-31  Andreas Schwab  <schwab@suse.de>
27247         [BZ #15917]
27248         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27249         followed by 'x' as part of digit sequence.
27250         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27252 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27254         [BZ #16037]
27255         * configure.ac: allow GNU Make 4.0 and greater.
27256         * configure: Regenerated.
27258 2013-10-30  Will Newton  <will.newton@linaro.org>
27260         [BZ #16038]
27261         * malloc/hooks.c (memalign_check): Limit alignment to the
27262         maximum representable power of two.
27263         * malloc/malloc.c (__libc_memalign): Likewise.
27264         * malloc/tst-memalign.c (do_test): Add test for very
27265         large alignment values.
27266         * malloc/tst-posix_memalign.c (do_test): Likewise.
27268 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27270         [BZ #11087]
27271         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27272         (munmap_chunk): Likewise.
27273         (mremap_chunk): Likewise.
27275 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27277         [BZ #15799]
27278         * stdlib/div.c (div): Remove obsolete code.
27279         * stdlib/ldiv.c (ldiv): Likewise.
27280         * stdlib/lldiv.c (lldiv): Likewise.
27282 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27284         [BZ #16071]
27285         * nss/nss_files/files-XXX.c (get_contents_ret): New
27286         enumerator.
27287         (get_contents): New function.
27288         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27290 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27292         * configure.in: Moved to ...
27293         * configure.ac: ... here. Change reference to configure.in
27294         to configure.ac.
27295         * sysdeps/arm/preconfigure.ac: ... here.
27296         configure.in to configure.ac.
27297         * sysdeps/gnu/configure.in: Moved to ...
27298         * sysdeps/gnu/configure.ac: ... here.
27299         * sysdeps/i386/configure.in: Moved to ...
27300         * sysdeps/i386/configure.ac: ... here.
27301         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27302         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27303         * sysdeps/mach/configure.in: Moved to ...
27304         * sysdeps/mach/configure.ac: ... here.
27305         * sysdeps/mach/hurd/configure.in: Moved to ...
27306         * sysdeps/mach/hurd/configure.ac: ... here.
27307         * sysdeps/powerpc/configure.in: Moved to ...
27308         * sysdeps/powerpc/configure.ac: ... here.
27309         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27310         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27311         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27312         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27313         * sysdeps/s390/s390-32/configure.in: Moved to ...
27314         * sysdeps/s390/s390-32/configure.ac: ... here.
27315         * sysdeps/s390/s390-64/configure.in: Moved to ...
27316         * sysdeps/s390/s390-64/configure.ac: ... here.
27317         * sysdeps/sh/configure.in: Moved to ...
27318         * sysdeps/sh/configure.ac: ... here.
27319         * sysdeps/sparc/configure.in: Moved to ...
27320         * sysdeps/sparc/configure.ac: ... here.
27321         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27322         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27323         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27324         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27325         * sysdeps/x86_64/configure.in: Moved to ...
27326         * sysdeps/x86_64/configure.ac: ... here.
27327         * sysdeps/x86_64/preconfigure.in: Moved to ...
27328         * sysdeps/x86_64/preconfigure.ac: ... here.
27329         * aclocal.m4: Change reference to configure.in to configure.ac.
27330         * config.h.in: Likewise.
27331         * manual/install.texi: Likewise.
27332         * manual/maint.texi: Likewise.
27333         * Makefile: Likewise.
27334         * malloc/Makefile: Likewise.
27335         * nscd/Makefile: Likewise.
27336         * Makeconfig: Change reference to configure.in and
27337         preconfigure.in to configure.ac and preconfigure.ac
27338         respectively.
27339         * INSTALL: Regenerated.
27340         * configure: Likewise.
27341         * sysdeps/gnu/configure: Likewise.
27342         * sysdeps/i386/configure: Likewise.
27343         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27344         * sysdeps/mach/configure: Likewise.
27345         * sysdeps/mach/hurd/configure: Likewise.
27346         * sysdeps/powerpc/configure: Likewise.
27347         * sysdeps/powerpc/powerpc32/configure: Likewise.
27348         * sysdeps/powerpc/powerpc64/configure: Likewise.
27349         * sysdeps/s390/s390-32/configure: Likewise.
27350         * sysdeps/s390/s390-64/configure: Likewise.
27351         * sysdeps/sh/configure: Likewise.
27352         * sysdeps/sparc/configure: Likewise.
27353         * sysdeps/unix/sysv/linux/configure: Likewise.
27354         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27355         * sysdeps/x86_64/configure: Likewise.
27356         * sysdeps/x86_64/preconfigure: Likewise.
27358 2013-10-29  Andreas Schwab  <schwab@suse.de>
27360         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27362 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27364         * benchtests/pow-inputs: Add new inputs.
27366         * benchtests/exp-inputs: Add new inputs.
27368         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27369         conditional check for return value.
27370         (__cos32): Likewise.
27372 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27374         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27375         to provide a boost for large inputs with word alignment.
27376         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27377         implementation based on optimized PPC64 strcpy.
27378         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27379         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27380         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27381         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27383 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27385         [BZ #2801]
27386         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27388 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27390         [BZ #14876]
27391         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27392         * time/tst-strptime.c (day_tests): Add testcase.
27394 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27396         [BZ #14029]
27397         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27399 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27401         [BZ #16074]
27402         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27403         MAP_FAILED on error.
27405 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27407         [BZ #16072]
27408         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27409         heap for large requests.
27411 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27413         [BZ #9954]
27414         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27415         result if the result has no associated interface.
27416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27417         interface for all 127.X.Y.Z addresses.
27419 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27421         * locale/iso-639.def: Add Ligurian (lij)
27423 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27425         [BZ #15825]
27426         * sunrpc/rpc_main.c: Document rpcgen -5.
27428 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27430         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27432 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27434         [BZ #10278]
27435         * posix/glob.c: Match only directories when trailing slash is present.
27436         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27437         (main): Add testcase.
27439 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27441         [BZ #15670]
27442         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27444 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27446         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27447         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27448         AUTH_DES and cindex for FIPS 140-2.
27449         (DES Encryption): Add cindex FIPS 46-3.
27451         * locale/locarchive.h (struct locarhandle): Add fname.
27452         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27453         if an optional argument was specified to --list-archive,
27454         otherwise NULL.
27455         * locale/programs/locarchive.c (show_archive_content): Take new
27456         argument fname and pass it via ah.fname to open_archive.
27457         * locale/programs/localedef.h: Update decl.
27458         (open_archive): If AH->fname is non-null, open that file
27459         rather than the default file name, and don't ignore ENOENT.
27460         (create_archive): Set AH.fname to NULL.
27461         (delete_locales_from_archive): Likewise.
27462         (add_locales_to_archive): Likewise.
27463         * locale/programs/locfile.c (write_all_categories): Likewise.
27465 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27466             Aldy Hernandez  <aldyh@redhat.com>
27468         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27469         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27470         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27471         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27472         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27473         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27475         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27476         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27477         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27478         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27479         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27480         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27481         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27482         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27483         Likewise.
27484         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27485         Likewise.
27486         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27487         Likewise.
27488         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27489         Likewise.
27490         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27491         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27492         Likewise.
27493         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27494         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27495         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27496         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27497         Likewise.
27498         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27499         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27500         * sysdeps/powerpc/preconfigure: Likewise.
27501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27502         Likewise.
27503         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27504         Replace contents of file by #include of <fenv_libc.h>.
27505         * sysdeps/powerpc/soft-fp/sfp-machine.h
27506         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27507         and <sys/prctl.h>.
27508         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27509         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27510         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27511         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27521         Allow copysignl PLT reference to be missing.
27523 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27524             Joseph Myers  <joseph@codesourcery.com
27526         [BZ #15948]
27527         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27528         single character.
27529         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27531 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27533         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27534         * elf/tst-tls1.c: Likewise.
27535         * elf/tst-tls10.h: Likewise.
27536         * elf/tst-tls14.c: Likewise.
27537         * elf/tst-tls2.c: Likewise.
27538         * elf/tst-tls3.c: Likewise.
27539         * elf/tst-tls4.c: Likewise.
27540         * elf/tst-tls5.c: Likewise.
27541         * elf/tst-tls6.c: Likewise.
27542         * elf/tst-tls7.c: Likewise.
27543         * elf/tst-tls8.c: Likewise.
27544         * elf/tst-tls9.c: Likewise.
27545         * elf/tst-tlsmod1.c: Likewise.
27546         * elf/tst-tlsmod13.c: Likewise.
27547         * elf/tst-tlsmod13a.c: Likewise.
27548         * elf/tst-tlsmod14a.c: Likewise.
27549         * elf/tst-tlsmod16a.c: Likewise.
27550         * elf/tst-tlsmod16b.c: Likewise.
27551         * elf/tst-tlsmod2.c: Likewise.
27552         * elf/tst-tlsmod3.c: Likewise.
27553         * elf/tst-tlsmod4.c: Likewise.
27554         * elf/tst-tlsmod5.c: Likewise.
27555         * elf/tst-tlsmod6.c: Likewise.
27557 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27559         [BZ #12486]
27560         * malloc/malloc.c: remove checks for statistics.
27562 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27564         [BZ #15277]
27565         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27566         * inet/tst-network.c: Add testcase.
27568 2013-10-17  Andreas Schwab  <schwab@suse.de>
27570         [BZ #15218]
27571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27572         to determine canonical name.
27574 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27576         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27577         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27579         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27581         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27582         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27583         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27584         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27585         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27586         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27587         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27588         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27589         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27590         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27591         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27592         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27593         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27594         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27595         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27596         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27598         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27599         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27600         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27601         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27602         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27603         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27604         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27605         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27606         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27607         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27608         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27609         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27610         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27611         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27612         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27613         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27614         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27616         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27617         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27618         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27619         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27620         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27621         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27622         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27623         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27624         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27625         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27626         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27627         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27628         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27629         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27630         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27631         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27632         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27633         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27635 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27637         [BZ #16041]
27638         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27639         make result into a quiet NaN.
27641 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27643         * soft-fp/adddf3.c: Fix horizontal whitespace.
27644         * soft-fp/addsf3.c: Likewise.
27645         * soft-fp/addtf3.c: Likewise.
27646         * soft-fp/divdf3.c: Likewise.
27647         * soft-fp/divsf3.c: Likewise.
27648         * soft-fp/divtf3.c: Likewise.
27649         * soft-fp/double.h: Likewise.
27650         * soft-fp/eqdf2.c: Likewise.
27651         * soft-fp/eqsf2.c: Likewise.
27652         * soft-fp/eqtf2.c: Likewise.
27653         * soft-fp/extenddftf2.c: Likewise.
27654         * soft-fp/extended.h: Likewise.
27655         * soft-fp/extendsfdf2.c: Likewise.
27656         * soft-fp/extendsftf2.c: Likewise.
27657         * soft-fp/extendxftf2.c: Likewise.
27658         * soft-fp/fixdfdi.c: Likewise.
27659         * soft-fp/fixdfsi.c: Likewise.
27660         * soft-fp/fixdfti.c: Likewise.
27661         * soft-fp/fixsfdi.c: Likewise.
27662         * soft-fp/fixsfsi.c: Likewise.
27663         * soft-fp/fixsfti.c: Likewise.
27664         * soft-fp/fixtfdi.c: Likewise.
27665         * soft-fp/fixtfsi.c: Likewise.
27666         * soft-fp/fixtfti.c: Likewise.
27667         * soft-fp/fixunsdfdi.c: Likewise.
27668         * soft-fp/fixunsdfsi.c: Likewise.
27669         * soft-fp/fixunsdfti.c: Likewise.
27670         * soft-fp/fixunssfdi.c: Likewise.
27671         * soft-fp/fixunssfsi.c: Likewise.
27672         * soft-fp/fixunssfti.c: Likewise.
27673         * soft-fp/fixunstfdi.c: Likewise.
27674         * soft-fp/fixunstfsi.c: Likewise.
27675         * soft-fp/fixunstfti.c: Likewise.
27676         * soft-fp/floatdidf.c: Likewise.
27677         * soft-fp/floatdisf.c: Likewise.
27678         * soft-fp/floatditf.c: Likewise.
27679         * soft-fp/floatsidf.c: Likewise.
27680         * soft-fp/floatsisf.c: Likewise.
27681         * soft-fp/floatsitf.c: Likewise.
27682         * soft-fp/floattidf.c: Likewise.
27683         * soft-fp/floattisf.c: Likewise.
27684         * soft-fp/floattitf.c: Likewise.
27685         * soft-fp/floatundidf.c: Likewise.
27686         * soft-fp/floatundisf.c: Likewise.
27687         * soft-fp/floatunditf.c: Likewise.
27688         * soft-fp/floatunsidf.c: Likewise.
27689         * soft-fp/floatunsisf.c: Likewise.
27690         * soft-fp/floatunsitf.c: Likewise.
27691         * soft-fp/floatuntidf.c: Likewise.
27692         * soft-fp/floatuntisf.c: Likewise.
27693         * soft-fp/floatuntitf.c: Likewise.
27694         * soft-fp/fmadf4.c: Likewise.
27695         * soft-fp/fmasf4.c: Likewise.
27696         * soft-fp/fmatf4.c: Likewise.
27697         * soft-fp/gedf2.c: Likewise.
27698         * soft-fp/gesf2.c: Likewise.
27699         * soft-fp/getf2.c: Likewise.
27700         * soft-fp/ledf2.c: Likewise.
27701         * soft-fp/lesf2.c: Likewise.
27702         * soft-fp/letf2.c: Likewise.
27703         * soft-fp/muldf3.c: Likewise.
27704         * soft-fp/mulsf3.c: Likewise.
27705         * soft-fp/multf3.c: Likewise.
27706         * soft-fp/negdf2.c: Likewise.
27707         * soft-fp/negsf2.c: Likewise.
27708         * soft-fp/negtf2.c: Likewise.
27709         * soft-fp/op-1.h: Likewise.
27710         * soft-fp/op-2.h: Likewise.
27711         * soft-fp/op-4.h: Likewise.
27712         * soft-fp/op-8.h: Likewise.
27713         * soft-fp/op-common.h: Likewise.
27714         * soft-fp/quad.h: Likewise.
27715         * soft-fp/single.h: Likewise.
27716         * soft-fp/soft-fp.h: Likewise.
27717         * soft-fp/sqrtdf2.c: Likewise.
27718         * soft-fp/sqrtsf2.c: Likewise.
27719         * soft-fp/sqrttf2.c: Likewise.
27720         * soft-fp/subdf3.c: Likewise.
27721         * soft-fp/subsf3.c: Likewise.
27722         * soft-fp/subtf3.c: Likewise.
27723         * soft-fp/truncdfsf2.c: Likewise.
27724         * soft-fp/trunctfdf2.c: Likewise.
27725         * soft-fp/trunctfsf2.c: Likewise.
27726         * soft-fp/trunctfxf2.c: Likewise.
27727         * soft-fp/unorddf2.c: Likewise.
27728         * soft-fp/unordsf2.c: Likewise.
27729         * soft-fp/unordtf2.c: Likewise.
27731 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27733         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27734         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27736 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27738         * elf/dl-libc.c: Clear initfini list after freeing.
27740 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27742         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27743         * soft-fp/addsf3.c: Likewise.
27744         * soft-fp/addtf3.c: Likewise.
27745         * soft-fp/divdf3.c: Likewise.
27746         * soft-fp/divsf3.c: Likewise.
27747         * soft-fp/divtf3.c: Likewise.
27748         * soft-fp/double.h: Likewise.
27749         * soft-fp/eqdf2.c: Likewise.
27750         * soft-fp/eqsf2.c: Likewise.
27751         * soft-fp/eqtf2.c: Likewise.
27752         * soft-fp/extenddftf2.c: Likewise.
27753         * soft-fp/extended.h: Likewise.
27754         * soft-fp/extendsfdf2.c: Likewise.
27755         * soft-fp/extendsftf2.c: Likewise.
27756         * soft-fp/extendxftf2.c: Likewise.
27757         * soft-fp/fixdfdi.c: Likewise.
27758         * soft-fp/fixdfsi.c: Likewise.
27759         * soft-fp/fixdfti.c: Likewise.
27760         * soft-fp/fixsfdi.c: Likewise.
27761         * soft-fp/fixsfsi.c: Likewise.
27762         * soft-fp/fixsfti.c: Likewise.
27763         * soft-fp/fixtfdi.c: Likewise.
27764         * soft-fp/fixtfsi.c: Likewise.
27765         * soft-fp/fixtfti.c: Likewise.
27766         * soft-fp/fixunsdfdi.c: Likewise.
27767         * soft-fp/fixunsdfsi.c: Likewise.
27768         * soft-fp/fixunsdfti.c: Likewise.
27769         * soft-fp/fixunssfdi.c: Likewise.
27770         * soft-fp/fixunssfsi.c: Likewise.
27771         * soft-fp/fixunssfti.c: Likewise.
27772         * soft-fp/fixunstfdi.c: Likewise.
27773         * soft-fp/fixunstfsi.c: Likewise.
27774         * soft-fp/fixunstfti.c: Likewise.
27775         * soft-fp/floatdidf.c: Likewise.
27776         * soft-fp/floatdisf.c: Likewise.
27777         * soft-fp/floatditf.c: Likewise.
27778         * soft-fp/floatsidf.c: Likewise.
27779         * soft-fp/floatsisf.c: Likewise.
27780         * soft-fp/floatsitf.c: Likewise.
27781         * soft-fp/floattidf.c: Likewise.
27782         * soft-fp/floattisf.c: Likewise.
27783         * soft-fp/floattitf.c: Likewise.
27784         * soft-fp/floatundidf.c: Likewise.
27785         * soft-fp/floatundisf.c: Likewise.
27786         * soft-fp/floatunsidf.c: Likewise.
27787         * soft-fp/floatunsisf.c: Likewise.
27788         * soft-fp/floatuntidf.c: Likewise.
27789         * soft-fp/floatuntisf.c: Likewise.
27790         * soft-fp/floatuntitf.c: Likewise.
27791         * soft-fp/fmadf4.c: Likewise.
27792         * soft-fp/fmasf4.c: Likewise.
27793         * soft-fp/fmatf4.c: Likewise.
27794         * soft-fp/gedf2.c: Likewise.
27795         * soft-fp/gesf2.c: Likewise.
27796         * soft-fp/getf2.c: Likewise.
27797         * soft-fp/ledf2.c: Likewise.
27798         * soft-fp/lesf2.c: Likewise.
27799         * soft-fp/letf2.c: Likewise.
27800         * soft-fp/muldf3.c: Likewise.
27801         * soft-fp/mulsf3.c: Likewise.
27802         * soft-fp/multf3.c: Likewise.
27803         * soft-fp/negdf2.c: Likewise.
27804         * soft-fp/negsf2.c: Likewise.
27805         * soft-fp/negtf2.c: Likewise.
27806         * soft-fp/op-1.h: Likewise.
27807         * soft-fp/op-2.h: Likewise.
27808         * soft-fp/op-4.h: Likewise.
27809         * soft-fp/op-8.h: Likewise.
27810         * soft-fp/op-common.h: Likewise.
27811         * soft-fp/quad.h: Likewise.
27812         * soft-fp/single.h: Likewise.
27813         * soft-fp/soft-fp.h: Likewise.
27814         * soft-fp/sqrtdf2.c: Likewise.
27815         * soft-fp/sqrtsf2.c: Likewise.
27816         * soft-fp/sqrttf2.c: Likewise.
27817         * soft-fp/subdf3.c: Likewise.
27818         * soft-fp/subsf3.c: Likewise.
27819         * soft-fp/subtf3.c: Likewise.
27820         * soft-fp/truncdfsf2.c: Likewise.
27821         * soft-fp/trunctfdf2.c: Likewise.
27822         * soft-fp/trunctfsf2.c: Likewise.
27823         * soft-fp/trunctfxf2.c: Likewise.
27824         * soft-fp/unorddf2.c: Likewise.
27825         * soft-fp/unordsf2.c: Likewise.
27826         * soft-fp/unordtf2.c: Likewise.
27828 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27830         [BZ #15672]
27831         * misc/error.c (error_tail): Fix possible buffer overflow.
27833 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27835         [BZ #13028]
27836         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27837         address.
27839 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27841         [BZ #832]
27842         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27843         testing pipefail option.
27845 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27847         * soft-fp/double.h: Indent preprocessor directives inside #if.
27848         * soft-fp/extended.h: Likewise.
27849         * soft-fp/op-2.h: Likewise.
27850         * soft-fp/op-4.h: Likewise.
27851         * soft-fp/op-common.h: Likewise.
27852         * soft-fp/quad.h: Likewise.
27853         * soft-fp/single.h: Likewise.
27854         * soft-fp/soft-fp.h: Likewise.
27856 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27858         * iconv/iconv_prog.c: Fix typos.
27859         * stdio-common/psiginfo-data.h: Likewise.
27861 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27863         [BZ #15764]
27864         * locale/setlocale.c: Fix typo.
27866 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27868         [BZ #16036]
27869         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27870         signaling NaN arguments.
27871         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27872         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27874         [BZ #14910]
27875         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27876         unordered operands.
27877         * soft-fp/gesf2.c (__gesf2): Likewise.
27878         * soft-fp/getf2.c (__getf2): Likewise.
27879         * soft-fp/ledf2.c (__ledf2): Likewise.
27880         * soft-fp/lesf2.c (__lesf2): Likewise.
27881         * soft-fp/letf2.c (__letf2): Likewise.
27883         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27884         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27885         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27886         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27887         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27888         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27889         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27890         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27891         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27892         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27893         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27894         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27895         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27896         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27897         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27898         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27899         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27900         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27901         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27902         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27903         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27904         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27905         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27906         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27907         * soft-fp/floattidf.c (__floattidf): Likewise.
27908         * soft-fp/floattisf.c (__floattisf): Likewise.
27909         * soft-fp/floattitf.c (__floattitf): Likewise.
27910         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27911         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27912         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27913         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27914         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27915         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27916         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27917         * soft-fp/gesf2.c (__gesf2): Likewise.
27918         * soft-fp/getf2.c (__getf2): Likewise.
27919         * soft-fp/ledf2.c (__ledf2): Likewise.
27920         * soft-fp/lesf2.c (__lesf2): Likewise.
27921         * soft-fp/letf2.c (__letf2): Likewise.
27923         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27924         Undefine and redefine.
27925         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27926         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27927         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27928         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27929         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27930         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27931         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27932         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27933         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27934         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27935         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27936         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27937         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27938         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27939         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27941         [BZ #16032]
27942         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27943         without decrementing exponent if mantissa >= that for the
27944         denominator, not >.
27945         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27946         denominator, not >.  Decrement exponent in < case instead of
27947         incrementing in >= case.
27948         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27949         without decrementing exponent if mantissa >= that for the
27950         denominator, not >.
27952         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27953         computing saturated result for unsigned overflow.
27955 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27956             Jeff Law  <law@redhat.com>
27958         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27959         (atan2Mp): Add systemtap probe marker.
27960         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27961         (__ieee754_log): Add systemtap probe marker.
27962         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27963         (atanMp): Add systemtap probe marker.
27964         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27965         (tanMp): Add systemtap probe marker.
27966         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27967         (__slowexp): Add systemtap probe marker.
27968         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27969         (__slowpow): Add systemtap probe marker.
27970         * manual/probes.texi: Document probes.
27972 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27974         [BZ #15362]
27975         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27976         written.
27977         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27978         written.
27979         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27980         written to buffer but not flushed.
27981         * libio/iofwrite_u.c:  Likewise.
27982         * libio/iopadn.c:  Return bytes returned even if EOF was
27983         encountered.
27984         * libio/iowpadn.c:  Likewise.
27985         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27986         if _IO_padn does not write the whole buffer.
27987         [!COMPILE_WPRINTF] (PAD): Likewise.
27989 2013-10-10  David S. Miller  <davem@davemloft.net>
27991         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27992         directory block.
27994 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27996         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27997         instead of FSF address.
27998         * soft-fp/fixdfti.c: Likewise.
27999         * soft-fp/fixsfti.c: Likewise.
28000         * soft-fp/fixtfti.c: Likewise.
28001         * soft-fp/fixunsdfti.c: Likewise.
28002         * soft-fp/fixunssfti.c: Likewise.
28003         * soft-fp/fixunstfti.c: Likewise.
28004         * soft-fp/floattidf.c: Likewise.
28005         * soft-fp/floattisf.c: Likewise.
28006         * soft-fp/floattitf.c: Likewise.
28007         * soft-fp/floatuntidf.c: Likewise.
28008         * soft-fp/floatuntisf.c: Likewise.
28009         * soft-fp/floatuntitf.c: Likewise.
28010         * soft-fp/trunctfxf2.c: Likewise.
28012         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28013         * soft-fp/fixdfti.c: Likewise.
28014         * soft-fp/fixsfti.c: Likewise.
28015         * soft-fp/fixtfti.c: Likewise.
28016         * soft-fp/fixunsdfti.c: Likewise.
28017         * soft-fp/fixunssfti.c: Likewise.
28018         * soft-fp/fixunstfti.c: Likewise.
28019         * soft-fp/floattidf.c: Likewise.
28020         * soft-fp/floattisf.c: Likewise.
28021         * soft-fp/floattitf.c: Likewise.
28022         * soft-fp/floatuntidf.c: Likewise.
28023         * soft-fp/floatuntisf.c: Likewise.
28024         * soft-fp/floatuntitf.c: Likewise.
28025         * soft-fp/trunctfxf2.c: Likewise.
28027 2013-10-10  David S. Miller  <davem@davemloft.net>
28029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28031 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28033         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28034         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28035         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28036         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28037         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28038         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28039         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28042         for NaNs before doing comparisons on argument.
28043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28044         Likewise.
28046 2013-10-10  Will Newton  <will.newton@linaro.org>
28048         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28049         passed to _int_memalign does not overflow.
28051 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28053         * scripts/bench.pl: Add include-sources directive.
28054         * benchtests/README: Update documentation.
28056 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28058         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28059         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28060         instead of FP_INIT_ROUNDMODE.
28061         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28062         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28064         [BZ #16034]
28065         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28066         copy class of input value.
28067         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28068         not handle exceptions.
28069         * soft-fp/negsf2.c (__negsf2): Likewise.
28070         * soft-fp/negtf2.c (__negtf2): Likewise.
28071         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28073 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28075         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28076         semicolon.  From Linux kernel.
28078 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28080         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28082 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28084         [BZ #156]
28085         * manual/socket.texi: Added statement about buffer
28086         for gethostbyname2_r.
28088 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28090         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28091         Use .p2align directive instead, throughout.
28092         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28093         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28094         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28095         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28096         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28097         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28098         * sysdeps/x86_64/strchr.S: Likewise.
28099         * sysdeps/x86_64/strrchr.S: Likewise.
28101 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28103         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28105         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28107         * sysdeps/generic/math_private.h (__mpsin1): Remove
28108         declaration.
28109         (__mpcos1): Likewise.
28110         (__mpsin): New argument __range_reduce.
28111         (__mpcos): Likewise.
28112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28113         (slow): Use __mpsin and __mpcos.
28114         (slow1): Likewise.
28115         (slow2): Likewise.
28116         (sloww): Likewise.
28117         (sloww1): Likewise.
28118         (sloww2): Likewise.
28119         (bsloww): Likewise.
28120         (bsloww1): Likewise.
28121         (bsloww2): Likewise.
28122         (cslow2): Likewise.
28123         (csloww): Likewise.
28124         (csloww1): Likewise.
28125         (csloww2): Likewise.
28126         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28127         range_reduce.  Merge in __mpsin1.
28128         (__mpcos): Likewise.
28129         (__mpsin1): Remove.
28130         (__mpcos1): Likewise.
28132 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28134         * locale/loadlocale.c (_nl_intern_locale_data): Use
28135         LOCFILE_ALIGNED_P.
28136         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28137         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28138         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28139         obstack data is appropriately aligned.
28140         (obstack_int32_grow_fast): Likewise.
28141         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28142         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28143         (add_locale_uint32_array): Likewise.
28145 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28147         * benchtests/Makefile: Remove ARGLIST and RET variables.
28148         ($(objpfx)bench-%.c): Pass only function name to the script.
28149         * benchtests/README: Update documentation.
28150         * benchtests/acos-inputs: Add new directives.
28151         * benchtests/acosh-inputs: Likewise.
28152         * benchtests/asin-inputs: Likewise.
28153         * benchtests/asinh-inputs: Likewise.
28154         * benchtests/atan-inputs: Likewise.
28155         * benchtests/atanh-inputs: Likewise.
28156         * benchtests/cos-inputs: Likewise.
28157         * benchtests/cosh-inputs: Likewise.
28158         * benchtests/exp-inputs: Likewise.
28159         * benchtests/log-inputs: Likewise.
28160         * benchtests/pow-inputs: Likewise.
28161         * benchtests/rint-inputs: Likewise.
28162         * benchtests/sin-inputs: Likewise.
28163         * benchtests/sinh-inputs: Likewise.
28164         * benchtests/tan-inputs: Likewise.
28165         * benchtests/tanh-inputs: Likewise.
28166         * scripts/bench.pl: Add support for new directives.
28168 2013-10-07  Alan Modra  <amodra@gmail.com>
28170         * README: Fix careless merge.
28172 2013-10-05  Alan Modra  <amodra@gmail.com>
28174         * NEWS: Mention powerpc64le support and bugs fixed.
28175         * README: Both big-endian and little-endian powerpc64 supported.
28177 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28179         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28180         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28181         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28182         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28184 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28186         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28187         match prototype.
28189 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28191         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28192         Move -mhard-float appending from
28193         ports/sysdeps/powerpc/powerpc32/Makefile.
28194         [$(with-fp) = yes] (ASFLAGS): Likewise.
28195         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28196         * sysdeps/powerpc/nofpu: Move directory from
28197         ports/sysdeps/powerpc/nofpu.
28198         * sysdeps/powerpc/soft-fp: Move directory from
28199         ports/sysdeps/powerpc/soft-fp.
28200         * sysdeps/powerpc/powerpc32/405: Move directory from
28201         ports/sysdeps/powerpc/powerpc32/405.
28202         * sysdeps/powerpc/powerpc32/440: Move directory from
28203         ports/sysdeps/powerpc/powerpc32/440.
28204         * sysdeps/powerpc/powerpc32/464: Move directory from
28205         ports/sysdeps/powerpc/powerpc32/464.
28206         * sysdeps/powerpc/powerpc32/476: Move directory from
28207         ports/sysdeps/powerpc/powerpc32/476.
28208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28209         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28211         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28213         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28215         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28217         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28218         * README: Update for powerpc-*-linux-gnu software floating point
28219         support in libc.
28221         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28222         case to powerpc/powerpc32*.
28223         * sysdeps/unix/sysv/linux/configure: Regenerated.
28225         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28226         (_FPU_MASK_OM): Define as 0x04.
28227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28229         0x00c10080.
28230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28231         0x0000003c.
28232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28235         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28236         getcontext_e500.
28237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28238         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28239         setcontext_e500.
28240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28241         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28242         and setcontext_e500.
28244 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28246         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28248 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250         * manual/threads.texi (Default Thread Attributes): Fix typo.
28252 2013-10-04  Will Newton  <will.newton@linaro.org>
28254         * malloc/Makefile: Add tst-memalign.
28255         * malloc/tst-memalign.c: New file.
28257         * malloc/tst-posix_memalign.c: Add comments.
28258         (do_test): Add comments and call free on all potentially
28259         allocated pointers. Add space after cast.
28261         * malloc/tst-pvalloc.c: Add comments.
28262         (do_test): Add comments and call free on all potentially
28263         allocated pointers. Remove duplicate check for NULL pointer.
28264         Add space after cast.
28266         * malloc/tst-valloc.c: Add comments.
28267         (do_test): Add comments and call free on all potentially
28268         allocated pointers. Remove duplicate check for NULL pointer.
28269         Add space after cast.
28271 2013-10-04  Alan Modra  <amodra@gmail.com>
28273         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28274         Use stdint types in rather than __attribute__((mode())).
28275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28277 2013-10-04  Alan Modra  <amodra@gmail.com>
28279         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28280         Correct handling of unaligned relocs for little-endian.
28281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28283 2013-10-04  Alan Modra  <amodra@gmail.com>
28285         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28286         * configure: Regenerate.
28287         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28288         * shlib-versions: Likewise.
28290 2013-10-04  Alan Modra  <amodra@gmail.com>
28292         * string/tester.c (test_memrchr): Increment reported test cycle.
28294 2013-10-04  Alan Modra  <amodra@gmail.com>
28296         * string/test-memcpy.c (do_one_test): When reporting errors, print
28297         string address and don't overrun end of string.
28299 2013-10-04  Alan Modra  <amodra@gmail.com>
28301         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28302         insrdi.  Make better use of reg selection to speed exit slightly.
28303         Schedule entry path a little better.  Remove useless "are we done"
28304         checks on entry to main loop.  Handle wrapping around zero address.
28305         Correct main loop count.  Handle single left-over word from main
28306         loop inline rather than by using loop_small.  Remove extra word
28307         case in loop_small caused by wrong loop count.  Add little-endian
28308         support.
28309         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28311         cache hint.
28312         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28313         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28314         support.  Avoid rlwimi.
28315         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28317 2013-10-04  Alan Modra  <amodra@gmail.com>
28319         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28320         insrdi.  Formatting.
28321         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28322         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28323         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28324         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28325         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28326         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28328 2013-10-04  Alan Modra  <amodra@gmail.com>
28330         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28331         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28332         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28333         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28334         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28335         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28336         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28338         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28339         use of regs.  Use power7 mtocrf.  Tidy function tails.
28341 2013-10-04  Alan Modra  <amodra@gmail.com>
28343         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28344         Formatting.  Consistently use rXXX register defines or rN defines.
28345         Use early exit labels that avoid restoring unused non-volatile regs.
28346         Make cr field use more consistent with rWORDn compares.  Rename
28347         regs used as shift registers for unaligned loop, using rN defines
28348         for short lifetime/multiple use regs.
28349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28350         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28351         addi 1,1,64 to pop stack frame.  Simplify return value code.
28352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28354 2013-10-04  Alan Modra  <amodra@gmail.com>
28356         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28357         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28358         rather than rlwimi.
28359         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28360         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28361         little-endian support.  Correct typos.
28362         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28363         rather than rlwimi.
28364         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28365         in loop and entry code to keep "and." results.
28366         (strchr): Add little-endian support.  Comment.  Move cntlzd
28367         earlier in tail.
28368         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28370 2013-10-04  Alan Modra  <amodra@gmail.com>
28372         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28373         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28374         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28375         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28377 2013-10-04  Alan Modra  <amodra@gmail.com>
28379         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28380         (rTMP): Define as r11.
28381         (strcmp): Add little-endian support.  Optimise tail.
28382         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28383         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28384         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28385         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28386         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28387         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28388         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28390 2013-10-04  Alan Modra  <amodra@gmail.com>
28392         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28393         little-endian support.  Remove unnecessary "are we done" tests.
28394         Handle "s" wrapping around zero and extremely large "size".
28395         Correct main loop count.  Handle single left-over word from main
28396         loop inline rather than by using small_loop.  Correct comments.
28397         Delete "zero" tail, use "end_max" instead.
28398         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28400 2013-10-04  Alan Modra  <amodra@gmail.com>
28402         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28403         support.  Don't branch over align.
28404         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28405         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28406         support.  Rearrange tmp reg use to suit.  Comment.
28407         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28409 2013-10-04  Alan Modra  <amodra@gmail.com>
28411         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28413 2013-10-04  Alan Modra  <amodra@gmail.com>
28415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28416         conditional form of branch and link when obtaining pc.
28417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28419 2013-10-04  Alan Modra  <amodra@gmail.com>
28421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28422         HIWORD/LOWORD.
28423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28426 2013-10-04  Alan Modra  <amodra@gmail.com>
28428         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28429         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28430         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28431         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28432         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28433         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28434         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28436         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28437         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28439 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28440             Alistair Popple <alistair@ozlabs.au.ibm.com>
28441             Alan Modra <amodra@gmail.com>
28443         [BZ #15723]
28444         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28445         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28446         _dl_hwcap access for little-endian.
28447         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28448         destroy vmx regs when saving unaligned.
28449         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28450         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28451         destroy vmx regs when saving unaligned.
28453 2013-10-04  Alan Modra  <amodra@gmail.com>
28455         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28456         Don't use a union to pack hi/low value.
28458 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28460         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28461         for little-endian.
28462         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28463         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28464         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28465         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28466         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28468 2013-10-04  Alan Modra  <amodra@gmail.com>
28470         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28471         constants to usual value for .cst8 section, and remove redundant
28472         high address load.
28473         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28474         constant for 0x1p52.  Load little-endian words of double from
28475         correct stack offsets.
28477 2013-10-04  Alan Modra  <amodra@gmail.com>
28479         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28480         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28481         words of double from correct stack offsets.
28482         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28483         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28484         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28486         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28487         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28488         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28489         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28490         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28491         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28492         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28493         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28494         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28495         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28496         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28497         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28498         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28500 2013-10-04  Alan Modra  <amodra@gmail.com>
28502         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28503         64-bit int/double union.
28504         (_FPU_SETCW): Likewise.
28505         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28506         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28508 2013-10-04  Alan Modra  <amodra@gmail.com>
28510         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28511         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28513 2013-10-04  Alan Modra  <amodra@gmail.com>
28515         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28516         use vector int constants.
28517         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28519 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28521         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28522         array with long long.
28523         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28524         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28525         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28526         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28527         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28528         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28529         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28530         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28531         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28532         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28533         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28534         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28535         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28537 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28539         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28540         (__signbit): Likewise.  Correct for little-endian.
28541         (__signbitl): Call __signbit.
28542         (lrint): Correct for little-endian.
28543         (lrintf): Call lrint.
28545 2013-10-04  Alan Modra  <amodra@gmail.com>
28547         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28548         union 32-bit int array member with 64-bit int array.
28549         (t515, tm256): Double rather than long double.
28550         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28552 2013-10-04  Alan Modra  <amodra@gmail.com>
28554         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28555         Delete.
28556         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28557         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28558         version of math_ldbl.h.
28560 2013-10-04  Alan Modra  <amodra@gmail.com>
28562         [BZ #15734], [BZ #15735]
28563         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28564         all uses of ieee875 long double macros and unions.  Simplify test
28565         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28566         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28567         normalize after ldbl_extract_mantissa, and don't add hidden bit
28568         already handled.  Don't treat low word of ieee854 mantissa like
28569         low word of IBM long double and mask off bit when testing for
28570         zero.
28571         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28572         all uses of ieee875 long double macros and unions.  Simplify tests
28573         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28574         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28575         two1022, instead use their values.  Recognise that tests for large
28576         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28577         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28578         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28579         test for 0.0L and nan.  Correct negation.
28580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28581         ieee875 long double macros and unions.  Correct output for large
28582         magnitude x.  Correct absolute value calculation.
28583         (__erfcl): Likewise.
28584         * math/libm-test.inc: Add tests for errors discovered in IBM long
28585         double versions of fmodl, remainderl, erfl and erfcl.
28587 2013-10-04  Alan Modra  <amodra@gmail.com>
28589         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28590         all uses of ieee854 long double macros and unions.  Simplify tests
28591         for long doubles that are fully specified by the high double.
28592         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28593         Likewise.
28594         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28595         Remove dead code too.
28596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28597         (__ieee754_ynl): Likewise.
28598         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28601         Remove dead code too.
28602         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28603         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28606         Simplify.
28607         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28608         Simplify.
28609         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28612         Comment on variable precision.
28613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28615         Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28620         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28622 2013-10-04  Alan Modra  <amodra@gmail.com>
28624         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28625         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28626         all uses of ieee854 long double macros and unions.
28627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28633         Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28640         Simplify sign and nan test too.
28641         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28642         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28644         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28645         Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28648         Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28650         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28652         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28656 2013-10-04  Alan Modra  <amodra@gmail.com>
28658         * stdio-common/printf_size.c (__printf_size): Don't use
28659         union ieee854_long_double in fpnum union.
28660         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28661         signbit macro to retrieve sign from long double.
28662         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28663         retrieve sign from long double.
28664         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28665         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28667         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28668         * math/test-misc.c (main): Don't use union ieee854_long_double.
28670 2013-10-04  Alan Modra  <amodra@gmail.com>
28672         [BZ #15680]
28673         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28674         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28675         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28676         calculation.  Remove unnecessary test for denormal exponent.
28677         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28678         Correct handling of denormals.  Avoid undefined shift behaviour.
28679         Correct normalisation of low mantissa when low double is denormal.
28680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28681         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28682         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28683         Correct normalisation of low mantissa.  Test for overflow of high
28684         mantissa and normalise.
28685         (ldbl_nearbyint): Use more readable constant for two52.
28686         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28687         (__mpn_construct_long_double): Fix test for overflow of high
28688         mantissa and correct normalisation.  Avoid undefined shift.
28690 2013-10-04  Alan Modra  <amodra@gmail.com>
28692         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28693         (union ibm_extended_long_double): Define as an array of ieee754_double.
28694         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28695         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28696         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28697         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28698         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28699         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28700         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28701         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28702         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28703         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28704         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28706 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28708         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28709         page size instead of calling getpagesize.
28711         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28712         (LOCFILE_ALIGN_MASK): Likewise.
28713         (LOCFILE_ALIGN_UP): Likewise.
28714         (LOCFILE_ALIGNED_P): Likewise.
28715         * locale/programs/ld-collate.c (collate_output): Use the new
28716         macros instead of __alignof__ (int32_t).
28717         * locale/weight.h (findidx): Likewise.
28719 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28721         [BZ #431]
28722         * manual/string.texi: Fix strncat and wcsncat.
28724 2013-10-03  Brooks Moses  <bmoses@google.com>
28726         [BZ #15915]
28727         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28728         * Makerules: ...here, and adjust associated comments.
28730 2013-10-02  Will Newton  <will.newton@linaro.org>
28732         * malloc/Makefile: Add tst-pvalloc.
28733         * malloc/tst-pvalloc.c: New file.
28735 2013-10-02  Will Newton  <will.newton@linaro.org>
28737         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28738         improve test coverage.
28740 2013-10-02  Will Newton  <will.newton@linaro.org>
28742         * malloc/Makefile: Add tst-posix_memalign.
28743         * malloc/tst-posix_memalign.c: New file.
28745 2013-10-01  Eric Blake  <eblake@redhat.com>
28747         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28748         Use __THROWNL rather than __THROW on static functions.
28750 2013-09-30  Petr Machata  <pmachata@redhat.com>
28752         * elf/elf.h (R_AARCH64_ABS16): New macro.
28753         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28754         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28755         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28756         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28757         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28758         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28759         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28760         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28761         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28762         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28763         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28764         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28765         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28766         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28767         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28768         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28769         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28770         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28771         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28772         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28773         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28774         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28775         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28776         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28777         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28778         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28779         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28780         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28781         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28782         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28783         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28784         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28785         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28786         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28787         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28788         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28789         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28790         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28791         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28792         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28793         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28794         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28795         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28796         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28797         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28798         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28799         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28800         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28801         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28802         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28803         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28804         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28805         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28806         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28807         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28808         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28809         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28810         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28811         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28812         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28813         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28814         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28815         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28816         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28817         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28818         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28819         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28820         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28821         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28822         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28823         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28824         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28825         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28826         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28827         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28828         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28829         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28830         (R_AARCH64_TLSDESC_LDR): Likewise.
28831         (R_AARCH64_TLSDESC_ADD): Likewise.
28832         (R_AARCH64_TLSDESC_CALL): Likewise.
28834 2013-09-30  Andreas Schwab  <schwab@suse.de>
28836         [BZ #15048]
28837         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28838         the nss database lookup.
28839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28842 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28844         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28846 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28848         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28849         ${Bash-specific parameter/pattern/string} parameter expansion.
28850         * sysdeps/unix/make-syscalls.sh: Likewise.
28852 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28854         * sysdeps/sh/stackguard-macros.h: New file.
28856 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28860         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28861         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28862         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28863         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28865 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28867         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28868         Fix thread ID register.
28870 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28872         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28873         [POSIX || UNIX98]: Require rather than permitting all symbols from
28874         <time.h>.
28875         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28876         element of struct sched_param.
28877         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28878         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28879         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28880         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28881         constant.
28883 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28885         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28886         argument calculation.
28888 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28890         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28891         Expect macro.
28892         [POSIX] (pthread_attr_t): Do not require type.
28893         [POSIX] (pthread_cond_t): Likewise.
28894         [POSIX] (pthread_condattr_t): Likewise.
28895         [POSIX] (pthread_key_t): Likewise.
28896         [POSIX] (pthread_mutex_t): Likewise.
28897         [POSIX] (pthread_mutexattr_t): Likewise.
28898         [POSIX] (pthread_once_t): Likewise.
28899         [POSIX] (pthread_t): Likewise.
28900         [POSIX-based standards] (pthread_atfork): Expect function.
28902 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28903             Richard Sandiford  <richard@codesourcery.com>
28905         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28906         (swap_endianness_p): New extern variable.
28907         (set_big_endian): New inline function.
28908         (maybe_swap_uint32): Likewise.
28909         (maybe_swap_uint32_array): Likewise.
28910         (maybe_swap_uint32_obstack): Likewise.
28911         * locale/programs/locfile.c: Include <stdbool.h>.
28912         (swap_endianness_p): New variable.
28913         (add_locale_uint32): Call maybe_swap_uint32.
28914         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28915         (write_locale_data): Call maybe_swap_uint32_array.
28916         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28917         maybe_swap_uint32.
28918         (obstack_int32_grow_fast): Likewise.
28919         (output_weightwc): Call maybe_swap_uint32_obstack.
28920         (collate_output): Likewise.
28921         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28922         (OPT_LITTLE_ENDIAN): Likewise.
28923         (options): Add --little-endian and --big-endian options.
28924         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28925         * locale/programs/locarchive.c: Include "locfile.h".
28926         (GET): New macro.
28927         (SET): Likewise.
28928         (INC): Likewise.
28929         (create_archive): Use the new macros to access fields of
28930         structures directly mapped from or written to locale archives.
28931         (oldlocrecentcmp): Likewise.
28932         (enlarge_archive): Likewise.
28933         (insert_name): Likewise.
28934         (add_alias): Likewise.
28935         (add_locale): Likewise.
28936         (delete_locales_from_archive): Likewise.
28937         (show_archive_content): Likewise.
28938         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28939         locale data.
28941 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28943         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28944         http://www.gnu.org/doc/freemanuals.texi.
28945         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28947 2013-09-24  Will Newton  <will.newton@linaro.org>
28949         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28950         macro.
28952 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28954         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28955         unsigned char.
28957 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28959         * manual/threads.texi (POSIX Threads): Fix a typo.
28961 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28963         [BZ #14547]
28964         * string/tst-strcoll-overflow.c: New test case.
28965         * string/Makefile (xtests): Add tst-strcoll-overflow.
28966         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28967         cache if string sizes may cause integer overflow.
28969         [BZ #14547]
28970         * string/strcoll_l.c (coll_seq): New members rule, idx,
28971         save_idx and back_us.
28972         (get_next_seq_nocache): New function.
28973         (do_compare_nocache): New function.
28974         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28975         when malloc fails.
28977 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28979         [BZ #15754]
28980         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28981         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28982         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28984         [BZ #15754]
28985         * elf/Makefile (tests): Add tst-ptrguard1.
28986         (tests-static): Add tst-ptrguard1-static.
28987         (tst-ptrguard1-ARGS): Define.
28988         (tst-ptrguard1-static-ARGS): Define.
28989         * elf/tst-ptrguard1.c: New file.
28990         * elf/tst-ptrguard1-static.c: New file.
28991         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28992         * sysdeps/i386/stackguard-macros.h: Likewise.
28993         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28994         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28995         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28996         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28997         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28998         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29000 2013-09-23  Hector Marco  <hecmargi@upv.es>
29001             Ismael Ripoll  <iripoll@disca.upv.es>
29002             Carlos O'Donell  <carlos@redhat.com>
29004         [BZ #15754]
29005         * sysdeps/generic/stackguard-macros.h: Define
29006         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29007         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29008         Define __pointer_chk_guard_local.
29009         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29010         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29012 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29014         [BZ #15859]
29015         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29017 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29019         * include/string.h (__ffs): Declare as hidden.
29020         * string/ffs.c (__ffs): Define as hidden.
29021         * sysdeps/i386/ffs.c (__ffs): Likewise.
29022         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29023         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29024         * sysdeps/s390/ffs.c (__ffs): Likewise.
29025         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29027 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29029         * NEWS: Mention malloc probes.
29031         * malloc/arena.c (new_heap): New memory_heap_new probe.
29032         (grow_heap): New memory_heap_more probe.
29033         (shrink_heap): New memory_heap_less probe.
29034         (heap_trim): New memory_heap_free probe.
29035         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29036         (systrim): New memory_sbrk_less probe.
29037         * manual/probes.texi: Document them.
29039         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29040         * manual/probes.texi: Document it.
29042         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29043         (__libc_realloc): Add memory_realloc_retry probe.
29044         (__libc_memalign): Add memory_memalign_retry probe.
29045         (__libc_valloc): Add memory_valloc_retry probe.
29046         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29047         (__libc_calloc): Add memory_calloc_retry probe.
29048         * manual/probes.texi: Document them.
29050         * malloc/arena.c (get_free_list): Add probe
29051         memory_arena_reuse_free_list.
29052         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29053         and memory_arena_reuse.
29054         (arena_get2) [!PER_THREAD]: Likewise.
29055         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29056         memory_arena_reuse_realloc.
29057         * manual/probes.texi: Document them.
29059         * malloc/malloc.c (__libc_free): Add
29060         memory_mallopt_free_dyn_thresholds probe.
29061         (__libc_mallopt): Add multiple memory_mallopt probes.
29062         * manual/probes.texi: Document them.
29064         * malloc/malloc.c: Include stap-probe.h.
29065         (__libc_mallopt): Add memory_mallopt probe.
29066         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29067         * manual/probes.texi: New.
29068         * manual/Makefile (chapters): Add probes.
29069         * manual/threads.texi: Set next node.
29071 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29073         [BZ #15963, #13985]
29074         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29075         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29076         Add `Chinese' to `nan' entry name.
29078 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29080         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29081         (POLYNOMIAL): Likewise.
29082         (TAYLOR_SINCOS): Likewise.
29083         (TAYLOR_SLOW): Likewise.
29084         (__sin): Use TAYLOR_SINCOS.
29085         (__cos): Likewise.
29086         (slow): Use TAYLOR_SLOW.
29087         (sloww): Likewise.
29088         (bsloww): Likewise.
29089         (csloww): Likewise.
29091 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29093         * stdlib/strtod_l.c: Fix buffer overrun.
29095 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29097         * benchtests/Makefile (bench): Add sincos.
29098         * benchtests/bench-sincos.c: New file.
29100         * math/libm-test.inc (cos_test_data): New test inputs.
29101         (sin_test_data): Likewise.
29103         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29104         macro.
29105         (__sin): Use it.
29106         (__cos): Likewise.
29107         (slow1): Likewise.
29108         (slow2): Likewise.
29109         (sloww1): Likewise.
29110         (sloww2): Likewise.
29111         (bsloww1): Likewise.
29112         (bsloww2): Likewise.
29113         (cslow2): Likewise.
29114         (csloww1): Likewise.
29115         (csloww2): Likewise.
29117         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29118         function.
29119         (__sin): Use it.
29120         (__cos): Likewise.
29122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29123         gotos.
29124         (__cos): Likewise.
29126 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29128         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29129         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29130         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29131         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29132         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29133         * elf/cache.c (print_entry): Handle the new cache flags.
29135 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29136             Aldy Hernandez  <aldyh@redhat.com>
29138         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29139         Change condition to [_SOFT_FLOAT].
29140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29152         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29155         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29156         declaration.
29158 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29160         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29161         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29162         (__longjmp): Use LOAD_GP to load saved GPRs.
29163         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29164         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29165         (__sigsetjmp): Use SAVE_GP to save GPRs.
29167         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29168         Do not append -msoft-float.
29169         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29171 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29173         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29175 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29177         [BZ #15966]
29178         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29179         (_FPU_GETCW): Use initial "__" on variable and field names but not
29180         on macro parameter name.
29181         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29182         parentheses around reference to macro parameter.
29184 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29186         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29187         prototype.
29188         (ctype_startup): Use uint32_t in cast and sizeof for
29189         ctype->charnames.
29191 2013-09-11  Jia Liu  <proljc@gmail.com>
29193         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29194         __daddr_t_defined.
29195         [__FreeBSD__]: Likewise.
29197 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29200         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29201         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29202         (strchr): Remove __strchr_sse42 ifunc selection.
29203         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29204         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29206 2013-09-11  Will Newton  <will.newton@linaro.org>
29208         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29209         parameter to RES. Remove hardcoded 1000 value.
29210         * benchtests/bench-skeleton.c (main): Pass RES parameter
29211         to TIMING_INIT and multiply result by 1000.
29213 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29217 2013-09-11  Andreas Schwab  <schwab@suse.de>
29219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29220         if not defined.
29221         (O_TMPFILE) [__USE_GNU]: Define.
29222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29223         Define.
29225 2013-09-11  Will Newton  <will.newton@linaro.org>
29227         [BZ #15857]
29228         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29229         does not overflow.
29231 2013-09-11  Will Newton  <will.newton@linaro.org>
29233         [BZ #15856]
29234         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29235         does not overflow.
29237 2013-09-11  Will Newton  <will.newton@linaro.org>
29239         [BZ #15855]
29240         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29241         does not overflow.
29243 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29245         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29246         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29247         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29248         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29249         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29251 2013-09-10  Allan McRae  <allan@archlinux.org>
29253         [BZ #15748]
29254         * manual/arith.texi (Parsing of Floats): Clarify
29255         cross-reference.
29257         [BZ #15849]
29258         * manual/install.texi (Running make install): Mention
29259         --enable-pt-chown.
29260         * INSTALL: Regenerated.
29262 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29264         * csu/init-first.c (_init): Remove the !SHARED condition around
29265         FPU control word initialization.
29266         * elf/dl-support.c (_dl_fpu_control): New variable.
29267         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29268         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29269         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29270         * math/test-fpucw-static.c: New file.
29271         * math/test-fpucw-ieee.c: New file.
29272         * math/test-fpucw-ieee-static.c: New file.
29273         * math/Makefile (tests): Add `test-fpucw-ieee' and
29274         `$(tests-static)'.
29275         (tests-static): New variable.
29276         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29277         dependency to...
29278         [($(build-shared),yes)]
29279         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29280         ... this.
29281         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29282         New dependency.
29284 2013-09-09  Allan McRae  <allan@archlinux.org>
29286         [BZ #15939]
29287         * manual/string.texi (Collation Functions): Fix typo in
29288         strcoll example.
29289         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29291         [BZ #15893]
29292         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29294         [BZ #15892]
29295         * libio/memstream.c (open_memstream): Fix memory leak.
29296         * libio/wmemstream.c (open_wmemstream): Likewise.
29298         [BZ #15895]
29299         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29301 2013-09-09  Will Newton  <will.newton@linaro.org>
29303         * malloc/Makefile: Add tst-realloc to tests.
29304         * malloc/tst-realloc.c: New file.
29306 2013-09-09  Allan McRae  <allan@archlinux.org>
29308         [BZ #15844]
29309         * COPYING: Update from GNU website to fix FSF address.
29310         * COPYING.LIB: Likewise.
29312 2013-09-06  David S. Miller  <davem@davemloft.net>
29314         * po/zh_TW.po: Update Chinese (traditional) translation from
29315         translation project.
29317 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29318             Joseph Myers  <joseph@codesourcery.com>
29320         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29321         "localeinfo.h".
29322         (obstack_chunk_alloc): New macro.
29323         (obstack_chunk_free): Likewise.
29324         (record_offset): New function.
29325         (init_locale_data): Likewise.
29326         (align_locale_data): Likewise.
29327         (add_locale_empty): Likewise.
29328         (add_locale_raw_data): Likewise.
29329         (add_locale_raw_obstack): Likewise.
29330         (add_locale_string): Likewise.
29331         (add_locale_wstring): Likewise.
29332         (add_locale_uint32): Likewise.
29333         (add_locale_uint32_array): Likewise.
29334         (add_locale_char): Likewise.
29335         (start_locale_structure): Likewise.
29336         (end_locale_structure): Likewise.
29337         (start_locale_prelude): Likewise.
29338         (end_locale_prelude): Likewise.
29339         (write_locale_data): Take locale_file structure rather than an
29340         iovec.
29341         * locale/programs/locfile.h: Include "obstack.h".
29342         (struct locale_file): Change to store locale file contents instead
29343         of header.
29344         (init_locale_data): New prototype.
29345         (align_locale_data): Likewise.
29346         (add_locale_empty): Likewise.
29347         (add_locale_raw_data): Likewise.
29348         (add_locale_raw_obstack): Likewise.
29349         (add_locale_string): Likewise.
29350         (add_locale_wstring): Likewise.
29351         (add_locale_uint32): Likewise.
29352         (add_locale_uint32_array): Likewise.
29353         (add_locale_char): Likewise.
29354         (start_locale_structure): Likewise.
29355         (end_locale_structure): Likewise.
29356         (start_locale_prelude): Likewise.
29357         (end_locale_prelude): Likewise.
29358         (write_locale_data): Update prototype.
29359         * locale/programs/3level.h (struct TABLE): Remove result field.
29360         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29361         Use new locale_file interface.
29362         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29363         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29364         * locale/programs/ld-address.c (address_output): Use new
29365         locale_file interface.
29366         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29367         NO_ADD_LOCALE.
29368         (collate_finish): Don't call collseq_table_finalize.
29369         (collate_output): Use new locale_file interface.
29370         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29371         in file.
29372         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29373         (TABLE): Move defines earlier in file.
29374         (ELEMENT): Likewise.
29375         (DEFAULT): Likewise.
29376         (wctrans_table_add): Move macro and inline function earlier in
29377         file.
29378         (struct wctype_table): Move type earlier in file.
29379         (add_locale_wctype_table): New static prototype.
29380         (struct locale_ctype_t): Use logical types instead of struct iovec
29381         pointers for members.
29382         (ctype_output): Use new locale_file interface.
29383         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29384         new locale_file interface.
29385         (allocate_arrays): Update for use of new locale_file interface.
29386         * locale/programs/ld-identification.c (identification_output): Use
29387         new locale_file interface.
29388         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29389         * locale/programs/ld-messages.c (messages_output): Likewise.
29390         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29391         * locale/programs/ld-name.c (name_output): Likewise.
29392         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29393         * locale/programs/ld-paper.c (paper_output): Likewise.
29394         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29395         * locale/programs/ld-time.c (time_output): Likewise.
29397 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29399         * benchtests/Makefile: Add memrchr benchmark.
29400         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29401         benchmark as memrchr.
29402         * benchtests/bench-memrchr-ifunc.c: New file.
29403         * benchtests/bench-memrchr.c: New file.
29405 2013-09-06   Will Newton  <will.newton@linaro.org>
29407         * benchtests/Makefile (string-bench): Add memcpy.
29409 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29410             Cong Wang  <amwang@redhat.com>
29412         [BZ #15850]
29413         * sysdeps/unix/sysv/linux/bits/in.h
29414         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29415         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29416         before __USE_KERNEL_IPV6_DEFS uses.
29417         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29418         IPPROTO_BEETPH.
29419         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29420         sockaddr_in6, or ipv6_mreq.
29422 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29424         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29425         memory access for final bytes in some large inputs.
29426         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29428 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29430         * string/test-memrchr.c: New file.
29431         * string/test-memrchr-ifunc.c: New file.
29432         * string/Makefile: Add new memrchr testcase.
29434 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29436         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29437         fanotify_init returns EPERM.
29439 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29441         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29442         errors.
29443         (top level): Treat second token from macro or constant entries for
29444         allowed headers as allowed.
29445         * include/complex.h: Condition internal declarations on
29446         [!_ISOMAC].
29447         * include/fenv.h: Condition include of <stdbool.h> and internal
29448         declarations on [!_ISOMAC].
29450 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29452         [BZ #15923]
29453         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29455 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29457         * configure.in (--enable-versioning): Remove configure option.
29458         (libc_cv_asm_symver_directive): Remove configure test.
29459         (libc_cv_ld_version_script_option): Likewise.
29460         (VERSIONING): Remove variable and AC_SUBST.
29461         (DO_VERSIONING): Remove AC_DEFINE.
29462         * configure: Regenerated.
29463         * config.h.in (DO_VERSIONING): Remove macro.
29464         * Makerules [$(versioning) = yes]: Change conditionals to
29465         [$(build-shared) = yes].
29466         * config.make.in (versioning): Remove variable.
29467         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29468         [$(build-shared) = yes].
29469         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29470         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29471         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29472         [$(build-shared) = yes].
29473         * extra-lib.mk [$(versioning) = yes]: Likewise.
29474         * hurd/Makefile [$(versioning) = yes]: Likewise.
29475         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29476         [SHARED].
29477         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29478         [SHARED].
29479         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29480         [SHARED && !NO_HIDDEN].
29481         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29482         [SHARED].
29483         [SHARED && DO_VERSIONING]: Likewise..
29484         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29485         [$(build-shared) = yes].
29486         * manual/install.texi (--disable-versioning): Remove
29487         documentation.
29488         * INSTALL: Regenerated.
29489         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29490         to [SHARED].
29491         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29492         [$(build-shared) = yes].
29493         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29494         * sysdeps/i386/i686/multiarch/strstr-c.c
29495         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29496         [SHARED && !NO_HIDDEN].
29497         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29498         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29499         * sysdeps/powerpc/powerpc32/dl-machine.c
29500         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29501         * sysdeps/powerpc/powerpc32/sysdep.h
29502         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29503         to [SHARED && PIC && !NO_HIDDEN].
29504         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29505         conditional to [SHARED].
29507 2013-09-04   Will Newton  <will.newton@linaro.org>
29509         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29510         * benchtests/bench-string.h: Include bench-timing.h instead
29511         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29512         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29513         call to HP_TIMING_DIFF_INIT.
29514         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29515         instead of hp-timing.h macros.
29516         * benchtests/bench-memchr.c: Likewise.
29517         * benchtests/bench-memcmp.c: Likewise.
29518         * benchtests/bench-memcpy.c: Likewise.
29519         * benchtests/bench-memmem.c: Likewise.
29520         * benchtests/bench-memmove.c: Likewise.
29521         * benchtests/bench-memset.c: Likewise.
29522         * benchtests/bench-rawmemchr.c: Likewise.
29523         * benchtests/bench-strcasecmp.c: Likewise.
29524         * benchtests/bench-strcasestr.c: Likewise.
29525         * benchtests/bench-strcat.c: Likewise.
29526         * benchtests/bench-strchr.c: Likewise.
29527         * benchtests/bench-strcmp.c: Likewise.
29528         * benchtests/bench-strcpy.c: Likewise.
29529         * benchtests/bench-strcpy_chk.c: Likewise.
29530         * benchtests/bench-strlen.c: Likewise.
29531         * benchtests/bench-strncasecmp.c: Likewise.
29532         * benchtests/bench-strncat.c: Likewise.
29533         * benchtests/bench-strncmp.c: Likewise.
29534         * benchtests/bench-strncpy.c: Likewise.
29535         * benchtests/bench-strnlen.c: Likewise.
29536         * benchtests/bench-strpbrk.c: Likewise.
29537         * benchtests/bench-strrchr.c: Likewise.
29538         * benchtests/bench-strspn.c: Likewise.
29539         * benchtests/bench-strstr.c: Likewise.
29541 2013-09-04  Will Newton  <will.newton@linaro.org>
29543         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29545 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29547         [BZ #15427]
29548         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29549         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29550         * math/libm-test.inc (lgamma_test_data): Add more tests.
29551         * sysdeps/i386/fpu/libm-test-ulps: Update.
29552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29556         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29558         Add ifunc.
29559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29560         Add strcmp-sse2-unaligned
29561         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29563 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29565         * Versions.def (libc): Add GLIBC_2.19.
29567 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29569         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29570         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29572 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29574         [BZ #14155]
29575         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29576         intermediate calculations in recurrence.
29577         (__ieee754_ynf): Likewise.
29578         * math/libm-test.inc (jn_test_data): Do not allow spurious
29579         underflow exception.  Add more tests.
29580         (yn_test_data): Add more tests.
29581         * sysdeps/i386/fpu/libm-test-ulps: Update.
29582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29584 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29586         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29588 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29590         * csu/init-first.c: Fix then/than typos.
29591         * locale/programs/ld-collate.c: Likewise.
29592         * locale/programs/linereader.h: Likewise.
29593         * manual/charset.texi: Likewise.
29594         * manual/filesys.texi: Likewise.
29595         * manual/stdio.texi: Likewise.
29596         * manual/string.texi: Likewise.
29597         * stdlib/fmtmsg.c: Likewise.
29598         * sysdeps/i386/stpncpy.S: Likewise.
29599         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29600         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29601         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29602         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29604 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29606         * elf/dl-open.c: Fix typos.
29607         * iconvdata/gbbig5.c: Likewise.
29608         * iconvdata/iso-2022-jp.c: Likewise.
29609         * iconv/gconv_int.h: Likewise.
29610         * iconv/loop.c: Likewise.
29611         * nis/rpcsvc/nis.h: Likewise.
29612         * resolv/ns_name.c: Likewise.
29613         * stdio-common/vfscanf.c: Likewise.
29614         * streams/stropts.h: Likewise.
29615         * sunrpc/rpc_thread.c: Likewise.
29616         * sysdeps/i386/strpbrk.S: Likewise.
29617         * sysdeps/ieee754/k_standard.c: Likewise.
29618         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29619         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29620         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29621         * sysdeps/mach/hurd/profil.c: Likewise.
29622         * sysdeps/s390/dl-procinfo.h: Likewise.
29623         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29624         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29625         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29626         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29627         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29629 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29631         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29634 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29636         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29637         aix specific files.
29638         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29639         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29640         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29641         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29642         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29643         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29644         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29645         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29647 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29648             Roland McGrath  <roland@hack.frob.com>
29650         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29651         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29653 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29655         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29656         __executable_start symbol instead of _start.
29658 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29660         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29661         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29662         Move macros to...
29663         * sysdeps/gnu/ldsodefs.h: ... this new file.
29665         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29666         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29667         instead of ELFOSABI_LINUX.
29669         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29670         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29671         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29672         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29673         Likewise.
29674         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29675         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29676         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29677         Likewise.
29678         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29679         (ibm_extended_long_double): Add ieee_nan member.
29680         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29681         (do_test): New function.
29683         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29684         TEST_TRUNC.
29685         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29686         functions, renamed from truncdfsf_test, trunctfsf_test,
29687         trunctfdf_test.
29688         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29689         functions.
29690         (do_test): Run all these.
29692 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29694         * argp/argp-help.c: Fix typos.
29695         * argp/argp-parse.c: Likewise.
29696         * debug/backtracesyms.c: Likewise.
29697         * elf/elf.h: Likewise.
29698         * malloc/malloc.c: Likewise.
29699         * nis/nis_print.c: Likewise.
29700         * resolv/res_comp.c: Likewise.
29701         * stdlib/stdlib.h: Likewise.
29702         * sunrpc/clnt_tcp.c: Likewise.
29703         * sunrpc/clnt_udp.c: Likewise.
29704         * sunrpc/clnt_unix.c: Likewise.
29705         * sysdeps/unix/bsd/ptsname.c: Likewise.
29706         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29707         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29709         Likewise.
29710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29711         Likewise.
29712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29713         Likewise.
29714         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29716 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29718         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29721 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29723         [BZ #15897]
29724         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29725         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29726         ($(objpfx)bug-dl-leaf): New rule.
29727         ($(objpfx)bug-dl-leaf.so): Likewise.
29728         ($(objpfx)bug-dl-leaf.out): Likewise.
29729         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29730         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29731         * dlfcn/bug-dl-leaf.c: New test.
29732         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29733         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29734         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29735         (dlclose): Likewise.
29736         (dlmopen): Likewise.
29738 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29740         * include/netdb.h [!_ISOMAC]:
29741         Don't include <tls.h>.
29742         (h_errno, __libc_h_errno): Move declaration and macros out of
29743         [_LIBC_REENTRANT].
29745         * include/resolv.h [_RESOLV_H_]:
29746         Don't include <tls.h>.
29747         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29748         * resolv/res_libc.c: Don't include <tls.h>.
29749         (_res): Use __attribute__ ((nocommon)) in place of
29750         __attribute__ ((section (".bss"))).
29752         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29753         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29755         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29757         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29758         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29760         * resolv/res_mkquery.c: Include <sys/time.h>.
29762         * inet/ifreq.c: Moved to ...
29763         * sysdeps/unix/ifreq.c: ... here.
29764         * inet/ifreq.c: New file, true stub version.
29766         * socket/sa_len.c: New file.
29767         * socket/Makefile (aux): Add it.
29768         * sysdeps/unix/sysv/linux/Makefile
29769         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29770         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29771         and #include <socket/sa_len.c>.
29772         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29773         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29775         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29776         * bits/socket.h: ... here.
29778         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29779         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29780         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29782 2013-08-27  Andreas Schwab  <schwab@suse.de>
29784         [BZ #15736]
29785         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29786         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29787         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29788         * string/test-strcasecmp.c (test_main): Run tests in several
29789         locales.
29790         * string/test-strncasecmp.c (test_main): Likewise.
29792         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29793         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29794         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29795         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29796         (__strncasecmp_ssse3) [PIC]: Likewise.
29798 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29800         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29802         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29803         instead of explicitly declaring xdecrypt.
29804         * nis/nss_nis/nis-publickey.c: Likewise.
29806 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29808         [BZ #15890]
29809         * nscd/aicache.c: Include res_hconf.h.
29810         (addhstaiX): Initialize res_hconf.
29812 2013-08-26  Andreas Schwab  <schwab@suse.de>
29814         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29815         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29817 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * nscd/aicache.c (addhstaiX): Fix indentation.
29821 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29823         * configure.ac: Quote $build_pt_chown test.
29824         * configure: Regenerated.
29826 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29828         [BZ #15532]
29829         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29830         * math/s_cexpf.c (__cexpf): Likewise.
29831         * math/s_cexpl.c (__cexpl): Likewise.
29832         * math/libm-test.inc (cexp_test_data): Correct expected return
29833         value for NaN + i0.  Add another test.
29835 2013-08-22  David S. Miller  <davem@davemloft.net>
29837         * po/ca.po: Update Catalan translation from translation project.
29838         * po/uk.po: Add Ukrainian translations from translation project.
29840 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29842         [BZ #15797]
29843         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29844         is infinite, not alongside NaN test.
29845         * math/s_fdimf.c (__fdimf): Likewise.
29846         * math/s_fdiml.c (__fdiml): Likewise.
29847         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29848         errno is unchanged.
29850 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29852         * argp/argp-help.c: Fix typos.
29853         * crypt/speeds.c: Likewise.
29854         * csu/check_fds.c: Likewise.
29855         * elf/dl-load.c: Likewise.
29856         * elf/dl-open.c: Likewise.
29857         * elf/reldep3.c: Likewise.
29858         * elf/reldep.c: Likewise.
29859         * elf/sprof.c: Likewise.
29860         * iconv/iconv_charmap.c: Likewise.
29861         * iconv/skeleton.c: Likewise.
29862         * iconv/strtab.c: Likewise.
29863         * io/lockf64.c: Likewise.
29864         * libio/libioP.h: Likewise.
29865         * resolv/gai_notify.c: Likewise.
29866         * resolv/ns_name.c: Likewise.
29867         * resolv/ns_samedomain.c: Likewise.
29868         * resolv/res_send.c: Likewise.
29869         * stdlib/random.c: Likewise.
29870         * sunrpc/rpc/xdr.h: Likewise.
29871         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29872         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29873         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29874         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29875         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29876         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29878         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29879         * sysdeps/mach/hurd/check_fds.c: Likewise.
29880         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29881         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29882         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29883         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29885         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29886         * sysdeps/pthread/aio_notify.c: Likewise.
29887         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29888         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29889         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29890         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29891         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29893 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29895         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29896         version if bit_Slow_SSE4_2 is set.
29897         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29898         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29900 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29902         [BZ #15867]
29903         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29904         trampoline stack frame information.
29905         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29906         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29907         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29908         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29909         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29910         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29911         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29912         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29913         sa_flags value.
29914         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29915         interrupting a syscall and set with option SA_SIGINFO.
29917 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29919         [BZ #15531]
29920         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29921         argument is infinite.
29922         * math/s_cprojf.c (__cprojf): Likewise.
29923         * math/s_cprojl.c (__cprojl): Likewise.
29924         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29925         * math/libm-test.inc (cproj_test_data): Add more tests.
29927         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29929         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29930         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29931         size.  Use __ffs to determine corresponding shift.
29933 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29934             Roland McGrath  <roland@hack.frob.com>
29936         * Makefile (INSTALL): Remove trailing blank lines from output of
29937         makeinfo.
29939 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29941         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29942         Align 32 bit compat elf_greg to 8 bytes.
29944 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29946         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29948 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29950         * string/strcoll_l.c (coll_seq): New structure.
29951         (get_next_seq_cached): New function.
29952         (get_next_seq): New function.
29953         (do_compare): New function.
29954         (STRCOLL): Use GNU style definition.  Simplify implementation
29955         by using get_next_seq, get_next_seq_cached and do_compare.
29957 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29959         [BZ #14699]
29960         CVE-2013-4237
29961         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29962         member.
29963         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29964         member.
29965         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29966         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29967         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29968         conditional.
29969         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29970         GETDENTS_64BIT_ALIGNED.
29971         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29972         * manual/filesys.texi (Reading/Closing Directory): Document
29973         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29974         strongly.
29975         * manual/conf.texi (Limits for Files): Add portability note to
29976         NAME_MAX, PATH_MAX.
29977         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29979 2013-08-13  Andreas Schwab  <schwab@suse.de>
29981         [BZ #15749]
29982         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29983         of fabs.
29984         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29985         LDBL_MAX_EXP >= 16384]: Add tests for it.
29987 2013-08-12  David S. Miller  <davem@davemloft.net>
29989         * version.h (RELEASE): Set to "development".
29990         (VERSION): Set to "2.18.90".
29991         * NEWS: Add 2.19 section.
29993 2013-08-03  David S. Miller  <davem@davemloft.net>
29995         * po/ko.po: Update Korean translation from translation project.
29997 2013-08-01  David S. Miller  <davem@davemloft.net>
29999         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30000         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30001         Bilka.
30003 2013-07-30  David S. Miller  <davem@davemloft.net>
30005         * po/fr.po: Update French translation from translation project.
30007 2013-07-28  David S. Miller  <davem@davemloft.net>
30009         * po/cs.po: Update Czech translation from translation project.
30011         * po/sv.po: Update Swedish translation from translation project.
30013 2013-07-27  David S. Miller  <davem@davemloft.net>
30015         * po/eo.po: Update Esperanto translation from translation project.
30017         * po/vi.po: Update Vietnamese translation from translation project.
30019         * po/de.po: Update German translation from translation project.
30021 2013-07-26  David S. Miller  <davem@davemloft.net>
30023         * po/bg.po: Update Bulgarian translation from translation project.
30025         * po/nl.po: Update Dutch translation from translation project.
30026         * po/pl.po: Update Polish translation from translation project.
30027         * po/ru.po: Update Russian translation from translation project.
30029 2013-07-24  David S. Miller  <davem@davemloft.net>
30031         * po/libc.pot: Update.
30033 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30035         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30036         variable page size.
30037         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30038         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30039         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30041 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30043         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30045 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30046             Andreas Schwab  <schwab@suse.de>
30047             Roland McGrath  <roland@hack.frob.com>
30048             Joseph Myers  <joseph@codesourcery.com>
30049             Carlos O'Donell  <carlos@redhat.com>
30051         [BZ #15755]
30052         * config.h.in: Define HAVE_PT_CHOWN.
30053         * config.make.in (build-pt-chown): New variable.
30054         * configure.in (--enable-pt_chown): New configure option.
30055         * configure: Regenerate.
30056         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30057         build-pt-chown is enabled.
30058         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30059         pt_chown to fix pty ownership.
30060         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30061         CLOSE_ALL_FDS.
30062         * manual/install.texi (Configuring and compiling): Mention
30063         --enable-pt_chown. Add @findex for grantpt.
30064         * INSTALL: Regenerate.
30066 2013-07-20  David S. Miller  <davem@davemloft.net>
30068         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30069         difference between 32-bit and 64-bit.
30071 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30073         [BZ #15711]
30074         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30075         Avoid system header dependency with -ffreestanding.
30076         ($(objpfx)bits/syscall%d): Likewise.
30078 2013-07-13  David S. Miller  <davem@davemloft.net>
30080         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30081         underflows from atanl/atan2l due to bug 15319.
30082         (casinh_test_data): Likewise.
30084 2013-07-07  David S. Miller  <davem@davemloft.net>
30086         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30088 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30090         * sysdeps/i386/fpu/libm-test-ulps: Update.
30091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30093 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30095         * configure.in (--enable-lock-elision): Fix message text.
30096         * INSTALL: Regenerate.
30097         * configure: Regenerate.
30099 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30103 2013-07-03  Andreas Jaeger  <aj@suse.de>
30105         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30106         define.
30107         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30108         (ptrace_peeksiginfo_args): Add.
30109         (__ptrace_peeksiginfo_flags): Add.
30110         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30111         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30112         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30114 2013-07-03  Allan McRae  <allan@archlinux.org>
30116         * sysdeps/i386/fpu/libm-test-ulps: Update.
30118 2013-07-02  David S. Miller  <davem@davemloft.net>
30120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30122 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30126 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30128         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30131 2013-07-02  Andi Kleen <ak@linux.intel.com>
30133         * config.h.in (ENABLE_LOCK_ELISION): Add.
30134         * configure.in (--enable-lock-elision): Add option.
30135         * manual/install.texi: Document --enable lock elision.
30136         * configure: Regenerate
30137         * INSTALL: Regenerate.
30139 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30141         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30142         SSE4.2 strcasecmp for libc.a.
30143         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30145 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30147         [BZ #13304]
30148         * soft-fp/op-common.h (_FP_FMA): New macro.
30149         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30150         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30151         (_FP_MUL_MEAT_1_imm): ... here.
30152         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30153         (_FP_MUL_MEAT_1_wide): ... here.
30154         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30155         (_FP_MUL_MEAT_1_hard): ... here.
30156         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30157         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30158         (_FP_MUL_MEAT_2_wide): ... here.
30159         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30160         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30161         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30162         (_FP_MUL_MEAT_2_gmp): ... here.
30163         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30164         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30165         (_FP_MUL_MEAT_4_wide): ... here.
30166         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30167         (_FP_MUL_MEAT_4_gmp): ... here.
30168         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30169         (_FP_WFRACBITS_DW_S): Likewise.
30170         (_FP_WFRACXBITS_DW_S): Likewise.
30171         (_FP_HIGHBIT_DW_S): Likewise.
30172         (FP_FMA_S): Likewise.
30173         (_FP_FRAC_HIGH_DW_S): Likewise.
30174         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30175         (_FP_WFRACBITS_DW_D): Likewise.
30176         (_FP_WFRACXBITS_DW_D): Likewise.
30177         (_FP_HIGHBIT_DW_D): Likewise.
30178         (FP_FMA_D): Likewise.
30179         (_FP_FRAC_HIGH_DW_D): Likewise.
30180         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30181         (_FP_WFRACBITS_DW_E): Likewise.
30182         (_FP_WFRACXBITS_DW_E): Likewise.
30183         (_FP_HIGHBIT_DW_E): Likewise.
30184         (FP_FMA_E): Likewise.
30185         (_FP_FRAC_HIGH_DW_E): Likewise.
30186         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30187         (_FP_WFRACBITS_DW_Q): Likewise.
30188         (_FP_WFRACXBITS_DW_Q): Likewise.
30189         (_FP_HIGHBIT_DW_Q): Likewise.
30190         (FP_FMA_Q): Likewise.
30191         (_FP_FRAC_HIGH_DW_Q): Likewise.
30192         * soft-fp/fmasf4.c: New file.
30193         * soft-fp/fmadf4.c: Likewise.
30194         * soft-fp/fmatf4.c: Likewise.
30196 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30199         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30200         Silvermont.
30201         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30202         macro.
30203         (index_Slow_SSE4_2): Likewise.
30204         (index_Prefer_PMINUB_for_stringop): Likewise.
30205         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30206         bit_Slow_SSE4_2 is set.
30207         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30208         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30210 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30212         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30213         rtld_global._dl_hwcap2.
30214         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30215         POWER8.
30216         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30217         POWER8 feature descriptions defined in _dl_hwcap2.
30218         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30219         string handling for POWER8 feature bits.
30220         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30221         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30222         _dl_powerpc_cap_flags.
30223         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30224         * sysdeps/powerpc/rtld-global-offsets.sym
30225         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30226         _dl_hwcap2 in the rtld_global_ro structure.
30228 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30230         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30231         hardware capabilities in support of AT_HWCAP2.
30232         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30233         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30234         GLRO(dl_hwcap2).
30235         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30236         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30237         explicitly the unknown a_type display mechanism is used.
30238         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30239         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30240         struct member.
30241         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30242         to macro prototype for AT_HWCAP2 support.
30243         * sysdeps/i386/dl-procinfo.h: Likewise.
30244         * sysdeps/s390/dl-procinfo.h: Likewise.
30245         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30246         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30247         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30248         return -1 for unknown a_type display fallback.
30249         * sysdeps/sparc/dl-procinfo.h: Likewise.
30250         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30251         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30253 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30255         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30256         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30258 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30260         [BZ #12492]
30261         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30262         mprotect making __stack_prot writable.
30264 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30265             Joseph Myers  <joseph@codesourcery.com>
30267         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30268         as being properly aligned.
30270 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30272         * dlfcn/modstatic5.c: New file.
30273         * dlfcn/tststatic5.c: New file.
30274         * dlfcn/Makefile (tests): Add tststatic5.
30275         (tests-static): Likewise.
30276         (modules-names): Add modstatic5.
30277         (tststatic5-ENV): New variable.
30278         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30280         [BZ #15022]
30281         * elf/dl-support.c (_dl_main_map): New variable.
30282         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30283         (_dl_nns, _dl_load_adds): Set to 1.
30284         (_dl_initial_searchlist): Refer to _dl_main_map.
30285         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30286         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30287         call to _dl_get_origin.
30288         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30289         around call_map.
30290         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30291         * dlfcn/modstatic3.c: New file.
30292         * dlfcn/tststatic3.c: New file.
30293         * dlfcn/tststatic4.c: New file.
30294         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30295         (tests-static): Likewise.
30296         (modules-names): Add modstatic3.
30297         (tststatic3-ENV, tststatic4-ENV): New variables.
30298         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30299         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30301 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30303         * configure.in (CC): Require GCC version 4.4 or later.
30304         * configure: Regenerated.
30305         * manual/install.texi (Tools for Compilation): Update GCC version
30306         requirement.
30307         * INSTALL: Regenerated.
30309 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30311         [BZ #15674]
30312         * string/test-memcmp.c (check2): New.
30313         (main): Call check2.
30315         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30317 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30319         [BZ #15022]
30320         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30321         over to...
30322         (dl_open_worker) [!SHARED]: ... here.
30324 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30326         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30328 2013-06-25  Richard Henderson  <rth@redhat.com>
30330         * locale/programs/locarchive.c: Include <libc-internal.h>
30332 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30334         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30335         trailing whitespace removed.
30337 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30339         [BZ #10283]
30340         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30341         * locale/programs/locarchive.c: Include libc-mmap.h.
30342         (prepare_address_space): Take two new outputs (the mmap base and len).
30343         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30344         values.
30345         (create_archive): Declare new mmap base and len values for
30346         prepare_address_space, and store the result in ah.
30347         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30348         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30349         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30350         Declare new mmap base and len values for
30351         prepare_address_space, and store the result in new_ah.
30352         (open_archive): Declare new mmap base and len values for
30353         prepare_address_space, and store the result in ah.
30354         (close_archive): If ah->mmap_base is not NULL, use that and
30355         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30356         * sysdeps/generic/libc-mmap.h: New file.
30358 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30360         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30361         (ALIGN_UP): Likewise.
30362         (PTR_ALIGN_DOWN): Likewise.
30363         (PTR_ALIGN_UP): Likewise.
30365 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30367         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30368         entry mapped to PPC_PLATFORM_POWER8.
30369         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30370         POWER8.
30371         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30372         (_dl_string_platform): Add case for exporting platform position for
30373         POWER8.
30374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30375         search path to sysdeps/powerpc/powerpc32/power8 directory.
30376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30377         search path to sysdeps/powerpc/powerpc64/power8 directory.
30378         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30379         power7 directories.
30380         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30381         power7 directories.
30383 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30385         * INSTALL: Regenerate.
30387         * nscd/connections.c (nscd_init): Fix comment.
30389 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30391         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30393         [BZ #15667]
30394         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30395         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30397 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30399         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30400         DL_DST_REQ_STATIC.
30401         (DL_DST_REQ_STATIC): Remove macro.
30403 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #7006]
30406         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30407         with a shift of 0 bits.
30409 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30411         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30412         $(tststatic-ENV).
30414 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30416         [BZ #15655]
30417         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30419 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30421         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30422         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30423         accepts -fno-tree-loop-distribute-patterns.
30424         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30425         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30426         recursive call.
30427         * string/memset.c (memset): Likewise.
30428         * string/test-memmove.c (simple_memmove): Disable loop transformation
30429         to library calls.
30430         * string/test-memset.c (simple_memset): Likewise.
30431         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30432         * benchtests/bench-memset.c (simple_memset): Likewise.
30433         * configure: Regenerated.
30435 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30437         * math/test-misc.c (main): Ignore fesetround failure when failures
30438         of subsequent rounding tests would be ignored.
30440         [BZ #15654]
30441         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30442         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30443         * math/fegetenv.c (__fegetenv): Return 0.
30444         * math/fegetexcept.c (fegetexcept): Return 0.
30445         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30446         FE_TONEAREST.
30447         * math/feholdexcpt.c (feholdexcept): Return 0.
30448         * math/fesetenv.c (__fesetenv): Return 0.
30449         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30450         argument FE_TONEAREST.
30451         * math/feupdateenv.c (__feupdateenv): Return 0.
30452         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30454 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30456         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30457         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30458         ($(objpfx)rtld-%.os rules): Use them.
30460 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30462         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30463         fields.
30465 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30467         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30468         length of target pattern, then descending length of dependency pattern.
30469         * configure.in (AWK): Require gawk 3.1.2 or newer.
30470         * manual/install.texi (Tools for Compilation): Say that we do.
30471         * configure: Regenerated.
30473         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30474         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30475         * scripts/sysd-rules.awk: ... this new script.
30476         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30477         than a glob-style pattern.
30479 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30481         * math/test-misc.c (main): Do not treat incorrectly rounded
30482         conversions as failure unless ROUNDING_TESTS passes.
30484 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30486         [BZ #15631]
30487         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30488         restore exception state around main square root computation, then
30489         check for inexactness explicitly.
30491         * math/libm-test.inc (fma_test_data): Add another test.
30493 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30495         * manual/threads.texi (Non-POSIX Extensions): New document
30496         node.  Document pthread_getattr_default_np and
30497         pthread_setattr_default_np.
30499         * Versions.def (libpthread): Add GLIBC_2.18.
30500         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30502         Likewise.
30503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30504         Likewise.
30505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30506         Likewise.
30507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30508         Likewise.
30509         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30510         Likewise.
30511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30512         Likewise.
30513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30514         Likewise.
30515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30516         Likewise.
30517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30518         Likewise.
30520 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30523         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30525 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30526             H.J. Lu  <hjl.tools@gmail.com>
30528         [BZ #15627]
30529         * sysdeps/x86_64/rtld-memset.c: Remove file.
30530         * sysdeps/x86_64/rtld-memset.S: New file.
30532 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30534         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30535         (test_in_one_mode): Take arguments for whether the rounding mode
30536         is supported for each floating-point type.
30537         (do_test): Pass new arguments to test_in_one_mode using
30538         ROUNDING_TESTS.
30540 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30542         * posix/tst-waitid.c (do_test): Distinguish different instances of
30543         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30544         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30545         before entering the kernel for waitpid.
30547 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30549         * NEWS: Fix note on clock function precision.  Text by Roland
30550         McGrath.
30552 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30554         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30555         it into place only when and if the sanity check passes.
30557 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30559         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30560         output for whether conversion result is exact.  Take argument
30561         indicating whether type is IBM long double.
30562         (round_for_all): Change need_exact field to ibm_ld.
30563         * stdlib/tst-strtod-round.c (struct exactness): New type.
30564         (struct test): Change bool ld_ok field to struct exactness exact.
30565         (TEST): Update all definitions for change to field.
30566         (tests): Regenerate array contents.
30567         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30568         field value.  Check for IBM long double here.
30569         (do_test): Update calls to test_in_one_mode.
30571 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30573         [BZ #12515]
30574         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30575         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30577 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30579         [BZ #15605]
30580         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30581         generated by the compiler on loop optimizations.
30582         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30583         general definitions.
30585 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30587         * math/bug-nextafter.c: Include <math-tests.h>.
30588         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30589         the relevant type.
30590         * math/bug-nexttoward.c: Include <math-tests.h>.
30591         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30592         the relevant type.
30593         * math/test-misc.c: Include <math-tests.h>.
30594         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30595         the relevant type.
30597 2013-06-12  Andreas Jaeger  <aj@suse.de>
30599         * po/ia.po: Update Interlingua translation from translation
30600         project.
30602 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30604         * include/fenv.h: Include stdbool.h.
30605         (struct rm_ctx): New structure.
30606         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30607         Define macro.
30608         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30609         (SET_RESTORE_ROUNDF): Likewise.
30610         (SET_RESTORE_ROUNDL): Likewise.
30611         (SET_RESTORE_ROUND_NOEX): Likewise.
30612         (SET_RESTORE_ROUND_NOEXF): Likewise.
30613         (SET_RESTORE_ROUND_NOEXL): Likewise.
30614         (SET_RESTORE_ROUND_53BIT): Likewise.
30615         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30616         (libc_feresetround_noexf_ctx): Likewise.
30617         (libc_feresetround_noexl_ctx): Likewise.
30618         (libc_feholdsetround_53bit_ctx): Likewise.
30619         (libc_feresetround_53bit_ctx): Likewise.
30620         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30621         (libc_feholdexcept_setround_sse_ctx): New function.
30622         (libc_fesetenv_sse_ctx): Likewise.
30623         (libc_feupdateenv_sse_ctx): Likewise.
30624         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30625         (libc_feholdexcept_setround_387_ctx): Likewise.
30626         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30627         (libc_feholdsetround_387_prec_ctx): Likewise.
30628         (libc_feholdsetround_387_ctx): Likewise.
30629         (libc_feholdsetround_387_53bit_ctx): Likewise.
30630         (libc_feholdsetround_sse_ctx): Likewise.
30631         (libc_feresetround_sse_ctx): Likewise.
30632         (libc_feresetround_387_ctx): Likewise.
30633         (libc_feupdateenv_387_ctx): Likewise.
30634         (libc_feholdexcept_setroundf_ctx): Define macro.
30635         (libc_fesetenvf_ctx): Likewise.
30636         (libc_feupdateenvf_ctx): Likewise.
30637         (libc_feholdsetroundf_ctx): Likewise.
30638         (libc_feresetroundf_ctx): Likewise.
30639         (libc_feholdexcept_setround_ctx): Likewise.
30640         (libc_fesetenv_ctx): Likewise.
30641         (libc_feupdateenv_ctx): Likewise.
30642         (libc_feholdsetround_ctx): Likewise.
30643         (libc_feresetround_ctx): Likewise.
30644         (libc_feholdexcept_setroundl_ctx): Likewise.
30645         (libc_feupdateenvl_ctx): Likewise.
30646         (libc_feholdsetroundl_ctx): Likewise.
30647         (libc_feresetroundl_ctx): Likewise.
30648         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30649         (libc_feresetround_53bit_ctx): Likewise.
30651 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30653         * locale/iso-639.def: Convert to UTF-8.
30655 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30657         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30658         (EXCEPTION_TESTS_double): Likewise.
30659         (EXCEPTION_TESTS_long_double): Likewise.
30660         (EXCEPTION_TESTS): Likewise.
30661         * math/libm-test.inc (test_exceptions): Only test exceptions if
30662         EXCEPTION_TESTS (FLOAT).
30664 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30666         * benchtests/Makefile (string-bench): Add strcpy_chk and
30667         stpcpy_chk.
30668         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30669         * benchtests/bench-stpcpy_chk.c: New file.
30670         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30671         * benchtests/bench-strcpy_chk.c: New file.
30672         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30673         code.
30674         (do_test): Likewise.
30676 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30678         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30679         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30680         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30681         with tabs where appropriate.
30682         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30683         dl-procinfo.h.
30684         [PPC_PLATFORM_PPC440]: Likewise.
30685         [PPC_PLATFORM_PPC464]: Likewise.
30686         [PPC_PLATFORM_PPC476]: Likewise.
30687         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30688         ppc464, and ppc476 platform strings merging from ports/
30689         dl-procinfo.h.
30691 2013-06-11  Andreas Schwab  <schwab@suse.de>
30693         [BZ #14991]
30694         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30695         (from_ucs4_idx): Regenerate.
30696         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30697         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30698         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30699         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30700         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30701         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30702         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30703         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30704         from FROM_LOOP and TO_LOOP specific macros.
30705         (BODY): Handle combining characters.
30706         * iconvdata/BIG5HKSCS.irreversible: Update.
30707         * iconvdata/BIG5HKSCS.precomposed: New file.
30708         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30709         characters.
30710         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30712 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30714         * include/sys/time.h: Fix indentation and add copyright header.
30716         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30717         (do_test): Likewise.
30718         * string/test-memchr.c (do_one_test): Likewise.
30719         (do_test): Likewise.
30720         * string/test-memcmp.c (do_one_test): Likewise.
30721         (do_test): Likewise.
30722         * string/test-memcpy.c (do_one_test): Likewise.
30723         (do_test): Likewise.
30724         * string/test-memmem.c (do_one_test): Likewise.
30725         (do_test): Likewise.
30726         (do_random_tests): Likewise.
30727         * string/test-memmove.c (do_one_test): Likewise.
30728         (do_test): Likewise.
30729         * string/test-memset.c (do_one_test): Likewise.
30730         (do_test): Likewise.
30731         * string/test-rawmemchr.c (do_one_test): Likewise.
30732         (do_test): Likewise.
30733         * string/test-strcasecmp.c (do_one_test): Likewise.
30734         (do_test): Likewise.
30735         * string/test-strcasestr.c (do_one_test): Likewise.
30736         (do_test): Likewise.
30737         * string/test-strcat.c (do_one_test): Likewise.
30738         (do_test): Likewise.
30739         * string/test-strchr.c (do_one_test): Likewise.
30740         (do_test): Likewise.
30741         * string/test-strcmp.c (do_one_test): Likewise.
30742         (do_test): Likewise.
30743         * string/test-strcpy.c (do_one_test): Likewise.
30744         (do_test): Likewise.
30745         * string/test-string.h: Likewise.
30746         (test_init): Likewise.
30747         * string/test-strlen.c (do_one_test): Likewise.
30748         (do_test): Likewise.
30749         * string/test-strncasecmp.c (do_one_test): Likewise.
30750         (do_test): Likewise.
30751         * string/test-strncat.c (do_one_test): Likewise.
30752         (do_test): Likewise.
30753         * string/test-strncmp.c (do_one_test): Likewise.
30754         (do_test_limit): Likewise.
30755         (do_test): Likewise.
30756         * string/test-strncpy.c (do_one_test): Likewise.
30757         (do_test): Likewise.
30758         * string/test-strnlen.c (do_one_test): Likewise.
30759         (do_test): Likewise.
30760         * string/test-strpbrk.c (do_one_test): Likewise.
30761         (do_test): Likewise.
30762         * string/test-strrchr.c (do_one_test): Likewise.
30763         (do_test): Likewise.
30764         * string/test-strspn.c (do_one_test): Likewise.
30765         (do_test): Likewise.
30766         * string/test-strstr.c (do_one_test): Likewise.
30767         (do_test): Likewise.
30769         * benchtests/Makefile (string-bench): Add string benchmarks.
30770         * benchtests/bench-bcopy-ifunc.c: New file.
30771         * benchtests/bench-bcopy.c: New file.
30772         * benchtests/bench-bzero-ifunc.c: New file.
30773         * benchtests/bench-bzero.c: New file.
30774         * benchtests/bench-memccpy-ifunc.c: New file.
30775         * benchtests/bench-memccpy.c: New file.
30776         * benchtests/bench-memchr-ifunc.c: New file.
30777         * benchtests/bench-memchr.c: New file.
30778         * benchtests/bench-memcmp-ifunc.c: New file.
30779         * benchtests/bench-memcmp.c: New file.
30780         * benchtests/bench-memmem-ifunc.c: New file.
30781         * benchtests/bench-memmem.c: New file.
30782         * benchtests/bench-memmove-ifunc.c: New file.
30783         * benchtests/bench-memmove.c: New file.
30784         * benchtests/bench-mempcpy-ifunc.c: New file.
30785         * benchtests/bench-mempcpy.c: New file.
30786         * benchtests/bench-memset-ifunc.c: New file.
30787         * benchtests/bench-memset.c: New file.
30788         * benchtests/bench-rawmemchr-ifunc.c: New file.
30789         * benchtests/bench-rawmemchr.c: New file.
30790         * benchtests/bench-stpcpy-ifunc.c: New file.
30791         * benchtests/bench-stpcpy.c: New file.
30792         * benchtests/bench-stpncpy-ifunc.c: New file.
30793         * benchtests/bench-stpncpy.c: New file.
30794         * benchtests/bench-strcasecmp-ifunc.c: New file.
30795         * benchtests/bench-strcasecmp.c: New file.
30796         * benchtests/bench-strcasestr-ifunc.c: New file.
30797         * benchtests/bench-strcasestr.c: New file.
30798         * benchtests/bench-strcat-ifunc.c: New file.
30799         * benchtests/bench-strcat.c: New file.
30800         * benchtests/bench-strchr-ifunc.c: New file.
30801         * benchtests/bench-strchr.c: New file.
30802         * benchtests/bench-strchrnul-ifunc.c: New file.
30803         * benchtests/bench-strchrnul.c: New file.
30804         * benchtests/bench-strcmp-ifunc.c: New file.
30805         * benchtests/bench-strcmp.c: New file.
30806         * benchtests/bench-strcpy-ifunc.c: New file.
30807         * benchtests/bench-strcpy.c: New file.
30808         * benchtests/bench-strcspn-ifunc.c: New file.
30809         * benchtests/bench-strcspn.c: New file.
30810         * benchtests/bench-strlen-ifunc.c: New file.
30811         * benchtests/bench-strlen.c: New file.
30812         * benchtests/bench-strncasecmp-ifunc.c: New file.
30813         * benchtests/bench-strncasecmp.c: New file.
30814         * benchtests/bench-strncat-ifunc.c: New file.
30815         * benchtests/bench-strncat.c: New file.
30816         * benchtests/bench-strncmp-ifunc.c: New file.
30817         * benchtests/bench-strncmp.c: New file.
30818         * benchtests/bench-strncpy-ifunc.c: New file.
30819         * benchtests/bench-strncpy.c: New file.
30820         * benchtests/bench-strnlen-ifunc.c: New file.
30821         * benchtests/bench-strnlen.c: New file.
30822         * benchtests/bench-strpbrk-ifunc.c: New file.
30823         * benchtests/bench-strpbrk.c: New file.
30824         * benchtests/bench-strrchr-ifunc.c: New file.
30825         * benchtests/bench-strrchr.c: New file.
30826         * benchtests/bench-strspn-ifunc.c: New file.
30827         * benchtests/bench-strspn.c: New file.
30828         * benchtests/bench-strstr-ifunc.c: New file.
30829         * benchtests/bench-strstr.c: New file.
30831         * benchtests/Makefile: Disable parallel execution of targets.
30832         (string-bench): Add memcpy.
30833         (benchset): New variable to store a list of benchmark sets.
30834         (bench-func): Renamed from bench.
30835         (bench-set): New target.
30836         (bench): Depend on bench-func and bench-set.
30837         * benchtests/README: Add section on benchmark sets.
30838         * benchtests/bench-memcpy-ifunc.c: New file.
30839         * benchtests/bench-memcpy.c: New file.
30840         * benchtests/bench-string.h: New file.
30842 2013-06-11  Andreas Schwab  <schwab@suse.de>
30844         [BZ #15577]
30845         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30846         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30847         values in the triple.
30848         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30849         terminator in the group key.
30851 2013-06-11  Andreas Jaeger  <aj@suse.de>
30853         * po/zh_TW.po: Update Chinese (traditional) translation from
30854         translation project.
30856 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30858         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30859         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30860         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30861         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30862         (clock_getcpuclockid): Likewise.
30863         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30864         Add weak_alias and libc_hidden_def.
30865         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30866         * rt/clock_gettime.c (clock_gettime): Rename to
30867         __clock_gettime.  Add weak_alias and libc_hidden_def.
30868         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30869         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30870         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30871         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30872         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30873         Likewise.
30874         * rt/clock_settime.c (clock_settime): Rename to
30875         __clock_settime.  Add weak_alias and libc_hidden_def.
30876         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30878 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30880         * mach/err_boot.sub: Remove trailing whitespace.
30881         * mach/err_ipc.sub: Likewise.
30882         * mach/err_mach.sub: Likewise.
30884         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30885         (ROUNDING_TESTS_double): Likewise.
30886         (ROUNDING_TESTS_long_double): Likewise.
30887         (ROUNDING_TESTS): Likewise.
30888         * math/libm-test.inc: Include <math-tests.h>.
30889         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30890         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30891         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30892         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30894 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30896         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30897         of assigning.
30899 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30901         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30902         otherwise empty TRANS lines.
30903         * sysdeps/gnu/errlist.c: Regenerated.
30905         * catgets/gencat.c (error_print): Use (void) in function
30906         definition.
30907         * crypt/crypt_util.c (__init_des): Likewise.
30908         * crypt/speeds.c (Stop): Likewise.
30909         (main): Likewise.
30910         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30911         * inet/ruserpass.c (token): Likewise.
30912         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30913         * intl/localealias.c (extend_alias_table): Likewise.
30914         * intl/plural-exp.c (init_germanic_plural): Likewise.
30915         * libio/fcloseall.c (__fcloseall): Likewise.
30916         * libio/genops.c (_IO_flush_all): Likewise.
30917         (_IO_flush_all_linebuffered): Likewise.
30918         (_IO_cleanup): Likewise.
30919         (_IO_iter_begin): Likewise.
30920         (_IO_iter_end): Likewise.
30921         (_IO_list_lock): Likewise.
30922         (_IO_list_unlock): Likewise.
30923         (_IO_list_resetlock): Likewise.
30924         * libio/getchar.c (getchar): Likewise.
30925         * libio/getchar_u.c (getchar_unlocked): Likewise.
30926         * libio/getwchar.c (getwchar): Likewise.
30927         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30928         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30929         * login/getpt.c (__getpt): Likewise.
30930         * login/tst-utmp.c (main): Likewise.
30931         * malloc/hooks.c (__malloc_check_init): Likewise.
30932         * malloc/malloc.c (__malloc_stats): Likewise.
30933         * malloc/mtrace.c (tr_break): Likewise.
30934         (mtrace): Likewise.
30935         (muntrace): Likewise.
30936         * misc/fstab.c (endfsent): Likewise.
30937         * misc/getclktck.c (__getclktck): Likewise.
30938         * misc/getdtsz.c (__getdtablesize): Likewise.
30939         * misc/gethostid.c (gethostid): Likewise.
30940         * misc/getpagesize.c (__getpagesize): Likewise.
30941         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30942         (__get_nprocs): Likewise.
30943         (__get_phys_pages): Likewise.
30944         (__get_avphys_pages): Likewise.
30945         * misc/getttyent.c (getttyent): Likewise.
30946         (setttyent): Likewise.
30947         (endttyent): Likewise.
30948         * misc/getusershell.c (getusershell): Likewise.
30949         (endusershell): Likewise.
30950         (setusershell): Likewise.
30951         (initshells): Likewise.
30952         * misc/hsearch.c (__hdestroy): Likewise.
30953         * misc/sync.c (sync): Likewise.
30954         * misc/syslog.c (closelog_internal): Likewise.
30955         (closelog): Likewise.
30956         * misc/ttyslot.c (ttyslot): Likewise.
30957         * misc/vhangup.c (vhangup): Likewise.
30958         * posix/fork.c (__fork): Likewise.
30959         * posix/getegid.c (__getegid): Likewise.
30960         * posix/geteuid.c (__geteuid): Likewise.
30961         * posix/getgid.c (__getgid): Likewise.
30962         * posix/getpid.c (__getpid): Likewise.
30963         * posix/getppid.c (__getppid): Likewise.
30964         * posix/getuid.c (__getuid): Likewise.
30965         * posix/pause.c (pause): Likewise.
30966         * posix/setpgrp.c (setpgrp): Likewise.
30967         * posix/setsid.c (__setsid): Likewise.
30968         * posix/test-vfork.c (noop): Likewise.
30969         * resolv/gethnamaddr.c (_endhtent): Likewise.
30970         (_gethtent): Likewise.
30971         (ht_endhostent): Likewise.
30972         (gethostent): Likewise.
30973         (dns_service): Likewise.
30974         * stdlib/drand48.c (drand48): Likewise.
30975         * stdlib/lrand48.c (lrand48): Likewise.
30976         * stdlib/mrand48.c (mrand48): Likewise.
30977         * stdlib/rand.c (rand): Likewise.
30978         * stdlib/random.c (__random): Likewise.
30979         * stdlib/setenv.c (clearenv): Likewise.
30980         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30981         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30982         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30983         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30984         (__get_nprocs): Likewise.
30985         (__get_phys_pages): Likewise.
30986         (__get_avphys_pages): Likewise.
30987         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30988         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30989         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30990         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30991         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30992         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30993         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30994         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30995         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30996         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30997         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30998         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30999         * sysdeps/posix/clock.c (clock): Likewise.
31000         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31001         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31002         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31003         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31004         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31005         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31006         (__get_nprocs_conf): Likewise.
31007         (__get_phys_pages): Likewise.
31008         (__get_avphys_pages): Likewise.
31009         * time/clock.c (clock): Likewise.
31010         * time/tzset.c (__tzname_max): Likewise.
31012 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31014         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31015         (__bswap_32): Do not use "register".
31016         * crypt/crypt.c (_ufc_doit_r): Likewise.
31017         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31018         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31019         * gmon/gmon.c (__monstartup): Likewise.
31020         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31021         * hurd/hurdmalloc.c (more_memory): Likewise.
31022         (malloc): Likewise.
31023         (free): Likewise.
31024         (realloc): Likewise.
31025         (malloc_fork_prepare): Likewise.
31026         (malloc_fork_parent): Likewise.
31027         (malloc_fork_child): Likewise.
31028         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31029         (_svcauth_des): Likewise.
31030         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31031         * inet/inet_net.c (inet_network): Likewise.
31032         * inet/inet_netof.c (inet_netof): Likewise.
31033         * inet/rcmd.c (__validuser2_sa): Likewise.
31034         * io/fts.c (fts_open): Likewise.
31035         (fts_load): Likewise.
31036         (fts_close): Likewise.
31037         (fts_read): Likewise.
31038         (fts_children): Likewise.
31039         (fts_build): Likewise.
31040         (fts_stat): Likewise.
31041         (fts_sort): Likewise.
31042         (fts_alloc): Likewise.
31043         (fts_lfree): Likewise.
31044         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31045         (_IO_file_xsgetn): Likewise.
31046         (_IO_file_xsgetn_mmap): Likewise.
31047         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31048         (_IO_cookie_write): Likewise.
31049         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31050         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31051         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31052         * malloc/obstack.c (_obstack_begin): Likewise.
31053         (_obstack_begin_1): Likewise.
31054         (_obstack_newchunk): Likewise.
31055         (_obstack_allocated_p): Likewise.
31056         (obstack_free): Likewise.
31057         (_obstack_memory_used): Likewise.
31058         * misc/getttyent.c (getttynam): Likewise.
31059         (getttyent): Likewise.
31060         (skip): Likewise.
31061         (value): Likewise.
31062         * misc/getusershell.c (initshells): Likewise.
31063         * misc/syslog.c (__vsyslog_chk): Likewise.
31064         * misc/ttyslot.c (ttyslot): Likewise.
31065         * nis/nis_hash.c (__nis_hash): Likewise.
31066         * posix/fnmatch_loop.c (FCT): Likewise.
31067         * posix/getconf.c (print_all): Likewise.
31068         (main): Likewise.
31069         * posix/getopt.c (exchange): Likewise.
31070         * posix/glob.c (globfree): Likewise.
31071         (prefix_array): Likewise.
31072         (__glob_pattern_type): Likewise.
31073         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31074         (NS_GET32): Likewise.
31075         (NS_PUT16): Likewise.
31076         (NS_PUT32): Likewise.
31077         * resolv/gethnamaddr.c (getanswer): Likewise.
31078         (gethostbyname2): Likewise.
31079         (gethostbyaddr): Likewise.
31080         (_gethtent): Likewise.
31081         (_gethtbyname2): Likewise.
31082         (_gethtbyaddr): Likewise.
31083         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31084         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31085         * resolv/res_init.c (__res_vinit): Likewise.
31086         (net_mask): Likewise.
31087         * resolv/res_mkquery.c (outchar): Likewise.
31088         (PRINT): Likewise.
31089         * stdio-common/printf_fp.c (outchar): Likewise.
31090         (PRINT): Likewise.
31091         * stdio-common/printf_fphex.c (outchar): Likewise.
31092         (PRINT): Likewise.
31093         * stdio-common/printf_size.c (outchar): Likewise.
31094         (PRINT): Likewise.
31095         * stdio-common/test_rdwr.c (main): Likewise.
31096         * stdio-common/tfformat.c (matches): Likewise.
31097         * stdio-common/vfprintf.c (outchar): Likewise.
31098         (printf_unknown): Likewise.
31099         (buffered_vfprintf): Likewise.
31100         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31101         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31102         (ReadFile): Likewise.
31103         * stdlib/qsort.c (SWAP): Likewise.
31104         (_quicksort): Likewise.
31105         * stdlib/setenv.c (__add_to_environ): Likewise.
31106         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31107         * stdlib/strtol_l.c (__strtol_l): Likewise.
31108         * stdlib/tst-strtod.c (main): Likewise.
31109         * stdlib/tst-strtol.c (main): Likewise.
31110         * stdlib/tst-strtoll.c (main): Likewise.
31111         * string/bits/string2.h (__strcmp_cc): Likewise.
31112         (__strcmp_cg): Likewise.
31113         (__strcspn_c1): Likewise.
31114         (__strcspn_c2): Likewise.
31115         (__strcspn_c3): Likewise.
31116         (__strspn_c1): Likewise.
31117         (__strspn_c2): Likewise.
31118         (__strspn_c3): Likewise.
31119         (__strsep_1c): Likewise.
31120         (__strsep_2c): Likewise.
31121         (__strsep_3c): Likewise.
31122         * string/memccpy.c (__memccpy): Likewise.
31123         * string/stpcpy.c (__stpcpy): Likewise.
31124         * string/strcmp.c (strcmp): Likewise.
31125         * string/strrchr.c (strrchr): Likewise.
31126         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31127         Likewise.
31128         * sysdeps/mach/hurd/getcwd.c
31129         (_hurd_canonicalize_directory_name_internal): Likewise.
31130         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31131         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31132         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31133         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31134         Likewise, in both definitions.
31135         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31136         definitions.
31137         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31138         64] (__bswap_64): Likewise.
31139         * time/test_time.c (main): Likewise.
31140         * time/tzfile.c (__tzfile_read): Likewise.
31141         (__tzfile_compute): Likewise.
31142         * time/tzset.c (__tzset_parse_tz): Likewise.
31143         (tzset_internal): Likewise.
31144         (compute_change): Likewise.
31145         * wcsmbs/wcscat.c (__wcscat): Likewise.
31146         * wcsmbs/wcschr.c (wcschr): Likewise.
31147         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31148         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31149         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31150         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31151         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31152         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31153         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31154         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31155         * wcsmbs/wmemset.c (wmemset): Likewise.
31157 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31159         * scripts/config.guess: Update to version 2013-05-16.
31160         * scripts/config.sub: Update to version 2013-04-24.
31161         * scripts/install-sh: Update to version 2011-11-20.07.
31162         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31163         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31165 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31167         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31168         * elf/sln.c: Likewise.
31169         * hurd/hurd/ioctl.h: Likewise.
31170         * hurd/hurdmalloc.c: Likewise.
31171         * hurd/xattr.c: Likewise.
31172         * include/shlib-compat.h: Likewise.
31173         * inet/ruserpass.c: Likewise.
31174         * libio/iofgets_u.c: Likewise.
31175         * libio/iofgetws_u.c: Likewise.
31176         * locale/programs/ld-identification.c: Likewise.
31177         * locale/programs/ld-time.c: Likewise.
31178         * mach/msg-destroy.c: Likewise.
31179         * nss/nss_files/files-netgrp.c: Likewise.
31180         * resolv/res_data.c: Likewise.
31181         * soft-fp/op-1.h: Likewise.
31182         * soft-fp/op-2.h: Likewise.
31183         * soft-fp/op-4.h: Likewise.
31184         * soft-fp/op-common.h: Likewise.
31185         * stdio-common/printf_fphex.c: Likewise.
31186         * stdlib/strtod_l.c: Likewise.
31187         * sunrpc/rpc/clnt.h: Likewise.
31188         * sysdeps/generic/framestate.c: Likewise.
31189         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31190         * sysdeps/i386/bsd-setjmp.S: Likewise.
31191         * sysdeps/i386/__longjmp.S: Likewise.
31192         * sysdeps/i386/setjmp.S: Likewise.
31193         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31194         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31195         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31196         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31197         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31198         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31200         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31201         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31202         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31203         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31204         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31205         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31206         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31207         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31208         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31209         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31210         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31211         * sysdeps/ieee754/support.c: Likewise.
31212         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31213         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31214         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31215         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31216         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31217         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31218         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31219         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31220         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31221         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31222         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31223         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31224         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31225         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31226         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31227         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31228         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31231 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31233         * posix/transbug.c: Remove executable mode.
31235 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31237         * crypt/speeds.c: Remove trailing whitespace.
31238         * dlfcn/default.c: Likewise.
31239         * elf/ifuncdep2.c: Likewise.
31240         * elf/ifuncmain1.c: Likewise.
31241         * elf/ifuncmain1vis.c: Likewise.
31242         * elf/testobj.h: Likewise.
31243         * elf/tst-stackguard1.c: Likewise.
31244         * gmon/sys/gmon.h: Likewise.
31245         * hurd/hurdmsg.c: Likewise.
31246         * hurd/new-fd.c: Likewise.
31247         * hurd/ports-get.c: Likewise.
31248         * iconvdata/ibm1008_420.c: Likewise.
31249         * inet/tst-getni1.c: Likewise.
31250         * inet/tst-getni2.c: Likewise.
31251         * libio/ioungetc.c: Likewise.
31252         * libio/wfiledoalloc.c: Likewise.
31253         * manual/libm-err-tab.pl: Likewise.
31254         * math/w_dremf.c: Likewise.
31255         * misc/ftruncate.c: Likewise.
31256         * posix/bug-glob2.c: Likewise.
31257         * posix/tst-pcre.c: Likewise.
31258         * posix/wait4.c: Likewise.
31259         * resolv/README: Likewise.
31260         * resolv/res_debug.h: Likewise.
31261         * resolv/tst-inet_ntop.c: Likewise.
31262         * setjmp/bug269-setjmp.c: Likewise.
31263         * soft-fp/extended.h: Likewise.
31264         * soft-fp/op-1.h: Likewise.
31265         * soft-fp/op-2.h: Likewise.
31266         * soft-fp/op-4.h: Likewise.
31267         * soft-fp/op-8.h: Likewise.
31268         * soft-fp/testit.c: Likewise.
31269         * stdio-common/bug16.c: Likewise.
31270         * stdlib/random.c: Likewise.
31271         * sunrpc/rpcsvc/rquota.x: Likewise.
31272         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31273         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31274         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31275         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31276         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31277         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31278         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31279         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31280         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31281         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31282         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31298         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31299         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31301         * sysdeps/ieee754/s_lib_version.c: Likewise.
31302         * sysdeps/mach/hurd/check_fds.c: Likewise.
31303         * sysdeps/mach/hurd/getsockname.c: Likewise.
31304         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31305         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31306         * sysdeps/powerpc/bits/link.h: Likewise.
31307         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31308         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31309         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31310         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31311         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31312         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31313         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31314         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31315         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31316         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31317         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31318         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31319         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31320         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31321         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31322         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31323         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31324         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31325         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31328         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31330         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31331         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31332         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31333         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31335         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31336         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31337         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31338         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31339         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31340         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31341         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31342         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31343         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31344         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31345         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31346         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31347         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31348         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31349         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31350         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31351         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31352         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31353         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31354         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31355         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31356         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31357         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31358         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31359         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31360         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31361         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31362         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31363         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31364         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31365         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31366         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31367         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31368         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31369         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31370         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31371         * sysdeps/powerpc/sysdep.h: Likewise.
31372         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31373         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31374         * sysdeps/sh/dl-trampoline.S: Likewise.
31375         * sysdeps/sh/memset.S: Likewise.
31376         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31377         * sysdeps/sh/strlen.S: Likewise.
31378         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31379         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31380         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31381         * sysdeps/sparc/sparc32/rem.S: Likewise.
31382         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31383         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31384         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31385         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31386         * sysdeps/sparc/sparc32/urem.S: Likewise.
31387         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31388         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31389         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31390         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31391         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31392         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31393         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31394         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31395         * sysdeps/unix/bsd/times.c: Likewise.
31396         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31397         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31401         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31402         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31403         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31404         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31405         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31406         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31407         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31408         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31409         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31410         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31411         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31412         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31413         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31414         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31415         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31416         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31417         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31418         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31419         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31420         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31421         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31422         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31423         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31424         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31425         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31426         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31427         * sysdeps/x86_64/strcspn.S: Likewise.
31429 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31431         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31432         generated file.  Regenerate properly from gen-translit.pl.
31433         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31434         locale/C-translit.h.
31436 2013-06-05  Andreas Schwab  <schwab@suse.de>
31438         [BZ #15100]
31439         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31440         week as 6 instead of -1.
31441         * time/tst-strptime.c (day_tests): Add test case.
31443 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31445         * sysdeps/generic/math_private.h
31446         (libc_feholdexcept_setround_53bit): Replace with
31447         libc_feholdsetround_53bit.
31448         (libc_feupdateenv_53bit): Replace with
31449         libc_feresetround_53bit.
31450         (SET_RESTORE_ROUND_53BIT): Adjust.
31452 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31454         * string/test-strchrnul.c: Add copyright header.
31456         * posix/tst-getaddrinfo4.c: Increase test timeout.
31458 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31460         [BZ #15536]
31461         * math/libm-test.inc (MAX_EXP): Remove
31462         (MIN_EXP): Define.
31463         (ulp): Use MIN_EXP - MANT_DIG.
31464         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31466 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31468         * po/be.po: Revert last change.
31469         * po/zh_CN.po: Likewise.
31470         * po/header.pot: Likewise.
31472 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31474         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31475         link-libc-deps to empty as target-specific variable.
31476         * Makerules (link-libc-args): New variable.
31477         (libc-for-link): Likewise.
31478         (link-libc-deps): Likewise.
31479         (lib%.so): Depend on $(link-libc-deps).  Link with
31480         $(link-libc-args).
31481         (build-module): Link with $(link-libc-args).
31482         (build-module-asneeded): Likewise.
31483         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31484         list of objects.
31485         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31486         target-specific variable.
31487         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31488         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31489         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31490         libc.
31491         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31492         libc and ld.so.
31493         ($(objpfx)libpcprofile.so): Likewise.
31494         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31495         libc_nonshared.a.
31496         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31497         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31498         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31499         $(link-libc-deps).
31500         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31501         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31502         * login/Makefile ($(objpfx)libutil.so): Likewise.
31503         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31504         * math/Makefile ($(objpfx)libm.so): Likewise.
31505         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31506         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31507         variable instead of depending directly on libc.
31508         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31509         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31510         $(link-libc-deps).
31511         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31512         libc.
31513         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31514         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31515         ($(objpfx)libanl.so): Likewise.
31516         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31517         ld.so.
31518         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31519         $(link-libc-deps).
31520         * sysdeps/i386/fpu/Makefile: Remove file.
31521         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31522         ($(objpfx)libm.so): Remove dependency on ld.so.
31524 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31526         [BZ # 15553]
31527         * nis/yp_xdr.c (XDRMAXNAME): Define.
31528         (XDRMAXRECORD): Define.
31529         (xdr_domainname): Use XDRMAXNAME.
31530         (xdr_mapname): Likewise.
31531         (xdr_peername): Likewise.
31532         (xdr_keydat): Use XDRMAXRECORD.
31533         (xdr_valdat): Likewise.
31535 2013-05-30  Jeff Law  <law@redhat.com>
31537         [BZ #14256]
31538         * manual/errno.texi (ESTALE): Update to account for more than
31539         just NFS file systems.
31540         * sysdeps/gnu/errlist.c: Regenerated.
31542 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31544         [BZ #15465]
31545         * elf/Makefile (tests): Add tst-null-argv.
31546         (modules-names):  Add tst-null-argv-lib.
31547         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31548         (tst-null-argv-ENV): Set environment for tst-null-argv.
31549         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31550         (RTLD_PROGNAME): New macro.
31551         * elf/tst-null-argv.c: New test case.
31552         * elf/tst-null-argv-lib.c: Library for test case.
31553         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31554         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31555         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31556         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31557         * elf/dl-init.c (call_init): Likewise.
31558         (_dl_init): Likewise.
31559         * elf/dl-load.c (print_search_path): Likewise.
31560         (_dl_map_object): Likewise.
31561         * elf/dl-lookup.c (do_lookup_x): Likewise.
31562         (add_dependency): Likewise.
31563         (_dl_lookup_symbol_x): Likewise.
31564         (_dl_debug_bindings): Likewise.
31565         * elf/dl-open.c (_dl_show_scope): Likewise.
31566         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31567         * elf/dl-version.c (match_symbol): Likewise.
31568         (_dl_check_map_versions): Likewise.
31569         * elf/rtld.c (dl_main): Likewise.
31570         (print_unresolved): Use RTLD_PROGNAME.
31571         (print_missing_version): Likewise.
31572         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31573         (elf_machine_rela): Likewise.
31574         * sysdeps/powerpc/powerpc32/dl-machine.c
31575         (__process_machine_rela): Likewise.
31576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31577         Likewise.
31578         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31579         Likewise.
31580         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31581         Likewise.
31582         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31583         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31584         Likewise.
31585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31586         Likewise.
31587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31589 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31591         * po/be.po: Add descriptive title.
31592         * po/zh_CN.po: Likewise.
31593         * po/header.pot: Likewise.
31595 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31597         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31598         error message.
31599         (enlarge_archive): Likewise.
31601 2013-05-28  Ben North  <ben@redfrontdoor.org>
31603         * manual/arith.texi (frexp): It is the magnitude of the return
31604         value which lies in [0.5, 1), not the return value itself.
31606 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31610 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31612         * stdio-common/bug26.c (main): Correct fscanf template.
31614         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31615         declare _dl_skip_args.
31617         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31618         Don't declare.
31620         * manual/platform.texi: Add missing @end deftypefun.
31622 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31624         [BZ #15529]
31625         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31626         bit of mantissa of 2^16382.
31627         * math/libm-test.inc (hypot_test_data): Add more tests.
31629         * math/libm-test.inc: Add drem and pow10 to list of tested
31630         functions.
31631         (pow10_test): New function.
31632         (drem_test): Likewise.
31633         (drem_test_tonearest): Likewise.
31634         (drem_test_towardzero): Likewise.
31635         (drem_test_downward): Likewise.
31636         (drem_test_upward): Likewise.
31637         (main): Call the new functions.
31639         * math/libm-test.inc (finite_test_data): Remove.
31640         (finite_test): Run tests from isfinite_test_data.
31641         (gamma_test_data): Remove.
31642         (gamma_test): Run tests from lgamma_test_data.
31643         * sysdeps/i386/fpu/libm-test-ulps: Update.
31644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31646 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31648         * manual/platform.texi: Add PowerPC PPR function set documentation.
31649         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31650         implementation.
31652 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31654         * math/libm-test.inc (MAX_EXP): Define.
31655         (ULPDIFF): Define.
31656         (ulp): New function.
31657         (check_float_internal): Use ULPDIFF.
31658         (cpow_test): Disable failing test.
31659         (check_ulp): Test ulp() implemetnation.
31660         (main): Call check_ulp before starting tests.
31662 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31664         * math/gen-libm-test.pl (generate_testfile): Do not handle
31665         START_DATA and END_DATA.
31666         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31667         END_DATA.
31668         (acos_tonearest_test_data): Likewise.
31669         (acos_towardzero_test_data): Likewise.
31670         (acos_downward_test_data): Likewise.
31671         (acos_upward_test_data): Likewise.
31672         (acosh_test_data): Likewise.
31673         (asin_test_data): Likewise.
31674         (asin_tonearest_test_data): Likewise.
31675         (asin_towardzero_test_data): Likewise.
31676         (asin_downward_test_data): Likewise.
31677         (asin_upward_test_data): Likewise.
31678         (asinh_test_data): Likewise.
31679         (atan_test_data): Likewise.
31680         (atanh_test_data): Likewise.
31681         (atan2_test_data): Likewise.
31682         (cabs_test_data): Likewise.
31683         (cacos_test_data): Likewise.
31684         (cacosh_test_data): Likewise.
31685         (carg_test_data): Likewise.
31686         (casin_test_data): Likewise.
31687         (casinh_test_data): Likewise.
31688         (catan_test_data): Likewise.
31689         (catanh_test_data): Likewise.
31690         (cbrt_test_data): Likewise.
31691         (ccos_test_data): Likewise.
31692         (ccosh_test_data): Likewise.
31693         (ceil_test_data): Likewise.
31694         (cexp_test_data): Likewise.
31695         (cimag_test_data): Likewise.
31696         (clog_test_data): Likewise.
31697         (clog10_test_data): Likewise.
31698         (conj_test_data): Likewise.
31699         (copysign_test_data): Likewise.
31700         (cos_test_data): Likewise.
31701         (cos_tonearest_test_data): Likewise.
31702         (cos_towardzero_test_data): Likewise.
31703         (cos_downward_test_data): Likewise.
31704         (cos_upward_test_data): Likewise.
31705         (cosh_test_data): Likewise.
31706         (cosh_tonearest_test_data): Likewise.
31707         (cosh_towardzero_test_data): Likewise.
31708         (cosh_downward_test_data): Likewise.
31709         (cosh_upward_test_data): Likewise.
31710         (cpow_test_data): Likewise.
31711         (cproj_test_data): Likewise.
31712         (creal_test_data): Likewise.
31713         (csin_test_data): Likewise.
31714         (csinh_test_data): Likewise.
31715         (csqrt_test_data): Likewise.
31716         (ctan_test_data): Likewise.
31717         (ctan_tonearest_test_data): Likewise.
31718         (ctan_towardzero_test_data): Likewise.
31719         (ctan_downward_test_data): Likewise.
31720         (ctan_upward_test_data): Likewise.
31721         (ctanh_test_data): Likewise.
31722         (ctanh_tonearest_test_data): Likewise.
31723         (ctanh_towardzero_test_data): Likewise.
31724         (ctanh_downward_test_data): Likewise.
31725         (ctanh_upward_test_data): Likewise.
31726         (erf_test_data): Likewise.
31727         (erfc_test_data): Likewise.
31728         (exp_test_data): Likewise.
31729         (exp_tonearest_test_data): Likewise.
31730         (exp_towardzero_test_data): Likewise.
31731         (exp_downward_test_data): Likewise.
31732         (exp_upward_test_data): Likewise.
31733         (exp10_test_data): Likewise.
31734         (exp2_test_data): Likewise.
31735         (expm1_test_data): Likewise.
31736         (fabs_test_data): Likewise.
31737         (fdim_test_data): Likewise.
31738         (finite_test_data): Likewise.
31739         (floor_test_data): Likewise.
31740         (fma_test_data): Likewise.
31741         (fma_towardzero_test_data): Likewise.
31742         (fma_downward_test_data): Likewise.
31743         (fma_upward_test_data): Likewise.
31744         (fmax_test_data): Likewise.
31745         (fmin_test_data): Likewise.
31746         (fmod_test_data): Likewise.
31747         (fpclassify_test_data): Likewise.
31748         (frexp_test_data): Likewise.
31749         (gamma_test_data): Likewise.
31750         (hypot_test_data): Likewise.
31751         (ilogb_test_data): Likewise.
31752         (isfinite_test_data): Likewise.
31753         (isgreater_test_data): Likewise.
31754         (isgreaterequal_test_data): Likewise.
31755         (isinf_test_data): Likewise.
31756         (isless_test_data): Likewise.
31757         (islessequal_test_data): Likewise.
31758         (islessgreater_test_data): Likewise.
31759         (isnan_test_data): Likewise.
31760         (isnormal_test_data): Likewise.
31761         (issignaling_test_data): Likewise.
31762         (isunordered_test_data): Likewise.
31763         (j0_test_data): Likewise.
31764         (j1_test_data): Likewise.
31765         (jn_test_data): Likewise.
31766         (ldexp_test_data): Likewise.
31767         (lgamma_test_data): Likewise.
31768         (lrint_test_data): Likewise.
31769         (lrint_tonearest_test_data): Likewise.
31770         (lrint_towardzero_test_data): Likewise.
31771         (lrint_downward_test_data): Likewise.
31772         (lrint_upward_test_data): Likewise.
31773         (llrint_test_data): Likewise.
31774         (llrint_tonearest_test_data): Likewise.
31775         (llrint_towardzero_test_data): Likewise.
31776         (llrint_downward_test_data): Likewise.
31777         (llrint_upward_test_data): Likewise.
31778         (log_test_data): Likewise.
31779         (log10_test_data): Likewise.
31780         (log1p_test_data): Likewise.
31781         (log2_test_data): Likewise.
31782         (logb_test_data): Likewise.
31783         (logb_downward_test_data): Likewise.
31784         (lround_test_data): Likewise.
31785         (llround_test_data): Likewise.
31786         (modf_test_data): Likewise.
31787         (nearbyint_test_data): Likewise.
31788         (nextafter_test_data): Likewise.
31789         (nexttoward_test_data): Likewise.
31790         (pow_test_data): Likewise.
31791         (pow_tonearest_test_data): Likewise.
31792         (pow_towardzero_test_data): Likewise.
31793         (pow_downward_test_data): Likewise.
31794         (pow_upward_test_data): Likewise.
31795         (remainder_test_data): Likewise.
31796         (remainder_tonearest_test_data): Likewise.
31797         (remainder_towardzero_test_data): Likewise.
31798         (remainder_downward_test_data): Likewise.
31799         (remainder_upward_test_data): Likewise.
31800         (remquo_test_data): Likewise.
31801         (rint_test_data): Likewise.
31802         (rint_tonearest_test_data): Likewise.
31803         (rint_towardzero_test_data): Likewise.
31804         (rint_downward_test_data): Likewise.
31805         (rint_upward_test_data): Likewise.
31806         (round_test_data): Likewise.
31807         (scalb_test_data): Likewise.
31808         (scalbn_test_data): Likewise.
31809         (scalbln_test_data): Likewise.
31810         (signbit_test_data): Likewise.
31811         (sin_test_data): Likewise.
31812         (sin_tonearest_test_data): Likewise.
31813         (sin_towardzero_test_data): Likewise.
31814         (sin_downward_test_data): Likewise.
31815         (sin_upward_test_data): Likewise.
31816         (sincos_test_data): Likewise.
31817         (sinh_test_data): Likewise.
31818         (sinh_tonearest_test_data): Likewise.
31819         (sinh_towardzero_test_data): Likewise.
31820         (sinh_downward_test_data): Likewise.
31821         (sinh_upward_test_data): Likewise.
31822         (sqrt_test_data): Likewise.
31823         (tan_test_data): Likewise.
31824         (tan_tonearest_test_data): Likewise.
31825         (tan_towardzero_test_data): Likewise.
31826         (tan_downward_test_data): Likewise.
31827         (tan_upward_test_data): Likewise.
31828         (tanh_test_data): Likewise.
31829         (tgamma_test_data): Likewise.
31830         (trunc_test_data): Likewise.
31831         (y0_test_data): Likewise.
31832         (y1_test_data): Likewise.
31833         (yn_test_data): Likewise.
31834         (significand_test_data): Likewise.
31836         * math/gen-libm-test.pl (@functions): Remove variable.
31837         (generate_testfile): Don't handle START and END lines.
31838         * math/libm-test.inc (START): New macro.
31839         (END): Likewise.
31840         (END_COMPLEX): Likewise.
31841         (acos_test): Use END macro without arguments.
31842         (acos_test_tonearest): Likewise.
31843         (acos_test_towardzero): Likewise.
31844         (acos_test_downward): Likewise.
31845         (acos_test_upward): Likewise.
31846         (acosh_test): Likewise.
31847         (asin_test): Likewise.
31848         (asin_test_tonearest): Likewise.
31849         (asin_test_towardzero): Likewise.
31850         (asin_test_downward): Likewise.
31851         (asin_test_upward): Likewise.
31852         (asinh_test): Likewise.
31853         (atan_test): Likewise.
31854         (atanh_test): Likewise.
31855         (atan2_test): Likewise.
31856         (cabs_test): Likewise.
31857         (cacos_test): Use END_COMPLEX macro without arguments.
31858         (cacosh_test): Likewise.
31859         (carg_test): Use END macro without arguments.
31860         (casin_test): Use END_COMPLEX macro without arguments.
31861         (casinh_test): Likewise.
31862         (catan_test): Likewise.
31863         (catanh_test): Likewise.
31864         (cbrt_test): Use END macro without arguments.
31865         (ccos_test): Use END_COMPLEX macro without arguments.
31866         (ccosh_test): Likewise.
31867         (ceil_test): Use END macro without arguments.
31868         (cexp_test): Use END_COMPLEX macro without arguments.
31869         (cimag_test): Use END macro without arguments.
31870         (clog_test): Use END_COMPLEX macro without arguments.
31871         (clog10_test): Likewise.
31872         (conj_test): Likewise.
31873         (copysign_test): Use END macro without arguments.
31874         (cos_test): Likewise.
31875         (cos_test_tonearest): Likewise.
31876         (cos_test_towardzero): Likewise.
31877         (cos_test_downward): Likewise.
31878         (cos_test_upward): Likewise.
31879         (cosh_test): Likewise.
31880         (cosh_test_tonearest): Likewise.
31881         (cosh_test_towardzero): Likewise.
31882         (cosh_test_downward): Likewise.
31883         (cosh_test_upward): Likewise.
31884         (cpow_test): Use END_COMPLEX macro without arguments.
31885         (cproj_test): Likewise.
31886         (creal_test): Use END macro without arguments.
31887         (csin_test): Use END_COMPLEX macro without arguments.
31888         (csinh_test): Likewise.
31889         (csqrt_test): Likewise.
31890         (ctan_test): Likewise.
31891         (ctan_test_tonearest): Likewise.
31892         (ctan_test_towardzero): Likewise.
31893         (ctan_test_downward): Likewise.
31894         (ctan_test_upward): Likewise.
31895         (ctanh_test): Likewise.
31896         (ctanh_test_tonearest): Likewise.
31897         (ctanh_test_towardzero): Likewise.
31898         (ctanh_test_downward): Likewise.
31899         (ctanh_test_upward): Likewise.
31900         (erf_test): Use END macro without arguments.
31901         (erfc_test): Likewise.
31902         (exp_test): Likewise.
31903         (exp_test_tonearest): Likewise.
31904         (exp_test_towardzero): Likewise.
31905         (exp_test_downward): Likewise.
31906         (exp_test_upward): Likewise.
31907         (exp10_test): Likewise.
31908         (exp2_test): Likewise.
31909         (expm1_test): Likewise.
31910         (fabs_test): Likewise.
31911         (fdim_test): Likewise.
31912         (finite_test): Likewise.
31913         (floor_test): Likewise.
31914         (fma_test): Likewise.
31915         (fma_test_towardzero): Likewise.
31916         (fma_test_downward): Likewise.
31917         (fma_test_upward): Likewise.
31918         (fmax_test): Likewise.
31919         (fmin_test): Likewise.
31920         (fmod_test): Likewise.
31921         (fpclassify_test): Likewise.
31922         (frexp_test): Likewise.
31923         (gamma_test): Likewise.
31924         (hypot_test): Likewise.
31925         (ilogb_test): Likewise.
31926         (isfinite_test): Likewise.
31927         (isgreater_test): Likewise.
31928         (isgreaterequal_test): Likewise.
31929         (isinf_test): Likewise.
31930         (isless_test): Likewise.
31931         (islessequal_test): Likewise.
31932         (islessgreater_test): Likewise.
31933         (isnan_test): Likewise.
31934         (isnormal_test): Likewise.
31935         (issignaling_test): Likewise.
31936         (isunordered_test): Likewise.
31937         (j0_test): Likewise.
31938         (j1_test): Likewise.
31939         (jn_test): Likewise.
31940         (ldexp_test): Likewise.
31941         (lgamma_test): Likewise.
31942         (lrint_test): Likewise.
31943         (lrint_test_tonearest): Likewise.
31944         (lrint_test_towardzero): Likewise.
31945         (lrint_test_downward): Likewise.
31946         (lrint_test_upward): Likewise.
31947         (llrint_test): Likewise.
31948         (llrint_test_tonearest): Likewise.
31949         (llrint_test_towardzero): Likewise.
31950         (llrint_test_downward): Likewise.
31951         (llrint_test_upward): Likewise.
31952         (log_test): Likewise.
31953         (log10_test): Likewise.
31954         (log1p_test): Likewise.
31955         (log2_test): Likewise.
31956         (logb_test): Likewise.
31957         (logb_test_downward): Likewise.
31958         (lround_test): Likewise.
31959         (llround_test): Likewise.
31960         (modf_test): Likewise.
31961         (nearbyint_test): Likewise.
31962         (nextafter_test): Likewise.
31963         (nexttoward_test): Likewise.
31964         (pow_test): Likewise.
31965         (pow_test_tonearest): Likewise.
31966         (pow_test_towardzero): Likewise.
31967         (pow_test_downward): Likewise.
31968         (pow_test_upward): Likewise.
31969         (remainder_test): Likewise.
31970         (remainder_test_tonearest): Likewise.
31971         (remainder_test_towardzero): Likewise.
31972         (remainder_test_downward): Likewise.
31973         (remainder_test_upward): Likewise.
31974         (remquo_test): Likewise.
31975         (rint_test): Likewise.
31976         (rint_test_tonearest): Likewise.
31977         (rint_test_towardzero): Likewise.
31978         (rint_test_downward): Likewise.
31979         (rint_test_upward): Likewise.
31980         (round_test): Likewise.
31981         (scalb_test): Likewise.
31982         (scalbn_test): Likewise.
31983         (scalbln_test): Likewise.
31984         (signbit_test): Likewise.
31985         (sin_test): Likewise.
31986         (sin_test_tonearest): Likewise.
31987         (sin_test_towardzero): Likewise.
31988         (sin_test_downward): Likewise.
31989         (sin_test_upward): Likewise.
31990         (sincos_test): Likewise.
31991         (sinh_test): Likewise.
31992         (sinh_test_tonearest): Likewise.
31993         (sinh_test_towardzero): Likewise.
31994         (sinh_test_downward): Likewise.
31995         (sinh_test_upward): Likewise.
31996         (sqrt_test): Likewise.
31997         (tan_test): Likewise.
31998         (tan_test_tonearest): Likewise.
31999         (tan_test_towardzero): Likewise.
32000         (tan_test_downward): Likewise.
32001         (tan_test_upward): Likewise.
32002         (tanh_test): Likewise.
32003         (tgamma_test): Likewise.
32004         (trunc_test): Likewise.
32005         (y0_test): Likewise.
32006         (y1_test): Likewise.
32007         (yn_test): Likewise.
32008         (significand_test): Likewise.
32010 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32012         [BZ #15381]
32013         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32015 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32017         [BZ #14894]
32018         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32019         __ppc_mdoio and __ppc_mdoom.
32020         * manual/platform.texi: Document new functions __ppc_yield,
32021         __ppc_mdoio and __ppc_mdoom.
32023 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32025         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32026         (main): Mention "tls" pseudo-hwcap is legacy.
32027         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32029 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32031         * math/gen-libm-test.pl (parse_args): Output only string of
32032         arguments as text for test name, not full call or descriptions of
32033         tests for extra outputs.
32034         (generate_testfile): Do not pass function name to parse_args.
32035         Generate this_func variable from START.
32036         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32037         field to arg_str.
32038         (struct test_ff_f_data): Likewise.
32039         (test_ff_f_data_nexttoward): Likewise.
32040         (struct test_fi_f_data): Likewise.
32041         (struct test_fl_f_data): Likewise.
32042         (struct test_if_f_data): Likewise.
32043         (struct test_fff_f_data): Likewise.
32044         (struct test_c_f_data): Likewise.
32045         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32046         (struct test_fF_f1_data): Likewise.
32047         (struct test_ffI_f1_data): Likewise.
32048         (struct test_c_c_data): Rename test_name field to arg_str.
32049         (struct test_cc_c_data): Likewise.
32050         (struct test_f_i_data): Likewise.
32051         (struct test_ff_i_data): Likewise.
32052         (struct test_f_l_data): Likewise.
32053         (struct test_f_L_data): Likewise.
32054         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32055         and extra2_name.
32056         (COMMON_TEST_SETUP): New macro.
32057         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32058         (COMMON_TEST_CLEANUP): Likewise.
32059         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32060         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32061         macros.
32062         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32063         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32064         macros.
32065         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32066         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32067         cleanup macros.
32068         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32069         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32070         macros.
32071         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32072         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32073         macros.
32074         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32075         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32076         cleanup macros.
32077         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32078         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32079         cleanup macros.
32080         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32081         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32082         cleanup macros.
32083         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32084         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32085         macros.
32086         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32087         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32088         macros.
32089         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32090         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32091         macros.
32092         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32093         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32094         cleanup macros.
32095         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32096         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32097         cleanup macros.
32098         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32099         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32100         macros.
32101         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32102         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32103         cleanup macros.
32104         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32105         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32106         macros.
32107         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32108         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32109         macros.
32110         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32111         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32112         cleanup macros.
32113         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32115 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32117         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32118         to _sifields.sigfault.
32119         (si_addr_lsb): Define new macro.
32120         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32121         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32122         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32124 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32126         [BZ #15441]
32127         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32128         returns -1.
32129         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32130         null return -1.
32131         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32132         loading the domain.
32134 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32136         * math/gen-libm-test.pl (parse_args): Do not include expected
32137         result in test name.
32138         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32139         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32140         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32141         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32142         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32145 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32147         * benchtests/Makefile: Sort function entries.
32149         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32150         tanh, asinh, acosh, atanh.
32151         * benchtests/acos-inputs: New file.
32152         * benchtests/acosh-inputs: New file.
32153         * benchtests/asin-inputs: New file.
32154         * benchtests/asinh-inputs: New file.
32155         * benchtests/atanh-inputs: New file.
32156         * benchtests/cosh-inputs: New file.
32157         * benchtests/log-inputs: New file.
32158         * benchtests/sinh-inputs: New file.
32159         * benchtests/tanh-inputs: New file.
32161 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32163         [BZ #15339]
32164         * posix/tst-getaddrinfo4.c: New test.
32165         * posix/Makefile (tests): Add it.
32167 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32169         [BZ #15339]
32170         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32171         when no services were used.
32172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32173         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32175 2013-05-21  Andreas Schwab  <schwab@suse.de>
32177         [BZ #15014]
32178         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32179         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32180         successful.
32181         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32182         redundant variable declarations and reallocation of buffer when
32183         parsing as IPv6 address.  Always set NSS status when called from
32184         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32185         buffer too small.  Correct computation of needed size.
32186         * nss/Makefile (tests): Add test-digits-dots.
32187         * nss/test-digits-dots.c: New test.
32189 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32191         * benchtests/Makefile: Remove instructions for adding
32192         benchmark tests.
32193         * benchtests/README: New file to explain how to execute and
32194         enhance the benchmark tests.
32196 2013-05-21  Andreas Schwab  <schwab@suse.de>
32198         [BZ #15493]
32199         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32200         * setjmp/tst-sigsetjmp.c: New test.
32202 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32204         * sysdeps/x86_64/memset.S (memset): New implementation.
32205         (__bzero): Likewise.
32206         (__memset_tail): New function.
32208 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32210         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32211         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32212         __memcpy_sse2_unaligned ifunc selection.
32213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32214         Add memcpy-sse2-unaligned.S.
32215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32216         Add: __memcpy_sse2_unaligned.
32218 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32220         [BZ #15490]
32221         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32222         math_force_eval before restoring floating-point envrionment.
32223         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32225         Likewise.
32226         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32227         <math_private.h>.
32228         (__nearbyintl): Use math_force_eval before restoring
32229         floating-point environment.
32230         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32232         * math/gen-libm-test.pl (special_functions): Remove.
32233         (parse_args): Don't handle TEST_extra.  Handle functions with no
32234         return value.
32235         * math/libm-test.inc (struct test_sincos_data): Replace with
32236         struct test_fFF_11_data.
32237         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32238         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32239         (sincos_test_data): Change element type to struct
32240         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32241         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32242         RUN_TEST_LOOP_sincos.
32243         * math/README.libm-test: Don't mention special handling of
32244         individual functions.
32245         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32246         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32247         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32248         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32249         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32252         * math/gen-libm-test.pl (get_variable): Remove function.
32253         (parse_args): Don't show pointer parameters to call in test
32254         names.  Use "extra output N" in test names for extra outputs
32255         rather than naming variables.
32257 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32259         [BZ #15488]
32260         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32261         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32262         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32263         double tests.
32264         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32265         disable.
32266         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32267         check_long_double.
32269         * math/gen-libm-test.pl (@tests): Remove variable.
32270         ($count): Likewise.
32271         (new_test): Remove function.
32272         (show_exceptions): New function.
32273         (special_functions): Use show_exceptions instead of new_test.
32274         (parse_args): Likewise.
32275         (generate_testfile): Pass only function name in generated call to
32276         print_max_error or print_complex_max_error.
32277         (get_ulps): Do not handle complex tests specially.
32278         (output_test): Rename to ...
32279         (get_all_ulps_for_test): ... this.  Return a string rather than
32280         printing to a file.  Require ulps to be present.
32281         (output_ulps): Generate arrays rather than #defines.
32282         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32283         (struct ulp_data): New type.
32284         (BUILD_COMPLEX_ULP): Remove macro.
32285         (compare_ulp_data): New function.
32286         (find_ulps): Likewise.
32287         (find_test_ulps): Likewise.
32288         (find_function_ulps): Likewise.
32289         (find_complex_function_ulps): Likewise.
32290         (print_max_error): Determine allowed ulps using
32291         find_function_ulps.
32292         (print_complex_max_error): Determine allowed ulps using
32293         find_complex_function_ulps.
32294         (check_float_internal): Determine max ulps using find_test_ulps.
32295         (check_float): Do not take max_ulp parameter.  Update call to
32296         check_float_internal.
32297         (check_complex): Likewise.
32298         (check_int): Do not take max_ulp parameter.
32299         (check_long): Likewise.
32300         (check_bool): Likewise.
32301         (check_longlong): Likewise.
32302         (struct test_f_f_data): Remove max_ulp field.
32303         (struct test_ff_f_data): Likewise.
32304         (struct test_ff_f_data_nexttoward): Likewise.
32305         (struct test_fi_f_data): Likewise.
32306         (struct test_fl_f_data): Likewise.
32307         (struct test_if_f_data): Likewise.
32308         (struct test_fff_f_data): Likewise.
32309         (struct test_c_f_data): Likewise.
32310         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32311         (struct test_fF_f1_data): Likewise.
32312         (struct test_ffI_f1_data): Likewise.
32313         (struct test_c_c_data): Remove max_ulp field.
32314         (struct test_cc_c_data): Likewise.
32315         (struct test_f_i_data): Likewise.
32316         (struct test_ff_i_data): Likewise.
32317         (struct test_f_l_data): Likewise.
32318         (struct test_f_L_data): Likewise.
32319         (struct test_sincos_data): Likewise.
32320         (RUN_TEST_f_f): Do not handle ulps.
32321         (RUN_TEST_LOOP_f_f): Likewise.
32322         (RUN_TEST_2_f): Likewise.
32323         (RUN_TEST_LOOP_2_f): Likewise.
32324         (RUN_TEST_fff_f): Likewise.
32325         (RUN_TEST_LOOP_fff_f): Likewise.
32326         (RUN_TEST_c_f): Likewise.
32327         (RUN_TEST_LOOP_c_f): Likewise.
32328         (RUN_TEST_f_f1): Likewise.
32329         (RUN_TEST_LOOP_f_f1): Likewise.
32330         (RUN_TEST_fF_f1): Likewise.
32331         (RUN_TEST_LOOP_fF_f1): Likewise.
32332         (RUN_TEST_fI_f1): Likewise.
32333         (RUN_TEST_LOOP_fI_f1): Likewise.
32334         (RUN_TEST_ffI_f1): Likewise.
32335         (RUN_TEST_LOOP_ffI_f1): Likewise.
32336         (RUN_TEST_c_c): Likewise.
32337         (RUN_TEST_LOOP_c_c): Likewise.
32338         (RUN_TEST_cc_c): Likewise.
32339         (RUN_TEST_LOOP_cc_c): Likewise.
32340         (RUN_TEST_f_i): Likewise.
32341         (RUN_TEST_LOOP_f_i): Likewise.
32342         (RUN_TEST_f_i_tg): Likewise.
32343         (RUN_TEST_LOOP_f_i_tg): Likewise.
32344         (RUN_TEST_ff_i_tg): Likewise.
32345         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32346         (RUN_TEST_f_b): Likewise.
32347         (RUN_TEST_LOOP_f_b): Likewise.
32348         (RUN_TEST_f_b_tg): Likewise.
32349         (RUN_TEST_LOOP_f_b_tg): Likewise.
32350         (RUN_TEST_f_l): Likewise.
32351         (RUN_TEST_LOOP_f_l): Likewise.
32352         (RUN_TEST_f_L): Likewise.
32353         (RUN_TEST_LOOP_f_L): Likewise.
32354         (RUN_TEST_sincos): Likewise.
32355         (RUN_TEST_LOOP_sincos): Likewise.
32357 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32359         [BZ #15480]
32360         [BZ #15485]
32361         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32362         main case of finite arguments, set rounding mode to FE_TONEAREST
32363         and discard exceptions.
32364         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32365         exceptions.
32366         (remainder_tonearest_test_data): New variable.
32367         (remainder_test_tonearest): New function.
32368         (remainder_towardzero_test_data): New variable.
32369         (remainder_test_towardzero): New function.
32370         (remainder_downward_test_data): New variable.
32371         (remainder_test_downward): New function.
32372         (remainder_upward_test_data): New variable.
32373         (remainder_test_upward): New function.
32374         (main): Call the new test functions.
32376         * math/libm-test.inc (struct test_f_f1_data): Remove field
32377         extra_init.
32378         (struct test_fF_f1_data): Likewise.
32379         (struct test_ffI_f1_data): Likewise.
32380         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32381         based on value of EXTRA_EXPECTED.
32382         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32383         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32384         EXTRA_VAR based on value of EXTRA_EXPECTED.
32385         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32386         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32387         EXTRA_VAR based on value of EXTRA_EXPECTED.
32388         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32389         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32390         EXTRA_VAR based on value of EXTRA_EXPECTED.
32391         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32392         * math/gen-libm-test.pl (parse_args): Don't output initializers
32393         for extra output values.
32395         * math/libm-test.inc (check_int): Expect result to be exactly
32396         equal to expected value and do not handle ulps.
32397         (check_long): Likewise.
32398         (check_longlong): Likewise.
32400         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32401         exceptions.
32402         (cimag_test_data): Likewise.
32403         (conj_test_data): Likewise.
32404         (copysign_test_data): Likewise.
32405         (cproj_test_data): Likewise.
32406         (creal_test_data): Likewise.
32407         (fabs_test_data): Likewise.
32408         (fdim_test_data): Likewise.
32409         (finite_test_data): Likewise.
32410         (floor_test_data): Likewise.
32411         (fmax_test_data): Likewise.
32412         (fmin_test_data): Likewise.
32413         (fmod_test_data): Likewise.
32414         (fpclassify_test_data): Likewise.
32415         (frexp_test_data): Likewise.
32416         (ilogb_test_data): Likewise.
32417         (isfinite_test_data): Likewise.
32418         (isgreater_test_data): Likewise.
32419         (isgreaterequal_test_data): Likewise.
32420         (isinf_test_data): Likewise.
32421         (isless_test_data): Likewise.
32422         (islessequal_test_data): Likewise.
32423         (islessgreater_test_data): Likewise.
32424         (isnan_test_data): Likewise.
32425         (isnormal_test_data): Likewise.
32426         (issignaling_test_data): Likewise.
32427         (isunordered_test_data): Likewise.
32428         (ldexp_test_data): Likewise.
32429         (lrint_test_data): Likewise.
32430         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32431         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32432         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32433         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32434         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32435         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32436         test input.
32437         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32438         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32439         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32440         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32441         that test input.
32442         (lrint_downward_test_data): Test for "inexact" exceptions.
32443         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32444         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32445         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32446         test input.
32447         (lrint_upward_test_data): Test for "inexact" exceptions.
32448         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32449         test input.
32450         (llrint_test_data): Test for "inexact" exceptions.
32451         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32452         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32453         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32454         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32455         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32456         (llrint_downward_test_data): Test for "inexact" exceptions.
32457         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32458         (llrint_upward_test_data): Test for "inexact" exceptions.
32459         (logb_test_data): Likewise.
32460         (logb_downward_test_data): Likewise.
32461         (nextafter_test_data): Likewise.
32462         (nexttoward_test_data): Likewise.
32463         (remainder_test_data): Likewise.
32464         (remquo_test_data): Likewise.
32465         (scalbn_test_data): Likewise.
32466         (scalbln_test_data): Likewise.
32467         (signbit_test_data): Likewise.
32468         (sqrt_test_data): Likewise.
32469         (significand_test_data): Likewise.
32471 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32473         [BZ #15424]
32474         * benchtests/bench-modf.c (struct args): Mark arg0 as
32475         volatile.
32476         * scripts/bench.pl: Mark members of struct args as volatile.
32478 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32480         [BZ # 15497]
32481         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32482         negative infinity on POWER6 or lower.
32483         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32485 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32487         [BZ #15442]
32488         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32489         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32490         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32491         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32492         (_FP_SETQNAN): New macro.
32493         (_FP_SETQNAN_SEMIRAW): Likewise.
32494         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32495         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32496         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32497         (FP_EXTEND): Use _FP_FRAC_SNANP.
32498         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32499         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32500         into account.
32501         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32502         New macro.
32503         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32504         Likewise.
32506 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32508         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32509         with DIVIDE_BY_ZERO_EXCEPTION.
32510         (gamma_test_data): Likewise.
32511         (lgamma_test_data): Likewise.
32512         (log_test_data): Likewise.
32513         (log10_test_data): Likewise.
32514         (log2_test_data): Likewise.
32515         (tgamma_test_data): Likewise.
32517         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32518         (acos_test_tonearest): Likewise.
32519         (acos_test_towardzero): Likewise.
32520         (acos_test_downward): Likewise.
32521         (acos_test_upward): Likewise.
32522         (acosh_test): Likewise.
32523         (asin_test): Likewise.
32524         (asin_test_tonearest): Likewise.
32525         (asin_test_towardzero): Likewise.
32526         (asin_test_downward): Likewise.
32527         (asin_test_upward): Likewise.
32528         (asinh_test): Likewise.
32529         (atan_test): Likewise.
32530         (atanh_test): Likewise.
32531         (atan2_test): Likewise.
32532         (cabs_test): Likewise.
32533         (cacos_test): Likewise.
32534         (cacosh_test): Likewise.
32535         (casin_test): Likewise.
32536         (casinh_test): Likewise.
32537         (catan_test): Likewise.
32538         (catanh_test): Likewise.
32539         (cbrt_test): Likewise.
32540         (ccos_test): Likewise.
32541         (ccosh_test): Likewise.
32542         (cexp_test): Likewise.
32543         (clog_test): Likewise.
32544         (clog10_test): Likewise.
32545         (cos_test): Likewise.
32546         (cos_test_tonearest): Likewise.
32547         (cos_test_towardzero): Likewise.
32548         (cos_test_downward): Likewise.
32549         (cos_test_upward): Likewise.
32550         (cosh_test): Likewise.
32551         (cosh_test_tonearest): Likewise.
32552         (cosh_test_towardzero): Likewise.
32553         (cosh_test_downward): Likewise.
32554         (cosh_test_upward): Likewise.
32555         (cpow_test): Likewise.
32556         (csin_test): Likewise.
32557         (csinh_test): Likewise.
32558         (csqrt_test): Likewise.
32559         (ctan_test): Likewise.
32560         (ctan_test_tonearest): Likewise.
32561         (ctan_test_towardzero): Likewise.
32562         (ctan_test_downward): Likewise.
32563         (ctan_test_upward): Likewise.
32564         (ctanh_test): Likewise.
32565         (ctanh_test_tonearest): Likewise.
32566         (ctanh_test_towardzero): Likewise.
32567         (ctanh_test_downward): Likewise.
32568         (ctanh_test_upward): Likewise.
32569         (erf_test): Likewise.
32570         (erfc_test): Likewise.
32571         (exp_test): Likewise.
32572         (exp_test_tonearest): Likewise.
32573         (exp_test_towardzero): Likewise.
32574         (exp_test_downward): Likewise.
32575         (exp_test_upward): Likewise.
32576         (exp10_test): Likewise.
32577         (exp2_test): Likewise.
32578         (expm1_test): Likewise.
32579         (fmod_test): Likewise.
32580         (gamma_test): Likewise.
32581         (hypot_test): Likewise.
32582         (j0_test): Likewise.
32583         (j1_test): Likewise.
32584         (jn_test): Likewise.
32585         (lgamma_test): Likewise.
32586         (log_test): Likewise.
32587         (log10_test): Likewise.
32588         (log1p_test): Likewise.
32589         (log2_test): Likewise.
32590         (logb_test_downward): Likewise.
32591         (pow_test): Likewise.
32592         (pow_test_tonearest): Likewise.
32593         (pow_test_towardzero): Likewise.
32594         (pow_test_downward): Likewise.
32595         (pow_test_upward): Likewise.
32596         (remainder_test): Likewise.
32597         (remquo_test): Likewise.
32598         (sin_test): Likewise.
32599         (sin_test_tonearest): Likewise.
32600         (sin_test_towardzero): Likewise.
32601         (sin_test_downward): Likewise.
32602         (sin_test_upward): Likewise.
32603         (sincos_test): Likewise.
32604         (sinh_test): Likewise.
32605         (sinh_test_tonearest): Likewise.
32606         (sinh_test_towardzero): Likewise.
32607         (sinh_test_downward): Likewise.
32608         (sinh_test_upward): Likewise.
32609         (sqrt_test): Likewise.
32610         (tan_test): Likewise.
32611         (tan_test_tonearest): Likewise.
32612         (tan_test_towardzero): Likewise.
32613         (tan_test_downward): Likewise.
32614         (tan_test_upward): Likewise.
32615         (tanh_test): Likewise.
32616         (tgamma_test): Likewise.
32617         (y0_test): Likewise.
32618         (y1_test): Likewise.
32619         (yn_test): Likewise.
32621         * math/gen-libm-test.pl (adjust_arg): Remove function.
32622         (special_function): Remove argument $in_func.  Only handle
32623         generating output for tables of tests, not inside functions.
32624         (parse_args): Likewise.
32625         (generate_testfile): Remove variable $in_func.  Update call to
32626         parse_args.
32627         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32628         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32629         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32630         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32631         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32632         (MAX_VALUE_INIT): Rename macro to max_value.
32633         (MIN_VALUE_INIT): Rename macro to min_value.
32634         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32635         (plus_zero): Remove variable.
32636         (minus_zero): Likewise.
32637         (plus_infty): Likewise.
32638         (minus_infty): Likewise.
32639         (qnan_value): Likewise.
32640         (max_value): Likewise.
32641         (min_value): Likewise.
32642         (min_subnorm_value): Likewise.
32644 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32646         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32647         uint64_t or uint32_t usage.
32648         * crypt/sha256-block.c: Likewise.
32649         * crypt/sha256-crypt.c: Likewise.
32650         * crypt/sha256.c: Likewise.
32651         * crypt/sha512-block.c: Likewise.
32652         * crypt/sha512-crypt.c: Likewise.
32653         * crypt/sha512.c: Likewise.
32654         * debug/backtrace-tst.c: Likewise.
32655         * debug/pcprofiledump.c: Likewise.
32656         * elf/cache.c: Likewise.
32657         * elf/dl-cache.c: Likewise.
32658         * elf/dl-misc.c: Likewise.
32659         * elf/dl-profile.c: Likewise.
32660         * elf/dl-support.c: Likewise.
32661         * elf/ldconfig.c: Likewise.
32662         * elf/sprof.c: Likewise.
32663         * iconv/dummy-repertoire.c: Likewise.
32664         * iconv/iconv_charmap.c: Likewise.
32665         * iconv/skeleton.c: Likewise.
32666         * iconvdata/8bit-generic.c: Likewise.
32667         * iconvdata/cp737.h: Likewise.
32668         * iconvdata/cp775.h: Likewise.
32669         * iconvdata/ibm1008.h: Likewise.
32670         * iconvdata/ibm1025.h: Likewise.
32671         * iconvdata/ibm1046.h: Likewise.
32672         * iconvdata/ibm1097.h: Likewise.
32673         * iconvdata/ibm1112.h: Likewise.
32674         * iconvdata/ibm1122.h: Likewise.
32675         * iconvdata/ibm1123.h: Likewise.
32676         * iconvdata/ibm1124.h: Likewise.
32677         * iconvdata/ibm1129.h: Likewise.
32678         * iconvdata/ibm1130.h: Likewise.
32679         * iconvdata/ibm1132.h: Likewise.
32680         * iconvdata/ibm1133.h: Likewise.
32681         * iconvdata/ibm1137.h: Likewise.
32682         * iconvdata/ibm1140.h: Likewise.
32683         * iconvdata/ibm1141.h: Likewise.
32684         * iconvdata/ibm1142.h: Likewise.
32685         * iconvdata/ibm1143.h: Likewise.
32686         * iconvdata/ibm1144.h: Likewise.
32687         * iconvdata/ibm1145.h: Likewise.
32688         * iconvdata/ibm1146.h: Likewise.
32689         * iconvdata/ibm1147.h: Likewise.
32690         * iconvdata/ibm1148.h: Likewise.
32691         * iconvdata/ibm1149.h: Likewise.
32692         * iconvdata/ibm1153.h: Likewise.
32693         * iconvdata/ibm1154.h: Likewise.
32694         * iconvdata/ibm1155.h: Likewise.
32695         * iconvdata/ibm1156.h: Likewise.
32696         * iconvdata/ibm1157.h: Likewise.
32697         * iconvdata/ibm1158.h: Likewise.
32698         * iconvdata/ibm1160.h: Likewise.
32699         * iconvdata/ibm1161.h: Likewise.
32700         * iconvdata/ibm1162.h: Likewise.
32701         * iconvdata/ibm1163.h: Likewise.
32702         * iconvdata/ibm1164.h: Likewise.
32703         * iconvdata/ibm1166.h: Likewise.
32704         * iconvdata/ibm1167.h: Likewise.
32705         * iconvdata/ibm12712.h: Likewise.
32706         * iconvdata/ibm1390.h: Likewise.
32707         * iconvdata/ibm1399.h: Likewise.
32708         * iconvdata/ibm16804.h: Likewise.
32709         * iconvdata/ibm4517.h: Likewise.
32710         * iconvdata/ibm4899.h: Likewise.
32711         * iconvdata/ibm4909.h: Likewise.
32712         * iconvdata/ibm4971.h: Likewise.
32713         * iconvdata/ibm5347.h: Likewise.
32714         * iconvdata/ibm803.h: Likewise.
32715         * iconvdata/ibm856.h: Likewise.
32716         * iconvdata/ibm901.h: Likewise.
32717         * iconvdata/ibm902.h: Likewise.
32718         * iconvdata/ibm9030.h: Likewise.
32719         * iconvdata/ibm9066.h: Likewise.
32720         * iconvdata/ibm921.h: Likewise.
32721         * iconvdata/ibm922.h: Likewise.
32722         * iconvdata/ibm9448.h: Likewise.
32723         * iconvdata/isiri-3342.h: Likewise.
32724         * iconvdata/jis0201.h: Likewise.
32725         * include/link.h: Likewise.
32726         * include/netdb.h: Likewise.
32727         * inet/check_native.c: Likewise.
32728         * inet/check_pf.c: Likewise.
32729         * inet/getipv4sourcefilter.c: Likewise.
32730         * inet/getnameinfo.c: Likewise.
32731         * inet/getsourcefilter.c: Likewise.
32732         * inet/htonl.c: Likewise.
32733         * inet/setipv4sourcefilter.c: Likewise.
32734         * inet/setsourcefilter.c: Likewise.
32735         * inet/test-inet6_opt.c: Likewise.
32736         * inet/tst-network.c: Likewise.
32737         * locale/C-collate.c: Likewise.
32738         * locale/C-ctype.c: Likewise.
32739         * locale/C-time.c: Likewise.
32740         * locale/C-translit.h: Likewise.
32741         * locale/loadarchive.c: Likewise.
32742         * locale/programs/3level.h: Likewise.
32743         * locale/programs/charmap.c: Likewise.
32744         * locale/programs/charmap.h: Likewise.
32745         * locale/programs/ld-address.c: Likewise.
32746         * locale/programs/ld-collate.c: Likewise.
32747         * locale/programs/ld-ctype.c: Likewise.
32748         * locale/programs/ld-identification.c: Likewise.
32749         * locale/programs/ld-measurement.c: Likewise.
32750         * locale/programs/ld-messages.c: Likewise.
32751         * locale/programs/ld-monetary.c: Likewise.
32752         * locale/programs/ld-name.c: Likewise.
32753         * locale/programs/ld-numeric.c: Likewise.
32754         * locale/programs/ld-paper.c: Likewise.
32755         * locale/programs/ld-telephone.c: Likewise.
32756         * locale/programs/ld-time.c: Likewise.
32757         * locale/programs/linereader.c: Likewise.
32758         * locale/programs/locale.c: Likewise.
32759         * locale/programs/locarchive.c: Likewise.
32760         * locale/programs/locfile.h: Likewise.
32761         * locale/programs/repertoire.c: Likewise.
32762         * locale/programs/simple-hash.c: Likewise.
32763         * locale/programs/simple-hash.h: Likewise.
32764         * malloc/memusage.c: Likewise.
32765         * malloc/memusagestat.c: Likewise.
32766         * nis/nis_defaults.c: Likewise.
32767         * nis/nis_hash.c: Likewise.
32768         * nis/nis_print.c: Likewise.
32769         * nis/nis_xdr.c: Likewise.
32770         * nscd/connections.c: Likewise.
32771         * nscd/hstcache.c: Likewise.
32772         * nscd/nscd_gethst_r.c: Likewise.
32773         * nscd/nscd_getserv_r.c: Likewise.
32774         * nscd/nscd_helper.c: Likewise.
32775         * nscd/servicescache.c: Likewise.
32776         * nss/makedb.c: Likewise.
32777         * nss/nss_db/db-XXX.c: Likewise.
32778         * nss/nss_db/db-initgroups.c: Likewise.
32779         * nss/nss_db/db-netgrp.c: Likewise.
32780         * nss/nss_files/files-network.c: Likewise.
32781         * nss/nss_files/files-parse.c: Likewise.
32782         * posix/bug-regex5.c: Likewise.
32783         * posix/fnmatch_loop.c: Likewise.
32784         * posix/regcomp.c: Likewise.
32785         * posix/regexec.c: Likewise.
32786         * posix/tst-rfc3484-2.c: Likewise.
32787         * posix/tst-rfc3484-3.c: Likewise.
32788         * posix/tst-rfc3484.c: Likewise.
32789         * resolv/nss_dns/dns-canon.c: Likewise.
32790         * resolv/nss_dns/dns-network.c: Likewise.
32791         * resolv/res_init.c: Likewise.
32792         * resolv/res_mkquery.c: Likewise.
32793         * resolv/tst-aton.c: Likewise.
32794         * stdlib/cxa_atexit.c: Likewise.
32795         * stdlib/cxa_finalize.c: Likewise.
32796         * stdlib/gen-fpioconst.c: Likewise.
32797         * stdlib/strtol_l.c: Likewise.
32798         * string/tst-endian.c: Likewise.
32799         * sunrpc/auth_des.c: Likewise.
32800         * sunrpc/clnt_udp.c: Likewise.
32801         * sunrpc/rtime.c: Likewise.
32802         * sunrpc/svcauth_des.c: Likewise.
32803         * sunrpc/xdr.c: Likewise.
32804         * sunrpc/xdr_intXX_t.c: Likewise.
32805         * sunrpc/xdr_rec.c: Likewise.
32806         * sysdeps/generic/ldconfig.h: Likewise.
32807         * sysdeps/generic/ldsodefs.h: Likewise.
32808         * sysdeps/generic/memusage.h: Likewise.
32809         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32810         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32811         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32813         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32814         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32815         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32816         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32817         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32819         * sysdeps/posix/getaddrinfo.c: Likewise.
32820         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32821         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32822         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32823         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32824         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32825         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32826         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32827         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32828         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32829         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32830         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32831         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32832         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32833         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32834         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32835         * sysdeps/x86_64/dl-tls.h: Likewise.
32836         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32837         * time/alt_digit.c: Likewise.
32838         * time/era.c: Likewise.
32839         * wcsmbs/tst-c16c32-1.c: Likewise.
32841 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32843         * math/libm-test.inc (struct test_sincos_data): New type.
32844         (RUN_TEST_LOOP_sincos): New macro.
32845         (sincos_test_data): New variable.
32846         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32848 2013-05-16  Richard Henderson  <rth@redhat.com>
32850         * math/atest-exp2.c (LIMB64): New macro.
32851         (CONSTSZ): New macro.
32852         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32853         (hexdig): Move ...
32854         (print_mpn_fp): ... to function scope.
32855         (read_mpn_hex): Remove.
32856         (get_log2): Remove.
32857         (exp2_mpn): Use mp_log2.
32858         (main): Use mp_exp1.
32860 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32862         * math/libm-test.inc: Remove comment about not testing "inexact"
32863         exceptions.
32864         (INEXACT_EXCEPTION): New macro.
32865         (NO_INEXACT_EXCEPTION): Likewise.
32866         (INVALID_EXCEPTION_OK): Update value.
32867         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32868         (OVERFLOW_EXCEPTION_OK): Likewise.
32869         (UNDERFLOW_EXCEPTION_OK): Likewise.
32870         (IGNORE_ZERO_INF_SIGN): Likewise.
32871         (ERRNO_UNCHANGED): Likewise.
32872         (ERRNO_EDOM): Likewise.
32873         (ERRNO_ERANGE): Likewise.
32874         (test_exceptions): Handle testing "inexact" exceptions.
32875         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32876         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32877         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32878         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32879         INEXACT_EXCEPTION.
32880         (rint_towardzero_test_data): Likewise.
32881         (rint_downward_test_data): Likewise.
32882         (rint_upward_test_data): Likewise.
32884         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32885         with OVERFLOW_EXCEPTION.
32886         (exp10_test_data): Likewise.
32887         (exp2_test_data): Likewise.
32888         (expm1_test_data): Likewise.
32889         (lgamma_test_data): Likewise.
32890         (pow_test_data): Likewise.
32891         (tgamma_test_data): Likewise.
32892         (yn_test_data): Remove duplicate test of overflow.
32894         * math/libm-test.inc (struct test_cc_c_data): New type.
32895         (RUN_TEST_LOOP_cc_c): New macro.
32896         (cpow_test_data): New variable.
32897         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32899         * math/libm-test.inc (struct test_f_L_data): New type.
32900         (RUN_TEST_LOOP_f_L): New macro.
32901         (llrint_test_data): New variable.
32902         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32903         (llrint_tonearest_test_data): New variable.
32904         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32905         (llrint_towardzero_test_data): New variable.
32906         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32907         (llrint_downward_test_data): New variable.
32908         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32909         (llrint_upward_test_data): New variable.
32910         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32911         (llround_test_data): New variable.
32912         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32914 2013-05-13  Peter Collingbourne  <pcc@google.com>
32916         * math/atest-exp2.c (get_log2): Remove const attribute.
32918 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32920         * math/libm-test.inc (struct test_f_l_data): New type.
32921         (RUN_TEST_LOOP_f_l): New macro.
32922         (lrint_test_data): New variable.
32923         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32924         (lrint_tonearest_test_data): New variable.
32925         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32926         (lrint_towardzero_test_data): New variable.
32927         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32928         (lrint_downward_test_data): New variable.
32929         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32930         (lrint_upward_test_data): New variable.
32931         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32932         (lround_test_data): New variable.
32933         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32935 2013-05-15  Peter Collingbourne  <pcc@google.com>
32937         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32938         (EXTRACT_WORDS64) Use where appropriate.
32939         (INSERT_WORDS64) Likewise.
32941         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32942         constraints with x constraints.
32943         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32945         * malloc/obstack.c (_obstack_compat): Add initializer.
32947 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32949         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32950         si_trapno and add si_addr_lsb to _sifields.sigfault.
32951         (si_trapno): Remove macro.
32952         (si_addr_lsb): Define new macro.
32953         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32955 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32957         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32958         instead of TEST_f_l.
32959         (llrint_test_tonearest): Likewise.
32960         (llrint_test_towardzero): Likewise.
32961         (llrint_test_downward): Likewise.
32962         (llrint_test_upward): Likewise.
32963         (llround_test): Likewise.
32965         * math/libm-test.inc (struct test_f_i_data): Add comment.
32966         (RUN_TEST_LOOP_f_b): New macro.
32967         (RUN_TEST_LOOP_f_b_tg): Likewise.
32968         (finite_test_data): New variable.
32969         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32970         (isfinite_test_data): New variable.
32971         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32972         (isinf_test_data): New variable.
32973         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32974         (isnan_test_data): New variable.
32975         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32976         (isnormal_test_data): New variable.
32977         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32978         (issignaling_test_data): New variable.
32979         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32980         (signbit_test_data): New variable.
32981         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32983         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32984         with INVALID_EXCEPTION.
32985         (acosh_test_data): Likewise.
32986         (asin_test_data): Likewise.
32987         (atanh_test_data): Likewise.
32988         (fmod_test_data): Likewise.
32989         (log_test_data): Likewise.
32990         (log10_test_data): Likewise.
32991         (log2_test_data): Likewise.
32992         (pow_test_data): Likewise.
32993         (sqrt_test_data): Likewise.
32994         (y0_test_data): Likewise.
32995         (y1_test_data): Likewise.
32996         (yn_test_data): Likewise.
32998         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32999         function contents.
33001         * math/libm-test.inc (struct test_ff_i_data): New type.
33002         (RUN_TEST_LOOP_ff_i_tg): New macro.
33003         (isgreater_test_data): New variable.
33004         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33005         (isgreaterequal_test_data): New variable.
33006         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33007         (isless_test_data): New variable.
33008         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33009         (islessequal_test_data): New variable.
33010         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33011         (islessgreater_test_data): New variable.
33012         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33013         (isunordered_test_data): New variable.
33014         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33016 2013-05-14  David S. Miller  <davem@davemloft.net>
33018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33020 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33022         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33024         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33025         extra_test to int.
33026         (struct test_f_i_data): Change type of max_ulp to int.
33028         * math/libm-test.inc (test_ffI_f1_data): New type.
33029         (RUN_TEST_LOOP_ffI_f1): New macro.
33030         (remquo_test_data): New variable.
33031         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33033         * setjmp/tst-setjmp-fp.c: New file.
33034         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33035         (link-libm): New variable.
33036         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33038         * math/libm-test.inc (struct test_f_i_data): New type.
33039         (RUN_TEST_LOOP_f_i): New macro.
33040         (RUN_TEST_LOOP_f_i_tg): Likewise.
33041         (fpclassify_test_data): New variable.
33042         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33043         (ilogb_test_data): New variable.
33044         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33046         * math/libm-test.inc (scalbln_test): Correct function name in END
33047         call.
33049         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33050         (RUN_TEST_LOOP_fI_f1): New macro.
33051         (frexp_test_data): New variable.
33052         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33054         * math/libm-test.inc (struct test_fF_f1_data): New type.
33055         (RUN_TEST_LOOP_fF_f1): New macro.
33056         (modf_test_data): New variable.
33057         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33059         * math/libm-test.inc (struct test_f_f1_data): New type.
33060         (RUN_TEST_LOOP_f_f1): New macro.
33061         (gamma_test_data): New variable.
33062         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33063         (lgamma_test_data): New variable.
33064         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33066 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33068         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33069         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33070         (main): Comment "tls" pseudo-hwcap.
33072 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33074         * math/libm-test.inc (struct test_fl_f_data): New type.
33075         (RUN_TEST_LOOP_fl_f): New variable.
33076         (scalbln_test_data): New variable.
33077         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33079         * math/libm-test.inc (struct test_fi_f_data): New type.
33080         (RUN_TEST_LOOP_fi_f): New macro.
33081         (ldexp_test_data): New variable.
33082         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33083         (scalbn_test_data): New variable.
33084         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33086         * math/libm-test.inc (struct test_c_f_data): New type.
33087         (RUN_TEST_LOOP_c_f): New macro.
33088         (cabs_test_data): New variable.
33089         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33090         (carg_test_data): New variable.
33091         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33092         (cimag_test_data): New variable.
33093         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33094         (creal_test_data): New variable.
33095         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33097         * math/libm-test.inc (struct test_if_f_data): New type.
33098         (RUN_TEST_LOOP_if_f): New macro.
33099         (jn_test_data): New variable.
33100         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33101         (yn_test_data): New variable.
33102         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33104         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33106 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33108         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33109         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33111 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33113         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33114         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33115         (bench-deps): Add bench-timing.h.
33116         * benchtests-bench-skeleton.c: Include bench-timing.h.
33117         (main): Use TIMING_* macros instead of clock_gettime.
33118         * benchtests/bench-timing.h: New file.
33120         [BZ #14582]
33121         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33122         Renamed from _LIB_VERSION.
33123         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33125 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33127         * math/libm-test.inc (struct test_fff_f_data): New type.
33128         (RUN_TEST_LOOP_fff_f): New macro.
33129         (fma_test_data): New variable.
33130         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33131         (fma_towardzero_test_data): New variable.
33132         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33133         (fma_downward_test_data): New variable.
33134         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33135         (fma_upward_test_data): New variable.
33136         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33138         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33139         (struct test_c_c_data): New type.
33140         (RUN_TEST_LOOP_c_c): New macro.
33141         (cacos_test_data): New variable.
33142         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33143         (cacosh_test_data): New variable.
33144         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33145         (casin_test_data): New variable.
33146         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33147         (casinh_test_data): New variable.
33148         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33149         (catan_test_data): New variable.
33150         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33151         (catanh_test_data): New variable.
33152         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33153         (ccos_test_data): New variable.
33154         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33155         (ccosh_test_data): New variable.
33156         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33157         (cexp_test_data): New variable.
33158         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33159         (clog_test_data): New variable.
33160         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33161         (clog10_test_data): New variable.
33162         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33163         (conj_test_data): New variable.
33164         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33165         (cproj_test_data): New variable.
33166         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33167         (csin_test_data): New variable.
33168         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33169         (csinh_test_data): New variable.
33170         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33171         (csqrt_test_data): New variable.
33172         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33173         (ctan_test_data): New variable.
33174         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33175         (ctan_tonearest_test_data): New variable.
33176         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33177         (ctan_towardzero_test_data): New variable.
33178         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33179         (ctan_downward_test_data): New variable.
33180         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33181         (ctan_upward_test_data): New variable.
33182         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33183         (ctanh_test_data): New variable.
33184         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33185         (ctanh_tonearest_test_data): New variable.
33186         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33187         (ctanh_towardzero_test_data): New variable.
33188         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33189         (ctanh_downward_test_data): New variable.
33190         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33191         (ctanh_upward_test_data): New variable.
33192         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33193         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33194         of BUILD_COMPLEX.
33196         * math/libm-test.inc (struct test_ff_f_data): New type.
33197         (struct test_ff_f_data_nexttoward): Likewise.
33198         (RUN_TEST_LOOP_2_f): New macro.
33199         (RUN_TEST_LOOP_ff_f): Likewise.
33200         (atan2_test_data): New variable.
33201         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33202         (copysign_test_data): New variable.
33203         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33204         (fdim_test_data): New variable.
33205         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33206         (fmax_test_data): New variable.
33207         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33208         (fmin_test_data): New variable.
33209         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33210         (fmod_test_data): New variable.
33211         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33212         (hypot_test_data): New variable.
33213         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33214         (nextafter_test_data): New variable.
33215         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33216         (nexttoward_test_data): New variable.
33217         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33218         (pow_test_data): New variable.
33219         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33220         (pow_tonearest_test_data): New variable.
33221         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33222         (pow_towardzero_test_data): New variable.
33223         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33224         (pow_downward_test_data): New variable.
33225         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33226         (pow_upward_test_data): New variable.
33227         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33228         (remainder_test_data): New variable.
33229         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33230         (scalb_test_data): New variable.
33231         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33232         * sysdeps/i386/fpu/libm-test-ulps: Update.
33234 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33236         * math/libm-test.inc (fma_test): Use max_value instead of local
33237         variable fltmax.
33238         (nextafter_test): Likewise.
33240         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33241         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33242         (acos_downward_test_data): New variable.
33243         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33244         (acos_upward_test_data): New variable.
33245         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33246         (acosh_test_data): New variable.
33247         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33248         (asin_test_data): New variable.
33249         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33250         (asin_tonearest_test_data): New variable.
33251         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33252         (asin_towardzero_test_data): New variable.
33253         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33254         (asin_downward_test_data): New variable.
33255         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33256         (asin_upward_test_data): New variable.
33257         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33258         (asinh_test_data): New variable.
33259         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33260         (atan_test_data): New variable.
33261         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33262         (atanh_test_data): New variable.
33263         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33264         (cbrt_test_data): New variable.
33265         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33266         (ceil_test_data): New variable.
33267         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33268         (cos_test_data): New variable.
33269         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33270         (cos_tonearest_test_data): New variable.
33271         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33272         (cos_towardzero_test_data): New variable.
33273         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33274         (cos_downward_test_data): New variable.
33275         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33276         (cos_upward_test_data): New variable.
33277         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33278         (cosh_test_data): New variable.
33279         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33280         (cosh_tonearest_test_data): New variable.
33281         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33282         (cosh_towardzero_test_data): New variable.
33283         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33284         (cosh_downward_test_data): New variable.
33285         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33286         (cosh_upward_test_data): New variable.
33287         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33288         (erf_test_data): New variable.
33289         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33290         (erfc_test_data): New variable.
33291         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33292         (exp_test_data): New variable.
33293         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33294         (exp_tonearest_test_data): New variable.
33295         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33296         (exp_towardzero_test_data): New variable.
33297         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33298         (exp_downward_test_data): New variable.
33299         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33300         (exp_upward_test_data): New variable.
33301         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33302         (exp10_test_data): New variable.
33303         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33304         (exp2_test_data): New variable.
33305         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33306         (expm1_test_data): New variable.
33307         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33308         (fabs_test_data): New variable.
33309         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33310         (floor_test_data): New variable.
33311         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33312         (j0_test_data): New variable.
33313         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33314         (j1_test_data): New variable.
33315         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33316         (log_test_data): New variable.
33317         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33318         (log10_test_data): New variable.
33319         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33320         (log1p_test_data): New variable.
33321         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33322         (log2_test_data): New variable.
33323         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33324         (logb_test_data): New variable.
33325         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33326         (logb_downward_test_data): New variable.
33327         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33328         (nearbyint_test_data): New variable.
33329         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33330         (rint_test_data): New variable.
33331         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33332         (rint_tonearest_test_data): New variable.
33333         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33334         (rint_towardzero_test_data): New variable.
33335         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33336         (rint_downward_test_data): New variable.
33337         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33338         (rint_upward_test_data): New variable.
33339         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33340         (round_test_data): New variable.
33341         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33342         (sin_test_data): New variable.
33343         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33344         (sin_tonearest_test_data): New variable.
33345         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33346         (sin_towardzero_test_data): New variable.
33347         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33348         (sin_downward_test_data): New variable.
33349         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33350         (sin_upward_test_data): New variable.
33351         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33352         (sinh_test_data): New variable.
33353         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33354         (sinh_tonearest_test_data): New variable.
33355         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33356         (sinh_towardzero_test_data): New variable.
33357         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33358         (sinh_downward_test_data): New variable.
33359         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33360         (sinh_upward_test_data): New variable.
33361         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33362         (sqrt_test_data): New variable.
33363         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33364         (tan_test_data): New variable.
33365         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33366         (tan_tonearest_test_data): New variable.
33367         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33368         (tan_towardzero_test_data): New variable.
33369         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33370         (tan_downward_test_data): New variable.
33371         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33372         (tan_upward_test_data): New variable.
33373         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33374         (tanh_test_data): New variable.
33375         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33376         (tgamma_test_data): New variable.
33377         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33378         (trunc_test_data): New variable.
33379         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33380         (y0_test_data): New variable.
33381         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33382         (y1_test_data): New variable.
33383         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33384         (significand_test_data): New variable.
33385         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33387 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33389         [BZ #12387]
33390         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33392 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33394         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33396 2013-05-10  Andreas Jaeger  <aj@suse.de>
33398         [BZ #15448]
33399         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33400         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33402 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33404         * math/gen-libm-test.pl (adjust_arg): New function.
33405         (special_functions): Handle generating output in both functions
33406         and arrays.
33407         (parse_args): Likewise.
33408         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33409         $in_func argument to parse_args.
33410         * math/libm-test.inc (struct test_f_f_data): New type.
33411         (IF_ROUND_INIT_): New macro.
33412         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33413         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33414         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33415         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33416         (ROUND_RESTORE_): Likewise.
33417         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33418         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33419         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33420         (ROUND_RESTORE_FE_UPWARD): Likewise.
33421         (RUN_TEST_LOOP_f_f): New macro.
33422         (acos_test_data): New variable.
33423         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33424         (acos_tonearest_test_data): New variable.
33425         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33427 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33429         * benchtests/bench-skeleton.c (startup): Fix coding style.
33431 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33433         [BZ #6809]
33434         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33435         negative infinity argument.
33436         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33437         negative infinity argument.
33438         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33439         negative infinity argument.
33440         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33441         domain errors.
33443 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33445         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33446         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33447         * iconv/iconv_prog.c (main): Likewise.
33448         * locale/programs/charmap-dir.c (charmap_readdir)
33449         (fopen_uncompressed): Likewise.
33450         * locale/programs/locfile.c (siblings_uncached)
33451         (write_locale_data): Use lstat64 instead of lstat.
33452         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33453         stat.
33455 2013-05-10  Andreas Jaeger  <aj@suse.de>
33457         [BZ #15395]
33458         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33459         localization.
33460         Include <locale.h>.
33462 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33464         * elf/dl-close.c (_dl_close_worker): Add comments.
33466 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33468         [BZ #15359]
33469         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33470         high part of pi/2.
33471         (__ieee754_rem_pio2l): Update comments.
33473         [BZ #15429]
33474         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33475         high part of pi/2.
33476         (__ieee754_rem_pio2l): Update comments.
33478         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33479         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33481         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33482         M_PI_4l.
33484         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33485         (M_PI_34_LOG10El): Likewise.
33486         (M_PI2_LOG10El): Likewise.
33487         (M_PI4_LOG10El): Likewise.
33488         (M_PI_LOG10El): Likewise.
33490 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33494 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33496         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33497         (MINUS_ZERO_INIT): Likewise.
33498         (PLUS_INFTY_INIT): Likewise.
33499         (MINUS_INFTY_INIT): Likewise.
33500         (QNAN_VALUE_INIT): Likewise.
33501         (MAX_VALUE_INIT): Likewise.
33502         (MIN_VALUE_INIT): Likewise.
33503         (MIN_SUBNORM_VALUE_INIT): Likewise.
33504         (plus_zero): Initialize with PLUS_ZERO_INIT.
33505         (minus_zero): Initialize with MINUS_ZERO_INIT.
33506         (plus_infty): Initialize with PLUS_INFTY_INIT.
33507         (minus_infty): Initialize with MINUS_INFTY_INIT.
33508         (qnan_value): Initialize with QNAN_VALUE_INIT.
33509         (max_value): Initialize with MAX_VALUE_INIT.
33510         (min_value): Initialize with MIN_VALUE_INIT.
33511         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33513         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33514         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33515         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33516         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33518         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33519         (RUN_TEST_2_f): Likewise.
33520         (RUN_TEST_ff_f): Likewise.
33521         (RUN_TEST_fi_f): Likewise.
33522         (RUN_TEST_fl_f): Likewise.
33523         (RUN_TEST_fff_f): Likewise.
33524         (RUN_TEST_c_f): Likewise.
33525         (RUN_TEST_f_f1): Likewise.
33526         (RUN_TEST_fF_f1): Likewise.
33527         (RUN_TEST_fI_f1): Likewise.
33528         (RUN_TEST_ffI_f1): Likewise.
33529         (RUN_TEST_c_c): Likewise.
33530         (RUN_TEST_cc_c): Likewise.
33531         (RUN_TEST_f_i): Likewise.
33532         (RUN_TEST_f_i_tg): Likewise.
33533         (RUN_TEST_ff_i_tg): Likewise.
33534         (RUN_TEST_f_b): Likewise.
33535         (RUN_TEST_f_b_tg): Likewise.
33536         (RUN_TEST_f_l): Likewise.
33537         (RUN_TEST_f_L): Likewise.
33538         (RUN_TEST_sincos): Likewise.
33539         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33540         whether to show exceptions.  Do not include ");\n" in return
33541         value.
33542         (special_functions): Output call to RUN_TEST_sincos instead of
33543         check_float calls.  Update calls to new_test.
33544         (parse_args): Output call to single RUN_TEST_* macro instead of
33545         check_* calls and other assignments.  Update calls to new_test.
33547         [BZ #2546]
33548         [BZ #2560]
33549         [BZ #5159]
33550         [BZ #15426]
33551         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33552         input to result for tgamma overflow.
33553         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33554         (gamma_coeff): New variable.
33555         (NCOEFF): New macro.
33556         (gamma_positive): New function.
33557         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33558         underflow here.  Use gamma_positive instead of exp (lgamma) for
33559         other arguments.
33560         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33561         (gamma_coeff): New variable.
33562         (NCOEFF): New macro.
33563         (gammaf_positive): New function.
33564         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33565         underflow here.  Use gamma_positive instead of exp (lgamma) for
33566         other arguments.
33567         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33568         (gamma_coeff): New variable.
33569         (NCOEFF): New macro.
33570         (gammal_positive): New function.
33571         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33572         underflow here.  Use gamma_positive instead of exp (lgamma) for
33573         other arguments.
33574         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33575         (gamma_coeff): New variable.
33576         (NCOEFF): New macro.
33577         (gammal_positive): New function.
33578         (__ieee754_gammal_r): Handle positive infinity, overflow and
33579         underflow here.  Handle NaN the same as positive infinity.  Remove
33580         check x < 0xffffffff for negative integers.  Use gamma_positive
33581         instead of exp (lgamma) for other arguments.
33582         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33583         (gamma_coeff): New variable.
33584         (NCOEFF): New macro.
33585         (gammal_positive): New function.
33586         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33587         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33588         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33589         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33590         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33591         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33592         * sysdeps/generic/math_private.h (__gamma_productf): New
33593         prototype.
33594         (__gamma_product): Likewise.
33595         (__gamma_productl): Likewise.
33596         * math/Makefile (libm-calls): Add gamma_product.
33597         * math/libm-test.inc (tgamma_test): Add more tests.
33598         * sysdeps/i386/fpu/libm-test-ulps: Update.
33599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33601 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33603         * benchtests/bench-skeleton.c (main): Preheat CPU.
33605 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33607         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33609 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33611         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33612         and _dl_skip_args_internal.
33614 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33616         * manual/message.texi (Message Translation): Talk about users.
33617         Message to key mapping impacts design.
33619 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33621         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33623         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33625         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33626         * sysdeps/wordsize-64/glob64.c: ... here.
33628         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33629         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33630         New macros.
33632         * debug/getlogin_r_chk.c: Moved to ...
33633         * login/getlogin_r_chk.c: ... here.
33634         * debug/Makefile (routines): Move getlogin_r_chk to ...
33635         * login/Makefile (routines): ... here.
33636         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33637         * login/Versions (libc: GLIBC_2.4): ... here.
33639         * io/poll.c (__poll): Renamed from poll.
33640         Add libc_hidden_def.
33641         (poll): Define as weak alias.
33643         * debug/ptsname_r_chk.c: Moved to ...
33644         * login/ptsname_r_chk.c: ... here.
33645         * debug/Makefile (routines): Move ptsname_r_chk to ...
33646         * login/Makefile (routines): ... here.
33647         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33648         * login/Versions (libc: GLIBC_2.4): ... here.
33650         * posix/getlogin.c: Moved to ...
33651         * login/getlogin.c: ... here.
33652         * posix/getlogin_r.c: Moved to ...
33653         * login/getlogin_r.c: ... here.
33654         * posix/getlogin_r.c: Moved to ...
33655         * login/getlogin_r.c: ... here.
33656         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33657         * login/Makefile (routines): ... here.
33658         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33659         * login/Versions (libc: GLIBC_2.0): ... here.
33661         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33662         (setrlimit): Define as weak alias.
33664         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33665         Call __ names for open, ftruncate, and close.
33666         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33667         (truncate): Define as weak alias.
33669 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33671         * math/gen-libm-test.pl (parse_args): Initialize x before each
33672         test of frexp, modf and remquo.
33674         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33675         test signgam value.
33677 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33679         [BZ #15418]
33680         [BZ #15419]
33681         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33682         internal tests.
33683         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33685 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33687         * elf/dl-writev.h: New file.
33688         * elf/dl-misc.c: Include it.
33689         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33690         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33692 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33694         * math/libm-test.inc (noXFails): Remove variable.
33695         (noXPasses): Likewise.
33696         (BUILD_COMPLEX_INT): Remove macro.
33697         (print_screen): Remove xfail argument.
33698         (print_screen_max_error): Likewise.
33699         (update_stats): Likewise.
33700         (print_max_error): Likewise.  Update calls to other affected
33701         functions.
33702         (print_complex_max_error): Likewise.
33703         (test_single_exception): Update calls to print_screen.
33704         (test_single_errno): Likewise.
33705         (check_float_internal): Remove xfail argument.  Update calls to
33706         other affected functions.
33707         (check_float): Likewise.
33708         (check_complex): Likewise.
33709         (check_int): Likewise.
33710         (check_long): Likewise.
33711         (check_bool): Likewise.
33712         (check_longlong): Likewise.
33713         (main): Don't print noXFails and noXPasses.
33714         * math/gen-libm-test.pl (top level): Don't mention expected
33715         failure handling in comment.
33716         (new_test): Don't handle expected failures.
33717         (parse_args): Don't mention expected failure handling in comment.
33718         (generate_testfile): Don't handle expected failures.
33719         (parse_ulps): Likewise.
33720         (print_ulps_file): Likewise.
33721         (get_failure): Remove function.
33722         (output_test): Don't handle expected failures.
33723         * make/README.libm-test: Don't mention expected failure handling.
33725         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33726         (minus_zero): Likewise.
33727         (plus_infty): Likewise.
33728         (minus_infty): Likewise.
33729         (qnan_value): Likewise.
33730         (max_value): Likewise.
33731         (min_value): Likewise.
33732         (min_subnorm_value): Likewise.
33733         (initialize): Do not initialize those variables dynamically.
33735 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33737         * io/open.c (__open_2): Moved to ...
33738         * io/open_2.c: ... this new file.
33739         * io/open64.c (__open64_2): Moved to ...
33740         * io/open64_2.c: ... this new file.
33741         * io/openat.c (__openat_2): Moved to ...
33742         * io/openat_2.c: ... this new file.
33743         * io/openat64.c (__openat64_2): Moved to ...
33744         * io/openat64_2.c: ... this new file.
33745         * io/Makefile (routines): Add them.
33746         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33747         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33748         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33749         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33750         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33751         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33752         (__openat64): Add hidden_ver.
33753         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33754         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33756         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33757         Separately conditionalize setting of GLRO(dl_sysinfo) so
33758         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33759         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33761 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33763         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33764         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33765         definition.
33766         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33767         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33768         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33769         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33770         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33772 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33774         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33775         test signgam value.
33777         * math/libm-test.inc (hypot_test): Do not use
33778         IGNORE_ZERO_INF_SIGN.
33780 2013-05-03  Andreas Jaeger  <aj@suse.de>
33782         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33783         Linux 3.9.
33784         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33785         (PF_MAX): Adjust for VSOCK change.
33787 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33791 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33793         [BZ #15264]
33794         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33795         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33796         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33798 2013-05-02  David S. Miller  <davem@davemloft.net>
33800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33802 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33804         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33806 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33808         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33810 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33812         [BZ #14952]
33813         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33814         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33815         Use __attribute__ ((__gnu_inline__)).
33816         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33817         Don't use __attribute__ ((__gnu_inline__)).
33819 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33821         [BZ #15423]
33822         * math/s_catan.c (__catan): Handle small real or imaginary part of
33823         input specially to avoid spurious underflow.
33824         * math/s_catanf.c (__catanf): Likewise.
33825         * math/s_catanh.c (__catanh): Likewise.
33826         * math/s_catanhf.c (__catanhf): Likewise.
33827         * math/s_catanhl.c (__catanhl): Likewise.
33828         * math/s_catanl.c (__catanl): Likewise.
33829         * math/libm-test.inc (catan_test): Add more tests.
33830         (catanh_test): Likewise.
33831         * sysdeps/i386/fpu/libm-test-ulps: Update.
33832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33834 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33838 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33840         [BZ #15416]
33841         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33842         accurately for denominator in atan2.
33843         * math/s_catanf.c (__catanf): Likewise.
33844         * math/s_catanh.c (__catanh): Likewise.
33845         * math/s_catanhf.c (__catanhf): Likewise.
33846         * math/s_catanhl.c (__catanhl): Likewise.
33847         * math/s_catanl.c (__catanl): Likewise.
33848         * math/libm-test.inc (catan_test): Add more tests.
33849         (catanh_test): Likewise.
33850         * sysdeps/i386/fpu/libm-test-ulps: Update.
33851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33853 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33855         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33857         * benchtests/Makefile (bench): Remove slow benchmarks.
33858         * benchtests/atan-inputs: Add slow benchmark inputs.
33859         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33860         (BENCH_FUNC): Accept variant offset.
33861         (VARIANT): Define.
33862         * benchtests/bench-skeleton.c (main): Run benchmark for each
33863         variant.
33864         * benchtests/cos-inputs: Add slow benchmark inputs.
33865         * benchtests/exp-inputs: Likewise.
33866         * benchtests/pow-inputs: Likewise.
33867         * benchtests/sin-inputs: Likewise.
33868         * benchtests/slowatan-inputs: Remove.
33869         * benchtests/slowatan.c: Remove.
33870         * benchtests/slowcos-inputs: Remove.
33871         * benchtests/slowcos.c: Remove.
33872         * benchtests/slowexp-inputs: Remove.
33873         * benchtests/slowexp.c: Remove.
33874         * benchtests/slowpow-inputs: Remove.
33875         * benchtests/slowpow.c: Remove.
33876         * benchtests/slowsin-inputs: Remove.
33877         * benchtests/slowsin.c: Remove.
33878         * benchtests/slowtan-inputs: Remove.
33879         * benchtests/slowtan.c: Remove.
33880         * benchtests/tan-inputs: Add slow benchmark inputs.
33881         * scripts/bench.pl: Parse comments and directives.
33883         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33884         in CPPFLAGS.
33885         ($(objpfx)bench-%.c): Remove *-ITER.
33886         * benchtests/bench-modf.c: Remove definition of ITER.
33887         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33888         (main): Loop for DURATION seconds instead of fixed number of
33889         iterations.
33890         * scripts/bench.pl: Don't expect iterations in parameters.
33892 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33894         * io/fchdir.c (__fchdir): Renamed from fchdir.
33895         (fchdir): Define as weak alias.
33897 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33899         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33900         (ERRNO_EDOM): Likewise.
33901         (ERRNO_ERANGE): Likewise.
33902         (noErrnoTests): New variable.
33903         (init_max_error): Set errno to 0.
33904         (test_single_errno): New function.
33905         (test_errno): Likewise.
33906         (check_float_internal): Call test_errno.  Set errno to 0.
33907         (check_complex): Refer to errno tests in comment.
33908         (check_int): Call test_errno.  Set errno to 0.
33909         (check_long): Likewise.
33910         (check_bool): Likewise.
33911         (check_longlong): Likewise.
33912         (cos_test): Use ERRNO_* flags for errno tests instead of
33913         check_int.
33914         (expm1_test): Likewise.
33915         (fmod_test): Likewise.
33916         (ilogb_test): Likewise.
33917         (lgamma_test): Likewise.
33918         (pow_test): Likewise.
33919         (remainder_test): Likewise.
33920         (sin_test): Likewise.
33921         (tan_test): Likewise.
33922         (yn_test): Likewise.
33923         (initialize): Set errno to 0.
33924         (main): Print number of errno tests.
33925         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33927 2013-04-29  Andreas Jaeger  <aj@suse.de>
33929         [BZ #15084]
33930         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33931         and RES_USEVC.
33933         [BZ #15085]
33934         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33935         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33936         unimplemented.
33938         [BZ #15380]
33939         * stdlib/random.c (__initstate): Return NULL if
33940         __initstate fails.
33942         [BZ #15086]
33943         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33944         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33945         RES_SNGLKUPREOP.
33947 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33951 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33953         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33954         of individual tests.
33955         (casin_test): Likewise.
33956         (casinh_test): Likewise.
33958 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33960         [BZ #15409]
33961         * math/s_catan.c (__catan): Handle arguments with large real or
33962         imaginary part separately without squaring.
33963         * math/s_catanf.c (__catanf): Likewise.
33964         * math/s_catanh.c (__catanh): Likewise.
33965         * math/s_catanhf.c (__catanhf): Likewise.
33966         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33967         and redefine.
33968         (__catanhl): Handle arguments with large real or imaginary part
33969         separately without squaring.
33970         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33971         and redefine.
33972         (__catanl): Handle arguments with large real or imaginary part
33973         separately without squaring.
33974         * math/libm-test.inc (catan_test): Add more tests.
33975         (catanh_test): Likewise.
33976         * sysdeps/i386/fpu/libm-test-ulps: Update.
33977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33979 2013-04-27  Andreas Jaeger  <aj@suse.de>
33981         [BZ #15007]
33982         * stdlib/stdlib.h: Update guards for qecvt.
33983         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33984         <stdlib.h>.
33986 2013-04-27  Allan McRae  <allan@archlinux.org>
33988         * sysdeps/i386/fpu/libm-test-ulps: Update.
33990 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33992         [BZ #15406]
33993         * math/s_catan.c: Include <float.h>.
33994         (__catan): Ensure underflow exception occurs for underflowed
33995         result.
33996         * math/s_catanf.c: Include <float.h>.
33997         (__catanf): Ensure underflow exception occurs for underflowed
33998         result.
33999         * math/s_catanh.c: Include <float.h>.
34000         (__catanh): Ensure underflow exception occurs for underflowed
34001         result.
34002         * math/s_catanhf.c: Include <float.h>.
34003         (__catanhf): Ensure underflow exception occurs for underflowed
34004         result.
34005         * math/s_catanhl.c: Include <float.h>.
34006         (__catanhl): Ensure underflow exception occurs for underflowed
34007         result.
34008         * math/s_catanl.c: Include <float.h>.
34009         (__catanl): Ensure underflow exception occurs for underflowed
34010         result.
34011         * math/libm-test.inc (catan_test): Add more tests.
34012         (catanh_test): Likewise.
34014         [BZ #15405]
34015         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34016         underflowed result.
34017         * math/s_ccoshf.c (__ccoshf): Likewise.
34018         * math/s_ccoshl.c (__ccoshl): Likewise.
34019         * math/s_csin.c (__csin): Likewise.
34020         * math/s_csinf.c (__csinf): Likewise.
34021         * math/s_csinh.c (__csinh): Likewise.
34022         * math/s_csinhf.c (__csinhf): Likewise.
34023         * math/s_csinhl.c (__csinhl): Likewise.
34024         * math/s_csinl.c (__csinl): Likewise.
34025         * math/libm-test.inc (ccos_test): Add more tests.
34026         (ccosh_test): Likewise.
34027         (csin_test): Likewise.
34028         (csinh_test): Likewise.
34030 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34032         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34033         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34034         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34035         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34036         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34037         powerpc/power5+/fpu folders.
34038         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34041 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34045 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34047         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34048         additions to variable.
34049         [$(config-machine) = x86_64] (modules-names): Likewise.
34050         ($(objpfx)tst-audit3): Remove dependency.
34051         ($(objpfx)tst-audit3.out): Likewise.
34052         ($(objpfx)tst-audit4): Likewise.
34053         ($(objpfx)tst-audit4.out): Likewise.
34054         ($(objpfx)tst-audit5): Likewise.
34055         ($(objpfx)tst-audit5.out): Likewise.
34056         ($(objpfx)tst-audit6): Likewise.
34057         ($(objpfx)tst-audit6.out): Likewise.
34058         ($(objpfx)tst-audit7): Likewise.
34059         ($(objpfx)tst-audit7.out): Likewise.
34060         (tst-audit3-ENV): Remove variable.
34061         (tst-audit4-ENV): Likewise.
34062         (tst-audit5-ENV): Likewise.
34063         (tst-audit6-ENV): Likewise.
34064         (tst-audit7-ENV): Likewise.
34065         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34066         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34067         addition to variable.
34068         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34069         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34070         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34073         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34074         tst-audit3, tst-audit4 and tst-audit5.
34075         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34076         tst-audit6 and tst-audit7.
34077         [$(subdir) = elf] (modules-names): Add audit modules for those
34078         tests.
34079         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34080         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34081         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34082         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34083         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34084         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34085         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34086         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34087         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34088         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34089         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34090         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34091         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34092         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34093         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34094         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34095         Likewise.
34096         [$(subdir) = elf && $(config-cflags-avx) = yes]
34097         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34098         [$(subdir) = elf && $(config-cflags-avx) = yes]
34099         (CFLAGS-tst-auditmod4a.c): Likewise.
34100         [$(subdir) = elf && $(config-cflags-avx) = yes]
34101         (CFLAGS-tst-auditmod4b.c): Likewise.
34102         [$(subdir) = elf && $(config-cflags-avx) = yes]
34103         (CFLAGS-tst-auditmod6b.c): Likewise.
34104         [$(subdir) = elf && $(config-cflags-avx) = yes]
34105         (CFLAGS-tst-auditmod6c.c): Likewise.
34106         [$(subdir) = elf && $(config-cflags-avx) = yes]
34107         (CFLAGS-tst-auditmod7b.c): Likewise.
34108         * elf/tst-audit3.c: Move to ...
34109         * sysdeps/x86_64/tst-audit3.c: ... here.
34110         * elf/tst-audit4.c: Move to ...
34111         * sysdeps/x86_64/tst-audit4.c: ... here.
34112         * elf/tst-audit5.c: Move to ...
34113         * sysdeps/x86_64/tst-audit5.c: ... here.
34114         * elf/tst-audit6.c: Move to ...
34115         * sysdeps/x86_64/tst-audit6.c: ... here.
34116         * elf/tst-audit7.c: Move to ...
34117         * sysdeps/x86_64/tst-audit7.c: ... here.
34118         * elf/tst-auditmod3a.c: Move to ...
34119         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34120         * elf/tst-auditmod3b.c: Move to ...
34121         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34122         * elf/tst-auditmod4a.c: Move to ...
34123         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34124         * elf/tst-auditmod4b.c: Move to ...
34125         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34126         * elf/tst-auditmod5a.c: Move to ...
34127         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34128         * elf/tst-auditmod5b.c: Move to ...
34129         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34130         * elf/tst-auditmod6a.c: Move to ...
34131         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34132         * elf/tst-auditmod6b.c: Move to ...
34133         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34134         * elf/tst-auditmod6c.c: Move to ...
34135         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34136         * elf/tst-auditmod7a.c: Move to ...
34137         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34138         * elf/tst-auditmod7b.c: Move to ...
34139         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34141 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34143         [BZ #15366]
34144         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34145         define unconditionally.
34146         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34147         define unconditionally.
34148         (INT8_C, INT16_C, etc.): Likewise.
34150 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34152         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34153         __ehdr_start with hidden visibility.
34155         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34157 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34159         * math/libm-test.inc (cos_test): Use accurate hex constants.
34160         (sincost_test): Likewise.
34162 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34164         * math/libm-test.inc (catan_test): Add more tests.
34165         (catanh_test): Likewise.
34167         * math/s_catanf.c (__catanf): Use suffixed floating-point
34168         constants.
34169         * math/s_catanhf.c (__catanhf): Likewise.
34170         * math/s_catanhl.c (__catanhl): Likewise.
34171         * math/s_catanl.c (__catanl): Likewise.
34173         [BZ #15394]
34174         * math/s_catan.c (__catan): Calculate imaginary part of result
34175         with log1p not log unless computing log of number close to 0.
34176         * math/s_catanf.c (__catanf): Likewise.
34177         * math/s_catanl.c (__catanl): Likewise.
34178         * math/s_catanh.c (__catanh): Calculate real part of result with
34179         log1p not log unless computing log of number close to 0.
34180         * math/s_catanhf.c (__catanhf): Likewise.
34181         * math/s_catanhl.c (__catanhl): Likewise.
34182         * math/libm-test.inc (catan_test): Add more tests.
34183         (catanh_test): Likewise.
34184         * sysdeps/i386/fpu/libm-test-ulps: Update.
34185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34187 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34189         * benchtests/Makefile: Mention files in which fast and slow
34190         paths of math functions are implemented.
34192 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34194         * sysdeps/posix/timespec_get.c: New file.
34196 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34198         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34199         POWER.
34200         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34201         for POWER.
34202         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34203         powerpc/power5/fpu folders.
34204         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34205         * benchtests/Makefile: Add modf testcase.
34206         * benchtests/bench-modf.c: New file: Benchmark test for mo
34208 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34210         [BZ #14888]
34211         * time/Makefile (tests): Add tst-strptime-whitespace.
34212         * time/strptime_l.c (get_number): Use ISSPACE.
34213         (__strptime_internal): Likewise.
34214         * time/tst-strptime-whitespace.c: New test case.
34216 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34218         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34219         member.
34220         (_nss_files_init): Set it here.
34222 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34224         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34225         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34226         unsigned.
34228 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34230         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34232 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34234         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34235         size just once.
34237 2013-04-21  David S. Miller  <davem@davemloft.net>
34239         * po/ru.po: Update Russion translation from translation project.
34241 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34243         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34244         and setfsgid.
34246 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34248         * configure.in: Remove i386 configure warning. Remove i386 case.
34249         * configure: Regenerate.
34250         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34251         Add example to error message.
34252         * sysdeps/i386/configure: Regenerate.
34254 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34256         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34257         slowtan.
34258         * benchtests/cos-inputs: New file.
34259         * benchtests/slowcos-inputs: New file.
34260         * benchtests/slowcos.c: New file.
34261         * benchtests/slowtan-inputs: New file.
34262         * benchtests/slowtan.c: New file.
34263         * benchtests/tan-inputs: New file.
34265 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34267         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34268         considered kosher.
34270 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * benchtests/Makefile: Include cppflags-iterator.mk to add
34273         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34275         * Makefile.in (bench-clean): New target.
34276         * benchtests/Makefile (bench-clean): Likewise.
34278 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34280         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34282 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34284         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34286 2013-04-15  Andreas Schwab  <schwab@suse.de>
34288         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34289         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34290         * nscd/pwdcache.c (cache_addpw): Likewise.
34291         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34292         more than recsize.
34294 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34296         * benchtests/Makefile (bench): Write all output to
34297         bench-out.tmp together.
34299 2013-04-15  Andreas Schwab  <schwab@suse.de>
34301         * nscd/nscd.c (main): Don't fork again after closing files.
34303 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34305         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34307         * benchtests/Rules (bench-deps): Collect dependencies into a
34308         single variable.  Add Makefile to dependencies.
34309         ($(objpfx)bench-%.c): Depend on bench-deps.
34311 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34312             Xavier Roche  <roche+kml2@exalead.com>
34314         [BZ #15361]
34315         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34316         just that it's a file descriptor.
34317         * manual/llio.texi (Synchronizing AIO Operations): Update description
34318         for EBADF error from aio_fsync.
34320 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34322         * Rules (bench): Move target definition...
34323         * benchtests/Makefile: ... here.
34325 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34327         * math/libm-test.inc (cos_test): Fix PI/2 test.
34328         (sincos_test): Likewise.
34329         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34330         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34332 2013-04-11  Andreas Schwab  <schwab@suse.de>
34334         [BZ #13988]
34335         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34336         accept exponent character only when digits were seen.
34337         * stdio-common/Makefile (tests): Add bug26.
34338         * stdio-common/bug26.c: New file.
34340         [BZ #14293]
34341         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34342         non-freeable.
34344 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34346         * Makeconfig (rtld-prefix): Define built linker prefix.
34347         * Rules (run-bench): Use it.
34348         * math/Makefile (run-regen-ulps): Likewise.
34350         * Rules (bench): Remove eval.
34352 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34353             Roland McGrath  <roland@hack.frob.com>
34354             Ondrej Bilka  <neleai@seznam.cz>
34356         [BZ #15346]
34357         * time/getdate.c: Include ctype.h and alloca.h.
34358         (__getdate_r): Trim leading and trailing spaces of input.
34359         * time/tst-getdate.c (tests): Add tests with leading and
34360         trailing spaces.
34362 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34364         [BZ #14280]
34365         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34366         when computing value.
34368 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34370         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34371         Use testrun.sh to run libm tests.
34373         [BZ #15309]
34374         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34376 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34378         [BZ #15264]
34379         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34381 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34383         * Makefile.in (regen-ulps): New target.
34384         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34385         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34386         [ifneq (no,$(PERL)] (regen-ulps): New target.
34387         [ifeq (no,$(PERL)] (regen-ulps): New target.
34388         * math/libm-test.inc (ulps_file_name): Define.
34389         (output_dir): New variable.
34390         (options): Add "output-dir" option.
34391         (parse_opt): Handle 'o' case.
34392         (main): If output_dir is non-NULL use it as a prefix
34393         otherwise use "".
34394         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34396 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34398         [BZ #10060, #10062]
34399         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34400         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34401         fail configure if __sync_val_compare_and_swap is not inlined.
34402         * sysdeps/i386/configure: Regenerate.
34403         * configure.in: Build for i686 when configured for i386.
34404         * configure: Regenerate.
34405         * README: Remove i386 reference.
34407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34409         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34410         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34412 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34414         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34415         (lmsnanval): New variables.
34416         (F): Add conversion tests.
34417         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34418         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34420         * stdio-common/tstdiomisc.c (F): Properly collect individual
34421         tests' results.
34423         [BZ #14686, #15336]
34424         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34425         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34426         Instead, use input NaN values or generate a qNaN by arithmetic
34427         operation.  Also fix bugs to comply with the standard.
34428         * math/libm-test.inc (remainder_test): Add more tests.
34430         [BZ #15335, #15342]
34431         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34433         input NaN values or generate a qNaN by arithmetic operation.
34435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34436         unreachable code.
34438         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34439         definitions.
34441 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34443         [BZ #14478]
34444         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34445         underflowed result.
34446         * math/s_cexpf.c (__cexpf): Likewise.
34447         * math/s_cexpl.c (__cexpl): Likewise.
34448         * math/libm-test.inc (cexp_test): Add more tests.
34450 2013-04-03  Andreas Schwab  <schwab@suse.de>
34452         [BZ #15330]
34453         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34454         order arrays from heap if bigger than alloca cutoff.
34456 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34458         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34459         (SNAN_TESTS_double): Refer to GCC PR56831.
34460         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34461         GCC PR56828.
34463 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34465         * Rules (bench): Move bench.out after the run is complete.
34467         * Rules (bench): Echo currently running benchmark.
34469         * benchtests/Makefile (bench): Add atan and slowatan.
34470         * benchtests/atan-inputs: New file.
34471         * benchtests/slowatan-inputs: New file.
34472         * benchtests/slowatan.c: New file.
34474         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34475         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34476         its value.
34478         [BZ #15305]
34479         * sysdeps/unix/sysv/linux/kernel-features.h
34480         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34481         __ASSUME_XFS_RESTRICTED_CHOWN.
34482         * sysdeps/unix/sysv/linux/pathconf.c
34483         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34484         Save and restore errno.
34486 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34488         [BZ #15327]
34489         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34490         arguments using __kernel_casinh.
34491         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34492         arguments using __kernel_casinhf.
34493         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34494         arguments using __kernel_casinhl.
34495         * math/libm-test.inc (cacosh_test): Add more tests.
34496         * sysdeps/i386/fpu/libm-test-ulps: Update.
34497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34499 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34501         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34502         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34504         * bench/Makefile (bench): Add sin and slowsin.
34505         * benchtests/sin-inputs: New file.
34506         * benchtests/slowsin-inputs: New file.
34507         * benchtests/slowsin.c: New file.
34509         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34510         (bench): Add slowexp and slowpow.
34511         (exp-ITER): Increase iterations.
34512         (pow-ITER): Likewise.
34513         * benchtests/exp-inputs: Change input.
34514         * benchtests/pow-inputs: Likewise.
34515         * benchtests/slowexp-inputs: New file.
34516         * benchtests/slowexp.c: New file.
34517         * benchtests/slowpow-inputs: New file.
34518         * benchtests/slowpow.c: New file.
34520 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34522         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34523         instructions.
34524         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34525         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34526         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34527         * benchtests/Makefile: Add rint benchtest.
34528         * benchtests/rint-inputs: Input for rint benchtest.
34530 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34532         * Versions.def (libm): Add GLIBC_2.18.
34533         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34534         hidden libm prototypes.
34535         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34536         * math/Makefile (libm-calls): Add s_issignaling.
34537         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34538         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34539         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34540         declaration.
34541         * math/math.h [__USE_GNU] (issignaling): New macro.
34542         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34543         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34544         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34545         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34548         * manual/arith.texi (issignaling): New section.
34549         * manual/libm-err-tab.pl (@all_functions): Update comment.
34550         * math/gen-libm-test.pl (parse_args): Apply special handling for
34551         issignaling.
34552         * math/libm-test.inc (print_float, issignaling_test): New
34553         functions.
34554         (check_float_internal): Add issignaling checks.
34555         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34556         default definition.
34557         * sysdeps/powerpc/math-tests.h: New file.
34558         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34559         tests.
34560         * math/test-snan.c (TEST_FUNC): Likewise.
34562 2013-03-30  David S. Miller  <davem@davemloft.net>
34564         * po/de.po: Update from translation team.
34566 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34568         [BZ #10357]
34569         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34570         imaginary part less than 1.0 and real part less than 0.5
34571         specially.
34572         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34573         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34574         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34575         (cacos_test): Add more tests.
34576         (casin_test): Likewise.
34577         (casinh_test): Likewise.
34578         * sysdeps/i386/fpu/libm-test-ulps: Update.
34579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34581 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34583         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34584         ONE with its value.
34586         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34587         (__pow_mp): Replace ONE and MONE with their values.
34588         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34589         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34590         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34591         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34592         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34593         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34595         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34597         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34598         (__pow_mp): Replace ZERO and MZERO with their values.
34599         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34601         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34602         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34603         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34604         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34605         (__sqr): Likewise.
34607         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34609         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34611 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34613         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34614         Declare with __attribute__ ((weak)).
34615         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34616         Call __call_tls_dtors only if it's not NULL.
34618 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34620         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34621         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34622         magic __ehdr_start linker symbol if it's defined.
34623         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34624         them up here if it was already done.
34626         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34627         (_dl_aux_init): Use const in cast when setting it.
34628         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34629         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34630         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34632         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34633         Declare them here.
34634         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34635         * csu/libc-tls.c: Nor here.
34636         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34638         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34639         (__libc_message): Never call vsyslog.
34641 2013-03-28  Alan Modra  <amodra@gmail.com>
34643         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34644         Define as empty.
34645         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34646         Likewise.
34648 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34650         [BZ #15214]
34651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34652         underflow.
34653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34655 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34657         [BZ #15304]
34658         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34659         Don't add gid passed as argument.
34661         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34663 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34665         [BZ #15307]
34666         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34667         imaginary part between 1.0 and 1.5 and real part less than 0.5
34668         specially.
34669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34671         * math/libm-test.inc (cacos_test): Add more tests.
34672         (casin_test): Likewise.
34673         (casinh_test): Likewise.
34674         * sysdeps/i386/fpu/libm-test-ulps: Update.
34675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34677 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34679         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34680         constants.
34681         (norm): Likewise.
34682         (denorm): Likewise.
34683         (__dbl_mp): Likewise.
34684         (add_magnitudes): Likewise.
34685         (sub_magnitudes): Likewise.
34686         (__add): Likewise.
34687         (__sub): Likewise.
34688         (__mul): Likewise.
34689         (__sqr): Likewise.
34690         (__inv): Likewise.
34691         (__dvd): Likewise.
34693         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34694         commented code.
34695         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34696         (__dubcos): Likewise.
34697         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34698         (__ieee754_acos): Likewise.
34699         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34700         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34701         (__exp1): Likewise.
34702         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34704         (log1): Likewise.
34705         (my_log2): Likewise.
34706         (checkint): Likewise.
34707         * sysdeps/ieee754/dbl-64/e_remainder.c
34708         (__ieee754_remainder): Likewise.
34709         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34711         (bsloww): Likewise.
34712         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34714         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34715         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34716         MANTISSA_STORE_T to store computations on mantissa.  Use
34717         macros for rounding and division.
34718         (denorm): Likewise.
34719         (__dbl_mp): Likewise.
34720         (add_magnitudes): Likewise.
34721         (sub_magnitudes): Likewise.
34722         (__mul): Likewise.
34723         (__sqr): Likewise.
34724         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34725         powers of two in terms of TWOPOW macro.
34726         (mp_no): Make type of mantissa as MANTISSA_T.
34727         [!RADIXI]: Define RADIXI.
34728         [!TWO52]: Define TWO52.
34729         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34731 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34733         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34734         llroundl symbol when building for PPC32.
34736 2013-03-24  Mark H Weaver  <mhw@netris.org>
34738         * manual/arith.texi (Normalization Functions): Fix prototypes for
34739         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34741 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34743         [BZ #13889]
34744         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34745         high value to check if expl overflow.
34746         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34747         to check for underflow and overflow.
34748         * math/libm-test.inc: Add exp test.
34750 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34752         [BZ #11120]
34753         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34754         with NOT_IN_libc.
34756 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34758         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34759         symbol.
34761 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34763         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34764         wrap blocks consisting of several statements.
34766         * sysdeps/generic/math-tests.h: New file.
34767         * sysdeps/i386/fpu/math-tests.h: Likewise.
34768         * math/test-snan.c: Include it.
34769         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34771 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34773         [BZ #15285]
34774         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34775         (__ieee754_j0l): Do not improve calculations using cos of twice
34776         input for inputs above LDBL_MAX / 2.0L.
34777         (__ieee754_y0l): Likewise.
34778         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34779         (__ieee754_j1l): Do not improve calculations using cos of twice
34780         input for inputs above LDBL_MAX / 2.0L.
34781         (__ieee754_y1l): Likewise.
34782         * math/libm-test.inc (j0_test): Add another test.
34783         (j1_test): Likewise.
34784         (y0_test): Likewise.
34785         (y1_test): Likewise.
34786         * sysdeps/i386/fpu/libm-test-ulps: Update.
34788 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34790         * Rules ($(objpfx)bench-%.c): Include code from a C source
34791         file.
34793 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34795         [BZ #15287]
34796         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34797         imaginary part 1.0 and real part less than 0.5 specially.
34798         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34799         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34800         * math/libm-test.inc (cacos_test): Add more tests.
34801         (casin_test): Likewise.
34802         (casinh_test): Likewise.
34803         * sysdeps/i386/fpu/libm-test-ulps: Update.
34804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34806 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34808         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34809         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34811 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34813         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34814         * config.make.in (config-cflags-sse4): Remove variable.
34815         (config-cflags-avx): Likewise.
34816         (config-cflags-sse2avx): Likewise.
34817         (config-cflags-novzeroupper): Likewise.
34818         (config-asflags-i686): Likewise.
34819         (have-mfma4): Likewise.
34820         (have-as-vis3): Likewise.
34821         (MIG): Likewise.
34822         * configure.in (MIG): Do not AC_SUBST.
34823         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34824         (libc_cv_cc_sse4): Do not AC_SUBST.
34825         (libc_cv_cc_avx): Likewise.
34826         (libc_cv_cc_sse2avx): Likewise.
34827         (libc_cv_cc_novzeroupper): Likewise.
34828         (libc_cv_cc_fma4): Likewise.
34829         (libc_cv_as_i686): Likewise.
34830         (libc_cv_sparc_as_vis3): Likewise.
34831         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34832         LIBC_CONFIG_VAR.
34833         (config-asflags-i686): Likewise.
34834         (config-cflags-avx): Likewise.
34835         (config-cflags-sse2avx): Likewise.
34836         (have-mfma4): Likewise.
34837         (config-cflags-novzeroupper): Likewise.
34838         * sysdeps/mach/configure.in (MIG): Likewise.
34839         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34840         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34841         LIBC_CONFIG_VAR.
34842         (config-cflags-avx): Likewise.
34843         (config-cflags-sse2avx): Likewise.
34844         (have-mfma4): Likewise.
34845         (config-cflags-novzeroupper): Likewise.
34846         * configure: Regenerated.
34847         * sysdeps/i386/configure: Likewise.
34848         * sysdeps/mach/configure: Likewise.
34849         * sysdeps/sparc/configure: Likewise.
34850         * sysdeps/x86_64/configure: Likewise.
34852 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34854         [BZ #14812]
34855         * locale/programs/localedef.c (options): Put N_ translation marker
34856         on argument names, not just descriptions.
34858 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34860         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34862 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34864         [BZ #14176]
34865         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34867 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34869         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34870         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34871         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34872         [!BEFORE_ABORT] (before_abort): New function.
34873         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34874         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34875         (writev_for_fatal): New function.
34876         (WRITEV_FOR_FATAL): New macro; call that.
34877         (backtrace_and_maps): New function.
34878         (BEFORE_ABORT): New macro; call that.
34879         (struct str_list): Type removed.
34880         (__libc_message, __libc_fatal): Functions removed.
34881         Include <sysdeps/posix/libc_fatal.c> instead.
34883 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34885         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34886         constants.
34887         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34888         double constants.
34890 2013-03-19  Andreas Schwab  <schwab@suse.de>
34892         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34893         * sysdeps/gnu/configure: Regenerate.
34895         * configure.in: Substitute libc_cv_rtlddir.
34896         * configure: Regenerate.
34897         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34898         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34899         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34900         * elf/Makefile (install-others, CFLAGS-interp.c)
34901         (ldso_install, common-ldd-rewrite): Likewise.
34902         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34903         $(inst_slibdir)/$(rtld-installed-name).
34904         * scripts/rellns-sh: Add -p option.
34905         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34906         for source.
34908 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34910         * manual/nptl.texi: Renamed to ...
34911         * manual/threads.texi: ... this.
34912         * manual/Makefile (chapters): Update.
34914 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34916         [BZ #14812]
34917         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34918         on argument names, not just descriptions.
34919         * malloc/memusagestat.c (options): Likewise.
34920         * nss/getent.c (options): Likewise.
34922 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34924         [BZ #14812]
34925         * iconv/iconv_prog.c (options): Put N_ translation marker
34926         on argument names, not just descriptions.
34927         * iconv/iconvconfig.c (options): Likewise.
34929 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34931         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34932         implementation which is faster on all x86_64 architectures.
34933         Tested on AMD, Intel Nehalem, SNB, IVB.
34934         * sysdeps/x86_64/strnlen.S: Likewise.
34936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34937         Remove all multiarch strlen and strnlen versions.
34938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34939         Remove strlen and strnlen related parts.
34941         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34942         Inline strlen part.
34943         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34945         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34946         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34947         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34948         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34949         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34950         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34952 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34954         * manual/memory.texi (Malloc Tunable Parameters):
34955         Sort parameters alphabetically. Add comments for missing entries.
34957 2013-03-17  David S. Miller  <davem@davemloft.net>
34959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34961 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34963         [BZ #15283]
34964         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34965         for arguments at most half maximum finite value.
34966         * math/libm-test.inc (j0_test): Add more tests.
34967         (j1_test): Likewise.
34968         (y0_test): Likewise.
34969         (y1_test): Likewise.
34970         * sysdeps/i386/fpu/libm-test-ulps: Update.
34971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34973         [BZ #14155]
34974         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34975         1 / x and functions P and Q for arguments above 0x1p256L.
34976         (__ieee754_y0l): Likewise.
34977         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34978         (__ieee754_y1l): Likewise.
34979         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34980         (j1_test): Likewise.
34981         (y0_test): Likewise.
34982         (y1_test): Likewise.
34984 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34986         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34987         variable.
34989 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34991         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34992         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34993         zero since it's initialized to EXEC_PAGESIZE.
34995         * sysdeps/unix/sysv/linux/ldsodefs.h
34996         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34997         * sysdeps/generic/ldsodefs.h: ... here.
34999 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35001         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35003         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35004         math/test-snan.c.
35005         * math/test-snan.c: Renamed from
35006         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35007         * math/Makefile (tests): Add test-snan.
35008         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35009         test-powerpc-snan.
35011         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35012         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35013         functions.
35014         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35015         __builtin_nan family of functions.
35016         * math/libm-test.inc (initialize): Initialize qnan_value with
35017         __builtin_nan family of functions.
35018         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35019         Remove variables.
35020         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35021         Remove functions.
35022         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35023         storage class.  Initialize qNaN_var and sNaN_var with
35024         __builtin_nan and __builtin_nans families of functions,
35025         respectively.
35027         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35028         (sqrt_test): Remove duplicate test with qNaN input.
35029         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35030         (round_test, signbit_test, significand_test): Note missing +/-Inf
35031         as well as qNaN tests.
35033         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35034         qNaN_var.  Fix a few strings, too.
35035         * math/libm-test.inc (nan_value): Rename to qnan_value.
35036         * math/gen-libm-test.pl (%beautify): Adjust to that.
35037         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35038         * math/test-misc.c (main): Likewise.
35039         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35040         to __qnan_bytes, and __qnan_union, respectively.
35041         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35042         Likewise.
35043         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35044         and lqnanval, respectively.
35045         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35046         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35047         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35048         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35050         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35051         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35052         doubles.
35054         * math/test-misc.c (main): Fix copy'n'pastos.
35055         * misc/tst-efgcvt.c (special): Likewise.
35057         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35058         Remove declarations.
35060 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35062         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35063         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35064         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35065         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35067 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35069         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35070         macro to return vdso values correctly in IFUNC implementations.
35071         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35072         Optimization by using IFUNC.
35074 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35075             Richard Henderson  <rth@redhat.com>
35076             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35078         * Makefile.in (bench): New target.
35079         * NEWS: Mention the benchmark framework.
35080         * Rules (bench): Likewise.
35081         (binaries-bench): Generate binaries for functions to
35082         benchmark.
35083         * benchtests/Makefile: New makefile for benchmark tests.
35084         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35085         programs.
35086         * benchtests/exp-inputs: New input file for EXP function.
35087         * benchtests/pow-inputs: New input file for POW function.
35088         * scripts/bench.pl: New script to generate source files for
35089         benchmark programs.
35091 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35093         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35094         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35095         computations on mantissa.  Use macros for rounding and
35096         division.
35097         (denorm): Likewise.
35098         (__dbl_mp): Likewise.
35099         (add_magnitudes): Likewise.
35100         (sub_magnitudes): Likewise.
35101         (__mul): Likewise.
35102         (__sqr): Likewise.
35103         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35104         powers of two in terms of TWOPOW macro.
35105         (mp_no): Make type of mantissa as MANTISSA_T.
35106         [!RADIXI]: Define RADIXI.
35107         [!TWO52]: Define TWO52.
35108         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35110         * manual/nptl.texi (cindex): Modify threads to pthreads.
35112 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35114         * sysdeps/x86_64/preconfigure: Regenerated.
35116 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35118         [BZ #14155]
35119         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35120         0x1p28 and above.
35121         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35122         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35123         0x1p28 and above.
35124         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35125         * math/libm-test.inc (j0_test): Do not allow one spurious
35126         underflow exception.
35127         (y1_test): Likewise.
35129 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35131         * manual/Makefile (chapters): Add nptl.
35132         * manual/debug.texi (Debugging Support): Add link to Threads
35133         chapter.
35134         * manual/nptl.texi: New file.
35136         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35138 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35140         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35141         for non-NULL pointer before the memory validity test. Pointed
35142         out by Holger Brunck <holger.brunck@keymile.com>.
35144 2013-03-13  Andreas Schwab  <schwab@suse.de>
35146         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35147         instead of .os.
35149 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35151         * timezone/zic.c: Update from tzcode 2013b.
35153 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35155         * manual/install.texi (Configuring and compiling):
35156         Mention i686 and i586.
35157         * INSTALL: Regenerate.
35159 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35161         * sysdeps/init_array/elf-init.c: New file.
35162         * csu/elf-init.c
35163         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35164         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35166         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35167         __gmon_start__ as global, but as static with a .preinit_array pointer.
35168         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35169         * sysdeps/init_array/crti.S: New file, empty except for comments.
35170         * sysdeps/init_array/crtn.S: Likewise.
35172 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35174         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35175         definining bcopy.
35176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35177         Remove Prefer_SSE_for_memop.
35178         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35179         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35180         HAS_PREFER_SSE_FOR_MEMOP.
35181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35182         memset-x86-64.
35183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35184         Remove bzero, memset ifunc support.
35185         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35186         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35187         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35188         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35190 2013-03-11  Andreas Schwab  <schwab@suse.de>
35192         [BZ #15234]
35193         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35194         by SHLIB_COMPAT.
35195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35196         (GLIBC_2.16): Remove pthread_atfork.
35198 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35200         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35201         (ptestcases.h): Likewise.
35203 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35205         * Makeconfig ($(common-objpfx)config.status): Depend on
35206         sysdeps/*/preconfigure{,.in} too.
35208 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35210         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35211         (__free_hook): Use void * instead of __malloc_ptr_t.
35212         (__malloc_hook): Likewise.
35213         (__realloc_hook): Likewise.
35214         (__memalign_hook): Likewise.
35215         (__after_morecore_hook): Likewise.
35216         * malloc/arena.c (save_malloc_hook): Likewise.
35217         (save_free_hook): Likewise.
35218         * malloc/hooks.c (malloc_hook_ini): Likewise.
35219         (realloc_hook_ini): Likewise.
35220         (memalign_hook_ini): Likewise.
35221         * malloc/malloc.c (malloc_hook_ini): Likewise.
35222         (realloc_hook_ini): Likewise.
35223         (memalign_hook_ini): Likewise.
35224         (__free_hook): Likewise.
35225         (__malloc_hook): Likewise.
35226         (__realloc_hook): Likewise.
35227         (__memalign_hook): Likewise.
35228         (__libc_malloc): Likewise.
35229         (__libc_free): Likewise.
35230         (__libc_realloc): Likewise.
35231         (__libc_memalign): Likewise.
35232         (__libc_valloc): Likewise.
35233         (__libc_pvalloc): Likewise.
35234         (__libc_calloc): Likewise.
35235         (__posix_memalign): Likewise.
35236         * malloc/morecore.c (__sbrk): Likewise.
35237         (__default_morecore): Likewise.
35239         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35241         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35242         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35243         __malloc_ptrdiff_t.
35245         * malloc/malloc.h (__malloc_size_t): Remove macro.
35246         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35247         __malloc_size_t.
35248         (old_memalign_hook): Likewise.
35249         (old_realloc_hook): Likewise.
35250         (struct hdr): Likewise.
35251         (flood): Likewise.
35252         (mallochook): Likewise.
35253         (memalignhook): Likewise.
35254         (reallochook): Likewise.
35255         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35256         (tr_old_realloc_hook): Likewise.
35257         (tr_old_memalign_hook): Likewise.
35258         (tr_mallochook): Likewise.
35259         (tr_reallochook): Likewise.
35260         (tr_memalignhook): Likewise.
35262 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35264         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35265         default_ldbl_pack and using as default implementation.
35266         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35267         implementation.
35268         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35269         redundant definition.
35270         (ldbl_insert_mantissa): Likewise.
35271         (ldbl_canonicalize): Likewise.
35272         (ldbl_nearbyint): Likewise.
35273         (ldbl_pack): Rename to ldbl_pack_ppc.
35274         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35275         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35276         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35278 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35281         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35282         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35283         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35285         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35286         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35287         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35289 2013-03-07  Andreas Jaeger  <aj@suse.de>
35291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35292         bits/mman-linux.h.
35294 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35296         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35297         Include mpa.h and declare __MPEXP.
35298         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35299         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35300         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35301         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35302         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35303         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35304         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35306         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35307         (__slowpow): Use long double EXPL and LOGL functions to
35308         compute POW.
35309         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35310         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35311         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35312         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35313         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35314         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35317         intermediate variable to calculate exponent.
35318         (__sqr): Likewise.
35319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35320         Likewise.
35321         (__sqr): Likewise.
35323         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35324         [!NO__SQR]: Define __sqr.
35325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35326         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35327         sysdeps/ieee754/dbl-64/mpa.c.
35328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35330         [BZ #12723]
35331         * posix/Makefile (tests): Add tst-pathconf.
35332         * posix/tst-pathconf.c: New test case.
35333         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35334         _PC_PIPE_BUF.
35335         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35337 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35339         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35341 2013-03-06  Andreas Jaeger  <aj@suse.de>
35343         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35344         definition via __MAP_ANONYMOUS.
35346         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35347         it's not part of Linux headers.
35349         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35350         (MAP_HUGE_MASK): Define.
35352         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35353         Define.
35354         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35355         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35356         Define.
35357         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35358         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35359         Define.
35360         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35361         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35362         Define.
35363         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35365         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35366         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35367         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35368         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35369         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35370         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35372         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35373         Handle f2fs.
35375         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35376         Handle f2fs and efivarfs.
35378         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35379         f2fs.
35381         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35382         (EFIVARFS_MAGIC): Add.
35383         (F2FS_LINK_MAX): Add.
35385 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35387         * stdio-common/vfprintf.c: Replace __builtin_expect with
35388         __glibc_unlikely.
35390 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35392         [BZ #13550]
35393         * sysdeps/generic/bp-sym.h: Remove file.
35394         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35395         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35396         <bp-sym.h> and <bp-asm.h>.
35397         (__longjmp): Don't use BP_SYM.
35398         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35399         and <bp-asm.h>.
35400         (memcpy): Don't use BP_SYM.
35401         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35402         <bp-sym.h> and <bp-asm.h>.
35403         (memcpy): Don't use BP_SYM.
35404         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35405         <bp-asm.h>.
35406         (memcpy): Don't use BP_SYM.
35407         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35408         <bp-asm.h>.
35409         (memset): Don't use BP_SYM.
35410         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35411         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35412         (__bzero): Don't use BP_SYM.
35413         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35414         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35415         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35416         <bp-sym.h> and <bp-asm.h>.
35417         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35418         pointers.
35419         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35420         <bp-sym.h> and <bp-asm.h>.
35421         (memcpy): Don't use BP_SYM.
35422         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35423         <bp-sym.h> and <bp-asm.h>.
35424         (memset): Don't use BP_SYM.
35425         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35426         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35427         (__bzero): Don't use BP_SYM.
35428         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35429         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35430         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35431         <bp-sym.h> and <bp-asm.h>.
35432         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35433         pointers.
35434         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35435         <bp-sym.h> and <bp-asm.h>.
35436         (memcpy): Don't use BP_SYM.
35437         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35438         <bp-sym.h> and <bp-asm.h>.
35439         (memset): Don't use BP_SYM.
35440         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35441         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35442         (__bzero): Don't use BP_SYM.
35443         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35444         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35445         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35446         <bp-sym.h> and <bp-asm.h>.
35447         (__memchr): Don't use BP_SYM.
35448         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35449         <bp-sym.h> and <bp-asm.h>.
35450         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35451         pointers.
35452         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35453         <bp-sym.h> and <bp-asm.h>.
35454         (memcpy): Don't use BP_SYM.
35455         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35456         <bp-sym.h> and <bp-asm.h>.
35457         (__mempcpy): Don't use BP_SYM.
35458         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35459         <bp-sym.h> and <bp-asm.h>.
35460         (__memrchr): Don't use BP_SYM.
35461         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35462         <bp-sym.h> and <bp-asm.h>.
35463         (memset): Don't use BP_SYM.
35464         (__bzero): Likewise.
35465         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35466         <bp-sym.h> and <bp-asm.h>.
35467         (__rawmemchr): Don't use BP_SYM.
35468         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35469         <bp-sym.h> and <bp-asm.h>.
35470         (__STRCMP): Don't use BP_SYM.
35471         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35472         <bp-sym.h> and <bp-asm.h>.
35473         (strchr): Don't use BP_SYM.
35474         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35475         <bp-sym.h> and <bp-asm.h>.
35476         (__strchrnul): Don't use BP_SYM.
35477         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35478         <bp-sym.h> and <bp-asm.h>.
35479         (strlen): Don't use BP_SYM.
35480         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35481         <bp-sym.h> and <bp-asm.h>.
35482         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35483         pointers.
35484         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35485         <bp-sym.h> and <bp-asm.h>.
35486         (__strnlen): Don't use BP_SYM.
35487         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35488         <bp-sym.h> and <bp-asm.h>.
35489         (__GI__setjmp): Don't use BP_SYM.
35490         (_setjmp): Likewise.
35491         (__sigsetjmp): Likewise.
35492         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35493         (L(start_addresses)): Don't use BP_SYM.
35494         (_start): Likewise.
35495         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35496         <bp-asm.h>.
35497         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35498         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35499         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35500         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35501         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35502         <bp-asm.h>.
35503         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35504         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35505         about bounded pointers.
35506         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35507         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35508         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35509         <bp-asm.h>.
35510         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35511         about bounded pointers.  Remove GKM FIXME comments.
35512         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35513         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35514         <bp-asm.h>.
35515         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35516         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35517         Remove GKM FIXME comments.
35518         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35519         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35520         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35521         <bp-asm.h>.
35522         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35523         about bounded pointers.  Remove GKM FIXME comment.
35524         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35525         and <bp-asm.h>.
35526         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35527         pointers.
35528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35529         <bp-sym.h> and <bp-asm.h>.
35530         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35532         <bp-sym.h> and <bp-asm.h>.
35533         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35534         comment.
35536 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35538         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35539         call free(NULL).
35541 2013-03-05  David S. Miller  <davem@davemloft.net>
35543         * po/es.po: Update from translation team.
35545 2013-03-05  Andreas Jaeger  <aj@suse.de>
35547         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35548         <bits/mman-linux.h>.
35549         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35550         is fine.
35551         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35552         <bits/mman-linux.h> to end of file.
35553         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35554         is fine.
35555         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35556         <bits/mman-linux.h> to end of file.
35557         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35558         is fine.
35559         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35560         <bits/mman-linux.h> to end of file.
35562         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35563         (MCL_CURRENT, MCL_FUTURE): Define here.
35565 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35567         [BZ #15232]
35568         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35569         attribute_hidden.
35570         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35572 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35575         fourth parameter needed for rt_sigprocmask syscall.
35576         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35577         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35578         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35579         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35580         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35581         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35583 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35585         [BZ #13550]
35586         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35587         comment about bounded pointers.
35588         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35589         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35591 2013-03-04  Andreas Jaeger  <aj@suse.de>
35593         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35594         common definitions.
35596         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35597         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35598         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35599         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35600         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35601         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35603 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35605         [BZ #15055]
35606         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35607         __ieee754_sqrl instead of __sqrl.
35609 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35611         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35612         * sysdeps/powerpc/fpu_control.h: ... here.
35613         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35614         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35615         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35616         * sysdeps/powerpc/bits/mathinline.h: ... here.
35618 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35620         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35621         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35622         to just [NEED_DL_SYSINFO_DSO].
35623         * elf/dl-support.c: Likewise.
35624         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35625         * elf/rtld.c (dl_main): Likewise.
35626         * elf/setup-vdso.h (setup_vdso): Likewise.
35627         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35628         * sysdeps/unix/sysv/linux/dl-sysdep.c
35629         (_dl_discover_osversion): Likewise.
35631 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35633         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35634         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35636 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35638         * NEWS: Mention libm performance improvements and non-x86 PI
35639         futex support.
35641         * csu/libc-start.c (__pthread_initialize_minimal): Change
35642         function arguments.
35643         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35645 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35647         [BZ #13550]
35648         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35649         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35650         <bp-sym.h> and <bp-asm.h>.
35651         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35652         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35653         and <bp-asm.h>.
35654         (memcpy): Don't use BP_SYM.
35655         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35656         <bp-asm.h>.
35657         (__mpn_add_n): Don't use BP_SYM.
35658         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35659         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35660         and <bp-asm.h>.
35661         (__mpn_addmul_1): Don't use BP_SYM.
35662         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35663         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35664         <bp-sym.h>.
35665         (_setjmp): Don't use BP_SYM.
35666         (__novmx_setjmp): Likewise.
35667         (__GI__setjmp): Likewise.
35668         (__vmx_setjmp): Likewise.
35669         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35670         <bp-sym.h>.
35671         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35672         (__bzero): Don't use BP_SYM.
35673         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35674         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35675         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35676         <bp-sym.h> and <bp-asm.h>.
35677         (memcpy): Don't use BP_SYM.
35678         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35679         <bp-sym.h> and <bp-asm.h>.
35680         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35681         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35682         <bp-sym.h> and <bp-asm.h>.
35683         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35684         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35685         <bp-asm.h>.
35686         (__mpn_lshift): Don't use BP_SYM.
35687         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35688         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35689         <bp-asm.h>.
35690         (memset): Don't use BP_SYM.
35691         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35692         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35693         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35694         <bp-asm.h>.
35695         (__mpn_mul_1): Don't use BP_SYM.
35696         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35698         <bp-sym.h> and <bp-asm.h>.
35699         (memcmp): Don't use BP_SYM.
35700         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35701         <bp-sym.h> and <bp-asm.h>.
35702         (memcpy): Don't use BP_SYM.
35703         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35704         <bp-sym.h> and <bp-asm.h>.
35705         (memset): Don't use BP_SYM.
35706         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35707         <bp-sym.h> and <bp-asm.h>.
35708         (strncmp): Don't use BP_SYM.
35709         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35710         <bp-sym.h> and <bp-asm.h>.
35711         (memcpy): Don't use BP_SYM.
35712         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35713         <bp-sym.h> and <bp-asm.h>.
35714         (memset): Don't use BP_SYM.
35715         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35716         <bp-sym.h> and <bp-asm.h>.
35717         (__memchr): Don't use BP_SYM.
35718         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35719         <bp-sym.h> and <bp-asm.h>.
35720         (memcmp): Don't use BP_SYM.
35721         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35722         <bp-sym.h> and <bp-asm.h>.
35723         (memcpy): Don't use BP_SYM.
35724         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35725         <bp-sym.h> and <bp-asm.h>.
35726         (__mempcpy): Don't use BP_SYM.
35727         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35728         <bp-sym.h> and <bp-asm.h>.
35729         (__memrchr): Don't use BP_SYM.
35730         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35731         <bp-sym.h> and <bp-asm.h>.
35732         (memset): Don't use BP_SYM.
35733         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35734         <bp-sym.h> and <bp-asm.h>.
35735         (__rawmemchr): Don't use BP_SYM.
35736         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35737         <bp-sym.h> and <bp-asm.h>.
35738         (__STRCMP): Don't use BP_SYM.
35739         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35740         <bp-sym.h> and <bp-asm.h>.
35741         (strchr): Don't use BP_SYM.
35742         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35743         <bp-sym.h> and <bp-asm.h>.
35744         (__strchrnul): Don't use BP_SYM.
35745         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35746         <bp-sym.h> and <bp-asm.h>.
35747         (strlen): Don't use BP_SYM.
35748         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35749         <bp-sym.h> and <bp-asm.h>.
35750         (strncmp): Don't use BP_SYM.
35751         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35752         <bp-sym.h> and <bp-asm.h>.
35753         (__strnlen): Don't use BP_SYM.
35754         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35755         <bp-asm.h>.
35756         (__mpn_rshift): Don't use BP_SYM.
35757         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35758         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35759         <bp-sym.h> and <bp-asm.h>.
35760         (__sigsetjmp): Don't use BP_SYM.
35761         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35762         (L(start_addresses)): Don't use BP_SYM.
35763         (_start): Likewise.
35764         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35765         <bp-asm.h>.
35766         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35767         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35768         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35769         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35770         <bp-asm.h>.
35771         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35772         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35773         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35774         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35775         <bp-asm.h>.
35776         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35777         comments.
35778         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35779         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35780         <bp-asm.h>.
35781         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35782         FIXME comments.
35783         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35784         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35785         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35786         <bp-asm.h>.
35787         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35788         comment.
35789         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35790         and <bp-asm.h>.
35791         (strncmp): Don't use BP_SYM,
35792         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35793         <bp-asm.h>.
35794         (__mpn_sub_n): Don't use BP_SYM.
35795         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35796         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35797         and <bp-asm.h>.
35798         (__mpn_submul_1): Don't use BP_SYM.
35799         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35801         <bp-sym.h> and <bp-asm.h>.
35802         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35804         <bp-sym.h> and <bp-asm.h>.
35805         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35806         comment.
35808 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35811         Use ZK to minimize writes to Z.
35812         (sub_magnitudes): Simplify code a bit.
35813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35814         Use ZK to minimize writes to Z.
35815         (sub_magnitudes): Simplify code a bit.
35817 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35819         * csu/gmon-start.c: Add special exception to license text.
35821 2013-02-27  Richard Henderson  <rth@redhat.com>
35823         * scripts/config.guess: Update from config.git.
35824         * scripts/config.sub: Likewise.
35826 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35828         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35830         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35832         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35834         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35836         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35838 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35840         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35841         [$(build-shared = yes].
35843 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35845         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35846         (__mul): Reduce iterations for calculating mantissa.
35848         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35849         MPTWO.
35850         (__mpranred): Likewise.
35852         [BZ #15160]
35853         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35854         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35856 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35858         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35859         Define __attribute__.
35861 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35863         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35864         unused.
35865         * posix/regex_internal.h (__attribute): Remove.
35866         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35867         (re_string_context_at): Likewise.
35868         (bitset_not): Use __attribute__ and mark function as possibly
35869         unused.
35870         (bitset_merge): Likewise.
35871         (bitset_mask): Likewise.
35872         (re_string_char_size_at): Likewise.
35873         (re_string_wchar_at): Likewise.
35874         (re_string_elem_size_at): Likewise.
35876 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35878         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35879         code.
35880         (cc32): Likewise.
35882         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35883         (__acr): Likewise.
35884         (__cpy): Likewise.
35885         (norm): Likewise.
35886         (denorm): Likewise.
35887         (__dbl_mp): Likewise.
35888         (add_magnitudes): Likewise.
35889         (sub_magnitudes): Likewise.
35890         (__mul): Likewise.
35891         (__inv): Likewise.
35893         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35894         style.
35896         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35897         style.
35899         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35900         code.
35902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35903         up changes with default code.
35904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35905         Likewise.
35907 2013-02-24  Allan McRae  <allan@archlinux.org>
35909         * manual/socket.texi (The Internet Namespace): Order menu items
35910         to match that in the file.
35912         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35913         node listing of the info page menu.
35915 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35917         [BZ #13550]
35918         * sysdeps/i386/bp-asm.h: Remove file.
35919         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35920         (PARMS): Do not use macros from bp-asm.h.
35921         (S1): Likewise.
35922         (S2): Likewise.
35923         (SIZE): Likewise.
35924         (__mpn_add_n): Do not use BP_SYM
35925         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35926         "bp-asm.h".
35927         (PARMS): Do not use macros from bp-asm.h.
35928         (S1): Likewise.
35929         (SIZE): Likewise.
35930         (__mpn_addmul_1): Do not use BP_SYM
35931         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35932         "bp-asm.h".
35933         (PARMS): Do not use macros from bp-asm.h.
35934         (SIGMSK): Likewise.
35935         (_setjmp): Likewise.  Do not use BP_SYM.
35936         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35937         "bp-asm.h".
35938         (PARMS): Do not use macros from bp-asm.h.
35939         (SIGMSK): Likewise.
35940         (setjmp): Likewise.  Do not use BP_SYM.
35941         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35942         "bp-asm.h".
35943         (PARMS): Do not use macros from bp-asm.h.
35944         (__frexp): Do not use BP_SYM.
35945         (frexp): Likewise.
35946         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35947         "bp-asm.h".
35948         (PARMS): Do not use macros from bp-asm.h.
35949         (__frexpf): Do not use BP_SYM.
35950         (frexpf): Likewise.
35951         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35952         "bp-asm.h".
35953         (PARMS): Do not use macros from bp-asm.h.
35954         (__frexpl): Do not use BP_SYM.
35955         (frexpl): Likewise.
35956         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35957         "bp-asm.h".
35958         (PARMS): Do not use macros from bp-asm.h.
35959         (__remquo): Do not use BP_SYM.
35960         (remquo): Likewise.
35961         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35962         "bp-asm.h".
35963         (PARMS): Do not use macros from bp-asm.h.
35964         (__remquof): Do not use BP_SYM.
35965         (remquof): Likewise.
35966         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35967         "bp-asm.h".
35968         (PARMS): Do not use macros from bp-asm.h.
35969         (__remquol): Do not use BP_SYM.
35970         (remquol): Likewise.
35971         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35972         "bp-asm.h".
35973         (PARMS): Do not use macros from bp-asm.h.
35974         (DEST): Likewise.
35975         (SRC): Likewise.
35976         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35977         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35978         "bp-asm.h".
35979         (PARMS): Do not use macros from bp-asm.h.
35980         (strlen): Do not use BP_SYM.
35981         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35982         "bp-asm.h".
35983         (PARMS): Do not use macros from bp-asm.h.
35984         (S1): Likewise.
35985         (S2): Likewise.
35986         (SIZE): Likewise.
35987         (__mpn_add_n): Do not use BP_SYM.
35988         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35989         "bp-asm.h".
35990         (PARMS): Do not use macros from bp-asm.h.
35991         (S1): Likewise.
35992         (SIZE): Likewise.
35993         (__mpn_addmul_1): Do not use BP_SYM.
35994         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35995         weak_alias.
35996         (bzero): Likewise.
35997         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35998         "bp-asm.h".
35999         (PARMS): Do not use macros from bp-asm.h.
36000         (S): Likewise.
36001         (SIZE): Likewise.
36002         (__mpn_lshift): Do not use BP_SYM.
36003         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36004         "bp-asm.h".
36005         (PARMS): Do not use macros from bp-asm.h.
36006         (DEST): Likewise.
36007         (SRC): Likewise.
36008         (LEN): Likewise.
36009         (memcpy): Likewise.  Do not use BP_SYM.
36010         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36011         libc_hidden_def and weak_alias.
36012         (mempcpy): Do not use BP_SYM in weak_alias.
36013         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36014         "bp-asm.h".
36015         (PARMS): Do not use macros from bp-asm.h.
36016         (DEST): Likewise.
36017         (LEN): Likewise.
36018         [!BZERO_P] (CHR): Likewise.
36019         (memset): Likewise.  Do not use BP_SYM.
36020         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36021         "bp-asm.h".
36022         (PARMS): Do not use macros from bp-asm.h.
36023         (S1): Likewise.
36024         (SIZE): Likewise.
36025         (__mpn_mul_1): Do not use BP_SYM.
36026         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36027         "bp-asm.h".
36028         (PARMS): Do not use macros from bp-asm.h.
36029         (S): Likewise.
36030         (SIZE): Likewise.
36031         (__mpn_rshift): Do not use BP_SYM.
36032         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36033         "bp-asm.h".
36034         (PARMS): Do not use macros from bp-asm.h.
36035         (STR): Likewise.
36036         (CHR): Likewise.
36037         (strchr): Likewise.  Do not use BP_SYM.
36038         (index): Do not use BP_SYM in weak_alias.
36039         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36040         "bp-asm.h".
36041         (PARMS): Do not use macros from bp-asm.h.
36042         (DEST): Likewise.
36043         (SRC): Likewise.
36044         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36045         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36046         "bp-asm.h".
36047         (PARMS): Do not use macros from bp-asm.h.
36048         (strlen): Do not use BP_SYM.
36049         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36050         "bp-asm.h".
36051         (PARMS): Do not use macros from bp-asm.h.
36052         (S1): Likewise.
36053         (S2): Likewise.
36054         (SIZE): Likewise.
36055         (__mpn_sub_n): Do not use BP_SYM.
36056         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36057         "bp-asm.h".
36058         (PARMS): Do not use macros from bp-asm.h.
36059         (S1): Likewise.
36060         (SIZE): Likewise.
36061         (__mpn_submul_1): Do not use BP_SYM.
36062         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36063         "bp-asm.h".
36064         (PARMS): Do not use macros from bp-asm.h.
36065         (S1): Likewise.
36066         (S2): Likewise.
36067         (SIZE): Likewise.
36068         (__mpn_add_n): Do not use BP_SYM.
36069         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36070         weak_alias.
36071         (bzero): Likewise.
36072         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36073         "bp-asm.h".
36074         (PARMS): Do not use macros from bp-asm.h.
36075         (BLK2): Likewise.
36076         (LEN): Likewise.
36077         (memcmp): Do not use BP_SYM.
36078         (bcmp): Do not use BP_SYM in weak_alias.
36079         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36080         "bp-asm.h".
36081         (PARMS): Do not use macros from bp-asm.h.
36082         (DEST): Likewise.
36083         (SRC): Likewise.
36084         (LEN): Likewise.
36085         (memcpy): Likewise.  Do not use BP_SYM.
36086         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36087         "bp-asm.h".
36088         (PARMS): Do not use macros from bp-asm.h.
36089         (DEST): Likewise.
36090         (SRC): Likewise.
36091         (LEN): Likewise.
36092         (memmove): Likewise.  Do not use BP_SYM.
36093         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36094         "bp-asm.h".
36095         (PARMS): Do not use macros from bp-asm.h.
36096         (DEST): Likewise.
36097         (SRC): Likewise.
36098         (LEN): Likewise.
36099         (__mempcpy): Likewise.  Do not use BP_SYM.
36100         (mempcpy): Do not use BP_SYM in weak_alias.
36101         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36102         "bp-asm.h".
36103         (PARMS): Do not use macros from bp-asm.h.
36104         (DEST): Likewise.
36105         (LEN): Likewise.
36106         [!BZERO_P] (CHR): Likewise.
36107         (memset): Likewise.  Do not use BP_SYM.
36108         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36109         "bp-asm.h".
36110         (PARMS): Do not use macros from bp-asm.h.
36111         (STR2): Likewise.
36112         (strcmp): Do not use BP_SYM.
36113         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36114         "bp-asm.h".
36115         (PARMS): Do not use macros from bp-asm.h.
36116         (STR): Likewise.
36117         (DELIM): Likewise.
36118         [USE_AS_STRTOK_R] (SAVE): Likewise.
36119         (FUNCTION): Likewise.  Do not use BP_SYM.
36120         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36121         aliases.
36122         (strtok_r): Likewise.
36123         (__GI___strtok_r): Likewise.
36124         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36125         (PARMS): Do not use macros from bp-asm.h.
36126         (S): Likewise.
36127         (SIZE): Likewise.
36128         (__mpn_lshift): Do not use BP_SYM.
36129         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36130         (PARMS): Do not use macros from bp-asm.h.
36131         (STR): Likewise.
36132         (CHR): Likewise.
36133         (__memchr): Do not use BP_SYM.
36134         (memchr): Do not use BP_SYM in weak_alias.
36135         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36136         (PARMS): Do not use macros from bp-asm.h.
36137         (BLK2): Likewise.
36138         (LEN): Likewise.
36139         (memcmp): Do not use BP_SYM.
36140         (bcmp): Do not use BP_SYM in weak_alias.
36141         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36142         (PARMS): Do not use macros from bp-asm.h.
36143         (S1): Likewise.
36144         (SIZE): Likewise.
36145         (__mpn_mul_1): Do not use BP_SYM.
36146         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36147         "bp-asm.h".
36148         (PARMS): Do not use macros from bp-asm.h.
36149         (STR): Likewise.
36150         (CHR): Likewise.
36151         (__rawmemchr): Do not use BP_SYM.
36152         (rawmemchr): Do not use BP_SYM in weak_alias.
36153         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36154         (PARMS): Do not use macros from bp-asm.h.
36155         (S): Likewise.
36156         (SIZE): Likewise.
36157         (__mpn_rshift): Do not use BP_SYM.
36158         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36159         (PARMS): Do not use macros from bp-asm.h.
36160         (SIGMSK): Likewise.
36161         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36162         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36163         (_start): Do not use BP_SYM.
36164         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36165         (PARMS): Do not use macros from bp-asm.h.
36166         (DEST): Likewise.
36167         (SRC): Likewise.
36168         (__stpcpy): Likewise.  Do not use BP_SYM.
36169         (stpcpy): Do not use BP_SYM in weak_alias.
36170         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36171         "bp-asm.h".
36172         (PARMS): Do not use macros from bp-asm.h.
36173         (DEST): Likewise.
36174         (SRC): Likewise.
36175         (LEN): Likewise.
36176         (__stpncpy): Likewise.  Do not use BP_SYM.
36177         (stpncpy): Do not use BP_SYM in weak_alias.
36178         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36179         (PARMS): Do not use macros from bp-asm.h.
36180         (STR): Likewise.
36181         (CHR): Likewise.
36182         (strchr): Likewise.  Do not use BP_SYM.
36183         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
36188         (__strchrnul): Likewise.  Do not use BP_SYM.
36189         (strchrnul): Do not use BP_SYM in weak_alias.
36190         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36191         "bp-asm.h".
36192         (PARMS): Do not use macros from bp-asm.h.
36193         (STOP): Likewise.
36194         (strcspn): Do not use BP_SYM.
36195         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36196         "bp-asm.h".
36197         (PARMS): Do not use macros from bp-asm.h.
36198         (STR): Likewise.
36199         (STOP): Likewise.
36200         (strpbrk): Likewise.  Do not use BP_SYM.
36201         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36202         "bp-asm.h".
36203         (PARMS): Do not use macros from bp-asm.h.
36204         (STR): Likewise.
36205         (CHR): Likewise.
36206         (strrchr): Likewise.  Do not use BP_SYM.
36207         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36208         (PARMS): Do not use macros from bp-asm.h.
36209         (SKIP): Likewise.
36210         (strspn): Do not use BP_SYM.
36211         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36212         (PARMS): Do not use macros from bp-asm.h.
36213         (STR): Likewise.
36214         (DELIM): Likewise.
36215         (SAVE): Likewise.
36216         (FUNCTION): Likewise.  Do not use BP_SYM.
36217         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36218         aliases.
36219         (strtok_r): Likewise.
36220         (__GI___strtok_r): Likewise.
36221         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36222         (PARMS): Do not use macros from bp-asm.h.
36223         (S1): Likewise.
36224         (S2): Likewise.
36225         (SIZE): Likewise.
36226         (__mpn_sub_n): Do not use BP_SYM.
36227         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36228         "bp-asm.h".
36229         (PARMS): Do not use macros from bp-asm.h.
36230         (S1): Likewise.
36231         (SIZE): Likewise.
36232         (__mpn_submul_1): Do not use BP_SYM.
36233         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36234         <bp-sym.h>.
36235         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36236         and <bp-asm.h>.
36237         (PARMS): Do not use macros from bp-asm.h.
36238         (FLAGS): Likewise.
36239         (PTID): Likewise.
36240         (TLS): Likewise.
36241         (CTID): Likewise.
36242         (__clone): Do not use BP_SYM.
36243         (clone): Do not use BP_SYM in weak_alias.
36244         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36245         and <bp-asm.h>.
36246         (PARMS): Do not use macros from bp-asm.h.
36247         (LEN): Likewise.
36248         (__mmap64): Do not use BP_SYM.
36249         (mmap64): Do not use BP_SYM in weak_alias.
36250         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36251         <bp-sym.h> and <bp-asm.h>.
36252         (PARMS): Do not use macros from bp-asm.h.
36253         (__posix_fadvise64_l64): Do not use BP_SYM.
36254         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36255         (PARMS): Do not use macros from bp-asm.h.
36256         (NSOPS): Likewise.
36257         (semtimedop): Do not use BP_SYM.
36258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36259         and <bp-asm.h>.
36261 2013-02-21  Allan McRae  <allan@archlinux.org>
36263         * manual/message.texi (Charset conversion in gettext):
36264         Move @end statement to beginning of line.
36266 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36269         static.
36270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36271         Likewise.
36273         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36274         (denorm): Likewise.
36275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36278 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36280         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36281         tail-call to the resolved function if pltexit isn't needed.
36283 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36286         or Y being zero as being unlikely.
36287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36288         Likewise.
36290 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36292         * manual/nss.texi (System Databases and Name Service Switch):
36293         Remove frobnicate @pxref.
36295 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36297         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36298         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36300 2013-02-20  Petr Machata  <pmachata@redhat.com>
36302         * elf/elf.h (R_ARM_TARGET1): New macro.
36303         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36304         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36305         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36306         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36307         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36308         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36309         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36310         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36311         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36312         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36313         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36314         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36315         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36316         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36317         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36318         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36319         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36320         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36321         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36322         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36323         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36324         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36325         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36326         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36327         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36328         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36329         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36330         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36331         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36332         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36333         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36334         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36335         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36336         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36337         (R_ARM_THM_GOT_BREL12): Likewise.
36338         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36339         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36340         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36341         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36342         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36343         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36344         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36345         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36346         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36348 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36350         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36351         __attribute_used__ to __attribute__ ((unused)).
36353 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36355         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36356         powerpc mpa.c.
36357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36358         comment formatting.
36359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36361 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36363         [BZ #13550]
36364         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36365         Remove macro.
36366         (ENTER): Remove both macro definitions.
36367         (LEAVE): Likewise.
36368         (CHECK_BOUNDS_LOW): Likewise.
36369         (CHECK_BOUNDS_HIGH): Likewise.
36370         (CHECK_BOUNDS_BOTH): Likewise.
36371         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36372         (RETURN_BOUNDED_POINTER): Likewise.
36373         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36374         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36375         (POP_ERRNO_LOCATION_RETURN): Likewise.
36376         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36377         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36378         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36379         macros.
36380         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36381         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36382         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36383         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36384         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36385         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36386         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36387         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36388         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36389         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36390         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36391         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36392         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36393         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36394         removed macros.
36395         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36396         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36397         macros.
36398         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36399         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36400         * sysdeps/i386/i586/memset.S (memset): Likewise.
36401         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36402         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36403         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36404         macros.
36405         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36406         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36407         Change uses of L(2) to L(out).
36408         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36409         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36410         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36411         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36412         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36413         removed macros.
36414         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36415         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36416         macros.
36417         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36418         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36419         (RETURN): Do not use macro LEAVE.
36420         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36421         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36422         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36423         * sysdeps/i386/i686/memset.S (memset): Likewise.
36424         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36425         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36426         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36427         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36428         Likewise.
36429         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36430         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36431         L(1_2) and L(1_3) into L(1).
36432         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36433         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36434         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36435         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36436         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36437         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36438         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36439         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36440         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36441         macros.
36442         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36443         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36444         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36445         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36446         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36447         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36448         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36449         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36450         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36451         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36452         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36453         * sysdeps/i386/strspn.S (strspn): Likewise.
36454         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36455         conditional code.
36456         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36457         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36458         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36459         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36460         L(1_3) into L(1_1).
36461         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36462         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36463         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36464         macros.
36465         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36467 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36469         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36470         macro.
36472 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36474         * math/atest-exp.c (exp_mpn): Remove ROUND.
36475         * math/atest-exp2.c (exp_mpn): Likewise.
36476         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36478         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36479         * stdlib/tst-tls-atexit-lib.c: Likewise.
36480         * stdlib/tst-tls-atexit.c: Likewise.
36482 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36484         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36485         and __attribute_alloc_size__.
36487 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36489         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36490         __attribute_alloc_size__.
36491         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36492         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36494 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36496         * include/programs/xmalloc.h: New file.
36497         * catgets/gencat.c: Include it.
36498         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36499         * elf/pldd.c: Likewise.
36500         * iconv/iconv_charmap.c: Likewise.
36501         * iconv/iconvconfig.c: Likewise.
36502         * iconv/strtab.c: Likewise.
36503         * locale/programs/locale.c: Likewise.
36504         * locale/programs/localedef.h: Likewise.
36505         * locale/programs/simple-hash.c: Likewise.
36506         * nscd/nscd.h: Likewise.
36507         * nss/makedb.c: Likewise.
36508         * sysdeps/generic/ldconfig.h: Likewise.
36510 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36512         * Versions.def: Add GLIBC_2.18.
36513         * include/link.h (struct link_map): New member l_tls_dtor_count.
36514         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36515         (__call_tls_dtors): Likewise.
36516         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36517         __cxa_thread_atexit_impl.
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36519         Likewise.
36520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36521         Likewise.
36522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36523         Likewise.
36524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36525         Likewise.
36526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36528         Likewise.
36529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36530         Likewise.
36531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36533         Likewise.
36534         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36535         (tests): Add test case tst-tls-atexit.
36536         (modules-names): Add shared library for tst-tls-atexit.
36537         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36538         (GLIBC_PRIVATE): Add __call_tls_dtors.
36539         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36540         for libstdc++.
36541         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36542         * stdlib/tst-tls-atexit.c: New test case.
36543         * stdlib/tst-tls-atexit-lib.c: New test case.
36545         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36547         * elf/Versions (ld): Add _dl_find_dso_for_object.
36548         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36549         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36550         (dl_open_worker): Use _dl_find_dso_for_object.
36551         * elf/dl-sym.c (do_sym): Likewise.
36552         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36554 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36556         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36557         Syntactic changes only.
36558         (_dl_runtime_profile): Do a tail-call to the resolved function.
36560 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36562         [BZ #13550]
36563         * sysdeps/x86_64/bp-asm.h: Remove file.
36564         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36565         <bp-sym.h> and <bp-asm.h>.
36566         (__clone): Do not use BP_SYM.
36567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36568         <bp-sym.h> and <bp-asm.h>.
36569         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36570         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36571         "bp-asm.h".
36572         (_setjmp): Do not use BP_SYM.
36573         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36574         "bp-asm.h".
36575         (setjmp): Do not use BP_SYM.
36576         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36577         libc_hidden_def.
36578         (mempcpy): Do not use BP_SYM in weak_alias.
36579         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36580         "bp-asm.h".
36581         (strchr): Do not use BP_SYM.
36582         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36583         "bp-asm.h".
36584         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36585         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36586         (_start): Do not use BP_SYM.
36587         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36588         "bp-asm.h".
36589         (strcat): Do not use BP_SYM.
36590         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36591         "bp-asm.h".
36592         (STRCMP): Do not use BP_SYM.
36593         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36594         "bp-asm.h".
36595         (STRCPY): Do not use BP_SYM.
36596         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36597         "bp-asm.h".
36598         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36599         "bp-asm.h".
36600         (FUNCTION): Do not use BP_SYM.
36601         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36602         weak_alias.
36603         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36605 2013-02-17  Andreas Jaeger  <aj@suse.de>
36607         * time/Versions: Sort entries.
36608         * string/Versions: Likewise.
36609         * resolv/Versions: Likewise.
36610         * posix/Versions: Likewise.
36611         * iconv/Versions: Likewise.
36612         * elf/Versions: Likewise.
36613         * wcsmbs/Versions: Likewise.
36615 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36617         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36618         loop termination condition.
36620         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36621         variable to calculate EZ.
36622         (__sqr): Likewise.
36624         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36625         the lower precision input.
36627 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36629         [BZ #13550]
36630         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36631         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36632         (run-via-rtld-prefix): Do not handle %-bp tests.
36633         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36634         (all-object-suffixes): Remove .ob.
36635         (bppfx): Remove variable.
36636         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36637         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36638         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36639         [$(build-bounded) = yes] (libtype.ob): Likewise.
36640         * Makerules (elide-routines.ob): Remove variable.
36641         (do-tests-clean): Do not handle *-bp.out.
36642         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36643         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36644         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36645         (tests): Do not include $(tests-bp.out).
36646         (xtests): Do not include $(xtests-bp.out).
36647         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36648         [$(build-bounded) = yes] ($(addprefix
36649         $(objpfx),$(binaries-bounded))): Remove rule.
36650         ($(objpfx)%-bp.out): Remove rule.
36651         * config.make.in (build-bounded): Remove variable.
36652         * crypt/Makefile [$(build-bounded) = yes]
36653         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36654         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36655         append to variable.
36656         [$(build-bounded) = yes] (install-lib): Likewise.
36657         [$(build-bounded) = yes] (generated): Likewise.
36658         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36659         Remove rule.
36660         * intl/Makefile [$(build-bounded) = yes]
36661         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36662         * math/Makefile [$(build-bounded) = yes]
36663         ($(tests:%=$(objpfx)%-bp): Likewise.
36664         * misc/Makefile [$(build-bounded) = yes]
36665         ($(objpfx)tst-tsearch-bp): Likewise.
36666         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36667         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36668         Remove dependency.
36669         * string/Makefile (o-objects.ob): Remove variable.
36670         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36671         (CFLAGS-.ob): Remove variable.
36672         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36673         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36674         both definitions of variable.
36675         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36676         (ASFLAGS-.ob): Remove variable.
36678 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #13550]
36681         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36682         Remove __BOUNDED_POINTERS__ from condition.
36683         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36684         * string/bits/string2.h [!__NO_STRING_INLINES &&
36685         !__BOUNDED_POINTERS__]: Likewise.
36686         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36687         Likewise.
36688         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36689         Remove conditional code.
36690         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36691         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36692         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36693         condition.
36695         [BZ #13550]
36696         * csu/libc-start.c: Do not include <bp-sym.h>.
36697         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36698         * elf/dl-open.c: Do not include <bp-sym.h>.
36699         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36700         * math/fegetenv.c: Do not include <bp-sym.h>.
36701         (fegetenv): Do not use BP_SYM in versioned symbols.
36702         * nptl/sysdeps/pthread/bits/libc-lockP.h
36703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36704         <bp-sym.h>.
36705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36706         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36708         (__pthread_mutex_destroy): Likewise.
36709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36710         (__pthread_mutex_lock): Likewise.
36711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36712         (__pthread_mutex_trylock): Likewise.
36713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36714         (__pthread_mutex_unlock): Likewise.
36715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36716         (__pthread_mutexattr_init): Likewise.
36717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36718         (__pthread_mutexattr_destroy): Likewise.
36719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36720         (__pthread_mutexattr_settype): Likewise.
36721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36722         (__pthread_rwlock_init): Likewise.
36723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36724         (__pthread_rwlock_destroy): Likewise.
36725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36726         (__pthread_rwlock_rdlock): Likewise.
36727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36728         (__pthread_rwlock_tryrdlock): Likewise.
36729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36730         (__pthread_rwlock_wrlock): Likewise.
36731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36732         (__pthread_rwlock_trywrlock): Likewise.
36733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36734         (__pthread_rwlock_unlock): Likewise.
36735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36736         (__pthread_key_create): Likewise.
36737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36738         (__pthread_setspecific): Likewise.
36739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36740         (__pthread_getspecific): Likewise.
36741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36742         Likewise.
36743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36744         (_pthread_cleanup_push_defer): Likewise.
36745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36746         (_pthread_cleanup_pop_restore): Likewise.
36747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36748         (pthread_setcancelstate): Likewise.
36749         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36750         <bp-sym.h>.
36751         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36752         (memchr): Do not use BP_SYM in weak_alias.
36753         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36754         (fegetenv): Do not use BP_SYM in versioned symbols.
36755         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36756         (fesetenv): Do not use BP_SYM in versioned symbols.
36757         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36758         (feupdateenv): Do not use BP_SYM in versioned symbols.
36759         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36760         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36761         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36762         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36763         (open64): Do not use BP_SYM in weak_alias.
36764         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36765         (fegetenv): Do not use BP_SYM in versioned symbols.
36766         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36767         (fesetenv): Do not use BP_SYM in versioned symbols.
36768         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36769         (feupdateenv): Do not use BP_SYM in versioned symbols.
36770         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36771         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36772         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36773         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36774         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36775         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36776         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36777         <bp-sym.h>.
36778         (__libc_start_main): Do not use BP_SYM.
36780 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36783         redundant return line.
36784         (norm): Likewise.
36785         (denorm): Likewise.
36786         (dbl_mp): Likewise.
36787         (sub_magnitudes): Likewise.
36788         (__add): Likewise.
36789         (__sub): Likewise.
36790         (__mul): Likewise.
36791         (__inv): Likewise.
36792         (__dvd): Likewise.
36793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36794         (norm): Likewise.
36795         (denorm): Likewise.
36796         (dbl_mp): Likewise.
36797         (sub_magnitudes): Likewise.
36798         (__add): Likewise.
36799         (__sub): Likewise.
36800         (__mul): Likewise.
36801         (__inv): Likewise.
36802         (__dvd): Likewise.
36804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36805         instead of __mul.
36806         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36807         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36808         (cc32): Likewise.
36810         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36811         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36812         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36813         of __mul for squares.
36814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36815         function
36816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36817         Likewise.
36818         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36819         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36821 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36823         [BZ #13550]
36824         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36825         code.
36826         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36827         prototype or function definition.  Rename ubp_* variables and
36828         parameters.  Remove argv definitions conditional on
36829         [__BOUNDED_POINTERS__].
36830         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36831         * elf/dl-runtime.c (_dl_fixup): Likewise.
36832         * include/set-hooks.h (RUN_HOOK): Likewise.
36833         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36834         definition.
36835         * string/strcpy.c (strcpy): Do not use __unbounded.
36836         * sysdeps/generic/frame.h (struct layout): Likewise.
36837         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36838         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36839         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36840         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36841         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36842         (__backtrace): Likewise.
36843         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36844         use __ptrvalue.
36845         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36846         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36847         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36848         Likewise.
36849         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36850         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36851         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36852         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36853         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36854         Do not use __unbounded.
36855         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36856         Rename __unboundedrlimits parameter to rlimits in prototype.
36857         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36858         Do not use __unbounded.
36859         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36860         not use __ptrvalue.
36861         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36862         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36863         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36864         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36865         __ptrvalue or __unbounded.
36866         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36867         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36868         use __unbounded.
36869         (__new_msgctl): Do not use __ptrvalue.
36870         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36871         __unbounded.
36872         (__libc_msgrcv): Do not use __ptrvalue.
36873         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36874         startup_info): Do not use __unbounded.
36875         (__libc_start_main): Likewise.  Rename ubp_* variables and
36876         parameters.  Remove argv definitions conditional on
36877         [__BOUNDED_POINTERS__].
36878         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36879         __ptrvalue.
36880         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36881         use __unbounded.
36882         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36883         or __ptrvalue.
36884         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36885         use __unbounded.
36886         (__new_shmctl): Do not use __ptrvalue.
36887         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36888         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36889         Likewise.
36890         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36891         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36892         (__libc_sigaction): Likewise.
36893         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36894         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36895         Likewise.
36896         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36898 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36900         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36902         * string/mempcpy.c: Implement by calling memcpy.
36904 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36909         evaluation.
36911         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36912         values in the mantissa.
36914         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36915         minimize writes to Z.
36916         (sub_magnitudes): Simplify code a bit.
36918 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36920         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36921         from the message.  The linker prefixes all warnings with that already.
36923 2013-02-12  Andreas Schwab  <schwab@suse.de>
36925         [BZ #15078]
36926         * posix/regexec.c (extend_buffers): Add parameter min_len.
36927         (check_matching): Pass minimum needed length.
36928         (clean_state_log_if_needed): Likewise.
36929         (get_subexp): Likewise.
36930         * posix/Makefile (tests): Add bug-regex34.
36931         (bug-regex34-ENV): Define.
36932         * posix/bug-regex34.c: New file.
36934         [BZ #11561]
36935         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36936         elements compare against the byte sequence of it, not its name.
36937         * posix/Makefile (tests): Add bug-regex35.
36938         (bug-regex35-ENV): Define.
36939         * posix/bug-regex35.c: New file.
36941 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36943         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36944         comment.
36945         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36946         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36947         (CHECK_EOL): Add undef.
36949 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36951         * bits/stdlib-bsearch.h: New file.
36952         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36953         * stdlib/stdlib.h: Likewise.
36955 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36957         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36958         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36959         declaration.
36960         * manual/search.texi (Array Search Function): Add missing const in
36961         lfind prototype.
36962         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36963         declaration to use rlim_t.
36964         (Basic Scheduling Functions): Remove erroneous const from
36965         sched_getparam prototype.  Remove erroneous * from
36966         sched_get_priority_max and sched_get_priority_min prototypes.
36967         (Resource Usage): Fix summary @comment on vtimes to refer to
36968         sys/vtimes.h rather than vtimes.h.
36969         Add missing *s in vtimes prototype.
36970         (Limits on Resources): Fix ulimit prototype to return long int.
36971         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36972         prototypes to use long int rather than double.
36973         (BSD Random): Fix initstate and setstate to use char *, not void *.
36974         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36975         prototype to make second argument 'struct aiocb64 *const[]'.
36976         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36977         (Status of AIO Operations): Remove erroneous const in aio_return and
36978         aio_return64 prototypes.
36979         (Synchronizing I/O): Fix sync prototype to return void.
36980         * manual/startup.texi (Suboptions): Remove an erroneous const in
36981         getsubopt prototype.
36982         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36983         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36984         use size_t rather than int.
36985         (Scanning All Users): Likewise for getpwent_r.
36986         (Setting Groups): Add missing const to setgroups prototype.
36987         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36988         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36989         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36990         'const void *' rather than 'const char *'.
36991         (Host Address Functions): Likewise for inet_ntop.
36992         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36993         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36994         ssize_t for return value.
36995         (Sending Data): Likewise for send, sendto, sendmsg.
36996         (Socket Option Functions): Add a missing const in setsockopt prototype.
36997         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36998         use wchar_t for the argument.
36999         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37000         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37001         take no arguments.
37002         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37003         double/float/long double for second argument.
37004         Fix return types of significand, significandf, significandl.
37005         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37006         argument in fchmod prototype.
37007         (File Owner): Use uid_t and gid_t in fchown prototype.
37008         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37009         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37010         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37011         use 'const struct dirent **' as argument types to CMP function pointer
37012         argument.
37013         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37014         (File Times): Fix summary magic @comment for struct utimbuf and utime
37015         to refer to utime.h, not time.h.
37016         * manual/string.texi (Argz Functions): Add missing const in
37017         argz_extract and argz_next prototypes.
37018         (Finding Tokens in a String): Likewise for basename.
37019         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37020         (Copying and Concatenation): Fix typo in wmemmove prototype.
37021         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37022         (Signal Stack): Remove erroneous const in sigstack prototype.
37023         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37024         prototype.
37025         (Simple Calendar Time): Likewise for stime.
37026         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37027         prototype.
37028         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37029         say sys/sysctl.h instead.
37030         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37031         and vsyslog prototypes.
37033 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37035         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37036         Remove.
37038 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37040         * misc/sys/mman.h: Fix typo in mremap comment.
37042 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37044         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37045         the '\0' terminator.
37047 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37049         [BZ #13550]
37050         * debug/segfault.c: Don't include <bp-checks.h>.
37051         * sysdeps/generic/bp-checks.h: Remove file.
37052         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37053         (__GETDENTS): Don't use CHECK_N.
37054         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37055         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37056         (__getgroups): Don't use CHECK_N.
37057         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37058         (setgroups): Don't use CHECK_N.
37059         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37060         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37061         (__libc_msgrcv): Don't use CHECK_N.
37062         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37063         (__libc_msgsnd): Don't use CHECK_N.
37064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37065         <bp-checks.h>.
37066         (__libc_pread): Don't use CHECK_N.
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37068         include <bp-checks.h>.
37069         (__libc_pread64): Don't use CHECK_N.
37070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37071         include <bp-checks.h>.
37072         (__libc_pwrite): Don't use CHECK_N.
37073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37074         include <bp-checks.h>.
37075         (__libc_pwrite64): Don't use CHECK_N.
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37077         <bp-checks.h>.
37078         (__libc_pread): Don't use CHECK_N.
37079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37080         include <bp-checks.h>.
37081         (__libc_pread64): Don't use CHECK_N.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37083         include <bp-checks.h>.
37084         (__libc_pwrite): Don't use CHECK_N.
37085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37086         include <bp-checks.h>.
37087         (__libc_pwrite64): Don't use CHECK_N.
37088         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37089         (do_pread): Don't use CHECK_N.
37090         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37091         (do_pread64): Don't use CHECK_N.
37092         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37093         (do_pwrite): Don't use CHECK_N.
37094         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37095         (do_pwrite64): Don't use CHECK_N.
37096         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37097         (__libc_readv): Don't use CHECK_N.
37098         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37099         (semop): Don't use CHECK_N.
37100         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37101         <bp-checks.h>.
37102         (semtimedop): Don't use CHECK_N.
37103         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37104         (__libc_pread): Don't use CHECK_N.
37105         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37106         <bp-checks.h>.
37107         (__libc_pread64): Don't use CHECK_N.
37108         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37109         <bp-checks.h>.
37110         (__libc_pwrite): Don't use CHECK_N.
37111         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37112         <bp-checks.h>.
37113         (__libc_pwrite64): Don't use CHECK_N.
37114         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37115         <bp-checks.h>.
37116         (__libc_msgrcv): Don't use CHECK_N.
37117         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37118         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37119         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37120         (__libc_writev): Don't use CHECK_N.
37122 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37124         * string/strcpy.c: Removed unused variable.
37126         * Makeconfig (+sysdep-includes): Define with := rather than =.
37127         Use an existing include/ subdir of each sysdeps dir before it.
37129 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37131         * nscd/connection.c (register_traced_file): Comment function.
37132         [HAVE_INOTIFY] (union __inev): Define.
37133         [HAVE_INOTIFY] (inotify_check_files): New function.
37134         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37135         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37136         clear_db_cache.
37137         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37139 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37141         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37142         loaded if not already and that a failure is permanent.
37144 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37146         [BZ #15006]
37147         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37148         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37150 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37152         [BZ #13550]
37153         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37154         (CHECK_1_NULL_OK): Likewise.
37155         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37156         (__fxstat): Do not use CHECK_1.
37157         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37158         <bp-checks.h>.
37159         (___fxstat64): Do not use CHECK_1.
37160         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37161         <bp-checks.h>.
37162         (__fxstatat): Do not use CHECK_1.
37163         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37164         <bp-checks.h>.
37165         (__fxstatat64): Do not use CHECK_1.
37166         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37167         <bp-checks.h>.
37168         (__fxstat): Do not use CHECK_1.
37169         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37170         <bp-checks.h>.
37171         (__fxstatat): Do not use CHECK_1.
37172         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37173         <bp-checks.h>.
37174         (__getresgid): Do not use CHECK_1.
37175         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37176         <bp-checks.h>.
37177         (__getresuid): Do not use CHECK_1.
37178         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37179         <bp-checks.h>.
37180         (__lxstat): Do not use CHECK_1.
37181         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37182         <bp-checks.h>.
37183         (__old_msgctl): Do not use CHECK_1.
37184         (__new_msgctl): Likewise.
37185         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37186         <bp-checks.h>.
37187         (__new_setrlimit): Do not use CHECK_1.
37188         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37189         <bp-checks.h>.
37190         (__old_shmctl): Do not use CHECK_1.
37191         (__new_shmctl): Likewise.
37192         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37193         <bp-checks.h>.
37194         (__xstat): Do not use CHECK_1.
37195         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37196         (__lxstat): Do not use CHECK_1.
37197         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37198         <bp-checks.h>.
37199         (___lxstat64): Do not use CHECK_1.
37200         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37201         (__old_msgctl): Do not use CHECK_1.
37202         (__new_msgctl): Likewise.
37203         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37204         <bp-checks.h>.
37205         (__gettimeofday): Do not use CHECK_1.
37206         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37207         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37208         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37209         <bp-checks.h>.
37210         (__gettimeofday): Do not use CHECK_1.
37211         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37212         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37213         (__new_shmctl): Do not use CHECK_1.
37214         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37215         <bp-checks.h>.
37216         (do_sigtimedwait): Do not use CHECK_1.
37217         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37218         <bp-checks.h>.
37219         (do_sigwaitinfo): Do not use CHECK_1.
37220         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37221         <bp-checks.h>.
37222         (msgctl): Do not use CHECK_1.
37223         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37224         <bp-checks.h>.
37225         (shmctl): Do not use CHECK_1.
37226         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37227         (ustat): Do not use CHECK_1.
37228         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37229         <bp-checks.h>.
37230         (__fxstat): Do not use CHECK_1.
37231         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37232         <bp-checks.h>.
37233         (__fxstatat): Do not use CHECK_1.
37234         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37235         <bp-checks.h>.
37236         (__lxstat): Do not use CHECK_1.
37237         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37238         <bp-checks.h>.
37239         (__xstat): Do not use CHECK_1.
37240         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37241         (__xstat): Do not use CHECK_1.
37242         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37243         (___xstat64): Do not use CHECK_1.
37245         [BZ #13550]
37246         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37247         definitions.
37248         (CHECK_BOUNDS_HIGH): Likewise.
37249         * string/strcpy.c: Do not include <bp-checks.h>.
37250         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37252 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37254         * nscd/nscd-client.h (__nscd_drop_map_ref):
37255         Add __attribute__ ((unused)).
37256         * nis/nss-nisplus.h (niserr2nss): Likewise.
37258         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37259         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37261         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37262         Remove inline keyword.
37263         * include/rounding-mode.h (round_away): Likewise.
37264         * libio/wfileops.c (adjust_wide_data): Likewise.
37265         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37266         (__m128i_strloadu_tolower): Likewise.
37267         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37268         (__m128i_strloadu_tolower): Likewise.
37269         * time/mktime.c (ydhms_diff): Likewise.
37270         * locale/elem-hash.h (elem_hash): Likewise.
37271         * locale/setlocale.c (setdata): Likewise.
37272         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37273         (re_string_wchar_at): Likewise.
37274         (bitset_not, bitset_merge, bitset_mask): Likewise.
37275         [!(__GNUC__ > 3)] (inline): Remove macro.
37276         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37277         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37278         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37279         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37280         * string/memcmp.c (memcmp_bytes): Likewise.
37281         * locale/programs/locarchive.c (compute_hashval): Likewise.
37282         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37283         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37284         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37285         * nss/getent.c (print_rpc, print_protocols): Likewise.
37286         (print_passwd, print_group, print_aliases): Likewise.
37287         * nis/nss-nisplus.h (niserr2nss): Likewise.
37288         * nscd/connections.c (restart_p): Likewise.
37289         Change return type to bool.
37291 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37293         * Makeconfig (all-Depend-files): Add existing
37294         $(sorted-subdirs:=/Depend) files.
37295         (all-subdirs): Remove nss.
37296         * sysdeps/unix/inet/Subdirs: Add it here instead.
37297         * hesiod/Depend: New file.
37299         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37300         instead of calling alloca.
37302         * io/lseek.c (__lseek): Rename to __libc_lseek.
37303         Define __lseek as an alias.
37305         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37307 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37309         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37310         else clause and remove check for non-standard endianness.
37312 2013-02-04  David S. Miller  <davem@davemloft.net>
37314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37316 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37318         [BZ #13550]
37319         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37320         (__ubp_memchr): Remove prototype.
37321         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37322         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37323         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37324         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37325         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37326         Remove alias.
37327         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37328         (__ubp_memchr): Likewise.
37329         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37330         (__ubp_memchr): Likewise.
37331         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37332         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37333         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37334         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37335         CHECK_STRING.
37336         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37337         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37338         (__getcwd): Do not use CHECK_STRING.
37339         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37340         <bp-checks.h>.
37341         (__real_chown): Do not use CHECK_STRING.
37342         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37343         <bp-checks.h>.
37344         (fchownat): Do not use CHECK_STRING.
37345         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37346         CHECK_STRING.
37347         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37348         <bp-checks.h>.
37349         (__lchown): Do not use CHECK_STRING.
37350         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37351         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37352         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37353         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37355         include <bp-checks.h>.
37356         (truncate64): Do not use CHECK_STRING.
37357         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37358         <bp-checks.h>.
37359         (__real_chown): Do not use CHECK_STRING.
37360         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37361         <bp-checks.h>.
37362         (__lchown): Do not use CHECK_STRING.
37363         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37364         <bp-checks.h>.
37365         (__chown): Do not use CHECK_STRING.
37366         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37367         <bp-checks.h>.
37368         (truncate64): Do not use CHECK_STRING.
37369         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37370         Likewise.
37371         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37372         (__xmknod): Do not use CHECK_STRING.
37373         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37374         <bp-checks.h>.
37375         (__xmknodat): Do not use CHECK_STRING.
37376         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37377         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37379 2013-02-04  Andreas Schwab  <schwab@suse.de>
37381         [BZ #14142]
37382         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37383         * include/netdb.h: Likewise for h_errno.
37384         * elf/tst-stackguard1.c: Include <tls.h>.
37386 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37388         * elf/link.h (struct link_map): Extend the l_addr comment.
37389         * include/link.h (struct link_map): Likewise.
37391 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37393         [BZ #13550]
37394         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37395         (BOUNDED_1): Remove macro.
37396         * debug/backtrace.c: Don't include <bp-checks.h>.
37397         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37398         (__backtrace): Likewise.
37399         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37400         <bp-checks.h>.
37401         (__backtrace): Don't use BOUNDED_1.
37402         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37403         <bp-checks.h>.
37404         (__backtrace): Don't use BOUNDED_1.
37405         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37406         (__backtrace): Don't use BOUNDED_1.
37407         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37408         (shmat): Don't use BOUNDED_N.
37410 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37412         [BZ #13550]
37413         * sysdeps/generic/bp-start.h: Remove file.
37414         * csu/libc-start.c: Don't include <bp-start.h>.
37415         (LIBC_START_MAIN): Set up __environ directly instead of using
37416         INIT_ARGV_and_ENVIRON.
37417         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37418         <bp-start.h>.
37420         [BZ #13550]
37421         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37422         definitions.
37423         (CHECK_FCNTL): Likewise.
37424         (CHECK_N_PAGES): Likewise.
37426         [BZ #13550]
37427         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37428         definitions.
37429         (CHECK_SIGSET_NULL_OK): Likewise.
37430         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37431         <bp-checks.h>.
37432         (sigpending): Don't use CHECK_SIGSET.
37433         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37434         <bp-checks.h>.
37435         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37436         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37437         <bp-checks.h>.
37438         (do_sigsuspend): Don't use CHECK_SIGSET.
37439         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37440         use CHECK_SIGSET.
37441         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37442         (do_sigwait): Don't use CHECK_SIGSET.
37443         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37444         use CHECK_SIGSET.
37445         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37446         include <bp-checks.h>.
37447         (sigpending): Don't use CHECK_SIGSET.
37448         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37449         include <bp-checks.h>.
37450         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37451         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37452         <bp-checks.h>.
37453         (sigpending): Don't use CHECK_SIGSET.
37454         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37455         <bp-checks.h>.
37456         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37458         [BZ #13550]
37459         * sysdeps/generic/bp-semctl.h: Remove file.
37460         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37461         <bp-checks.h> and <bp-semctl.h>.
37462         (__old_semctl): Don't use CHECK_SEMCTL.
37463         (__new_semctl): Likewise.
37464         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37465         and <bp-semctl.h>.
37466         (__old_semctl): Don't use CHECK_SEMCTL.
37467         (__new_semctl): Likewise.
37468         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37469         <bp-checks.h> and <bp-semctl.h>.
37470         (__old_semctl): Don't use CHECK_SEMCTL.
37471         (__new_semctl): Likewise.
37472         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37473         <bp-checks.h> and <bp-semctl.h>.
37474         (semctl): Don't use CHECK_SEMCTL.
37476         [BZ #13550]
37477         * Makerules (elide-bp-thunks): Remove variable.
37478         (elide-routines.oS): Don't use $(elide-bp-thunks).
37479         (elide-routines.os): Likewise.
37480         (elide-routines.o): Likewise.
37481         (elide-routines.op): Likewise.
37482         (elide-routines.og): Likewise.
37483         (objects): Don't use $(bp-thunks).
37484         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37485         include.
37486         (common-generated): Do not add s-proto-bp.d.
37487         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37488         (int): Likewise.
37489         (typ): Likewise.
37490         Do not generate makefile rules for bounded-pointer thunks.
37491         * sysdeps/generic/bp-thunks.h: Remove file.
37492         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37493         * sysdeps/unix/s-proto-bp.S: Likewise.
37495         [BZ #15062]
37496         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37497         parts of result separately when argument is not close to line from
37498         -i to i and one part of argument is small.
37499         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37500         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37501         * math/libm-test.inc (cacos_test): Add more tests.
37502         (casin_test): Likewise.
37503         (casinh_test): Likewise.
37504         * sysdeps/i386/fpu/libm-test-ulps: Update.
37505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37507 2013-01-31  David S. Miller  <davem@davemloft.net>
37509         * po/de.po: Update from translation team.
37511 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37513         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37515 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37517         * configure.in (_AC_PROG_CC_C89): New definition.
37518         * configure: Regenerate.
37520         * configure.in (AC_PROG_CPP): New definition.
37521         * configure: Regenerate.
37523 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37525         * debug/tst-backtrace.h: New file.
37526         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37527         (ret): Remove variable.
37528         (x): Likewise.
37529         (FAIL): Remove macro.
37530         (NO_INLINE): Likewise.
37531         (fn1): Use match function instead of strstr.
37532         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37533         (ret): Remove variable.
37534         (x): Likewise.
37535         (FAIL): Remove macro.
37536         (NO_INLINE): Likewise.
37537         (fn): Use match function instead of strstr.
37538         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37539         (ret): Remove variable.
37540         (x): Likewise.
37541         (FAIL): Remove macro.
37542         (NO_INLINE): Likewise.
37543         (handle_signal): Use match function instead of strstr.
37544         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37545         (ret): Remove variable.
37546         (x): Likewise.
37547         (FAIL): Remove macro.
37548         (NO_INLINE): Likewise.
37549         (handle_signal): Use match function instead of strstr.
37551 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37553         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37555 2013-01-23  David S. Miller  <davem@davemloft.net>
37557         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37558         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37559         argument of CAS if possible.
37560         * sysdeps/sparc/sparc64/bits/atomic.h
37561         (__arch_compare_and_exchange_val_32_acq): Likewise.
37562         (__arch_compare_and_exchange_val_64_acq): Likewise.
37564 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37566         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37567         * sysdeps/posix/ulimit.c: ... this.
37568         Include <limits.h>.
37569         * sysdeps/unix/bsd/ulimit.c: Remove file.
37571 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37573         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37574         (LDFLAGS-tst-array5): Likewise.
37576 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37578         [BZ #15036]
37579         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37580         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37581         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37582         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37584 2013-01-21  David S. Miller  <davem@davemloft.net>
37586         * sysdeps/sparc/backtrace.c: New file.
37587         * sysdeps/sparc/sparc32/backtrace.h: New file.
37588         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37589         * sysdeps/sparc/sparc64/backtrace.h: New file.
37590         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37591         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37592         -funwind-tables.
37594 2013-01-21  Andreas Schwab  <schwab@suse.de>
37596         [BZ #15020]
37597         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37598         closed its stdout.
37600 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37603         "mpa2.h".
37604         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37606 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37607             Mark Mitchell  <mark@codesourcery.com>
37608             Tom de Vries  <tom@codesourcery.com>
37609             Paul Pluzhnikov  <ppluzhnikov@google.com>
37611         * debug/tst-backtrace2.c: New file.
37612         * debug/tst-backtrace3.c: Likewise.
37613         * debug/tst-backtrace4.c: Likewise.
37614         * debug/tst-backtrace5.c: Likewise.
37615         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37616         (CFLAGS-tst-backtrace3.c): Likewise.
37617         (CFLAGS-tst-backtrace4.c): Likewise.
37618         (CFLAGS-tst-backtrace5.c): Likewise.
37619         (LDFLAGS-tst-backtrace2): Likewise.
37620         (LDFLAGS-tst-backtrace3): Likewise.
37621         (LDFLAGS-tst-backtrace4): Likewise.
37622         (LDFLAGS-tst-backtrace5): Likewise.
37623         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37624         tst-backtrace4 and tst-backtrace5.
37626 2013-01-18  Anton Blanchard  <anton@samba.org>
37627             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37629         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37630         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37631         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37632         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37634         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37635         "+r" and remove output regs list as redundant.  Add explicit inline
37636         asm to specify register of return val to work around compiler codegen
37637         bug.  Remove (int) cast on return value.  Add return type parameter to
37638         use in macro so that this macro does not truncate return value for
37639         64-bit values.
37640         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37641         pass to INTERNAL_VSYSCALL_NCS.
37642         (INLINE_VSYSCALL): Add 'long int' as return type to
37643         INTERNAL_VSYSCALL_NCS macro invocation.
37644         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37645         INTERNAL_VSYSCALL_NCS macro invocation.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37648 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37650         [BZ #14496]
37651         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37652         Fix application of SIMD FP exception mask.
37654         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37655         mp_no from a power of two.
37656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37657         __mpexp_twomm1.  Use __pow_mp.
37659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37660         multiplication.
37662 2013-01-17  David S. Miller  <davem@davemloft.net>
37664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37666 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37668         [BZ #15023]
37669         * include/complex.h: Condition contents on [!_COMPLEX_H].
37670         (__kernel_casinhf): New prototype.
37671         (__kernel_casinh): Likewise.
37672         (__kernel_casinhl): Likewise.
37673         * math/Makefile (libm_calls): Add k_casinh.
37674         * math/k_casinh.c: New file.
37675         * math/k_casinhf.c: Likewise.
37676         * math/k_casinhl.c: Likewise.
37677         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37678         finite nonzero arguments.
37679         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37680         finite nonzero arguments.
37681         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37682         finite nonzero arguments.
37683         * math/s_casinh.c: Do not include <float.h>.
37684         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37685         * math/s_casinhf.c: Do not include <float.h>.
37686         (__casinhf): Move code for finite nonzero arguments to
37687         k_casinhf.c.
37688         * math/s_casinhl.c: Do not include <float.h>.
37689         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37690         redefine.
37691         (__casinhl): Move code for finite nonzero arguments to
37692         k_casinhl.c.
37693         * math/libm-test.inc (cacos_test): Add more tests.
37694         * sysdeps/i386/fpu/libm-test-ulps: Update.
37695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37697 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37699         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37700         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37701         [!HAVE_MREMAP]: Remove [defined linux] case.
37702         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37704 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37706         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37708 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37710         * elf/elf.h (R_386_SIZE32): New relocation.
37711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37712         R_386_SIZE32.
37713         (elf_machine_rela): Likewise.
37714         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37715         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37717 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37719         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37720         (FP_FAST_FMA): Do not define.
37721         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37722         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37723         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37724         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37725         !_SOFT_FLOAT]: Likewise.
37726         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37727         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37728         value.
37729         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37730         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37732         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37733         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37734         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37735         file.
37737 2013-01-16  Andreas Schwab  <schwab@suse.de>
37739         [BZ #14327]
37740         * include/stdlib.h (__mktemp): Add declaration.
37741         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37742         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37744 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37746         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37747         definitions.
37748         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37749         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37750         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37751         definitions here.
37752         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37753         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37754         definitions.
37755         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37756         and ONE.
37757         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37758         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37759         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37760         definitions.
37761         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37762         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37763         definitions.
37764         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37766         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37768 2013-01-15  David S. Miller  <davem@davemloft.net>
37770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37771         trunc{,f} to libm-sysdep_routes.
37772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37774         file.
37775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37777         file.
37778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37779         file.
37780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37782         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37783         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37784         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37785         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37786         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37787         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37790         nearbyint{,f} to libm-sysdep_routes.
37791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37793         New file.
37794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37795         file.
37796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37797         New file.
37798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37799         file.
37800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37802         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37803         file.
37804         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37805         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37806         file.
37807         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37808         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37809         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37811         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37812         libc_feholdexcept and libc_fesetenv.
37814 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37816         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37818 2013-01-14  David S. Miller  <davem@davemloft.net>
37820         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37821         (SPARC_ASM_VIS2_IFUNC): Likewise.
37822         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37824         use of 'siam' instruction.
37825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37826         Likewise.
37827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37828         Likewise.
37829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37830         Likewise.
37831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37836         file.
37837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37838         file.
37839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37840         file.
37841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37842         file.
37843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37848         new VIS2 routines.
37849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37852         Likewise.
37853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37858         routines to libm-sysdep_routines.
37859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37862         fdim/fdimf to libm-sysdep_routines.
37863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37864         file.
37865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37867         file.
37868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37871         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37872         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37873         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37874         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37876 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37878         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37879         to optimize copies.
37881         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37886         local variable MPTWO.
37887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37888         Likewise.
37890 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37892         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37893         GLOB_NOESCAPE.
37895 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37897         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37899 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37901         * manual/pattern.texi (glob_t): Document gl_flags.
37902         (glob64_t): Likewise.
37904 2013-01-11  David S. Miller  <davem@davemloft.net>
37906         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37907         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37908         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37909         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37910         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37911         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37912         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37913         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37914         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37915         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37916         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37917         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37918         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37920         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37921         sparc V9 rather than using V8 code.
37922         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37923         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37925         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37926         Move to...
37927         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37928         Here.
37930 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37932         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37933         not in the main loop.
37934         * configure: Regenerated.
37936 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37938         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37939         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37940         to just #else.
37941         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37942         [!__GLIBC_HAVE_LONG_LONG] case.
37943         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37944         condition to just #else.
37945         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37946         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37947         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37948         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37949         unconditional.
37950         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37951         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37952         #elif condition to just #else.
37953         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37954         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37955         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37956         #elif condition to just #else.
37958 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37960         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37961         (EF_MIPS_ARCH_64): Fix value.
37962         (EF_MIPS_ARCH_32R2): New.
37963         (EF_MIPS_ARCH_64R2): New.
37965 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37967         * Makeconfig (+link-pie-before-libc): New.
37968         (+link-pie-after-libc): Likewise.
37969         (+link-pie-tests): Likewise.
37970         (+link-pie): Rewritten.
37971         (link-before-libc): Remove $(config-LDFLAGS).
37972         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37973         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37974         (config-LDFLAGS): Renamed to ...
37975         (rtld-LDFLAGS): This.
37976         (rtld-tests-LDFLAGS): New macro.
37977         (link-libc-rpath-link): Likewise.
37978         (link-libc-tests-rpath-link): Likewise.
37979         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37980         (link-libc): Prepand $(link-libc-rpath-link).
37981         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37982         (test-program-prefix): New macro.
37983         (test-via-rtld-prefix): Likewise.
37984         (test-program-cmd): Likewise.
37985         (host-test-program-cmd): Likewise.
37986         * Makefile ($(common-objpfx)testrun.sh): Replace
37987         $(run-program-prefix) with $(test-program-prefix).
37988         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37989         $(rtld-LDFLAGS).
37990         ($(common-objpfx)shlib.lds): Likewise.
37991         (build-module-helper): Likewise.
37992         ($(common-objpfx)format.lds): Likewise.
37993         * Rules (binaries-pie-tests): New.
37994         (binaries-pie-notests): Likewise.
37995         (binaries-pie): Rewritten.
37996         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37997         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37998         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37999         (make-test-out): Replace $(host-built-program-cmd) with
38000         $(host-test-program-cmd).
38001         * config.make.in (build-hardcoded-path-in-tests): New variable.
38002         * configure.in (--enable-hardcoded-path-in-tests): New configure
38003         option.
38004         (hardcoded_path_in_tests): New AC_SUBST.
38005         * configure: Regenerated.
38006         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38007         $(built-program-cmd) with $(test-program-cmd).
38008         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38009         (test_program_cmd): This.
38010         * elf/Makefile ($(objpfx)order.out): Run test with
38011         $(test-program-prefix).
38012         ($(objpfx)order2.out): Likewise.
38013         ($(objpfx)tst-initorder.out): Likewise.
38014         ($(objpfx)tst-initorder2.out): Likewise.
38015         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38016         $(test-program-cmd).
38017         ($(objpfx)tst-array1-static.out): Likewise.
38018         ($(objpfx)tst-array2.out): Likewise.
38019         ($(objpfx)tst-array3.out): Likewise.
38020         ($(objpfx)tst-array4.out): Likewise.
38021         ($(objpfx)tst-array5.out): Likewise.
38022         ($(objpfx)tst-array5-static.out): Likewise.
38023         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38024         $(test-program-cmd).
38025         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38026         $(run-program-prefix) with $(test-program-prefix).
38027         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38028         (test_program_prefix): This.
38029         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38030         $(run-program-prefix) with $(test-program-prefix).
38031         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38032         (test_program_prefix): This.
38033         * iconvdata/tst-tables.sh: Likewise.
38034         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38035         $(run-program-prefix) with $(test-program-prefix).
38036         ($(objpfx)tst-translit.out): Likewise.
38037         ($(objpfx)tst-gettext2.out): Likewise.
38038         ($(objpfx)tst-gettext4.out): Likewise.
38039         ($(objpfx)tst-gettext6.out): Likewise.
38040         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38041         (test_program_prefix): This.
38042         * intl/tst-gettext2.sh: Likewise.
38043         * intl/tst-gettext4.sh  Likewise.
38044         * intl/tst-gettext6.sh: Likewise.
38045         * intl/tst-translit.sh: Likewise.
38046         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38047         with $(test-program-cmd).
38048         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38049         $(run-program-prefix) with $(test-program-prefix).
38050         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38051         (test_program_prefix): This.
38052         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38053         $(run-program-prefix) with $(test-program-prefix).
38054         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38055         (test_program_prefix): This.
38056         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38057         * posix/Makefile ($(objpfx)globtest.out): Replace
38058         $(run-via-rtld-prefix) and $(test-wrapper) with
38059         $(test-program-prefix) and $(test-via-rtld-prefix).
38060         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38061         $(test-program-prefix).
38062         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38063         $(host-test-program-cmd).
38064         (tst-spawn-ARGS): Likewise.
38065         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38066         $(test-program-prefix).
38067         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38068         (test_via_rtld_prefix): This.
38069         (test_wrapper): Renamed to ...
38070         (test_program_prefix): This.
38071         (run_program_prefix): Replaced by test_program_prefix.
38072         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38073         (test_program_prefix): This.
38074         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38075         with $(host-test-program-cmd).
38076         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38077         $(run-program-prefix) with $(test-program-prefix).
38078         ($(objpfx)tst-printf.out): Likewise.
38079         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38080         $(test-program-cmd).
38081         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38082         (test_program_prefix): This.
38083         * stdio-common/tst-unbputc.sh: Likewise.
38084         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38085         $(run-program-prefix) with $(test-program-prefix).
38086         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38087         (test_program_prefix): This.
38088         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38089         $(built-program-cmd) with $(test-program-cmd).
38091 2013-01-11  Andreas Jaeger  <aj@suse.de>
38093         [BZ #15003]
38094         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38095         value. Sync with Linux 3.7.
38097 2013-01-10  David S. Miller  <davem@davemloft.net>
38099         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38100         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38101         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38103 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38105         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38106         never set.
38107         * configure: Regenerated.
38109 2013-01-10  David S. Miller  <davem@davemloft.net>
38111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38112         sparc V9 rather than using V8 code.
38113         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38114         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38116 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38118         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38119         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38120         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38121         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38122         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38123         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38124         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38125         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38126         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38127         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38128         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38129         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38130         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38131         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38132         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38133         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38134         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38135         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38136         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38137         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38138         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38139         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38140         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38141         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38142         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38143         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38144         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38146 2013-01-10  David S. Miller  <davem@davemloft.net>
38148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38150 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38152         * posix/Makefile (tests-static): New variable.
38153         (tests): Add $(tests-static).
38154         (tst-exec-static-ARGS): New variable.
38155         (tst-spawn-static-ARGS): Likewise.
38156         * posix/tst-exec-static.c: New file.
38157         * posix/tst-spawn-static.c: Likewise.
38158         * posix/tst-exec.c: Support run directly.
38159         * posix/tst-spawn.c: Likewise.
38161 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38163         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38164         long.
38165         * math/bits/mathcalls.h (llrint): Likewise.
38166         (llround): Likewise.
38167         * stdlib/stdlib.h (struct drand48_data): Likewise.
38168         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38169         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38170         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38171         Likewise.
38172         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38173         Likewise.
38174         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38175         (elf_greg_t): Likewise.
38176         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38177         (__jmp_buf): Likewise.
38178         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38179         definitions.
38180         (llrint): Likewise, for all definitions.
38181         (llrintl): Likewise.
38183         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38184         Remove [__GNUC__] condition.
38185         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38186         condition to just [__USE_ISOC99].
38187         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38191         [BZ #14200]
38192         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38193         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38194         defined.
38195         (_POSIX_V6_ILP32_OFF32): Likewise.
38196         (_XBS5_ILP32_OFF32): Likewise.
38197         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38198         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38200 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38202         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38205         doubles __mpexp_twomm1.  Adjust usage.
38206         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38207         Remove.
38209 2013-01-10  Andreas Schwab  <schwab@suse.de>
38211         [BZ #14964]
38212         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38213         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38215 2013-01-09  David S. Miller  <davem@davemloft.net>
38217         [BZ #15003]
38218         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38219         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38220         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38221         (TCP_FASTOPEN): Define.
38222         (tcp_repair_opt): New structure.
38223         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38224         enum values.
38225         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38226         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38227         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38228         (tcp_cookie_transactions): New structure.
38230 2013-01-09  Anton Blanchard  <anton@samba.org>
38232         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38233         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38235         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38237 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38239         * include/features.h (__USE_ANSI): Remove.
38241 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38243         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38245         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38247 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38249         * sysdeps/s390/fpu/libm-test-ulps: Update.
38251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38254         (__acr): Likewise.
38255         (__cpy): Likewise.
38256         (norm): Likewise.
38257         (denorm): Likewise.
38258         (__mp_dbl): Likewise.
38259         (__dbl_mp): Likewise.
38260         (add_magnitudes): Likewise.
38261         (sub_magnitudes): Likewise.
38262         (__add): Likewise.
38263         (__sub): Likewise.
38264         (__mul): Likewise.
38265         (__inv): Likewise.
38266         (__dvd): Likewise.
38267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38268         (__acr): Likewise.
38269         (__cpy): Likewise.
38270         (norm): Likewise.
38271         (denorm): Likewise.
38272         (__mp_dbl): Likewise.
38273         (__dbl_mp): Likewise.
38274         (add_magnitudes): Likewise.
38275         (sub_magnitudes): Likewise.
38276         (__add): Likewise.
38277         (__sub): Likewise.
38278         (__mul): Likewise.
38279         (__inv): Likewise.
38280         (__dvd): Likewise.
38281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38282         (__acr): Likewise.
38283         (__cpy): Likewise.
38284         (norm): Likewise.
38285         (denorm): Likewise.
38286         (__mp_dbl): Likewise.
38287         (__dbl_mp): Likewise.
38288         (add_magnitudes): Likewise.
38289         (sub_magnitudes): Likewise.
38290         (__add): Likewise.
38291         (__sub): Likewise.
38292         (__mul): Likewise.
38293         (__inv): Likewise.
38294         (__dvd): Likewise.
38296 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38298         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38299         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38300         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38301         2 && __USE_EXTERN_INLINES]: Likewise.
38303 2013-01-08  Andreas Jaeger  <aj@suse.de>
38305         [BZ# 14985]
38306         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38307         Remove.
38308         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38309         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38311 2013-01-07  Anton Blanchard  <anton@samba.org>
38313         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38314         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38315         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38316         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38317         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38318         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38319         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38320         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38323         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38324         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38325         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38326         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38327         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38328         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38329         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38331         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38332         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38333         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38334         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38336         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38337         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38338         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38339         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38340         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38341         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38342         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38343         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38345         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38346         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38347         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38348         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38349         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38350         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38351         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38352         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38353         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38355         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38357 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38359         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38360         (__MALLOC_PMT): Likewise.
38361         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38362         [__GNUC__], only on [_LIBC].
38363         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38364         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38365         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38366         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38367         forward declaration.
38368         (realloc_hook_ini): Likewise.
38369         (memalign_hook_ini): Likewise.
38370         (__libc_memalign): Do not use __MALLOC_PMT in variable
38371         declaration.
38372         (__libc_valloc): Likewise.
38373         (__libc_pvalloc): Likewise.
38374         (__libc_calloc): Likewise.
38375         (__posix_memalign): Likewise.
38377         [BZ #14996]
38378         * math/s_casinh.c: Include <float.h>.
38379         (__casinh): Do not do computation with squaring and square root
38380         for large arguments.
38381         * math/s_casinhf.c: Include <float.h>.
38382         (__casinhf): Do not do computation with squaring and square root
38383         for large arguments.
38384         * math/s_casinhl.c: Include <float.h>.
38385         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38386         (__casinhl): Do not do computation with squaring and square root
38387         for large arguments.
38388         * math/libm-test.inc (casin_test): Add more tests.
38389         (casinh_test): Likewise.
38390         * sysdeps/i386/fpu/libm-test-ulps: Update.
38391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38393 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38395         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38396         (__x86_64_raw_data_cache_size): Likewise.
38397         (__x86_64_data_cache_size_half): Likewise.
38398         (__x86_64_raw_data_cache_size_half): Likewise.
38399         (__x86_64_shared_cache_size): Likewise.
38400         (__x86_64_raw_shared_cache_size): Likewise.
38401         (__x86_64_shared_cache_size_half): Likewise.
38402         (__x86_64_raw_shared_cache_size_half): Likewise.
38403         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38404         to ...
38405         (__x86_data_cache_size): This.
38406         (__x86_64_raw_data_cache_size): Renamed to ...
38407         (__x86_raw_data_cache_size): This.
38408         (__x86_64_data_cache_size_half): Renamed to ...
38409         (__x86_data_cache_size_half): This.
38410         (__x86_64_raw_data_cache_size_half): Renamed to ...
38411         (__x86_raw_data_cache_size_half): This.
38412         (__x86_64_shared_cache_size): Renamed to ...
38413         (__x86_shared_cache_size): This.
38414         (__x86_64_raw_shared_cache_size): Renamed to ...
38415         (__x86_raw_shared_cache_size): This.
38416         (__x86_64_shared_cache_size_half): Renamed to ...
38417         (__x86_shared_cache_size_half): This.
38418         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38419         (__x86_raw_shared_cache_size_half): This.
38420         * sysdeps/x86_64/memcpy.S: Updated.
38421         * sysdeps/x86_64/memset.S: Likewise.
38422         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38423         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38424         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38426 2013-01-04  David S. Miller  <davem@davemloft.net>
38428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38430 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38432         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38433         1 to avoid redefinition warning.
38434         (__USE_GNU): Don't define.
38435         (init_signaling_nan): Protoize.
38437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38439 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38441         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38443         (__cpymn): Likewise.
38444         (norm): Remove commented code.
38445         (denorm): Likewise.
38446         (__mp_dbl): Likewise.
38447         (__inv): Likewise.
38448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38449         (__cpymn): Likewise.
38450         (norm): Remove commented code.
38451         (denorm): Likewise.
38452         (__mp_dbl): Likewise.
38453         (__inv): Likewise.
38455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38456         mp_no value for 1.0 and 2.0.
38457         (norm): Use RADIXI instead of radixi.d.
38458         (denorm): Likewise.
38459         (__mul): Use 0.0 instead of zero.d.
38460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38461         mp_no value for 1.0 and 2.0.
38462         (norm): Use RADIXI instead of radixi.d.
38463         (denorm): Likewise.
38464         (__mul): Use 0.0 instead of zero.d.
38466 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38468         [BZ #14994]
38469         * math/s_casinh.c (__casinh): Reduce finite argument to first
38470         quadrant then set signs of results at the end.
38471         * math/s_casinhf.c (__casinhf): Likewise.
38472         * math/s_casinhl.c (__casinhl): Likewise.
38473         * math/libm-test.inc (casin_test): Add more tests.
38474         (casinh_test): Likewise.
38475         * sysdeps/i386/fpu/libm-test-ulps: Update.
38476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38478 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38480         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38482         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38484         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38485         declarations.
38486         (denorm): Likewise.
38487         (__mp_dbl): Likewise.
38488         (__inv): Likewise.
38490         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38491         and adjust the header comment.
38493         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38494         variable name from declaration.
38496 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38499         Initialize COMMON_CPUID_INDEX_7 element.
38500         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38501         (CPUID_RTM): Likewise.
38502         (HAS_RTM): Likewise.
38503         (COMMON_CPUID_INDEX_7): New enum.
38505 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38507         [BZ #14981]
38508         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38509         size is zero, record memory as freed.
38511 2013-01-03  Andreas Jaeger  <aj@suse.de>
38513         * po/ia.po: Add new Interlingua translation.
38515 2012-01-03  Allan McRae  <allan@archlinux.org>
38517         * locale/programs/localedef.c: Fix description of '--posix' flag.
38519 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38521         * NEWS: Update dates in second copyright notice.
38522         * README: Update copyright dates in example.
38523         * manual/libc.texinfo: Update copyright dates.
38524         * scripts/test-installation.pl: Update copyright date in --version
38525         output.
38527         * hurd/ctty-input.c: Fix copyright notice formatting.
38528         * hurd/ctty-output.c: Likewise.
38529         * hurd/dtable.c: Likewise.
38530         * hurd/hurd-raise.c: Likewise.
38531         * hurd/hurdprio.c: Likewise.
38532         * hurd/msgportdemux.c: Likewise.
38533         * misc/sys/file.h: Likewise.
38534         * misc/sys/ioctl.h: Likewise.
38535         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38536         * sysdeps/mach/hurd/chdir.c: Likewise.
38537         * sysdeps/mach/hurd/fchdir.c: Likewise.
38538         * sysdeps/mach/hurd/rename.c: Likewise.
38539         * sysdeps/mach/hurd/rmdir.c: Likewise.
38540         * sysdeps/mach/hurd/seekdir.c: Likewise.
38541         * sysdeps/mach/hurd/setsid.c: Likewise.
38542         * sysdeps/posix/wait3.c: Likewise.
38544         * All files with FSF copyright notices: Update copyright dates
38545         using scripts/update-copyrights.
38546         * intl/plural.c: Regenerated.
38547         * locale/programs/charmap-kw.h: Likewise.
38548         * locale/programs/locfile-kw.h: Likewise.
38550 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38552         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38553         four values.
38555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38556         calculation loop and add branch prediction.
38558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38559         check access beyond bounds of m1np.
38561         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38562         MPTWO.
38563         (__inv): Remove local variable MPTWO to use the global
38564         constant.
38565         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38567         variable MPTWO.
38568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38569         MP3HALFS static const.
38571 2013-01-01  David S. Miller  <davem@davemloft.net>
38573         * po/ca.po: Update from translation team.
38575 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38577         * scripts/update-copyrights: New file.
38578         * Makeconfig: Reformat copyright notice.
38579         * ctype/ctype.h: Likewise.
38580         * debug/swprintf_chk.c: Likewise.
38581         * elf/dl-cache.c: Likewise.
38582         * elf/dl-debug.c: Likewise.
38583         * elf/dl-object.c: Likewise.
38584         * grp/initgroups.c: Likewise.
38585         * hurd/Makefile: Likewise.
38586         * hurd/hurd/signal.h: Likewise.
38587         * hurd/hurdfault.c: Likewise.
38588         * hurd/hurdioctl.c: Likewise.
38589         * hurd/hurdlookup.c: Likewise.
38590         * hurd/intr-msg.c: Likewise.
38591         * iconv/gconv_open.c: Likewise.
38592         * libio/swprintf.c: Likewise.
38593         * locale/lc-ctype.c: Likewise.
38594         * locale/nl_langinfo.c: Likewise.
38595         * mach/Machrules: Likewise.
38596         * mach/Makefile: Likewise.
38597         * malloc/obstack.h: Likewise.
38598         * manual/Makefile: Likewise.
38599         * manual/tsort.awk: Likewise.
38600         * misc/bits/stab.def: Likewise.
38601         * nis/nis_print_group_entry.c: Likewise.
38602         * nis/nis_table.c: Likewise.
38603         * nis/nss_compat/compat-pwd.c: Likewise.
38604         * nis/nss_compat/compat-spwd.c: Likewise.
38605         * po/Makefile: Likewise.
38606         * posix/fnmatch.c: Likewise.
38607         * posix/regex.h: Likewise.
38608         * resolv/Makefile: Likewise.
38609         * resolv/nss_dns/dns-network.c: Likewise.
38610         * resolv/res_hconf.c: Likewise.
38611         * scripts/gen-sorted.awk: Likewise.
38612         * soft-fp/soft-fp.h: Likewise.
38613         * stdio-common/printf.h: Likewise.
38614         * stdlib/monetary.h: Likewise.
38615         * stdlib/random.c: Likewise.
38616         * stdlib/random_r.c: Likewise.
38617         * sysdeps/generic/Makefile: Likewise.
38618         * sysdeps/gnu/Makefile: Likewise.
38619         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38626         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38627         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38628         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38629         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38630         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38631         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38632         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38633         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38634         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38635         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38639         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38640         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38641         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38642         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38643         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38645         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38646         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38647         * sysdeps/mach/hurd/errnos.awk: Likewise.
38648         * sysdeps/mach/hurd/fork.c: Likewise.
38649         * sysdeps/mach/hurd/getcwd.c: Likewise.
38650         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38651         * sysdeps/mach/hurd/mmap.c: Likewise.
38652         * sysdeps/mach/hurd/utimes.c: Likewise.
38653         * sysdeps/mach/hurd/xmknod.c: Likewise.
38654         * sysdeps/posix/profil.c: Likewise.
38655         * sysdeps/posix/readdir_r.c: Likewise.
38656         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38657         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38658         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38659         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38661         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38662         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38663         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38665         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38666         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38667         * sysdeps/pthread/lio_listio.c: Likewise.
38668         * sysdeps/sparc/dl-procinfo.h: Likewise.
38669         * sysdeps/unix/i386/sysdep.S: Likewise.
38670         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38671         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38672         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38673         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38675         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38676         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38677         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38678         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38679         * sysdeps/wordsize-32/divdi3.c: Likewise.
38680         * time/sys/time.h: Likewise.
38681         * wcsmbs/Makefile: Likewise.
38683 2013-01-01  David S. Miller  <davem@davemloft.net>
38685         * po/fr.po: Update from translation team.
38687         * catgets/gencat.c: Update copyright year.
38688         * csu/version.c: Likewise.
38689         * debug/catchsegv.sh: Likewise.
38690         * debug/pcprofiledump.c: Likewise.
38691         * debug/xtrace.sh: Likewise.
38692         * elf/ldconfig.c: Likewise.
38693         * elf/ldd.bash.in: Likewise.
38694         * elf/pldd.c: Likewise.
38695         * elf/sotruss.ksh: Likewise.
38696         * elf/sprof.c: Likewise.
38697         * iconv/iconv_prog.c: Likewise.
38698         * iconv/iconvconfig.c: Likewise.
38699         * locale/programs/locale.c: Likewise.
38700         * locale/programs/localedef.c: Likewise.
38701         * login/programs/pt_chown.c: Likewise.
38702         * malloc/memusage.sh: Likewise.
38703         * malloc/memusagestat.c: Likewise.
38704         * malloc/mtrace.pl: Likewise.
38705         * nscd/nscd.c: Likewise.
38706         * nss/getent.c: Likewise.
38707         * nss/makedb.c: Likewise.
38708         * posix/getconf.c: Likewise.
38710 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38712         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38713         numbers.
38715 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38717         * math/bits/mathcalls.h (modf): Use __nonnull.
38719 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38721         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38722         (split): Use macro CN instead of the bare value.
38723         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38724         could be used.
38725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38726         instead of the bare value.
38727         (power1): Likewise.
38729 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38732         __ATAN_TWOM.
38733         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38735         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38736         their values.
38737         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38739         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38740         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38742 2012-12-28  Andreas Jaeger  <aj@suse.de>
38744         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38745         values are from Linux 3.7.
38747         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38748         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38750 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38752         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38753         TRUE case.
38755         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38756         (norm): Likewise.
38757         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38758         variables with preprocessor constants.
38759         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38760         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38761         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38763 2012-12-27  Bruno Haible  <bruno@clisp.org>
38765         [BZ #14317]
38766         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38767         only if needed.
38769 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38772         and use variable directly.
38773         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38775         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38776         MPONE.
38777         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38778         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38779         variable MPONE.
38780         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38782         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38783         include directive.  Remove local variable MPONE.
38784         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38785         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38786         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38788 2012-12-25  David S. Miller  <davem@davemloft.net>
38790         * version.h (RELEASE): Set to "development".
38791         (VERSION): Set to "2.17.90".
38792         * NEWS: Add 2.18 section.
38794 2012-12-21  David S. Miller  <davem@davemloft.net>
38796         * po/hr.po: Update from translation team.
38798 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38800         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38802 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38804         * NEWS:  Mention new memcpy for MIPS.
38806 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38808         * manual/contrib.texi (Contributors): Spelling correction.
38810 2012-12-15  David S. Miller  <davem@davemloft.net>
38812         * po/ru.po: Update from translation team.
38814 2012-12-13  David S. Miller  <davem@davemloft.net>
38816         * NEWS: Mention IFUNC testsuite enhancements.
38818         * po/pl.po: Update from translation team.
38819         * po/bg.po: Likewise.
38821         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38822         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38824 2012-12-11  David S. Miller  <davem@davemloft.net>
38826         * po/sv.po: Update from translation team.
38828         * po/vi.po: Update from translation team.
38830         * po/cs.po: Update from translation team.
38832         * po/de.po: Update from translation team.
38833         * po/eo.po: Likewise.
38834         * po/nl.po: Likewise.
38836 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38838         [BZ #14246]
38839         * manual/argp.texi (Argp Helper Functions): Move node to follow
38840         Argp Parsing State.
38842         [BZ #14872]
38843         * manual/conf.texi (Limits on File System Capacity): Mention if
38844         terminating null is included in the max size.
38846 2012-12-10  Andreas Jaeger  <aj@suse.de>
38848         * po/cs.po: Update from translation team.
38850 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38852         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38853         void pointer and cast to uintptr_t.
38854         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38855         path.
38856         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38857         * sysdeps/s390/s390-64/memset.S: Likewise.
38859 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38861         [BZ #14833]
38862         * menual/message.texi (Message Translation): Fix typos.
38863         (Helper programs for gettext): Likewise.
38865 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38867         [BZ #14898]
38868         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38869         Change to -1.
38871 2012-12-07  David S. Miller  <davem@davemloft.net>
38873         * po/libc.pot: Update.
38875 2012-12-07  Richard Henderson  <rth@redhat.com>
38877         [BZ #10114]
38878         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38879         normal/normal case to before the switch.
38880         (_FP_DIV): Likewise.
38882 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38883             Mike Frysinger  <vapier@gentoo.org>
38885         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38886         check for __NR_fadvise64_64.
38888 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38890         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38891         0, not just to plain "0" as a statement.
38892         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38893         with cw.
38895 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38897         * NEWS: Use sourceware.org in Bugzilla URL.
38899 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38902         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38904         * stdio-common/tst-put-error.c (do_test): Add newline to the
38905         padded test to ensure flush.
38907 2012-12-05  Jeff Law  <law@redhat.com>
38909         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38911 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38913         * README: Don't refer to ports add-on as distributed separately.
38914         Mention AArch64 in list of systems supported in the ports add-on.
38916         * LICENSES: Add more non-FSF copyright and license notices.
38918         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38919         ((unused)).
38921         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38923         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38924         10000 as width of padded output.
38926 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38928         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38930         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38931         variable LX with __attribute__ ((unused)).
38932         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38933         Likewise.
38934         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38936         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38937         with __attribute__ ((unused)).
38939 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38941         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38943 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38945         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38946         (CFLAGS-nldbl-acos.c): New variable.
38947         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38948         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38949         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38950         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38951         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38952         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38953         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38954         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38955         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38956         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38957         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38958         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38959         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38960         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38961         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38962         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38963         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38964         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38965         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38966         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38967         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38968         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38969         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38970         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38971         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38972         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38973         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38974         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38975         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38976         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38977         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38978         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38979         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38980         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38981         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38982         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38983         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38984         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38985         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38986         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38987         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38988         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38989         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38990         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38991         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38992         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38993         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38994         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38995         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38996         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38997         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38998         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38999         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39000         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39001         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39002         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39003         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39004         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39005         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39006         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39007         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39008         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39009         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39010         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39011         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39012         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39013         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39014         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39015         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39016         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39017         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39018         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39019         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39020         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39021         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39022         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39023         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39024         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39025         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39026         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39027         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39028         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39029         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39030         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39031         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39032         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39033         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39034         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39035         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39036         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39037         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39038         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39039         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39040         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39041         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39042         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39043         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39046         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39048         [BZ #14914]
39049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39050         whole low double instead of just low 47 bits when splitting values
39051         into two parts.
39053 2012-12-03  Allan McRae  <allan@archlinux.org>
39055         * manual/stdio.texi (Predefined Printf Handlers): Remove
39056         @hsep and @vsep usage.
39058 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39060         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39061         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39063 2012-12-03  Jeff Law  <law@redhat.com>
39065         * time/sys/time.h (settimeofday): Do not mark TV argument
39066         as __nonnull.
39068 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39070         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39071         when currently writing and seek to current position when not.
39072         * libio/Makefile (tests): Remove bug-fclose1.
39073         * libio/bug-fclose1.c: Delete.
39075 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39077         * manual/arith.texi (feenableexcept): Fix typo.
39078         (fedisableexcept): Likewise.
39080 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39082         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39083         second, differently-typed declaration, rather than a cast.
39085 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39087         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39088         * include/rpc/svc.h: ... here.
39090 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39092         [BZ #13013]
39093         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39094         depending n and resplen2 to catch cases where answer
39095         equals answerp2.
39097 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39099         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39100         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39102 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39106 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39108         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39110 2012-11-28  Jeff Law  <law@redhat.com>
39112         [BZ #13761]
39113         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39114         dataset_temporary.  Track alloca usage into alloca_used.
39115         If dataset is large allocate and release it via malloc/free.
39117 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39119         [BZ #14197]
39120         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39122 2012-11-28  David S. Miller  <davem@davemloft.net>
39124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39126 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39128         [BZ #14803]
39129         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39130         of pi/2 rounded to nearest to 64 bits.
39131         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39132         nearest to 64 bits.
39133         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39134         bits.
39136 2012-11-28  Jeff Law <law@redhat.com>
39137             Martin Osvald <mosvald@redhat.com>
39139         [BZ #14889]
39140         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39141         * sunrpc/svc.c: Include time.h.
39142         (__svc_accept_failed): New function.
39143         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39144         any reason other than EINTR, call __svc_accept_failed.
39145         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39146         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39148 2012-11-28  Andreas Schwab  <schwab@suse.de>
39150         * scripts/abilist.awk: Also handle indirect functions in .opd
39151         section.
39153 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39155         [BZ #13881]
39156         * sysdeps/x86/fpu/powl_helper.c: New file.
39157         * sysdeps/x86/fpu/Makefile: Likewise.
39158         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39159         (p3): New object.
39160         (__ieee754_powl): Use __powl_helper for finite arguments except
39161         integer exponents below 8.
39162         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39163         (p3): New object.
39164         (__ieee754_powl): Use __powl_helper for finite arguments except
39165         integer exponents below 8.
39166         * math/libm-test.inc (pow_test): Add more tests and enable some
39167         previously disabled tests.
39168         * sysdeps/i386/fpu/libm-test-ulps: Update.
39169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39171 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39172             Carlos O'Donell  <carlos_odonell@mentor.com>
39174         * nss/makedb.c (is_prime): Assert that input is odd and greater
39175         than 4.  Note that fact in a comment too.
39176         (next_prime): Add 4 to input.
39178 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39180         [BZ #11741]
39181         * libio/Makefile (tests): Add test case tst-fwrite-error.
39182         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39183         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39184         * libio/tst-fwrite-error.c: New test case.
39186 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39188         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39189         before casting to void *.
39190         * include/libc-internal.h (__pointer_type): New macro.
39191         (__integer_if_pointer_type_sub): Likewise.
39192         (__integer_if_pointer_type): Likewise.
39193         (cast_to_integer): Likewise.
39194         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39195         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39196         before casting to atomic64_t.
39197         (atomic_exchange_acq): Likewise.
39198         (__arch_exchange_and_add_body): Likewise.
39199         (__arch_add_body): Likewise.
39200         (atomic_add_negative): Likewise.
39201         (atomic_add_zero): Likewise.
39203 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39205         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39206         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39207         (add_fdes): Likewise.
39208         (linear_search_fdes): Likewise.
39209         (binary_search_unencoded_fdes): Likewise.
39211 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39213         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39215 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39217         * configure.in: Autodetect C++ header directories.
39218         * configure: Regenerated.
39220 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39222         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39224 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39228 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39230         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39231         LDBL_MANT_DIG == 106]: Disable some tests.
39232         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39233         Likewise.
39234         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39235         Likewise.
39237         [BZ #14871]
39238         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39239         input for small inputs.  Return +/- pi/2 for large inputs.
39240         * math/libm-test.inc (atan_test): Add more tests.
39242         * sysdeps/generic/unwind-dw2-fde-glibc.c
39243         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39244         __attribute__ ((unused)).
39246         [BZ #14645]
39247         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39248         x * y if x and y are nonzero and z is zero.
39250         [BZ #14811]
39251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39252         nonzero exponents with absolute value below 0x1p-117 to +/-
39253         0x1p-117.
39255         [BZ #14869]
39256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39257         up arguments below 2**-450, not just those below 2**-500.
39258         * math/libm-test.inc (hypot_test): Add another test.
39260         [BZ #14868]
39261         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39262         Return a+b for ratio over 2**120, not 2**60.
39263         * math/libm-test.inc (hypot_test): Add another test.
39265         * math/libm-test.inc (clog_test): Use
39266         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39267         (clog10_test): Likewise.
39269         [BZ #6778]
39270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39272 2012-11-22  Andreas Schwab  <schwab@suse.de>
39274         * sysdeps/i386/fpu/libm-test-ulps: Update.
39276 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39278         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39279         printf output with newline.
39281 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39283         [BZ #14865]
39284         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39285         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39286         -z nodlopen, -z initfirst and -z execstack support.
39287         * configure: Regenerated.
39289         * elf/elf.h (DF_1_NODIRECT): New macro.
39290         (DF_1_IGNMULDEF): Likewise.
39291         (DF_1_NOKSYMS): Likewise.
39292         (DF_1_NOHDR): Likewise.
39293         (DF_1_EDITED): Likewise.
39294         (DF_1_NORELOC): Likewise.
39295         (DF_1_SYMINTPOSE): Likewise.
39296         (DF_1_GLOBAUDIT): Likewise.
39297         (DF_1_SINGLETON): Likewise.
39298         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39299         DT_1_SUPPORTED_MASK bits.
39300         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39302 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39304         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39306 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39308         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39309         macro.
39311         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39312         (sendmmsg): Move declarations...
39313         * socket/sys/socket.h: ... here.
39314         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39315         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39316         include it from...
39317         * socket/recvmmsg.c: ... this new file.
39318         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39319         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39320         definition of __sendmmsg hidden.
39321         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39322         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39323         Move ENOSYS stub into and include it from...
39324         * socket/sendmmsg.c: ... this new file.
39325         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39326         (sysdep_routines): Move recvmmsg and sendmmsg...
39327         * socket/Makefile (routines): ... here.
39328         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39329         (GLIBC_PRIVATE): Add __sendmmsg.
39330         * include/sys/socket.h (__sendmmsg): Add declarations.
39331         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39332         sendmmsg.
39334 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39336         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39337         variable I1 with __attribute__ ((unused)).
39338         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39340 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39342         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39343         DUMMY variables with __attribute__ ((unused)).
39345         * bits/byteswap.h: Include <bits/types.h>.
39346         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39348 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39350         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39351         string_t.  Do not manually set errno.
39352         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39353         length with __strnlen.  Make sure to both set errno and return it on
39354         failure.
39356 2012-11-19  David S. Miller  <davem@davemloft.net>
39358         With help from Joseph Myers.
39359         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39360         very large arguments properly.
39361         * math/libm-test.inc (atan_test): New tests.
39362         (atan2_test): New tests.
39363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39366 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39368         [BZ #14856]
39369         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39370         Define to 3.
39372         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39373         [POSIX] (EADDRNOTAVAIL): Likewise.
39374         [POSIX] (EAFNOSUPPORT): Likewise.
39375         [POSIX] (EALREADY): Likewise.
39376         [POSIX] (ECONNABORTED): Likewise.
39377         [POSIX] (ECONNREFUSED): Likewise.
39378         [POSIX] (ECONNRESET): Likewise.
39379         [POSIX] (EDESTADDRREQ): Likewise.
39380         [POSIX] (EDQUOT): Likewise.
39381         [POSIX] (EHOSTUNREACH): Likewise.
39382         [POSIX] (EIDRM): Likewise.
39383         [POSIX] (EISCONN): Likewise.
39384         [POSIX] (ELOOP): Likewise.
39385         [POSIX] (EMULTIHOP): Likewise.
39386         [POSIX] (ENETDOWN): Likewise.
39387         [POSIX] (ENETUNREACH): Likewise.
39388         [POSIX] (ENOBUFS): Likewise.
39389         [POSIX] (ENODATA): Likewise.
39390         [POSIX] (ENOLINK): Likewise.
39391         [POSIX] (ENOMSG): Likewise.
39392         [POSIX] (ENOPROTOOPT): Likewise.
39393         [POSIX] (ENOSR): Likewise.
39394         [POSIX] (ENOSTR): Likewise.
39395         [POSIX] (ENOTCONN): Likewise.
39396         [POSIX] (ENOTSOCK): Likewise.
39397         [POSIX] (EOPNOTSUPP): Likewise.
39398         [POSIX] (EOVERFLOW): Likewise.
39399         [POSIX] (EPROTO): Likewise.
39400         [POSIX] (EPROTONOSUPPORT): Likewise.
39401         [POSIX] (EPROTOTYPE): Likewise.
39402         [POSIX] (ESTALE): Likewise.
39403         [POSIX] (ETIME): Likewise.
39404         [POSIX] (ETXTBSY): Likewise.
39405         [POSIX] (EWOULDBLOCK): Likewise.
39406         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39407         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39408         [POSIX] (SEEK_CUR): Likewise.
39409         [POSIX] (SEEK_END): Likewise.
39410         [POSIX || UNIX98] (mode_t): Do not require.
39411         [POSIX] (off_t): Likewise.
39412         [POSIX] (pid_t): Likewise.
39413         [POSIX] (sys/stat.h): Do not allow header.
39414         [POSIX] (unistd.h): Likewise.
39415         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39416         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39417         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39418         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39419         require.
39420         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39421         sigevent): Specify elements.
39422         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39423         entry.
39424         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39425         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39427         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39428         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39429         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39430         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39431         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39432         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39433         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39434         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39435         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39436         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39437         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39438         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39439         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39440         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39441         Likewise.
39442         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39443         Likewise.
39444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39445         Likewise.
39446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39447         Likewise.
39448         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39449         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39450         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39451         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39452         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39453         Specify lower bound on value.
39454         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39455         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39456         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39457         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39458         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39459         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39460         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39461         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39462         value.
39463         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39464         as optional.
39465         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39466         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39467         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39468         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39469         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39470         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39471         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39472         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39473         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39474         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39475         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39476         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39477         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39478         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39479         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39480         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39481         entry.
39482         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39483         optional.
39484         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39485         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39486         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39487         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39488         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39489         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39490         Likewise.
39491         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39492         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39493         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39494         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39495         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39496         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39497         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39498         as optional.
39499         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39500         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39501         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39502         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39503         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39504         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39505         specify as optional.
39506         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39507         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39508         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39509         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39510         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39511         [XPG3] (NL_LANGMAX): Likewise.
39512         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39513         [POSIX || XPG3] (NL_NMAX): Likewise.
39514         [POSIX || XPG3] (NL_SETMAX): Likewise.
39515         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39516         [XPG3] (NZERO): Likewise.
39517         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39518         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39519         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39520         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39521         (REG_ERANGE): Expect.
39522         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39523         optional-constant.
39524         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39525         Use (void) in prototype.
39526         [POSIX] (*_t): Allow.
39527         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39528         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39529         (WRDE_BADVAL): Expect.
39531         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39532         expect.
39533         [XPG3 || XPG4] (O_RSYNC): Likewise.
39534         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39535         Likewise.
39536         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39537         [XPG3 || XPG4] (sigqueue): Likewise.
39538         [XPG3 || XPG4] (sigtimedwait): Likewise.
39539         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39540         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39541         [XPG3 || XPG4] (vsnprintf): Likewise.
39542         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39543         Likewise.
39544         [XPG3 || XPG4] (blksize_t): Likewise.
39545         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39546         Likewise.
39547         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39548         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39549         [XPG3 || XPG4] (struct itimerspec): Likewise.
39550         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39551         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39552         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39553         [XPG3 || XPG4] (clockid_t): Likewise.
39554         [XPG3 || XPG4] (timer_t): Likewise.
39555         [XPG3 || XPG4] (clock_getres): Likewise.
39556         [XPG3 || XPG4] (clock_gettime): Likewise.
39557         [XPG3 || XPG4] (clock_settime): Likewise.
39558         [XPG3 || XPG4] (nanosleep): Likewise.
39559         [XPG3 || XPG4] (timer_create): Likewise.
39560         [XPG3 || XPG4] (timer_delete): Likewise.
39561         [XPG3 || XPG4] (timer_gettime): Likewise.
39562         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39563         [XPG3 || XPG4] (timer_settime): Likewise.
39564         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39565         [XPG3 || XPG4] (getlogin_r): Likewise.
39566         [XPG3 || XPG4] (pread): Likewise.
39567         [XPG3 || XPG4] (pthread_atfork): Likewise.
39568         [XPG3 || XPG4] (pwrite): Likewise.
39570         [BZ #14835]
39571         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39572         <bits/siginfo.h>.
39574 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39576         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39577         finalizing MALLSTREAM.
39579         * sysdeps/mach/hurd/syncfs.c: New file.
39581 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39583         [BZ #14719]
39584         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39585         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39586         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39587         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39588         (_nss_dns_gethostbyname4_r): Likewise.
39589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39590         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39592 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39594         [BZ #13763]
39595         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39597 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39599         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39600         * elf/cache.c (print_entry): Print ",AArch64" for
39601         FLAG_AARCH64_LIB64
39603         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39604         * elf/cache.c (print_entry): Print ",hard-float" for
39605         FLAG_ARM_LIBHF.
39607 2012-11-18  David S. Miller  <davem@davemloft.net>
39609         With help from Joseph Myers.
39610         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39611         cutoff to 2**-13.
39612         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39613         cutoff to 2**-25.
39614         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39615         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39616         small.
39617         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39618         * math/libm-test.inc (y0_test): New tests.
39619         (y1_test): New tests.
39620         * sysdeps/i386/fpu/libm-test-ulps: Update.
39621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39624 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39626         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39627         64-bit targets.
39628         * configure: Regenerated.
39630 2012-11-17  David S. Miller  <davem@davemloft.net>
39632         [BZ #14811]
39633         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39634         nonzero exponents with absolute value below 0x1p-128 to +/-
39635         0x1p-128.
39637 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39639         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39641         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39643         * posix/getconf-speclist.c: New file.
39644         * posix/posix-envs.def: Likewise.
39645         * posix/confstr.c (START_ENV_GROUP): New macro.
39646         (END_ENV_GROUP): Likewise.
39647         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39648         (KNOWN_PRESENT_ENV_STRING): Likewise.
39649         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39650         (UNKNOWN_ENVIRONMENT): Likewise.
39651         (confstr): Include posix-envs.def instead of handling
39652         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39653         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39654         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39655         (END_ENV_GROUP): Likewise.
39656         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39657         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39658         (UNKNOWN_ENVIRONMENT): Likewise.
39659         (__sysconf): Include posix-envs.def instead of handling associated
39660         cases directly here.
39661         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39662         preprocessing getconf-speclist.c rather than running getconf or
39663         generating empty file.
39665 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39667         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39669 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39671         [BZ #14672]
39672         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39674 2012-11-16  David S. Miller  <davem@davemloft.net>
39676         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39677         smaller than LDBL_EPSILON/2.0L, just return xm1.
39679 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39681         * elf/tst-array1.c (init): Set constructor priority to 1000.
39682         (fini): Set destructor priority to 1000.
39683         * elf/tst-array2dep.c: Likewise.
39685 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39687         [BZ #11741]
39688         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39689         (_IO_new_file_xsputn): Also return EOF if none of the input
39690         data was written when overflow failed.
39691         * libio/iopadn.c (_IO_padn): Likewise.
39692         * libio/iowpadn.c (_IO_wpadn): Likewise.
39693         * stdio-common/tst-put-error.c: Add copyright notice.
39694         (do_test): Add case for printing padded string.
39695         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39696         _IO_padn returned error.
39697         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39698         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39699         return EOF.
39701 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39703         * libio/libioP.h: Add comment note that the references to C++
39704         bits are now obsolete.
39706 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39708         * math/libm-test.inc (check_complex): Use asprintf.
39710 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39712         * debug/pcprofiledump.c (print_version): Update copyright year.
39713         * malloc/memusagestat.c (print_version): Likewise.
39715 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39717         [BZ #14831]
39718         * elf/Makefile (tests): Add tst-audit8.
39719         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39720         ($(objpfx)tst-audit8.out): New target.
39721         (tst-audit8-ENV): New variable.
39722         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39723         audit if l_reloc_result is NULL.
39724         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39725         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39726         * elf/tst-audit8.c: New file.
39728 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39730         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39731         * misc/Makefile (CFLAGS-select.c): Define.
39732         * posix/Makefile (CFLAGS-pause.c): Define.
39734 2012-11-13  David S. Miller  <davem@davemloft.net>
39736         * crypt/Makefile: Move test targets after toplevel Rules
39737         inclusion.  Grab any necessary sysdep routines when linking.
39738         * crypt/md5.c (md5_process_block): Remove define, we will always
39739         name it __md5_process_block.
39740         (md5_finish_ctx): Update md5_process_block call.
39741         (md5_stream): Likewise.
39742         (md5_process_bytes): Likewise.
39743         (md5_process_block): Rename to __md5_process_block and move to ...
39744         * crypt/md5-block.c: ... here.
39745         * crypt/sha256.c (sha256_process_block): Move to ...
39746         * crypt/sha256-block.c: ... here.
39747         * crypt/sha512.c (sha512_process_block): Move to ...
39748         * crypt/sha512-block.c: ... here.
39749         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39750         path.
39751         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39752         * sysdeps/sparc/sparc64/multiarch/Makefile
39753         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39754         crypt subdir.
39755         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39756         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39757         multiarch changes.
39758         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39759         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39760         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39761         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39762         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39763         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39764         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39765         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39766         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39767         file.
39768         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39770         file.
39771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39773 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39775         * timezone/tzselect.ksh: Update from tzcode git revision
39776         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39777         * timezone/zdump.c: Likewise.
39778         * timezone/zic.c: Likewise.
39779         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39780         in TZVERSION setting, not $(PKGVERSION).
39781         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39782         REPORT_BUGS_TO settings.
39784         [BZ #14838]
39785         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39786         macro.
39788 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39790         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39791         detection to immediately after _FP_ROUND().
39792         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39793         bits are 0.
39795 2012-11-11  David S. Miller  <davem@davemloft.net>
39797         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39798         inttypes.h
39799         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39800         __close rather than their public counterparts.
39802 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39804         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39805         file.
39806         [UNIX98] (sem_timedwait): Do not expect.
39807         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39808         [XPG4 || UNIX98] (sockatmark): Do not expect.
39809         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39810         (clock_getcpuclockid): Do not expect.
39811         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39812         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39813         Do not expect.
39814         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39815         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39816         [UNIX98] (vwscanf): Likewise.
39817         [UNIX98] (vswscanf): Likewise.
39819 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39821         * timezone/version.h: Remove file.
39822         * timezone/README: Do not refer to version.h.
39823         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39824         $(objpfx)version.h.
39825         ($(objpfx)zdump.o): Likewise.
39826         ($(objpfx)version.h): New target.
39828         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39829         2012i.
39830         * timezone/README: Don't mention modification to tzselect.ksh.
39831         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39832         work on unmodified tzselect.ksh.  Substitute version numbers in
39833         tzselect.ksh.
39835         * Makefile (format-me): Remove.
39836         (INSTALL): Adjust indentation.  Use commands directly instead of
39837         using $(format-me).
39839         * aclocal.m4 (ACX_PKGVERSION): New macro.
39840         (ACX_BUGURL): Likewise.
39841         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39842         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39843         (REPORT_BUGS_TO): Likewise.
39844         * configure: Regenerated.
39845         * config.h.in (PKGVERSION): New macro.
39846         (REPORT_BUGS_TO): Likewise.
39847         * config.make.in (PKGVERSION): New variable.
39848         (PKGVERSION_TEXI): Likewise.
39849         (REPORT_BUGS_TO): Likewise.
39850         (REPORT_BUGS_TEXI): Likewise.
39851         * Makefile (format-me): Use -I$(common-objpfx)manual.
39852         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39853         ($(common-objpfx)manual/%): New target.
39854         (manual/%): Remove target.
39855         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39856         (print_version): Use PKGVERSION.
39857         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39858         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39859         and REPORT_BUGS_TO.
39860         ($(objpfx)xtrace): Likewise.
39861         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39862         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39863         (print_version): Use PKGVERSION.
39864         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39865         (do_version): Use PKGVERSION.
39866         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39867         REPORT_BUGS_TO.
39868         (common-ldd-rewrite): Likewise.
39869         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39870         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39871         (print_version): Use PKGVERSION.
39872         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39873         * elf/pldd.c (argp_program_bug_address): Remove variable.
39874         (more_help): New function.
39875         (argp): Use more_help.
39876         (print_version): Use PKGVERSION.
39877         * elf/sln.c (main): Use PKGVERSION.
39878         (usage): Use REPORT_BUGS_TO.
39879         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39880         (top level): Use PKGVERSION.
39881         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39882         (print_version): Use PKGVERSION.
39883         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39884         (print_version): Use PKGVERSION.
39885         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39886         (print_version): Use PKGVERSION.
39887         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39888         (print_version): Use PKGVERSION.
39889         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39890         (print_version): Use PKGVERSION.
39891         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39892         (print_version): Use PKGVERSION.
39893         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39894         and BUGURL.
39895         ($(objpfx)memusage): Likewise.
39896         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39897         (do_version): Use PKGVERSION.
39898         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39899         (print_version): Use PKGVERSION.
39900         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39901         ($PKGVERSION): New variable.
39902         ($REPORT_BUGS_TO): Likewise.
39903         (usage): Use $REPORT_BUGS_TO.
39904         (top level): Use $PKGVERSION.
39905         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39906         ($(objpfx)pkgvers.texi): New rule.
39907         ($(objpfx)stamp-pkgvers): Likewise.
39908         * manual/install.texi: Include pkgvers.texi.
39909         (--with-pkgversion): Document new configure option.
39910         (--with-bugurl): Likewise.
39911         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39912         than necessarily for this particular distribution.  Use
39913         REPORT_BUGS_TO for where to report bugs.
39914         * INSTALL: Regenerated.
39915         * manual/libc.texinfo: Include pkgvers.texi.
39916         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39917         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39918         (print_version): Use PKGVERSION.
39919         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39920         (print_version): Use PKGVERSION.
39921         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39922         (print_version): Use PKGVERSION.
39923         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39924         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39925         macro.
39926         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39927         (print_version): Use PKGVERSION.
39928         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39929         (print_version): Use PKGVERSION.
39930         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39931         and PKGVERSION.
39933         * timezone/checktab.awk: Update from tzcode 2012i.
39934         * timezone/ialloc.c: Likewise.
39935         * timezone/private.h: Likewise.
39936         * timezone/scheck.c: Likewise.
39937         * timezone/tzfile.h: Likewise.
39938         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39939         (TZVERSION): Hardcode tzcode version number.
39940         * timezone/zdump.c: Update from tzcode 2012i.
39941         * timezone/zic.c: Likewise.
39942         * timezone/version.h: New file.
39943         * timezone/README: Describe version.h.  Update upstream location.
39945         [BZ #14824]
39946         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39947         (mktemp): Enable declaration.
39948         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39950         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39952         Likewise.
39953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39954         Likewise.
39955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39956         Likewise.
39957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39958         Likewise.
39959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39960         Likewise.
39961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39962         Likewise.
39964         [BZ #14821]
39965         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39966         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39967         for copies of such integer values.
39968         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39969         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39971 2012-11-09  Andreas Jaeger  <aj@suse.de>
39973         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39974         definitions and declarations that are provided by
39975         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39977 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39979         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39980         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39981         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39982         definition.
39984 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39986         * elf/elf.h: Update comment before AArch64 relocations.
39988 2012-11-07  David S. Miller  <davem@davemloft.net>
39990         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39991         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39992         (__start_context): Declare.
39993         (__makecontext_ret): Delete.
39994         (__makecontext): Hook up __start_context instead of
39995         __makecontext_ret.
39996         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39997         (sysdep_routines): Add __start_context when in stdlib.
39999 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40001         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40002         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40003         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40004         hardcoded "nm".
40005         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40006         (READELF): New variable.  Use it instead of hardcoded "readelf".
40008 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40010         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40011         * sysdeps/x86/Makefile: Here.
40012         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40013         * sysdeps/x86/tst-xmmymm.sh: This.
40015 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40017         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40018         expectations.
40019         [UNIX98] (pthread_barrier_t): Do not expect.
40020         [UNIX98] (pthread_barrierattr_t): Likewise.
40021         [UNIX98] (pthread_spinlock_t): Likewise.
40022         [UNIX98] (pthread_barrier_destroy): Likewise.
40023         [UNIX98] (pthread_barrier_init): Likewise.
40024         [UNIX98] (pthread_barrier_wait): Likewise.
40025         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40026         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40027         [UNIX98] (pthread_barrierattr_init): Likewise.
40028         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40029         [UNIX98] (pthread_getcpuclockid): Likewise.
40030         [UNIX98] (pthread_mutex_timedlock): Likewise.
40031         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40032         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40033         [UNIX98] (pthread_sigmask): Likewise.
40034         [UNIX98] (pthread_spin_destroy): Likewise.
40035         [UNIX98] (pthread_spin_init): Likewise.
40036         [UNIX98] (pthread_spin_lock): Likewise.
40037         [UNIX98] (pthread_spin_trylock): Likewise.
40038         [UNIX98] (pthread_spin_unlock): Likewise.
40039         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40040         Do not expect.
40041         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40042         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40043         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40044         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40045         [XPG3 || XPG4] (pthread_key_t): Likewise.
40046         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40047         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40048         [XPG3 || XPG4] (pthread_once_t): Likewise.
40049         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40050         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40051         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40052         [XPG3 || XPG4] (pthread_t): Likewise.
40054         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40055         not expect.
40056         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40058         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40059         Change function return type to int.
40061         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40062         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40063         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40064         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40065         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40066         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40067         [!POSIX] (posix_madvise): Likewise.
40068         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40069         && !UNIX98].
40070         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40071         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40072         (mode_t): Likewise.
40073         (posix_mem_offset): Likewise.
40074         (posix_typed_mem_get_info): Likewise.
40075         (posix_typed_mem_open): Likewise.
40077         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40078         Change condition to [XOPEN2K8].
40080         * conform/conformtest.pl: Preprocess allow-header data with -x c
40081         instead of from stdin.
40082         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40083         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40084         [C99-based standards] (cerfc): Likewise.
40085         [C99-based standards] (cexp2): Likewise.
40086         [C99-based standards] (cexpm1): Likewise.
40087         [C99-based standards] (clog10): Likewise.
40088         [C99-based standards] (clog1p): Likewise.
40089         [C99-based standards] (clog2): Likewise.
40090         [C99-based standards] (clgamma): Likewise.
40091         [C99-based standards] (ctgamma): Likewise.
40092         [C99-based standards] (cerff): Likewise.
40093         [C99-based standards] (cerfcf): Likewise.
40094         [C99-based standards] (cexp2f): Likewise.
40095         [C99-based standards] (cexpm1f): Likewise.
40096         [C99-based standards] (clog10f): Likewise.
40097         [C99-based standards] (clog1pf): Likewise.
40098         [C99-based standards] (clog2f): Likewise.
40099         [C99-based standards] (clgammaf): Likewise.
40100         [C99-based standards] (ctgammaf): Likewise.
40101         [C99-based standards] (cerfl): Likewise.
40102         [C99-based standards] (cerfcl): Likewise.
40103         [C99-based standards] (cexp2l): Likewise.
40104         [C99-based standards] (cexpm1l): Likewise.
40105         [C99-based standards] (clog10l): Likewise.
40106         [C99-based standards] (clog1pl): Likewise.
40107         [C99-based standards] (clog2l): Likewise.
40108         [C99-based standards] (clgammal): Likewise.
40109         [C99-based standards] (ctgammal): Likewise.
40110         * conform/data/inttypes.h-data [C99-based standards]: Include
40111         stdint.h-data.  Remove all expectations for stdint.h contents.
40112         [C99-based standards] (PRI*): Do not allow.
40113         [C99-based standards] (SCN*): Likewise.
40114         [C99-based standards] (*_t): Likewise.
40115         [C99-based-standards] (PRId8): Expect macro.
40116         [C99-based-standards] (PRIi8): Likewise.
40117         [C99-based-standards] (PRIo8): Likewise.
40118         [C99-based-standards] (PRIu8): Likewise.
40119         [C99-based-standards] (PRIx8): Likewise.
40120         [C99-based-standards] (PRIX8): Likewise.
40121         [C99-based-standards] (SCNd8): Likewise.
40122         [C99-based-standards] (SCNi8): Likewise.
40123         [C99-based-standards] (SCNo8): Likewise.
40124         [C99-based-standards] (SCNu8): Likewise.
40125         [C99-based-standards] (SCNx8): Likewise.
40126         [C99-based-standards] (PRIdLEAST8): Likewise.
40127         [C99-based-standards] (PRIiLEAST8): Likewise.
40128         [C99-based-standards] (PRIoLEAST8): Likewise.
40129         [C99-based-standards] (PRIuLEAST8): Likewise.
40130         [C99-based-standards] (PRIxLEAST8): Likewise.
40131         [C99-based-standards] (PRIXLEAST8): Likewise.
40132         [C99-based-standards] (SCNdLEAST8): Likewise.
40133         [C99-based-standards] (SCNiLEAST8): Likewise.
40134         [C99-based-standards] (SCNoLEAST8): Likewise.
40135         [C99-based-standards] (SCNuLEAST8): Likewise.
40136         [C99-based-standards] (SCNxLEAST8): Likewise.
40137         [C99-based-standards] (PRIdFAST8): Likewise.
40138         [C99-based-standards] (PRIiFAST8): Likewise.
40139         [C99-based-standards] (PRIoFAST8): Likewise.
40140         [C99-based-standards] (PRIuFAST8): Likewise.
40141         [C99-based-standards] (PRIxFAST8): Likewise.
40142         [C99-based-standards] (PRIXFAST8): Likewise.
40143         [C99-based-standards] (SCNdFAST8): Likewise.
40144         [C99-based-standards] (SCNiFAST8): Likewise.
40145         [C99-based-standards] (SCNoFAST8): Likewise.
40146         [C99-based-standards] (SCNuFAST8): Likewise.
40147         [C99-based-standards] (SCNxFAST8): Likewise.
40148         [C99-based-standards] (PRId16): Likewise.
40149         [C99-based-standards] (PRIi16): Likewise.
40150         [C99-based-standards] (PRIo16): Likewise.
40151         [C99-based-standards] (PRIu16): Likewise.
40152         [C99-based-standards] (PRIx16): Likewise.
40153         [C99-based-standards] (PRIX16): Likewise.
40154         [C99-based-standards] (SCNd16): Likewise.
40155         [C99-based-standards] (SCNi16): Likewise.
40156         [C99-based-standards] (SCNo16): Likewise.
40157         [C99-based-standards] (SCNu16): Likewise.
40158         [C99-based-standards] (SCNx16): Likewise.
40159         [C99-based-standards] (PRIdLEAST16): Likewise.
40160         [C99-based-standards] (PRIiLEAST16): Likewise.
40161         [C99-based-standards] (PRIoLEAST16): Likewise.
40162         [C99-based-standards] (PRIuLEAST16): Likewise.
40163         [C99-based-standards] (PRIxLEAST16): Likewise.
40164         [C99-based-standards] (PRIXLEAST16): Likewise.
40165         [C99-based-standards] (SCNdLEAST16): Likewise.
40166         [C99-based-standards] (SCNiLEAST16): Likewise.
40167         [C99-based-standards] (SCNoLEAST16): Likewise.
40168         [C99-based-standards] (SCNuLEAST16): Likewise.
40169         [C99-based-standards] (SCNxLEAST16): Likewise.
40170         [C99-based-standards] (PRIdFAST16): Likewise.
40171         [C99-based-standards] (PRIiFAST16): Likewise.
40172         [C99-based-standards] (PRIoFAST16): Likewise.
40173         [C99-based-standards] (PRIuFAST16): Likewise.
40174         [C99-based-standards] (PRIxFAST16): Likewise.
40175         [C99-based-standards] (PRIXFAST16): Likewise.
40176         [C99-based-standards] (SCNdFAST16): Likewise.
40177         [C99-based-standards] (SCNiFAST16): Likewise.
40178         [C99-based-standards] (SCNoFAST16): Likewise.
40179         [C99-based-standards] (SCNuFAST16): Likewise.
40180         [C99-based-standards] (SCNxFAST16): Likewise.
40181         [C99-based-standards] (PRId32): Likewise.
40182         [C99-based-standards] (PRIi32): Likewise.
40183         [C99-based-standards] (PRIo32): Likewise.
40184         [C99-based-standards] (PRIu32): Likewise.
40185         [C99-based-standards] (PRIx32): Likewise.
40186         [C99-based-standards] (PRIX32): Likewise.
40187         [C99-based-standards] (SCNd32): Likewise.
40188         [C99-based-standards] (SCNi32): Likewise.
40189         [C99-based-standards] (SCNo32): Likewise.
40190         [C99-based-standards] (SCNu32): Likewise.
40191         [C99-based-standards] (SCNx32): Likewise.
40192         [C99-based-standards] (PRIdLEAST32): Likewise.
40193         [C99-based-standards] (PRIiLEAST32): Likewise.
40194         [C99-based-standards] (PRIoLEAST32): Likewise.
40195         [C99-based-standards] (PRIuLEAST32): Likewise.
40196         [C99-based-standards] (PRIxLEAST32): Likewise.
40197         [C99-based-standards] (PRIXLEAST32): Likewise.
40198         [C99-based-standards] (SCNdLEAST32): Likewise.
40199         [C99-based-standards] (SCNiLEAST32): Likewise.
40200         [C99-based-standards] (SCNoLEAST32): Likewise.
40201         [C99-based-standards] (SCNuLEAST32): Likewise.
40202         [C99-based-standards] (SCNxLEAST32): Likewise.
40203         [C99-based-standards] (PRIdFAST32): Likewise.
40204         [C99-based-standards] (PRIiFAST32): Likewise.
40205         [C99-based-standards] (PRIoFAST32): Likewise.
40206         [C99-based-standards] (PRIuFAST32): Likewise.
40207         [C99-based-standards] (PRIxFAST32): Likewise.
40208         [C99-based-standards] (PRIXFAST32): Likewise.
40209         [C99-based-standards] (SCNdFAST32): Likewise.
40210         [C99-based-standards] (SCNiFAST32): Likewise.
40211         [C99-based-standards] (SCNoFAST32): Likewise.
40212         [C99-based-standards] (SCNuFAST32): Likewise.
40213         [C99-based-standards] (SCNxFAST32): Likewise.
40214         [C99-based-standards] (PRId64): Likewise.
40215         [C99-based-standards] (PRIi64): Likewise.
40216         [C99-based-standards] (PRIo64): Likewise.
40217         [C99-based-standards] (PRIu64): Likewise.
40218         [C99-based-standards] (PRIx64): Likewise.
40219         [C99-based-standards] (PRIX64): Likewise.
40220         [C99-based-standards] (SCNd64): Likewise.
40221         [C99-based-standards] (SCNi64): Likewise.
40222         [C99-based-standards] (SCNo64): Likewise.
40223         [C99-based-standards] (SCNu64): Likewise.
40224         [C99-based-standards] (SCNx64): Likewise.
40225         [C99-based-standards] (PRIdLEAST64): Likewise.
40226         [C99-based-standards] (PRIiLEAST64): Likewise.
40227         [C99-based-standards] (PRIoLEAST64): Likewise.
40228         [C99-based-standards] (PRIuLEAST64): Likewise.
40229         [C99-based-standards] (PRIxLEAST64): Likewise.
40230         [C99-based-standards] (PRIXLEAST64): Likewise.
40231         [C99-based-standards] (SCNdLEAST64): Likewise.
40232         [C99-based-standards] (SCNiLEAST64): Likewise.
40233         [C99-based-standards] (SCNoLEAST64): Likewise.
40234         [C99-based-standards] (SCNuLEAST64): Likewise.
40235         [C99-based-standards] (SCNxLEAST64): Likewise.
40236         [C99-based-standards] (PRIdFAST64): Likewise.
40237         [C99-based-standards] (PRIiFAST64): Likewise.
40238         [C99-based-standards] (PRIoFAST64): Likewise.
40239         [C99-based-standards] (PRIuFAST64): Likewise.
40240         [C99-based-standards] (PRIxFAST64): Likewise.
40241         [C99-based-standards] (PRIXFAST64): Likewise.
40242         [C99-based-standards] (SCNdFAST64): Likewise.
40243         [C99-based-standards] (SCNiFAST64): Likewise.
40244         [C99-based-standards] (SCNoFAST64): Likewise.
40245         [C99-based-standards] (SCNuFAST64): Likewise.
40246         [C99-based-standards] (SCNxFAST64): Likewise.
40247         [C99-based-standards] (PRIdMAX): Likewise.
40248         [C99-based-standards] (PRIiMAX): Likewise.
40249         [C99-based-standards] (PRIoMAX): Likewise.
40250         [C99-based-standards] (PRIuMAX): Likewise.
40251         [C99-based-standards] (PRIxMAX): Likewise.
40252         [C99-based-standards] (PRIXMAX): Likewise.
40253         [C99-based-standards] (SCNdMAX): Likewise.
40254         [C99-based-standards] (SCNiMAX): Likewise.
40255         [C99-based-standards] (SCNoMAX): Likewise.
40256         [C99-based-standards] (SCNuMAX): Likewise.
40257         [C99-based-standards] (SCNxMAX): Likewise.
40258         [C99-based-standards] (PRIdPTR): Likewise.
40259         [C99-based-standards] (PRIiPTR): Likewise.
40260         [C99-based-standards] (PRIoPTR): Likewise.
40261         [C99-based-standards] (PRIuPTR): Likewise.
40262         [C99-based-standards] (PRIxPTR): Likewise.
40263         [C99-based-standards] (PRIXPTR): Likewise.
40264         [C99-based-standards] (SCNdPTR): Likewise.
40265         [C99-based-standards] (SCNiPTR): Likewise.
40266         [C99-based-standards] (SCNoPTR): Likewise.
40267         [C99-based-standards] (SCNuPTR): Likewise.
40268         [C99-based-standards] (SCNxPTR): Likewise.
40269         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40270         allow.
40271         * conform/data/stdint.h-data: Update comments to clarify
40272         requirements.
40273         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40274         type.
40275         [C99-based standards] (INT8_MAX): Likewise.
40276         [C99-based standards] (INT16_MIN): Likewise.
40277         [C99-based standards] (INT16_MAX): Likewise.
40278         [C99-based standards] (INT32_MIN): Likewise.
40279         [C99-based standards] (INT32_MAX): Likewise.
40280         [C99-based standards] (INT64_MIN): Likewise.
40281         [C99-based standards] (INT64_MAX): Likewise.
40282         [C99-based standards] (UINT8_MAX): Likewise.
40283         [C99-based standards] (UINT16_MAX): Likewise.
40284         [C99-based standards] (UINT32_MAX): Likewise.
40285         [C99-based standards] (UINT64_MAX): Likewise.
40286         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40287         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40288         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40289         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40290         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40291         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40292         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40293         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40294         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40295         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40296         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40297         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40298         [C99-based standards] (INT_FAST8_MIN): Likewise.
40299         [C99-based standards] (INT_FAST8_MAX): Likewise.
40300         [C99-based standards] (INT_FAST16_MIN): Likewise.
40301         [C99-based standards] (INT_FAST16_MAX): Likewise.
40302         [C99-based standards] (INT_FAST32_MIN): Likewise.
40303         [C99-based standards] (INT_FAST32_MAX): Likewise.
40304         [C99-based standards] (INT_FAST64_MIN): Likewise.
40305         [C99-based standards] (INT_FAST64_MAX): Likewise.
40306         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40307         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40308         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40309         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40310         [C99-based standards] (INTPTR_MIN): Likewise.
40311         [C99-based standards] (INTPTR_MAX): Likewise.
40312         [C99-based standards] (UINTPTR_MAX): Likewise.
40313         [C99-based standards] (INTMAX_MIN): Likewise.
40314         [C99-based standards] (INTMAX_MAX): Likewise.
40315         [C99-based standards] (UINTMAX_MAX): Likewise.
40316         [C99-based standards] (PTRDIFF_MIN): Likewise.
40317         [C99-based standards] (PTRDIFF_MAX): Likewise.
40318         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40319         [C99-based standards] (SIZE_MAX): Likewise.
40320         [C99-based standards] (WCHAR_MAX): Likewise.
40321         [C99-based standards] (WINT_MAX): Likewise.
40322         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40323         constraint on value.
40324         [C99-based standards] (WCHAR_MIN): Likewise.
40325         [C99-based standards] (WINT_MIN): Likewise.
40326         [C99-based standards] (*_t): Allow.
40327         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40328         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40329         Include math.h-data and complex.h-data.  Remove all expectations
40330         of math.h and complex.h contents.
40331         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40332         at end of line.
40333         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40334         (struct tm): Expect tag.
40335         [C99-based-standards] (wcstof): Expect function.
40336         [C99-based-standards] (wcstold): Likewise.
40337         [C99-based-standards] (wcstoll): Likewise.
40338         [C99-based-standards] (wcstoull): Likewise.
40339         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40340         macro-int-constant.  Specify type.
40341         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40342         constraint on value.
40343         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40344         Specify type.
40345         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40346         Specify value.
40347         [ISO C standards]: Do not allow headers.
40348         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40349         wcs[abcdefghijklmnopqrstuvwxyz]*.
40350         [ISO C standards] (*_t): Do not allow.
40351         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40352         Expect function.
40353         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40354         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40355         Specify type.
40356         [ISO C standards]: Do not allow headers.
40357         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40358         is[abcdefghijklmnopqrstuvwxyz]*.
40359         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40360         to[abcdefghijklmnopqrstuvwxyz]*.
40361         [ISO C standards] (*_t): Do not allow.
40362         * conform/data/stdalign.h-data: New file.
40363         * conform/data/stdbool.h-data: Likewise.
40364         * conform/data/stdnoreturn.h-data: Likewise.
40366 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40368         [BZ #14815]
40369         * manual/filesys.texi (Directory Entries): Typo fix.
40370         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40372 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40374         * elf/elf.h (EM_AARCH64): New macro.
40375         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40376         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40377         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40378         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40379         (R_AARCH64_TLSDESC): Likewise.
40380         (NT_ARM_TLS): Likewise.
40381         (NT_ARM_HW_BREAK): Likewise.
40382         (NT_ARM_HW_WATCH): Likewise.
40384 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40386         [BZ #14811]
40387         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40388         (__ieee754_powl): Saturate nonzero exponents with absolute value
40389         below 0x1p-79 to +/- 0x1p-79.
40390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40391         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40392         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40393         nonzero exponents with absolute value below 0x1p-32 to +/-
40394         0x1p-32.
40395         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40396         (__ieee754_powl): Saturate nonzero exponents with absolute value
40397         below 0x1p-79 to +/- 0x1p-79.
40398         * math/libm-test.inc (pow_test): Add more tests.
40400 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40402         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40403         _dl_s390_cap_flags with kernel. Increase string length.
40404         (_dl_s390_platforms): Add z196 and zEC12.
40406 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40408         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40409         Change XOPEN21K to XOPEN2K.
40411 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40413         * string/memmove.c: Use memcpy when possible.
40415 2012-11-06  Andreas Jaeger  <aj@suse.de>
40417         * po/eo.po: Update from translation team.
40419 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40421         [BZ #14793]
40422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40423         exponent and small x and y exponents, scale x or y up.  Increase
40424         by 2 the exponent used in scaling up.
40425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40427         * math/libm-test.inc (fma_test): Add more tests.
40428         (fma_test_towardzero): Likewise.
40429         (fma_test_downward): Likewise.
40430         (fma_test_upward): Likewise.
40432 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40434         [BZ #14805]
40435         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40436         fenv_t *.
40438         [BZ #14801]
40439         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40440         namespace for names of struct fields.
40441         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40442         fenv_t fields.
40443         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40444         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40446 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40448         [BZ #3665]
40449         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40451 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40453         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40454         PTR_DEMANGLE.
40456         [BZ #5246]
40457         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40458         PTR_DEMANGLE.
40460 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40462         [BZ #14797]
40463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40464         definitely overflow as x * y not x * y + z.
40465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40467         * math/libm-test.inc (fma_test): Add more tests.
40468         (fma_test_towardzero): Likewise.
40469         (fma_test_downward): Likewise.
40470         (fma_test_upward): Likewise.
40472 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40474         [BZ #157]
40476         * include/stub-tag.h: Remove file.
40477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40478         '#include' of it.
40479         * manual/maint.texi (Porting): Don't reference it.
40480         * Makerules ($(objpfx)stubs): Likewise.
40481         * dirent/closedir.c: Don't include <stub-tag.h>.
40482         * dirent/dirfd.c: Likewise.
40483         * dirent/fdopendir.c: Likewise.
40484         * dirent/getdents.c: Likewise.
40485         * dirent/getdents64.c: Likewise.
40486         * dirent/opendir.c: Likewise.
40487         * dirent/readdir.c: Likewise.
40488         * dirent/readdir64.c: Likewise.
40489         * dirent/readdir64_r.c: Likewise.
40490         * dirent/readdir_r.c: Likewise.
40491         * dirent/rewinddir.c: Likewise.
40492         * dirent/seekdir.c: Likewise.
40493         * dirent/telldir.c: Likewise.
40494         * gmon/profil.c: Likewise.
40495         * grp/setgroups.c: Likewise.
40496         * inet/if_index.c: Likewise.
40497         * io/access.c: Likewise.
40498         * io/chdir.c: Likewise.
40499         * io/chmod.c: Likewise.
40500         * io/chown.c: Likewise.
40501         * io/close.c: Likewise.
40502         * io/dup.c: Likewise.
40503         * io/dup2.c: Likewise.
40504         * io/dup3.c: Likewise.
40505         * io/euidaccess.c: Likewise.
40506         * io/faccessat.c: Likewise.
40507         * io/fchdir.c: Likewise.
40508         * io/fchmod.c: Likewise.
40509         * io/fchmodat.c: Likewise.
40510         * io/fchown.c: Likewise.
40511         * io/fchownat.c: Likewise.
40512         * io/fcntl.c: Likewise.
40513         * io/flock.c: Likewise.
40514         * io/fstatfs.c: Likewise.
40515         * io/fstatfs64.c: Likewise.
40516         * io/fstatvfs.c: Likewise.
40517         * io/fstatvfs64.c: Likewise.
40518         * io/futimens.c: Likewise.
40519         * io/fxstat.c: Likewise.
40520         * io/fxstat64.c: Likewise.
40521         * io/fxstatat.c: Likewise.
40522         * io/fxstatat64.c: Likewise.
40523         * io/getcwd.c: Likewise.
40524         * io/isatty.c: Likewise.
40525         * io/lchmod.c: Likewise.
40526         * io/lchown.c: Likewise.
40527         * io/link.c: Likewise.
40528         * io/linkat.c: Likewise.
40529         * io/lseek.c: Likewise.
40530         * io/lseek64.c: Likewise.
40531         * io/lxstat64.c: Likewise.
40532         * io/mkdir.c: Likewise.
40533         * io/mkdirat.c: Likewise.
40534         * io/mkfifo.c: Likewise.
40535         * io/mkfifoat.c: Likewise.
40536         * io/open.c: Likewise.
40537         * io/open64.c: Likewise.
40538         * io/openat.c: Likewise.
40539         * io/openat64.c: Likewise.
40540         * io/pipe.c: Likewise.
40541         * io/pipe2.c: Likewise.
40542         * io/poll.c: Likewise.
40543         * io/posix_fadvise.c: Likewise.
40544         * io/posix_fadvise64.c: Likewise.
40545         * io/posix_fallocate.c: Likewise.
40546         * io/posix_fallocate64.c: Likewise.
40547         * io/read.c: Likewise.
40548         * io/readlink.c: Likewise.
40549         * io/readlinkat.c: Likewise.
40550         * io/rmdir.c: Likewise.
40551         * io/sendfile.c: Likewise.
40552         * io/sendfile64.c: Likewise.
40553         * io/statfs.c: Likewise.
40554         * io/statfs64.c: Likewise.
40555         * io/statvfs.c: Likewise.
40556         * io/statvfs64.c: Likewise.
40557         * io/symlink.c: Likewise.
40558         * io/symlinkat.c: Likewise.
40559         * io/ttyname.c: Likewise.
40560         * io/ttyname_r.c: Likewise.
40561         * io/umask.c: Likewise.
40562         * io/unlink.c: Likewise.
40563         * io/unlinkat.c: Likewise.
40564         * io/utime.c: Likewise.
40565         * io/utimensat.c: Likewise.
40566         * io/write.c: Likewise.
40567         * io/xmknod.c: Likewise.
40568         * io/xmknodat.c: Likewise.
40569         * io/xstat.c: Likewise.
40570         * io/xstat64.c: Likewise.
40571         * login/getpt.c: Likewise.
40572         * login/grantpt.c: Likewise.
40573         * login/unlockpt.c: Likewise.
40574         * math/e_acoshl.c: Likewise.
40575         * math/e_acosl.c: Likewise.
40576         * math/e_asinl.c: Likewise.
40577         * math/e_atan2l.c: Likewise.
40578         * math/e_atanhl.c: Likewise.
40579         * math/e_coshl.c: Likewise.
40580         * math/e_expl.c: Likewise.
40581         * math/e_fmodl.c: Likewise.
40582         * math/e_gammal_r.c: Likewise.
40583         * math/e_hypotl.c: Likewise.
40584         * math/e_j0l.c: Likewise.
40585         * math/e_j1l.c: Likewise.
40586         * math/e_jnl.c: Likewise.
40587         * math/e_lgammal_r.c: Likewise.
40588         * math/e_log10l.c: Likewise.
40589         * math/e_log2l.c: Likewise.
40590         * math/e_logl.c: Likewise.
40591         * math/e_powl.c: Likewise.
40592         * math/e_rem_pio2l.c: Likewise.
40593         * math/e_sinhl.c: Likewise.
40594         * math/e_sqrtl.c: Likewise.
40595         * math/fclrexcpt.c: Likewise.
40596         * math/fedisblxcpt.c: Likewise.
40597         * math/feenablxcpt.c: Likewise.
40598         * math/fegetenv.c: Likewise.
40599         * math/fegetexcept.c: Likewise.
40600         * math/fegetround.c: Likewise.
40601         * math/feholdexcpt.c: Likewise.
40602         * math/fesetenv.c: Likewise.
40603         * math/fesetround.c: Likewise.
40604         * math/feupdateenv.c: Likewise.
40605         * math/fgetexcptflg.c: Likewise.
40606         * math/fraiseexcpt.c: Likewise.
40607         * math/fsetexcptflg.c: Likewise.
40608         * math/ftestexcept.c: Likewise.
40609         * math/k_cosl.c: Likewise.
40610         * math/k_rem_pio2l.c: Likewise.
40611         * math/k_sinl.c: Likewise.
40612         * math/k_tanl.c: Likewise.
40613         * math/s_asinhl.c: Likewise.
40614         * math/s_atanl.c: Likewise.
40615         * math/s_cbrtl.c: Likewise.
40616         * math/s_erfl.c: Likewise.
40617         * math/s_expm1l.c: Likewise.
40618         * math/s_log1pl.c: Likewise.
40619         * math/s_tanhl.c: Likewise.
40620         * misc/acct.c: Likewise.
40621         * misc/brk.c: Likewise.
40622         * misc/chflags.c: Likewise.
40623         * misc/chroot.c: Likewise.
40624         * misc/fchflags.c: Likewise.
40625         * misc/fgetxattr.c: Likewise.
40626         * misc/flistxattr.c: Likewise.
40627         * misc/fremovexattr.c: Likewise.
40628         * misc/fsetxattr.c: Likewise.
40629         * misc/fsync.c: Likewise.
40630         * misc/ftruncate.c: Likewise.
40631         * misc/futimes.c: Likewise.
40632         * misc/futimesat.c: Likewise.
40633         * misc/getdomain.c: Likewise.
40634         * misc/getdtsz.c: Likewise.
40635         * misc/gethostid.c: Likewise.
40636         * misc/gethostname.c: Likewise.
40637         * misc/getloadavg.c: Likewise.
40638         * misc/getpagesize.c: Likewise.
40639         * misc/getsysstats.c: Likewise.
40640         * misc/getxattr.c: Likewise.
40641         * misc/gtty.c: Likewise.
40642         * misc/ioctl.c: Likewise.
40643         * misc/lgetxattr.c: Likewise.
40644         * misc/listxattr.c: Likewise.
40645         * misc/llistxattr.c: Likewise.
40646         * misc/lremovexattr.c: Likewise.
40647         * misc/lsetxattr.c: Likewise.
40648         * misc/lutimes.c: Likewise.
40649         * misc/madvise.c: Likewise.
40650         * misc/mincore.c: Likewise.
40651         * misc/mlock.c: Likewise.
40652         * misc/mlockall.c: Likewise.
40653         * misc/mmap.c: Likewise.
40654         * misc/mprotect.c: Likewise.
40655         * misc/msync.c: Likewise.
40656         * misc/munlock.c: Likewise.
40657         * misc/munlockall.c: Likewise.
40658         * misc/munmap.c: Likewise.
40659         * misc/preadv.c: Likewise.
40660         * misc/preadv64.c: Likewise.
40661         * misc/ptrace.c: Likewise.
40662         * misc/pwritev.c: Likewise.
40663         * misc/pwritev64.c: Likewise.
40664         * misc/readv.c: Likewise.
40665         * misc/reboot.c: Likewise.
40666         * misc/remap_file_pages.c: Likewise.
40667         * misc/removexattr.c: Likewise.
40668         * misc/revoke.c: Likewise.
40669         * misc/select.c: Likewise.
40670         * misc/setdomain.c: Likewise.
40671         * misc/setegid.c: Likewise.
40672         * misc/seteuid.c: Likewise.
40673         * misc/sethostid.c: Likewise.
40674         * misc/sethostname.c: Likewise.
40675         * misc/setregid.c: Likewise.
40676         * misc/setreuid.c: Likewise.
40677         * misc/setxattr.c: Likewise.
40678         * misc/sstk.c: Likewise.
40679         * misc/stty.c: Likewise.
40680         * misc/swapoff.c: Likewise.
40681         * misc/swapon.c: Likewise.
40682         * misc/sync.c: Likewise.
40683         * misc/syncfs.c: Likewise.
40684         * misc/syscall.c: Likewise.
40685         * misc/truncate.c: Likewise.
40686         * misc/ualarm.c: Likewise.
40687         * misc/usleep.c: Likewise.
40688         * misc/ustat.c: Likewise.
40689         * misc/utimes.c: Likewise.
40690         * misc/vhangup.c: Likewise.
40691         * misc/writev.c: Likewise.
40692         * posix/_exit.c: Likewise.
40693         * posix/alarm.c: Likewise.
40694         * posix/execve.c: Likewise.
40695         * posix/fexecve.c: Likewise.
40696         * posix/fork.c: Likewise.
40697         * posix/fpathconf.c: Likewise.
40698         * posix/getaddrinfo.c: Likewise.
40699         * posix/getegid.c: Likewise.
40700         * posix/geteuid.c: Likewise.
40701         * posix/getgid.c: Likewise.
40702         * posix/getgroups.c: Likewise.
40703         * posix/getlogin.c: Likewise.
40704         * posix/getlogin_r.c: Likewise.
40705         * posix/getpgid.c: Likewise.
40706         * posix/getpid.c: Likewise.
40707         * posix/getppid.c: Likewise.
40708         * posix/getresgid.c: Likewise.
40709         * posix/getresuid.c: Likewise.
40710         * posix/getsid.c: Likewise.
40711         * posix/getuid.c: Likewise.
40712         * posix/glob64.c: Likewise.
40713         * posix/nanosleep.c: Likewise.
40714         * posix/pathconf.c: Likewise.
40715         * posix/pause.c: Likewise.
40716         * posix/posix_madvise.c: Likewise.
40717         * posix/pread.c: Likewise.
40718         * posix/pread64.c: Likewise.
40719         * posix/pwrite.c: Likewise.
40720         * posix/pwrite64.c: Likewise.
40721         * posix/sched_getaffinity.c: Likewise.
40722         * posix/sched_getp.c: Likewise.
40723         * posix/sched_gets.c: Likewise.
40724         * posix/sched_primax.c: Likewise.
40725         * posix/sched_primin.c: Likewise.
40726         * posix/sched_rr_gi.c: Likewise.
40727         * posix/sched_setaffinity.c: Likewise.
40728         * posix/sched_setp.c: Likewise.
40729         * posix/sched_sets.c: Likewise.
40730         * posix/sched_yield.c: Likewise.
40731         * posix/setgid.c: Likewise.
40732         * posix/setlogin.c: Likewise.
40733         * posix/setpgid.c: Likewise.
40734         * posix/setresgid.c: Likewise.
40735         * posix/setresuid.c: Likewise.
40736         * posix/setsid.c: Likewise.
40737         * posix/setuid.c: Likewise.
40738         * posix/sleep.c: Likewise.
40739         * posix/spawni.c: Likewise.
40740         * posix/sysconf.c: Likewise.
40741         * posix/times.c: Likewise.
40742         * posix/wait.c: Likewise.
40743         * posix/wait3.c: Likewise.
40744         * posix/wait4.c: Likewise.
40745         * posix/waitpid.c: Likewise.
40746         * resolv/gai_sigqueue.c: Likewise.
40747         * resource/getpriority.c: Likewise.
40748         * resource/getrlimit.c: Likewise.
40749         * resource/getrusage.c: Likewise.
40750         * resource/nice.c: Likewise.
40751         * resource/setpriority.c: Likewise.
40752         * resource/setrlimit.c: Likewise.
40753         * resource/ulimit.c: Likewise.
40754         * rt/aio_cancel.c: Likewise.
40755         * rt/aio_fsync.c: Likewise.
40756         * rt/aio_read.c: Likewise.
40757         * rt/aio_sigqueue.c: Likewise.
40758         * rt/aio_suspend.c: Likewise.
40759         * rt/aio_write.c: Likewise.
40760         * rt/clock_getres.c: Likewise.
40761         * rt/clock_gettime.c: Likewise.
40762         * rt/clock_nanosleep.c: Likewise.
40763         * rt/clock_settime.c: Likewise.
40764         * rt/lio_listio.c: Likewise.
40765         * rt/mq_close.c: Likewise.
40766         * rt/mq_getattr.c: Likewise.
40767         * rt/mq_notify.c: Likewise.
40768         * rt/mq_open.c: Likewise.
40769         * rt/mq_receive.c: Likewise.
40770         * rt/mq_send.c: Likewise.
40771         * rt/mq_setattr.c: Likewise.
40772         * rt/mq_timedreceive.c: Likewise.
40773         * rt/mq_timedsend.c: Likewise.
40774         * rt/mq_unlink.c: Likewise.
40775         * rt/shm_open.c: Likewise.
40776         * rt/shm_unlink.c: Likewise.
40777         * rt/timer_create.c: Likewise.
40778         * rt/timer_delete.c: Likewise.
40779         * rt/timer_getoverr.c: Likewise.
40780         * rt/timer_gettime.c: Likewise.
40781         * rt/timer_settime.c: Likewise.
40782         * setjmp/__longjmp.c: Likewise.
40783         * setjmp/setjmp.c: Likewise.
40784         * signal/kill.c: Likewise.
40785         * signal/killpg.c: Likewise.
40786         * signal/raise.c: Likewise.
40787         * signal/sigaction.c: Likewise.
40788         * signal/sigaltstack.c: Likewise.
40789         * signal/sigblock.c: Likewise.
40790         * signal/sigignore.c: Likewise.
40791         * signal/sigintr.c: Likewise.
40792         * signal/signal.c: Likewise.
40793         * signal/sigpause.c: Likewise.
40794         * signal/sigpending.c: Likewise.
40795         * signal/sigqueue.c: Likewise.
40796         * signal/sigreturn.c: Likewise.
40797         * signal/sigset.c: Likewise.
40798         * signal/sigsetmask.c: Likewise.
40799         * signal/sigstack.c: Likewise.
40800         * signal/sigsuspend.c: Likewise.
40801         * signal/sigtimedwait.c: Likewise.
40802         * signal/sigvec.c: Likewise.
40803         * signal/sigwait.c: Likewise.
40804         * signal/sigwaitinfo.c: Likewise.
40805         * signal/sysv_signal.c: Likewise.
40806         * socket/accept.c: Likewise.
40807         * socket/accept4.c: Likewise.
40808         * socket/bind.c: Likewise.
40809         * socket/connect.c: Likewise.
40810         * socket/getpeername.c: Likewise.
40811         * socket/getsockname.c: Likewise.
40812         * socket/getsockopt.c: Likewise.
40813         * socket/isfdtype.c: Likewise.
40814         * socket/listen.c: Likewise.
40815         * socket/recv.c: Likewise.
40816         * socket/recvfrom.c: Likewise.
40817         * socket/recvmsg.c: Likewise.
40818         * socket/send.c: Likewise.
40819         * socket/sendmsg.c: Likewise.
40820         * socket/sendto.c: Likewise.
40821         * socket/setsockopt.c: Likewise.
40822         * socket/shutdown.c: Likewise.
40823         * socket/sockatmark.c: Likewise.
40824         * socket/socket.c: Likewise.
40825         * socket/socketpair.c: Likewise.
40826         * stdio-common/ctermid.c: Likewise.
40827         * stdio-common/cuserid.c: Likewise.
40828         * stdio-common/remove.c: Likewise.
40829         * stdio-common/rename.c: Likewise.
40830         * stdio-common/renameat.c: Likewise.
40831         * stdio-common/tempname.c: Likewise.
40832         * stdlib/getcontext.c: Likewise.
40833         * stdlib/makecontext.c: Likewise.
40834         * stdlib/setcontext.c: Likewise.
40835         * stdlib/swapcontext.c: Likewise.
40836         * stdlib/system.c: Likewise.
40837         * streams/fattach.c: Likewise.
40838         * streams/fdetach.c: Likewise.
40839         * streams/getmsg.c: Likewise.
40840         * streams/getpmsg.c: Likewise.
40841         * streams/putmsg.c: Likewise.
40842         * streams/putpmsg.c: Likewise.
40843         * sysdeps/unix/bsd/getpt.c: Likewise.
40844         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40845         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40846         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40848         Likewise.
40849         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40850         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40851         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40852         * sysvipc/msgctl.c: Likewise.
40853         * sysvipc/msgget.c: Likewise.
40854         * sysvipc/msgrcv.c: Likewise.
40855         * sysvipc/msgsnd.c: Likewise.
40856         * sysvipc/semctl.c: Likewise.
40857         * sysvipc/semget.c: Likewise.
40858         * sysvipc/semop.c: Likewise.
40859         * sysvipc/semtimedop.c: Likewise.
40860         * sysvipc/shmat.c: Likewise.
40861         * sysvipc/shmctl.c: Likewise.
40862         * sysvipc/shmdt.c: Likewise.
40863         * sysvipc/shmget.c: Likewise.
40864         * termios/tcdrain.c: Likewise.
40865         * termios/tcflow.c: Likewise.
40866         * termios/tcflush.c: Likewise.
40867         * termios/tcgetattr.c: Likewise.
40868         * termios/tcgetpgrp.c: Likewise.
40869         * termios/tcsendbrk.c: Likewise.
40870         * termios/tcsetattr.c: Likewise.
40871         * termios/tcsetpgrp.c: Likewise.
40872         * time/adjtime.c: Likewise.
40873         * time/clock.c: Likewise.
40874         * time/getitimer.c: Likewise.
40875         * time/gettimeofday.c: Likewise.
40876         * time/setitimer.c: Likewise.
40877         * time/settimeofday.c: Likewise.
40878         * time/stime.c: Likewise.
40879         * time/time.c: Likewise.
40881 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40883         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40884         /usr/old/bin.
40886         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40887         instead of spaces.
40888         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40890 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40892         [BZ #14796]
40893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40894         FE_TONEAREST before applying Dekker multiplication and Knuth
40895         addition.  Clear inexact exceptions and check for exact zero
40896         results afterwards.
40897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40900         * math/libm-test.inc (fma_test): Add more tests.
40901         (fma_test_towardzero): Likewise.
40902         (fma_test_downward): Likewise.
40903         (fma_test_upward): Likewise.
40904         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40905         function.
40906         (libc_fesetround): New macro.
40907         (libc_fesetroundf): Likewise.
40908         (libc_fesetroundl): Likewise.
40909         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40910         function.
40911         (libc_fesetround_387): Likewise.
40912         (libc_fesetroundf): New macro.
40913         (libc_fesetround): Likewise.
40914         (libc_fesetroundl): Likewise.
40915         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40916         function.
40917         (libc_fesetroundf): New macro.
40918         (libc_fesetround): Likewise.
40919         (libc_fesetroundl): Likewise.
40920         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40921         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40922         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40923         libm_hidden_ver.
40924         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40925         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40926         libm_hidden_def.
40927         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40928         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40929         libm_hidden_ver.
40930         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40931         libm_hidden_def.
40933         [BZ #3439]
40934         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40935         integer constant usable in #if and use that to give value to enum
40936         constant.
40937         (FE_DIVBYZERO): Likewise.
40938         (FE_UNDERFLOW): Likewise.
40939         (FE_OVERFLOW): Likewise.
40940         (FE_INVALID): Likewise.
40941         (FE_INVALID_SNAN): Likewise.
40942         (FE_INVALID_ISI): Likewise.
40943         (FE_INVALID_IDI): Likewise.
40944         (FE_INVALID_ZDZ): Likewise.
40945         (FE_INVALID_IMZ): Likewise.
40946         (FE_INVALID_COMPARE): Likewise.
40947         (FE_INVALID_SOFTWARE): Likewise.
40948         (FE_INVALID_SQRT): Likewise.
40949         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40950         (FE_TONEAREST): Likewise.
40951         (FE_TOWARDZERO): Likewise.
40952         (FE_UPWARD): Likewise.
40953         (FE_DOWNWARD): Likewise.
40954         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40955         (FE_DIVBYZERO): Likewise.
40956         (FE_OVERFLOW): Likewise.
40957         (FE_UNDERFLOW): Likewise.
40958         (FE_INEXACT): Likewise.
40959         (FE_TONEAREST): Likewise.
40960         (FE_DOWNWARD): Likewise.
40961         (FE_UPWARD): Likewise.
40962         (FE_TOWARDZERO): Likewise.
40963         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40964         (FE_UNDERFLOW): Likewise.
40965         (FE_OVERFLOW): Likewise.
40966         (FE_DIVBYZERO): Likewise.
40967         (FE_INVALID): Likewise.
40968         (FE_TONEAREST): Likewise.
40969         (FE_TOWARDZERO): Likewise.
40970         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40971         (FE_OVERFLOW): Likewise.
40972         (FE_UNDERFLOW): Likewise.
40973         (FE_DIVBYZERO): Likewise.
40974         (FE_INEXACT): Likewise.
40975         (FE_TONEAREST): Likewise.
40976         (FE_TOWARDZERO): Likewise.
40977         (FE_UPWARD): Likewise.
40978         (FE_DOWNWARD): Likewise.
40979         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40980         (FE_DIVBYZERO): Likewise.
40981         (FE_OVERFLOW): Likewise.
40982         (FE_UNDERFLOW): Likewise.
40983         (FE_INEXACT): Likewise.
40984         (FE_TONEAREST): Likewise.
40985         (FE_DOWNWARD): Likewise.
40986         (FE_UPWARD): Likewise.
40987         (FE_TOWARDZERO): Likewise.
40989 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40991         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40993 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40995         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40996         commands.  Quote $PWD.
40997         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40998         -x" by "export".
40999         (remove_newlines): Remove.
41001 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41003         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41004         * stdlib/stdlib.h (atof): Moved to ...
41005         * include/bits/stdlib-float.h: Here.  New file.
41006         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41007         * stdlib/bits/stdlib-float.h: New file.
41008         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41009         -mno-sse -mno-mmx.
41010         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41011         <xmmintrin.h>.
41013 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41015         * conform/conformtest.pl (@headers): Add fenv.h.
41016         * conform/data/fenv.h-data: New file.
41017         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41018         include of <math/fenv.h>.
41020         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41021         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41022         && !UNIX98].  Enables tests for XOPEN2K8.
41023         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41024         POSIX2008]: Likewise.
41026         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41027         (struct rusage): Do not expect type or its members.
41029         [BZ #3439]
41030         * math/math.h (FP_NAN): Define macro to integer constant usable in
41031         #if and use that to give value to enum constant.
41032         (FP_INFINITE): Likewise.
41033         (FP_ZERO): Likewise.
41034         (FP_SUBNORMAL): Likewise.
41035         (FP_NORMAL): Likewise.
41037 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41039         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41040         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41041         arguments.
41043 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41045         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41046         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41047         autoconf-time if not.
41048         * configure.in: Remove AC_PREREQ.
41050 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41052         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41053         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41054         of the internal implementation.
41056 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41058         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41059         except include of <misc/sys/syslog.h>.
41061 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41064         function returns with a NULL context exit with zero.
41066 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41068         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41070 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41072         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41073         (run_program_cmd): This.
41074         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41075         (tst_langinfo): New variable.  Use it.
41077 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41079         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41080         floating point opcodes.
41082 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41084         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41085         variable.
41087         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41089         * sysdeps/mach/hurd/powerpc: Remove directory.
41090         * sysdeps/mach/powerpc: Likewise.
41092 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41094         * scripts/check-local-headers.sh: Ignore c++ headers.
41096 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41098         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41099         __libc_cleanup_region_start argument.
41101 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41103         [BZ #14784]
41104         [BZ #14785]
41105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41106         x * y using scaling, not as x * y + z.
41107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41108         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41109         * math/libm-test.inc (fma_test): Add more tests.
41110         (fma_test_towardzero): Likewise.
41111         (fma_test_downward): Likewise.
41112         (fma_test_upward): Likewise.
41114 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41116         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41118 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41120         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41121         New variable.
41123 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41125         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41127 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41130         Fix sort order.
41131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41132         Likewise.
41134 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41137         Fix the order of the list for glibc 2.17.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41139         Likewise.
41141 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41145 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41147         [BZ #14610]
41148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41149         for low part of x being zero before using __atanl (y).
41150         * math/libm-test.inc (atan2_test): Add another test.
41152         * manual/install.texi (Configuring and compiling): Document
41153         general use of test-wrapper and test-wrapper-env.
41154         * INSTALL: Regenerated.
41156         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41157         (__fma): Do not extract and scale down low bits on after-rounding
41158         systems when result rounded to normal precision would have normal
41159         exponent.
41160         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41161         (__fmal): Do not extract and scale down low bits on after-rounding
41162         systems when result rounded to normal precision would have normal
41163         exponent.
41164         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41165         (__fmal): Do not extract and scale down low bits on after-rounding
41166         systems when result rounded to normal precision would have normal
41167         exponent.
41168         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41169         macro.
41170         (fma_test): Add more tests.
41171         (fma_test_towardzero): Likewise.
41172         (fma_test_downward): Likewise.
41173         (fma_test_upward): Likewise.
41175 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41177         * sysdeps/i386/tininess.h: Renamed to ...
41178         * sysdeps/x86/tininess.h: This.
41179         * sysdeps/x86_64/tininess.h: Removed.
41181 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41183         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41184         input.  Use $(build-program-cmd).
41185         ($(objpfx)tst-array1-static.out): Likewise.
41186         ($(objpfx)tst-array2.out): Likewise.
41187         ($(objpfx)tst-array3.out): Likewise.
41188         ($(objpfx)tst-array4.out): Likewise.
41189         ($(objpfx)tst-array5.out): Likewise.
41190         ($(objpfx)tst-array5-static.out): Likewise.
41192 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41194         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41195         if defined.
41197         * nss/nsswitch.h (nss_interface_function): Provide new
41198         macro for use with NSS functions.
41199         * grp/initgroups.c: Use new macro.
41200         * nss/getXXbyYY.c: Likewise.
41201         * nss/getXXbyYY_r.c: Likewise.
41202         * nss/getXXent.c: Likewise.
41203         * nss/getXXent_r.c: Likewise.
41204         * sysdeps/posix/getaddrinfo.c: Likewise.
41206 2012-10-30  Andreas Jaeger  <aj@suse.de>
41208         * po/ru.po: Update Russion translation from translation project.
41210 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41212         [BZ #14152]
41213         [BZ #14783]
41214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41215         result and shift together with sticky bit instead of replicating
41216         round-to-nearest rounding.
41217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41219         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41220         missing underflow exceptions.
41221         (fma_test_towardzero): Add more tests.
41222         (fma_test_downward): Likewise.
41223         (fma_test_upward): Likewise.
41225         [BZ #14047]
41226         * sysdeps/generic/tininess.h: New file.
41227         * sysdeps/i386/tininess.h: Likewise.
41228         * sysdeps/sh/tininess.h: Likewise.
41229         * sysdeps/x86_64/tininess.h: Likewise.
41230         * stdlib/tst-strtod-underflow.c: Likewise.
41231         * stdlib/tst-tininess.c: Likewise.
41232         * stdlib/strtod_l.c: Include <tininess.h>.
41233         (round_and_return): Do not set errno for exact underflow cases.
41234         Force an underflow exception when setting errno for underflow.
41235         Determine underflow based on rounding to normal precision if
41236         TININESS_AFTER_ROUNDING.
41237         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41238         ERANGE for exact underflow cases.
41239         * stdlib/Makefile (tests): Add tst-tininess and
41240         tst-strtod-underflow.
41241         ($(objpfx)tst-tininess): Use $(link-libm).
41242         ($(objpfx)tst-strtod-underflow): Likewise.
41244 2012-10-30  Andreas Jaeger  <aj@suse.de>
41246         [BZ#14767]
41247         * elf/Makefile (tests): Remove conditional for have-initfini-array
41248         since this is now always required and the variable does not exist
41249         anymore.
41250         (tests-static): Likewise.
41251         (modules-names): Likewise.
41253         * po/eo.po: Add Esperanto translation from translation project.
41255         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41256         merged with constructor/destructor.
41257         (init_array): Likewise.
41258         * elf/tst-array2dep.c (fini_array): Likewise.
41259         (init_array): Likewise.
41261 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41263         * manual/message.texi: Delete @cartouche tags.
41265 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41267         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41268         EOPNOTSUPP.
41269         * sysdeps/mach/hurd/fsync.c: Likewise.
41271         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41272         [_POSIX_REALTIME_SIGNALS]: Change condition to
41273         [_POSIX_REALTIME_SIGNALS > 0].
41275 2012-10-27  Andreas Jaeger  <aj@suse.de>
41277         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41278         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41280         [__WORDSIZE != 64]: Likewise.
41282 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41284         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41285         *  iconvdata/tst-tables.sh: Likewise.
41287 2012-10-25  David S. Miller  <davem@davemloft.net>
41289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41290         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41291         of strtoull.
41293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41294         ifunc-impl-list.c
41295         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41296         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41297         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41298         file.
41300 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41303         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41304         __getdirentries.
41306 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41307             Jim Blandy  <jimb@codesourcery.com>
41309         * scripts/cross-test-ssh.sh: New file.
41310         * manual/install.texi (Configuring and compiling): Document use of
41311         cross-test-ssh.sh.
41312         * INSTALL: Regenerated.
41314 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41316         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41317         EOPNOTSUPP.
41319 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41321         * Makeconfig (run-program-prefix): Fix comment.
41323 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41324             Jim Blandy  <jimb@codesourcery.com>
41326         * Makeconfig (test-wrapper): New variable,
41327         (test-wrapper-env): Likewise.
41328         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41329         (run-built-tests): Define to yes.
41330         (run-program-prefix): Use $(test-wrapper).
41331         (built-program-cmd): Likewise.
41332         * Rules (make-test-out): Use $(test-wrapper-env) and
41333         $(host-built-program-cmd).
41334         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41335         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41336         tst-pathopt.sh.
41337         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41338         $(test-wrapper-env) to tst-rtld-load-self.sh.
41339         ($(objpfx)order2.out): Use $(test-wrapper).
41340         ($(objpfx)tst-initorder.out): Likewise.
41341         ($(objpfx)tst-initorder2.out): Likewise.
41342         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41343         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41344         (test_wrapper_env): New variable.  Use it to run ld.so.
41345         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41346         Use it to run ld.so.
41347         (test_wrapper_env): Likewise.
41348         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41349         $(test-wrapper) to run-iconv-test.sh.
41350         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41351         (ICONV): Use $test_wrapper.
41352         * posix/Makefile ($(objpfx)globtest.out): Pass
41353         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41354         globtest.sh, not $(run-program-prefix).
41355         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41356         (test_wrapper): Likewise.
41357         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41358         set together with run_via_rtld_prefix.
41359         (run_program_prefix): Define in terms of test_wrapper and
41360         run_via_rtld_prefix.
41362 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41364         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41365         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41366         Targets removed.
41368         [BZ #14743]
41369         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41370         Declare __clock_getres, __clock_gettime, __clock_settime,
41371         __clock_nanosleep, and __clock_getcpuclockid.
41372         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41373         Remove librt_hidden_def (clock_gettime).
41374         * sysdeps/unix/clock_gettime.c: Likewise.
41375         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41376         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41377         * rt/clock_getres.c: Define __clock_getres as an alias.
41378         * sysdeps/posix/clock_getres.c: Likewise.
41379         * rt/clock_settime.c: Define __clock_settime as an alias.
41380         * sysdeps/unix/clock_settime.c: Likewise.
41381         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41382         * sysdeps/unix/clock_nanosleep.c: Likewise.
41383         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41384         * rt/clock-compat.c: New file.
41385         * rt/Makefile (librt-routines): Add clock-compat and move
41386         $(clock-routines) to ...
41387         (routines): ... here, new variable.
41388         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41389         Don't add get_clockfreq here.
41390         * rt/Versions (libc: GLIBC_2.17): New version set.
41391         Add clock_* symbols here.
41392         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41394         (GLIBC_2.17): Add clock_* symbols.
41395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41399         Likewise.
41400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41401         Likewise.
41402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41406         * NEWS: Mention the move.
41408         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41409         Use __open, __read, __close rather than their public counterparts.
41410         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41411         (__get_clockfreq_via_cpuinfo): Likewise.
41412         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41413         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41415         * config.h.in (HAVE_IFUNC): New #undef.
41416         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41417         was successful.
41418         * configure: Regenerated.
41420 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41422         * configure.in: Move READELF check to start of file.
41423         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41424         libc_cv_asm_gnu_indirect_function in the process.
41425         * configure: Regenerated.
41427 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41429         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41430         send the output to /dev/null.
41431         (libc_cv_cc_with_libunwind): Likewise.
41432         (libc_cv_as_noexecstack): Likewise.
41433         * configure: Regenerate.
41435 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41437         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41439         * posix/globtest.sh (TMPDIR): Do not set.
41440         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41441         (testout): Likewise.
41443 2012-10-24  Andreas Jaeger  <aj@suse.de>
41445         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41446         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41447         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41448         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41449         posix_fadvise64, posix_fallocate64.
41451         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41452         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41453         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41454         Likewise.
41455         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41456         Likewise.
41457         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41460         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41461         <bits/fcntl-linux.h>.
41462         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41465         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41466         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41467         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41468         [__WORDSIZE != 64]: Likewise.
41470 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41472         * Makeconfig (run-built-tests): New variable.
41473         * Rules [$(cross-compiling) = yes]: Change condition to
41474         [$(run-built-tests) = no].
41475         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41476         to [$(run-built-tests) = yes].
41477         * elf/Makefile [$(cross-compiling) = no]: Likewise
41478         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41479         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41480         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41481         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41482         * io/Makefile [$(cross-compiling) = no]: Likewise.
41483         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41484         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41485         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41486         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41487         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41488         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41489         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41490         * string/Makefile [$(cross-compiling) = no]: Likewise.
41492         * posix/Makefile ($(objpfx)globtest.out): Pass
41493         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41494         $(rtld-installed-name).
41495         * posix/globtest.sh (elf_objpfx): Remove variable.
41496         (rtld_installed_name): Likewise.
41497         (library_path): Likewise.
41498         (run_program_prefix): New variable.  Use for running globtest
41499         binary.
41501 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41502             Joseph Myers  <joseph@codesourcery.com>
41504         * Makeconfig (host-built-program-cmd): New variable.
41505         * elf/Makefile (tst-stackguard1-ARGS): Use
41506         $(host-built-program-cmd).
41507         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41508         (tst-spawn-ARGS): Likewise.
41509         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41511 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41512             Jim Blandy  <jimb@codesourcery.com>
41514         * Makeconfig (run-via-rtld-prefix): New variable.
41515         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41516         (built-program-cmd): Likewise.
41518 2012-10-22  Andreas Jaeger  <aj@suse.de>
41520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41521         __O_RSYNC if it exists, otherwise to O_SYNC.
41523 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41524             Joseph Myers  <joseph@codesourcery.com>
41526         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41527         /dev/null.
41528         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41529         from /dev/null
41530         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41531         /dev/null.
41533 2012-10-22  Andreas Jaeger  <aj@suse.de>
41535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41536         Define always.
41537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41540         bits/fcntl-linux.h.
41542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41543         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41546         to __O_LARGEFILE.
41547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41548         to __O_LARGEFILE.
41550 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41551             Joseph Myers  <joseph@codesourcery.com>
41553         * config.make.in (NM): New variable.
41555 2012-10-21  Andreas Jaeger  <aj@suse.de>
41557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41558         definitions and declarations that are provided by
41559         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41561 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41563         [BZ #14683]
41564         * elf/Makefile (tests-static): Add tst-leaks1-static.
41565         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41566         ($(objpfx)tst-leaks1-static): New rule.
41567         ($(objpfx)tst-leaks1-static-mem): Likewise.
41568         (tst-leaks1-static-ENV): New macro.
41569         * elf/dl-open.c (dl_open_worker): Check the main application
41570         only if SHARED is defined.
41571         * elf/tst-leaks1-static.c: New file.
41573 2012-10-20  Andreas Jaeger  <aj@suse.de>
41575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41576         generic values for Linux.
41577         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41578         and declarations that are provided by <bits/fcntl-linux.h> and
41579         include <bits/fcntl-linux.h>.
41580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41581         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41583 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41585         * io/fcntl.h: Move include of <bits/types.h> to the top and
41586         include it unconditionally.
41588 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41590         * wcsmbs/Makefile (tests-ifunc): New variable.
41591         (tests): Add $(tests-ifunc).
41592         * wcsmbs/test-wcschr-ifunc.c: New file.
41593         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41594         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41595         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41596         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41597         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41599         * string/Makefile (tests-ifunc): New variable.
41600         (tests): Add $(tests-ifunc).
41601         * string/test-memccpy.c (TEST_NAME): New macro.
41602         * string/test-memchr.c (TEST_NAME): Likewise.
41603         * string/test-memcmp.c (TEST_NAME): Likewise.
41604         * string/test-memcpy.c (TEST_NAME): Likewise.
41605         * string/test-memmem.c (TEST_NAME): Likewise.
41606         * string/test-memmove.c (TEST_NAME): Likewise.
41607         * string/test-memset.c (TEST_NAME): Likewise.
41608         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41609         * string/test-stpcpy.c (TEST_NAME): Likewise.
41610         * string/test-stpncpy.c (TEST_NAME): Likewise.
41611         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41612         * string/test-strcasestr.c (TEST_NAME): Likewise.
41613         * string/test-strcat.c (TEST_NAME): Likewise.
41614         * string/test-strchr.c (TEST_NAME): Likewise.
41615         * string/test-strcmp.c(TEST_NAME): Likewise.
41616         * string/test-strcpy.c (TEST_NAME): Likewise.
41617         * string/test-strcspn.c (TEST_NAME): Likewise.
41618         * string/test-strlen.c (TEST_NAME): Likewise.
41619         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41620         * string/test-strncmp.c (TEST_NAME): Likewise.
41621         * string/test-strncpy.c (TEST_NAME): Likewise.
41622         * string/test-strnlen.c (TEST_NAME): Likewise.
41623         * string/test-strpbrk.c (TEST_NAME): Likewise.
41624         * string/test-strrchr.c (TEST_NAME): Likewise.
41625         * string/test-strspn.c (TEST_NAME): Likewise.
41626         * string/test-strstr.c (TEST_NAME): Likewise.
41627         * string/test-bcopy-ifunc.c: New file.
41628         * string/test-bzero-ifunc.c: Likewise.
41629         * string/test-memccpy-ifunc.c: Likewise.
41630         * string/test-memchr-ifunc.c: Likewise.
41631         * string/test-memcmp-ifunc.c: Likewise.
41632         * string/test-memcpy-ifunc.c: Likewise.
41633         * string/test-memmem-ifunc.c: Likewise.
41634         * string/test-memmove-ifunc.c: Likewise.
41635         * string/test-mempcpy-ifunc.c: Likewise.
41636         * string/test-memset-ifunc.c: Likewise.
41637         * string/test-rawmemchr-ifunc.c: Likewise.
41638         * string/test-stpcpy-ifunc.c: Likewise.
41639         * string/test-stpncpy-ifunc.c: Likewise.
41640         * string/test-strcasecmp-ifunc.c: Likewise.
41641         * string/test-strcasestr-ifunc.c: Likewise.
41642         * string/test-strcat-ifunc.c: Likewise.
41643         * string/test-strchr-ifunc.c: Likewise.
41644         * string/test-strchrnul-ifunc.c: Likewise.
41645         * string/test-strcmp-ifunc.c: Likewise.
41646         * string/test-strcpy-ifunc.c: Likewise.
41647         * string/test-strcspn-ifunc.c: Likewise.
41648         * string/test-strlen-ifunc.c: Likewise.
41649         * string/test-strncasecmp-ifunc.c: Likewise.
41650         * string/test-strncat-ifunc.c: Likewise.
41651         * string/test-strncmp-ifunc.c: Likewise.
41652         * string/test-strncpy-ifunc.c: Likewise.
41653         * string/test-strnlen-ifunc.c: Likewise.
41654         * string/test-strpbrk-ifunc.c: Likewise.
41655         * string/test-strrchr-ifunc.c: Likewise.
41656         * string/test-strspn-ifunc.c: Likewise.
41657         * string/test-strstr-ifunc.c: Likewise.
41659         * debug/Makefile (tests-ifunc): New variable.
41660         (tests): Add $(tests-ifunc).
41661         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41662         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41663         * debug/test-stpcpy_chk-ifunc.c: New file.
41664         * debug/test-strcpy_chk-ifunc.c: Likewise.
41666 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41668         [BZ #13601]
41669         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41670         header is not read in.
41672 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41674         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41675         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41676         directly.  Pass built executable to script as
41677         $(built-program-cmd).
41678         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41679         $testprogram without using LD_LIBRARY_PATH and $ldso.
41681         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41682         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41683         $(rtld-installed-name).
41684         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41685         (rtld_installed_name): Likewise.
41686         (library_path): Likewise.
41687         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41688         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41689         $(run-program-prefix) to tst-tables.sh.
41690         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41691         it to run tst-table-from and tst-table-to.
41692         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41693         Pass it to tst-table.sh.
41694         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41695         $(run-program-prefix) to tst-gettext.sh.
41696         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41697         tst-translit.sh.
41698         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41699         tst-gettext2.sh.
41700         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41701         to run tst-gettext.
41702         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41703         to run tst-gettext2.
41704         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41705         to run tst-translit.
41706         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41707         $(run-program-prefix) to tst-mtrace.sh.
41708         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41709         to run tst-mtrace.
41710         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41711         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41712         $(rtld-installed-name).
41713         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41714         (rtld_installed_name): Likewise.
41715         (run_program_prefix): New variable.  Use it to run wordexp-test.
41717         * Makeconfig (ARCH): Remove all definitions.
41718         (machine): Likewise.
41719         [ARCH]: Remove conditional code.
41720         [!objdir]: Give error.
41721         [!objdir] (objpfx): Remove.
41722         [!objdir] (common-objpfx): Likewise.
41723         [!objdir] (common-objdir): Likewise.
41724         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41725         AC_CONFIG_FILES call.
41726         * configure: Regenerated.
41728         [BZ #13888]
41729         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41730         or TMPDIR.
41731         (testout): Likewise.
41733         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41734         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41735         $(rtld-installed-name).
41736         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41737         (rtld_installed_name): Likwise.
41738         (runit): Remove function.
41739         (run_getconf): New variable,  Use it for running getconf binary.
41741 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41743         [BZ #14716]
41744         * string/test-memmem.c (check_result): New function.
41745         (do_one_test): Use it.
41746         (check1): New function.
41747         (test_main): Use it.
41749 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41751         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41753 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41755         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41756         (_G_LSEEK64): Likewise.
41757         (_G_MMAP64): Likewise.
41758         (_G_FSTAT64): Likewise.
41759         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41760         (_G_LSEEK64): Likewise.
41761         (_G_MMAP64): Likewise.
41762         (_G_FSTAT64): Likewise.
41763         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41764         unconditional.  Call __mmap64 directly.
41765         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41766         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41767         __lseek64 directly.
41768         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41769         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41770         __mmap64 directly.
41771         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41772         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41773         __lseek64 directly.
41774         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41775         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41776         __lseek64 directly.
41777         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41778         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41779         __lseek64 directly.
41780         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41781         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41782         __fxstat64 directly.
41783         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41784         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41785         unconditional.
41786         (freopen64) [!_G_OPEN64]: Remove conditional code.
41787         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41788         unconditional.
41789         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41790         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41791         unconditional.
41792         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41793         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41794         unconditional.
41795         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41796         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41797         unconditional.
41798         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41799         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41800         unconditional.
41801         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41802         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41803         unconditional.
41804         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41805         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41806         unconditional.
41807         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41809 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41811         [BZ #12140]
41812         * manual/memory.texi (Malloc Tunable Parameters): Add note
41813         about free list pointers overwriting some perturb bytes.
41814         Wording suggested by Roland McGrath.
41816 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41818         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41819         (lgamma_test): Likewise.
41820         (tgamma_test): Likewise.
41822 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41824         [BZ #14700]
41825         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41826         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41828 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41830         * NEWS: Mention BZ #14716.
41831         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41832         when removing AVAILABLE1_USES_J macro.
41834 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41836         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41837         (__bswap_64): __uint64_t for unsigned 64-bit int.
41839 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41841         * include/string.h (memmem): Declare libc hidden alias.
41842         * string/memmem.c (memmem): Define libc hidden alias.
41843         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41844         __read, __close instead of open, read, close.
41846 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41849         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41850         global and hidden.
41851         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41852         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41853         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41854         Likewise.
41855         (__rawmemchr_sse2): Likewise.
41856         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41857         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41858         (__strchr_sse2): Likewise.
41859         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41860         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41861         (__strcasecmp_sse2): Likewise.
41862         (__strncasecmp_sse2): Likewise.
41863         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41864         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41865         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41866         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41867         (__strrchr_sse2): Likewise.
41868         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41869         ifunc-impl-list.c.
41870         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41871         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41872         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41873         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41874         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41875         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41876         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41877         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41878         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41879         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41880         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41881         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41882         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41883         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41884         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41885         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41886         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41887         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41888         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41889         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41890         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41891         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41892         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41893         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41894         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41895         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41896         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41897         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41898         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41899         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41901         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41902         global and hidden.
41903         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41904         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41905         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41906         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41907         Likewise.
41908         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41909         Likewise.
41910         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41911         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41912         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41913         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41914         ifunc-impl-list.c.
41915         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41916         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41917         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41918         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41919         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41920         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41921         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41922         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41923         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41924         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41925         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41926         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41927         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41928         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41929         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41930         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41931         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41932         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41933         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41934         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41935         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41936         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41937         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41938         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41939         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41940         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41941         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41942         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41943         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41944         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41945         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41946         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41947         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41948         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41949         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41950         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41951         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41952         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41953         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41954         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41955         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41957         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41958         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41959         * include/ifunc-impl-list.h: New file.
41960         * misc/ifunc-impl-list.c: Likewise.
41961         * misc/Makefile (routines): Add ifunc-impl-list.
41962         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41963         * string/test-string.h: Include <ifunc-impl-list.h>.
41964         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41965         TEST_NAME]: New variables.
41966         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41967         are defined.
41968         (test_init): Call __libc_ifunc_impl_list to initialize
41969         func_list if TEST_IFUNC and TEST_NAME are defined.
41971         * string/Makefile (strop-tests): Add bcopy and bzero.
41972         * string/test-bcopy.c: New file.
41973         * string/test-bzero.c: Likewise.
41974         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41975         defined.
41976         * string/test-memset.c: Support bzero test if TEST_BZERO is
41977         defined.
41978         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41979         __libc_memmove.
41980         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41981         __libc_memset.
41982         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41983         of memset.
41985 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41987         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41988         * configure: Regenerated.
41990         * Makeconfig (+link-static-before-libc): Don't include
41991         $(link-static-libc).
41993         * libio/libio.h (_IO_pos_t): Remove.
41995 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41997         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41998         McGrath.
42000 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42002         * crypt/crypt-entry.c: Include fips-private.h.
42003         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42004         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42005         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42006         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42010         * crypt/crypt-private.h: Include stdbool.h.
42011         (_ufc_setup_salt_r): Return bool.
42012         * crypt/crypt-entry.c: Include errno.h.
42013         (__crypt_r): Return NULL with EINVAL for bad salt.
42014         * crypt/crypt_util.c (bad_for_salt): New.
42015         (_ufc_setup_salt_r): Check that salt is long enough and within
42016         the specified alphabet.
42017         * crypt/badsalttest.c: New file.
42018         * crypt/Makefile (tests): Add it.
42019         ($(objpfx)badsalttest): New.
42021 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42023         * NEWS: Add entry for BZ #14602.
42025 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42027         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42028         type-generic.
42029         * math/libm-test.inc: Update comment listing what functions and
42030         macros are tested.
42031         (isgreater_test): New function.
42032         (isgreaterequal_test): Likewise.
42033         (isless_test): Likewise.
42034         (islessequal_test): Likewise.
42035         (islessgreater_test): Likewise.
42036         (isunordered_test): Likewise.
42037         (main): Call the new functions.
42039 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42041         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42042         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42043         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42044         * sysdeps/i386/configure: Regenerated.
42045         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42046         * sysdeps/mach/configure: Regenerated.
42047         * sysdeps/mach/hurd/configure: Regenerated.
42048         * sysdeps/powerpc/configure: Regenerated.
42049         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42050         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42051         * sysdeps/s390/s390-32/configure: Regenerated.
42052         * sysdeps/s390/s390-64/configure: Regenerated.
42053         * sysdeps/sh/configure: Regenerated.
42054         * sysdeps/sparc/configure: Regenerated.
42055         * sysdeps/unix/sysv/linux/configure: Regenerated.
42056         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42057         * sysdeps/x86_64/configure: Regenerated.
42059         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42060         defined.  Don't check if MAP is NULL.
42062 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42064         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42065         (_G_stat64): Likewise.
42066         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42067         (_G_stat64): Likewise.
42068         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42069         instead of struct _G_stat64.
42070         * libio/fileops.c (mmap_remap_check): Likewise.
42071         (decide_maybe_mmap): Likewise.
42072         (_IO_new_file_seekoff): Likewise.
42073         (_IO_file_stat): Likewise.
42074         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42075         _G_off64_t.
42076         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42077         instead of struct _G_stat64.
42078         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42080 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42082         [BZ #14602]
42083         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42084         Replace with ...
42085         (CHECK_EOL): New macro.
42086         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42087         CHECK_EOL.
42088         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42089         Replace with CHECK_EOL.
42090         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42091         Replace with CHECK_EOL.
42093 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42095         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42096         type-generic.
42097         * math/libm-test.inc: Update comment listing what functions and
42098         macros are tested.
42099         (finite_test): New function.
42100         (isinf_test): Likewise.
42101         (isnan_test): Likewise.
42102         (fpclassify_test): Test subnormal input.
42103         (isfinite_test): Likewise.
42104         (isnormal_test): Likewise.
42105         (main): Call the new functions.
42107 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42109         [BZ #14660]
42110         * Makerules (%.dynsym): Force C locale when running
42111         $(OBJDUMP) --dynamic-syms.
42113 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42115         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42116         <stdint.h>.
42118 2012-10-06  David S. Miller  <davem@davemloft.net>
42120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42121         upper 32-bits of the length value in %o2 since we use branch-on-register
42122         tests which consider the entire 64-bit register.
42124 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42126         * string/test-strstr.c (check2): Add a test for page boundary.
42128 2012-10-05  David S. Miller  <davem@davemloft.net>
42130         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42131         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42132         file.
42133         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42134         sysdep_routines.
42135         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42136         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42137         and bzero when HWCAP_SPARC_CRYPTO is present.
42139 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42141         [BZ #14602]
42142         * string/test-strstr.c (check2): New function.
42143         (test_main): Call check2.
42145         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42146         and bug-strchr1.
42147         * string/bug-strcasestr1.c (do_test): Moved to ...
42148         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
42154         * string/test-strchr.c (check1): Here.  New function.
42155         (do_one_test): Break out result checking code into ...
42156         (check_result): This.  New function.
42157         (do_one_test): Call check_result.
42158         (test_main): Call check1.
42159         * string/bug-strstr1.c (main): Moved to ...
42160         * string/test-strstr.c (check1): Here.  New function.
42161         (do_one_test): Break out result checking code into ...
42162         (check_result): This.  New function.
42163         (do_one_test): Call check_result.
42164         (test_main): Call check1.
42165         * string/bug-strcasestr1.c: Removed.
42166         * string/bug-strchr1.c: Likewise.
42167         * string/bug-strstr1.c: Likewise.
42169         * elf/Makefile (dl-routines): Add hwcaps.
42170         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42171         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42172         (_dl_important_hwcaps): Moved to ...
42173         * elf/dl-hwcaps.c: Here.  New file.
42174         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42176         [BZ #14557]
42177         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42178         if IS_IN_rtld isn't defined.
42180         * elf/dl-support.c (_dl_sysinfo_map): New.
42181         Include "get-dynamic-info.h" and "setup-vdso.h".
42182         (_dl_non_dynamic_init): Call setup_vdso.
42183         * elf/dynamic-link.h: Don't include <assert.h>.
42184         (elf_get_dynamic_info): Moved to ...
42185         * elf/get-dynamic-info.h: Here.  New file.
42186         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42187         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42188         * elf/setup-vdso.h: Here.  New file.
42189         * elf/rtld.c: Include "setup-vdso.h".
42190         (dl_main): Call setup_vdso.
42192 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42194         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42195         creal in comment listing functions tested.  List finite, isinf,
42196         isnan, isless, islessequal, isgreater, isgreaterequal,
42197         islessgreater, isunordered, lgamma_r and pow10 as functions and
42198         macros not tested.  Mention which functions not tested are aliases
42199         for other functions.  Fix typo.  Note that signs of NaNs are not
42200         tested.
42202         * scripts/config.guess: Update from config.git.
42203         * scripts/config.sub: Likewise.
42205 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42207         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42208         * misc/madvise.c (madvise): Renamed to __madvise.
42209         Make madvise a weak alias.
42210         * include/sys/mman.h: Declare __madvise.
42211         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42212         * sysdeps/unix/syscalls.list
42213         (madvise): Make __madvise the strong name, and madvise a weak alias.
42214         * sysdeps/unix/sysv/linux/syscalls.list
42215         (madvise, mmap): Remove redundant entries.
42216         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42217         * malloc/malloc.c (mtrim): Likewise.
42218         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42220 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42222         * sysdeps/mach/hurd/dl-cache.c: File removed.
42223         * config.h.in (USE_LDCONFIG): New #undef.
42224         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42225         * configure: Regenerated.
42226         * elf/Makefile (dl-routines): Add dl-cache only under
42227         [$(use-ldconfig) = yes].
42228         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42229         cache on [USE_LDCONFIG].
42230         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42231         [USE_LDCONFIG].
42232         * elf/rtld.c (dl_main): Likewise.
42234 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42236         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42237         _SC_LEVEL4_CACHE_LINESIZE.
42239 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42241         * sysdeps/unix/bsd/confstr.h: File removed.
42243 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42245         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42246         sys/sdt-config.h.
42248 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42250         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42251         Make 'mapoff' field ElfW(Off) rather than off_t.
42253 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42255         * nscd/Makefile: Remove nscd-cflags and all its users.
42256         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42257         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42259         [BZ #10631]
42260         * malloc.c (malloc_printerr): Clarify error message.
42262 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42264         [BZ #14648]
42265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42266         Set bit_FMA_Usable if FMA is supported.
42267         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42268         macro.
42269         (bit_FMA4_Usable): Updated.
42270         (index_FMA_Usable): New macro.
42271         (CPUID_FMA): Likewise
42272         (HAS_FMA): Defined with bit_FMA_Usable.
42274 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42276         * bits/types.h (__swblk_t): Type removed.
42277         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42278         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42280         (__SWBLK_T_TYPE): Likewise.
42281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42282         (__SWBLK_T_TYPE): Likewise.
42283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42284         (__SWBLK_T_TYPE): Likewise.
42285         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42286         (__SWBLK_T_TYPE): Likewise.
42288 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42289             Honza Horak <hhorak@redhat.com>
42291         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42292         (xdr_mapname): Use YPMAXMAP as maxsize.
42293         (xdr_peername): Use YPMAXPEER as maxsize.
42294         (xdr_keydat): Use YPAXRECORD as maxsize.
42295         (xdr_valdat): Use YPMAXRECORD as maxsize.
42297 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42299         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42301         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42302         * csu/init-first.c: ... here.
42303         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42304         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42305         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42306         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42307         * sysdeps/i386/init-first.c: File removed.
42308         * sysdeps/sh/init-first.c: File removed.
42310 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42312         [BZ #14645]
42313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42314         if x * y might underflow to zero and z is zero.
42315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42317         * math/libm-test.inc (min_subnorm_value): New variable.
42318         (fma_test): Add more tests.
42319         (fma_test_towardzero): Likewise.
42320         (fma_test_downward): Likewise
42321         (fma_test_upward): Likewise.
42322         (initialize): Set min_subnorm_value.
42324 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42326         [BZ #14638]
42327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42328         0 + 0.
42329         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42330         mode for addition resulting in exact zero.
42331         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42332         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42333         exact 0 + 0.
42334         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42335         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42336         * math/libm-test.inc (fma_test): Add more tests.
42337         (fma_test_towardzero): New function.
42338         (fma_test_downward): Likewise.
42339         (fma_test_upward): Likewise.
42340         (main): Call the new functions.
42342 2012-09-28  David S. Miller  <davem@davemloft.net>
42344         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42346 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42348         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42349         instead of SIGALRM.
42351         * sysdeps/gnu/_G_config.h: Moved to ...
42352         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42353         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42354         * sysdeps/generic/_G_config.h: ... here.
42356         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42358         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42360         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42361         Conditionalize target on [libnss_test1.so-version].
42363         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42365         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42366         (elfobjdir): Move out of conditionals.
42368         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42369         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42370         (__nss_lookup_function): Conditionalize label remove_from_tree on
42371         [!DO_STATIC_NSS || SHARED], matching its only use.
42373 2012-09-28  David S. Miller  <davem@davemloft.net>
42375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42376         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42377         file.
42378         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42379         sysdep_routines.
42380         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42382         when HWCAP_SPARC_CRYPTO is present.
42384 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42386         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42388 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42390         [BZ #6530]
42391         * stdio-common/vfprintf.c (process_string_arg): Revert
42392         2000-07-22 change.
42394 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42396         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42397         for testcase.
42398         * stdio-common/tst-sprintf.c: Include <locale.h>
42399         (main): Test sprintf's handling of incomplete multibyte
42400         characters.
42402 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42404         * elf/dl-runtime.c (VERSYMIDX): Removed.
42405         * elf/dl-version.c (VERSYMIDX): Likewise.
42406         * elf/do-rel.h (VERSYMIDX): Likewise.
42407         (VALIDX): Likewise.
42408         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42409         * elf/rtld.c (VALIDX): Likewise.
42410         (ADDRIDX): Likewise.
42411         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42412         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42413         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42414         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42415         (VALIDX): Likewise.
42416         (ADDRIDX): Likewise.
42418 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42420         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42422 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42424         [BZ #11438]
42425         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42426         to global scope.
42427         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42428         addresses are in the same scope as 192.0.2/24.
42429         * posix/gai.conf: Document new scope table defaults.
42431 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42433         [BZ #5298]
42434         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42435         for ftell.  Compute offsets from write pointers instead.
42436         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42438 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42440         [BZ #14543]
42441         * libio/Makefile (tests): New test case tst-fseek.
42442         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42443         combination works in wide mode.
42444         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42445         state when the external buffer state changes.
42447 2012-09-27  David S. Miller  <davem@davemloft.net>
42449         [BZ #14376]
42450         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42451         pass reloc->r_addend in as the 'high' argument to
42452         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42456 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42458         * rt/tst-aio2.c: Include <pthread.h>.
42459         * rt/tst-aio3.c: Likewise.
42461 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42463         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42465 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42467         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42468         contents on [SHARED].
42470 2012-09-26  Marek Polacek  <polacek@redhat.com>
42472         [BZ #14530]
42473         [BZ #13741]
42474         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42475         for C++ and GCC <4.3 as well as for non GCC compilers.
42477 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42481 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42483         * Makefile.in (all, install): Declare with .PHONY.
42484         Reported by Michael Hope <michael.hope@linaro.org>.
42486 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42488         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42489         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42490         system header.
42491         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42492         Likewise.
42493         (sydep_routines): Add the new and the internal functions.
42494         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42495         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42497         (GLIBC_2.17): Add the new function.
42498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42499         (GLIBC_2.17): Likewise.
42500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42501         (GLIBC_2.17): Likewise.
42502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42503         (GLIBC_2.17): Likewise.
42504         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42506 2012-09-25  Alan Modra  <amodra@gmail.com>
42508         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42509         Add release barrier before setting once_control to say
42510         initialisation is done.  Add hints on lwarx.  Use macro in
42511         place of isync.
42512         (clear_once_control): Add release barrier.
42514 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42516         [BZ #13629]
42517         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42518         specially.
42519         * math/s_clog10.c (__clog10): Likewise.
42520         * math/s_clog10f.c (__clog10f): Likewise.
42521         * math/s_clog10l.c (__clog10l): Likewise.
42522         * math/s_clogf.c (__clogf): Likewise.
42523         * math/s_clogl.c (__clogl): Likewise.
42524         * math/Makefile (libm-calls): Add x2y2m1.
42525         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42526         (__x2y2m1): Likewise.
42527         (__x2y2m1l): Likewise.
42528         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42529         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42530         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42531         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42532         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42533         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42534         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42535         * sysdeps/i386/fpu/libm-test-ulps: Update.
42536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42538         [BZ #14621]
42539         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42540         int as type of variable DEPTH.
42541         (glob): Use size_t instead of int as type of variables NEWCOUNT
42542         and OLD_PATHC.
42544 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42546         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42547         Add s_sincosf-sse2.
42548         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42549         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42550         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42551         macros for using routine as __sincosf_ia32.
42552         Use macro for function declaration and weak_alias.
42553         * sysdeps/i386/fpu/libm-test-ulps: Update.
42555         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42558         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42559         subnormal argument.
42560         * math/s_cexpf.c (__cexpf): Likewise.
42561         * math/s_csinf.c (__csinf): Likewise.
42562         * math/s_csinhf.c (__csinhf): Likewise.
42563         * math/s_ctanf.c (__ctanf): Likewise.
42564         * math/s_ctanhf.c (__ctanhf): Likewise.
42565         * math/s_ccosh.c (__ccoshf): Likewise.
42566         * math/s_cexp.c (__cexpl): Likewise.
42567         * math/s_csin.c (__csin): Likewise.
42568         * math/s_csinh.c (__csinh): Likewise.
42569         * math/s_ctan.c (__ctan): Likewise.
42570         * math/s_ctanh.c (ctanh): Likewise.
42571         * math/s_ccoshl.c (__ccoshl): Likewise.
42572         * math/s_cexpl.c (__cexpl): Likewise.
42573         * math/s_csinl.c (__csinl): Likewise.
42574         * math/s_csinhl.c (__csinhl): Likewise.
42575         * math/s_ctanl.c (__ctanl): Likewise.
42576         * math/s_ctanhl.c (__ctanhl): Likewise.
42578 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42580         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42581         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42582         (_IO_off_t): Define to __off_t, not _G_off_t.
42583         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42584         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42585         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42586         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42587         type of __dummy and __dummy2 fields.
42588         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42589         (_G_ssize_t): Likewise.
42590         (_G_off_t): Likewise.
42591         (_G_pid_t): Likewise.
42592         (_G_uid_t): Likewise.
42593         (_G_wchar_t): Likewise.
42594         (_G_wint_t): Likewise.
42595         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42596         (_G_ssize_t): Likewise.
42597         (_G_off_t): Likewise.
42598         (_G_pid_t): Likewise.
42599         (_G_uid_t): Likewise.
42600         (_G_wchar_t): Likewise.
42601         (_G_wint_t): Likewise.
42602         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42603         (_G_ssize_t): Likewise.
42604         (_G_off_t): Likewise.
42605         (_G_pid_t): Likewise.
42606         (_G_uid_t): Likewise.
42607         (_G_wchar_t): Likewise.
42608         (_G_wint_t): Likewise.
42610 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42612         * malloc/arena.c: Include malloc-sysdep.h.
42613         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42614         is sufficient to shrink the heap or an unmap is needed.
42615         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42616         new function check_may_shrink_heap.
42617         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42618         new function check_may_shrink_heap.
42620 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42622         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42623         comments.
42625 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42627         * catgets/test-gencat.sh: Add "set -e".
42628         * elf/tst-pathopt.sh: Likewise.
42629         * grp/tst_fgetgrent.sh: Likewise.
42630         * iconvdata/run-iconv-test.sh: Likewise.
42631         * intl/tst-gettext.sh: Likewise.
42632         * intl/tst-gettext2.sh: Likewise.
42633         * intl/tst-gettext4.sh: Likewise.
42634         * intl/tst-gettext6.sh: Likewise.
42635         * intl/tst-translit.sh: Likewise.
42636         * io/ftwtest-sh: Likewise.
42637         * libio/test-freopen.sh: Likewise.
42638         * malloc/tst-mtrace.sh: Likewise.
42639         * posix/globtest.sh: Likewise.
42640         * posix/tst-getconf.sh: Likewise.
42641         * posix/wordexp-tst.sh: Likewise.
42642         * stdio-common/tst-printf.sh: Likewise.
42643         * stdio-common/tst-unbputc.sh: Likewise.
42644         * stdlib/tst-fmtmsg.sh: Likewise.
42645         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42646         * catgets/Makefile: Do not specify -e option when running
42647         testsuite shell scripts.
42648         * elf/Makefile: Likewise.
42649         * grp/Makefile: Likewise.
42650         * iconvdata/Makefile: Likewise.
42651         * intl/Makefile: Likewise.
42652         * io/Makefile: Likewise.
42653         * libio/Makefile: Likewise.
42654         * malloc/Makefile: Likewise.
42655         * posix/Makefile: Likewise.
42656         * stdio-common/Makefile: Likewise.
42657         * stdlib/Makefile: Likewise.
42658         * sysdeps/x86_64/Makefile: Likewise.
42660         * io/ftwtest-sh: Add copyright header.
42661         * posix/globtest.sh: Likewise.
42662         * posix/tst-getconf.sh: Likewise.
42663         * posix/wordexp-tst.sh: Likewise.
42664         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42666 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42668         [BZ #13679]
42669         * Makeconfig (+link): Defined as $(+link-static) if
42670         $(build-shared) isn't yes.
42671         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42672         isn't yes.
42673         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42675         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42677         [BZ #14562]
42678         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42679         new chunk size with MALLOC_ALIGN_MASK.
42681 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42683         [BZ #5044]
42684         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42685         <rounding-mode.h>.
42686         (__printf_fphex): Determine rounding using get_rounding_mode and
42687         round_away.
42688         * stdio-common/tst-printf-round.c (struct hex_test): New
42689         structure.
42690         (hex_tests): New variable.
42691         (test_hex_in_one_mode): New function.
42692         (do_test): Also run tests for hex float output.
42694 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42696         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42697         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42698         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42699         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42700         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42701         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42702         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42703         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42705 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42707         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42708         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42709         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42710         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42712 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42714         [BZ #14579]
42715         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42716         mode only.
42717         * elf/tst-rtld-load-self.sh: New test.
42718         * elf/Makefile: Run it.
42720 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42722         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42723         (tst-writev-ENV): Remove.
42724         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42726 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42728         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42730 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42732         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42733         unconditional.
42734         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42735         Likewise.
42736         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42737         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42738         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42739         Likewise.
42741 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42743         [BZ #14587]
42744         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42745         * config.make.in (have-cpp-asm-debuginfo): Removed.
42746         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42747         * configure: Regenerated.
42749 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42751         [BZ #5044]
42752         * stdio-common/printf_fp.c: Include <stdbool.h> and
42753         <rounding-mode.h>.
42754         (___printf_fp): Determine rounding using get_rounding_mode and
42755         round_away.
42756         * stdio-common/tst-printf-round.c: New file.
42757         * stdio-common/Makefile (tests): Add tst-printf-round.
42758         (link-libm): New variable.
42759         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42761 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42763         [BZ #14576]
42764         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42765         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42766         Likewise.
42767         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42768         Likewise.
42770 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42772         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42773         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42774         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42775         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42777 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42779         [BZ #14518]
42780         * include/rounding-mode.h: New file.
42781         * sysdeps/generic/get-rounding-mode.h: Likewise.
42782         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42783         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42784         (MAX_VALUE): New macro.
42785         (MIN_VALUE): Likewise.
42786         (overflow_value): New function.
42787         (underflow_value): Likewise.
42788         (round_and_return): Use overflow_value and underflow_value to
42789         determine return values in overflow and underflow cases.  Use
42790         round_away to determine rounding depending on rounding mode.
42791         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42792         determine return values in overflow and underflow cases.
42793         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42794         (struct test_results): New structure.
42795         (struct test): Use struct test_results to store expected results
42796         for all rounding modes.
42797         (TEST): Include expected results for all rounding modes.
42798         (test_in_one_mode): New function.
42799         (do_test): Use test_in_one_mode to compute and check results.
42800         Check results for all rounding modes.
42801         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42802         $(link-libm).
42804 2012-12-09  Allan McRae  <allan@archlinux.org>
42806         * sysdeps/i386/fpu/libm-test-ulps: Update
42808 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42810         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42811         (_G_int32_t): Likewise.
42812         (_G_uint16_t): Likewise.
42813         (_G_uint32_t): Likewise.
42814         (_G_HAVE_BOOL): Likewise.
42815         (_G_HAVE_ATEXIT): Likewise.
42816         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42817         (_G_HAVE_IO_FILE_OPEN): Likewise.
42818         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42819         (_G_int32_t): Likewise.
42820         (_G_uint16_t): Likewise.
42821         (_G_uint32_t): Likewise.
42822         (_G_HAVE_BOOL): Likewise.
42823         (_G_HAVE_ATEXIT): Likewise.
42824         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42825         (_G_HAVE_IO_FILE_OPEN): Likewise.
42826         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42827         (_G_int32_t): Likewise.
42828         (_G_uint16_t): Likewise.
42829         (_G_uint32_t): Likewise.
42830         (_G_HAVE_BOOL): Likewise.
42831         (_G_HAVE_ATEXIT): Likewise.
42832         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42833         (_G_HAVE_IO_FILE_OPEN): Likewise.
42835 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42837         * csu/libc-tls.c: Update copyright years.
42839 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42841         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42842         [!_G_USING_THUNKS]: Remove conditional code.
42843         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42844         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42846         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42847         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42848         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42849         (_G_VTABLE_LABEL_PREFIX): Likewise.
42850         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42851         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42852         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42853         (_G_VTABLE_LABEL_PREFIX): Likewise.
42854         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42855         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42857         (_G_VTABLE_LABEL_PREFIX): Likewise.
42858         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42860 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42862         * libio/Makefile: Include ../Makeconfig before tests.
42863         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42864         only if $(build-shared) is yes.
42866         * iconv/gconv_db.c: Update copyright years.
42868 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42870         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42871         unwind info if defined PIC. Fix special cases description.
42872         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42874         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42875         DP_HI_MASK entry.
42876         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42878 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42880         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42882         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42883         is NULL.
42885         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42886         (LDLIBS-tst-chk4): This.
42887         (LDFLAGS-tst-chk5): Renamed to ...
42888         (LDLIBS-tst-chk5): This.
42889         (LDFLAGS-tst-chk6): Renamed to ...
42890         (LDLIBS-tst-chk6): This.
42891         (LDFLAGS-tst-lfschk4): Renamed to ...
42892         (LDLIBS-tst-lfschk4): This.
42893         (LDFLAGS-tst-lfschk5): Renamed to ...
42894         (LDLIBS-tst-lfschk5): This.
42895         (LDFLAGS-tst-lfschk6): Renamed to ...
42896         (LDLIBS-tst-lfschk6): This.
42898         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42899         on $(common-objpfx)soversions.mk.
42901 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42903         [BZ #10014]
42904         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42905         example host name.
42907 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42909         * malloc/arena.c (arena_get_retry): New function that gets
42910         another arena for the caller to try its request on.
42911         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42912         current arena cannot fulfill the request.
42913         (__libc_memalign): Likewise.
42914         (__libc_memalign): Likewise.
42915         (__libc_pvalloc): Likewise.
42916         (__libc_calloc): Likewise.
42918 2012-09-05  John Tobey  <john.tobey@gmail.com>
42920         [BZ #13542]
42921         * manual/arith.texi (Operations on Complex): Fix description
42922         of carg branch cut.
42924 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42926         [BZ #10014]
42927         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42928         host name.
42930         [BZ #10038]
42931         * manual/memory.texi (Memory): Make order of menu items match
42932         order of sections.
42934 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42936         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42937         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42938         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42940 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42942         * csu/libc-tls.c (static_dtv): Renamed to ...
42943         (_dl_static_dtv): This.  Make it global.
42944         (_dl_initial_dtv): Removed.
42945         (__libc_setup_tls): Updated.
42946         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42947         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42948         DL_INITIAL_DTV.
42950 2012-09-06  Petr Machata  <pmachata@redhat.com>
42952         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42953         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42954         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42955         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42957 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42959         [BZ #14545]
42960         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42961         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42962         freeing dtv[-1].
42964 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42966         [BZ #14544]
42967         * Makeconfig (link-static-before-libc): Replace $(+prector)
42968         with $(+prectorT).
42969         (link-static-after-libc): Replace $(+postctor) with
42970         $(+postctorT).
42971         (link-bounded): Replace $(+prector)/$(+postctor) with
42972         $(+prectorT)/$(+postctorT).
42973         (+prectorT): New macro.
42974         (+postctorT): Likewise.
42976 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42978         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42979         (round_str): Handle values above the maximum for IBM long double
42980         as inexact.
42981         * stdlib/tst-strtod-round.c (tests): Regenerated.
42983 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42985         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42986         assembler flag.
42987         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42988         zarch_nohighgprs around the zarch optimized routines.
42989         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42990         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42992         for zarch.
42994 2012-09-05  David S. Miller  <davem@davemloft.net>
42996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42998         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42999         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43000         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43001         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43002         entries.
43004 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43006         * malloc/arena.c: Fold copyright years.
43007         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43009 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43011         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43015         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43019         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43020         change internal state upon failure.
43022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43024         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43025         * malloc/memusage.c (mmap): Likewise.
43026         (mmap64, mremap): Likewise.  Adjust name in comment.
43028 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43030         * libio/fileops.c: Fix typos in comments.
43031         * libio/oldfileops.c: Likewise.
43032         * libio/wfileops.c: Likewise.
43034 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43036         [BZ #1349]
43037         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43038         (tst-malloc-usable-ENV): Set environment for test case.
43039         * malloc/hooks.c (malloc_check_get_size): New function to get
43040         requested size.
43041         * malloc/malloc.c (musable): Use malloc_check_get_size.
43042         * malloc/tst-malloc-usable.c: New test case.
43044 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43046         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43048 2012-09-05  Allan McRae  <allan@archlinux.org>
43050         [BZ #13966]
43051         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43052         determine header location.
43053         * configure: Regenerated.
43055 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43057         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43058         float format.
43059         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43060         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43061         format.
43062         (test): Regenerate.
43064 2012-09-04  David S. Miller  <davem@davemloft.net>
43066         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43067         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43068         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43070 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43072         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43073         failures.
43075         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43077 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43079         [BZ #9914]
43080         * libio/iogetdelim.c: Include <limits.h>.
43081         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43082         + len + 1 would overflow.
43084 2012-09-03  Andreas Jaeger  <aj@suse.de>
43086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43087         * sysdeps/i386/fpu/libm-test-ulps: Update.
43089 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43091         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43092         Add s_sinf-sse2, s_conf-sse2.
43094         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43095         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43096         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43097         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43099         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43100         for using routine as __sinf_ia32.
43101         Use macro for function declaration and weak_alias.
43102         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43103         for using routine as __cosf_ia32.
43104         Use macro for function declaration and weak_alias.
43106         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43107         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43109         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43110         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43113         * math/libm-test.inc (cos_test): Add more test cases.
43114         (sin_test): Likewise.
43115         (sincos_test): Likewise.
43117 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43120         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43121         hidden.
43122         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43124 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43126         [BZ #14538]
43127         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43128         first element of the GOT.
43129         (elf_machine_load_address): Return the difference between
43130         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43132 2012-09-01  Allan McRae  <allan@archlinux.org>
43134         [BZ #13412]
43135         * configure.in (AWK): Require gawk version 3.0 or later.
43136         * configure: Regenerated.
43138 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43140         * sysdeps/unix/sysv/linux/kernel-features.h
43141         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43143         [__NR_clock_getres]: Make code unconditional.
43144         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43145         (clock_getcpuclockid): Remove code left unreachable by removal of
43146         conditionals.
43147         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43148         code unconditional.
43149         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43150         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43151         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43152         Make code unconditional.
43153         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43154         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43155         * sysdeps/unix/sysv/linux/clock_settime.c
43156         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43157         conditional code.
43158         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43159         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43161 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43163         [BZ #14476]
43164         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43165         scripts/test-installation.pl.
43167         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43168         and $ld_so_version if it is set.
43170 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43172         [BZ #14516]
43173         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43174         failure if reading from procfs failed.
43175         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43177 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43179         * sysdeps/unix/sysv/linux/kernel-features.h
43180         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43181         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43182         Remove conditional code.
43183         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43184         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43185         Remove conditional code.
43186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43187         * sysdeps/unix/sysv/linux/i386/fxstat.c
43188         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43190         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43191         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43193         * sysdeps/unix/sysv/linux/i386/lxstat.c
43194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43196         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43197         Remove conditional code.
43198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43199         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43200         Remove conditional code.
43201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43202         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43203         <kernel-features.h>.
43204         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43205         Remove.
43206         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43207         Remove conditional code.
43208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43209         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43210         Remove conditional.
43212 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43214         [BZ #5400]
43215         * NEWS: Add fixed bug number.
43217 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43219         [BZ #14519]
43220         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43221         underflowing exponent in case of negative sign.
43222         * stdlib/tst-strtod-round-data: Add more tests.
43223         * stdlib/tst-strtod-round.c (tests): Regenerated.
43225         [BZ #3479]
43226         * stdlib/strtod_l.c (NDIG): Remove.
43227         (HEXNDIG): Likewise.
43228         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43229         smallest representable value.
43230         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43231         lie within an exact representation of 1/2 ulp of the result.
43232         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43233         unconditionally.
43234         (TENS_P9_IDX): Define unconditionally.
43235         (TENS_P9_SIZE): Likewise.
43236         (TENS_P10_IDX): Likewise.
43237         (TENS_P10_SIZE): Likewise.
43238         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43239         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43240         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43241         entries for 10^2^13 and 10^2^14.
43242         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43243         (TENS_P13_IDX): Define.
43244         (TENS_P13_SIZE): Likewise.
43245         (TENS_P14_IDX): Likewise.
43246         (TENS_P14_SIZE): Likewise.
43247         (_fpioconst_pow10): Change array size to
43248         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43249         unconditional.
43250         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43251         1024]: Add entries for 10^2^13 and 10^2^14.
43252         [LAST_POW10 > _LAST_POW10]: Remove #error.
43253         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43254         (_fpioconst_pow10): Change array size to
43255         FPIOCONST_POW10_ARRAY_SIZE.
43256         * stdlib/gen-fpioconst.c: New file.
43257         * stdlib/gen-tst-strtod-round.c: Likewise.
43258         * stdlib/tst-strtod-round-data: Likewise.
43259         * stdlib/tst-strtod-round.c: Likewise.
43260         * stdlib/Makefile (tests): Add tst-strtod-round.
43262         [BZ #14459]
43263         * stdlib/strtod_l.c: Include <stdint.h>.
43264         (NDEBUG): Do not define.
43265         (round_and_return): Change EXPONENT parameter to type intmax_t.
43266         Rearrange calculations to avoid internal overflow possibilities.
43267         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43268         Rearrange calculations to avoid internal overflow possibilities.
43269         Assert that number fits inside MPNSIZE limbs.
43270         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43271         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43272         calculations and add assertions to avoid internal overflow
43273         possibilities.  Add casts to avoid signed/unsigned operations.
43274         * stdlib/tst-strtod-overflow.c: New file.
43275         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43277 2012-08-25  Marek Polacek  <polacek@redhat.com>
43279         * time/time.h: Fix some typos in comments.
43281 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43283         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43284         * posix/tst-rfc3484-2.c: Likewise.
43285         * posix/tst-rfc3484-3.c: Likewise.
43287 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43289         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43290         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43292 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43294         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43295         #include of fxstatat64.c.
43297 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43299         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43300         * shadow/getspent_r.c: Likewise.
43301         * shadow/getspnam.c: Likewise.
43302         * shadow/getspnam_r.c: Likewise.
43303         * gshadow/getsgent.c: Likewise.
43304         * gshadow/getsgent_r.c: Likewise.
43305         * gshadow/getsgnam.c: Likewise.
43306         * gshadow/getsgnam_r.c: Likewise.
43307         * inet/getnetbyad.c: Likewise.
43308         * inet/getnetbyad_r.c: Likewise.
43309         * inet/getnetbynm.c: Likewise.
43310         * inet/getnetbynm_r.c: Likewise.
43311         * inet/getnetent.c: Likewise.
43312         * inet/getnetent_r.c: Likewise.
43313         * inet/getproto.c: Likewise.
43314         * inet/getproto_r.c: Likewise.
43315         * inet/getprtent.c: Likewise.
43316         * inet/getprtent_r.c: Likewise.
43317         * inet/getprtname.c: Likewise.
43318         * inet/getprtname_r.c: Likewise.
43319         * inet/getrpcbyname.c: Likewise.
43320         * inet/getrpcbyname_r.c: Likewise.
43321         * inet/getrpcbynumber.c: Likewise.
43322         * inet/getrpcbynumber_r.c: Likewise.
43323         * inet/getrpcent.c: Likewise.
43324         * inet/getrpcent_r.c: Likewise.
43325         * inet/getaliasent.c: Likewise.
43326         * inet/getaliasent_r.c: Likewise.
43327         * inet/getaliasname.c: Likewise.
43328         * inet/getaliasname_r.c: Likewise.
43329         * nscd/getgrgid_r.c: Likewise.
43330         * nscd/getgrnam_r.c: Likewise.
43331         * nscd/gethstbyad_r.c: Likewise.
43332         * nscd/gethstbynm3_r.c: Likewise.
43333         * nscd/getpwnam_r.c: Likewise.
43334         * nscd/getpwuid_r.c: Likewise.
43335         * nscd/getsrvbynm_r.c: Likewise.
43336         * nscd/getsrvbypt_r.c: Likewise.
43337         * nscd/gai.c: Likewise.
43339         * configure.in (build_nscd): New substituted variable, set
43340         by --disable-build-nscd and defaults to $use_nscd.
43341         * configure: Regenerated.
43342         * config.make.in (build-nscd): New substituted variable.
43343         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43344         Change conditional to require [$(build-nscd) = yes] as well.
43345         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43347         [BZ# 13696]
43348         * configure.in (use_nscd): New substituted variable, set by
43349         --disable-nscd.  If enabled, define USE_NSCD.
43350         * configure: Regenerated.
43351         * config.h.in: Add USE_NSCD.
43352         * config.make.in (use-nscd): New substituted variable.
43353         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43354         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43355         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43356         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43357         (CFLAGS-getgrnam_r.c): Likewise.
43358         (CFLAGS-initgroups.c): Likewise.
43359         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43360         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43361         Variables removed.
43362         * inet/getnetgrent_r.c
43363         (nscd_setnetgrent): New function, broken out of ...
43364         (setnetgrent): ... here.  Call it.
43365         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43366         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43367         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43368         * nscd/Makefile (routines, aux): Move definitions after include of
43369         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43370         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43371         Conditionalize on [USE_NSCD].
43372         (is_nscd, nscd_init_cb): Likewise.
43373         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43374         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43375         * nss/nss_db/db-init.c: Likewise.
43376         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43377         [USE_NSCD].
43378         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43379         (make_request): Use it.
43380         (cache_valid_p): New function.
43381         (__check_pf): Use it.
43382         * NEWS: Add item for --disable-nscd.
43384 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43386         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43387         to support sed >= 4.2.1-20-ga9bf076.
43388         * configure: Regenerated.
43390 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43392         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43393         Conditionalize whole body on [IREL].
43395 2012-08-22  Jeff Law <law@redhat.com>
43397         [BZ #14505]
43398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43399         if the family is PF_UNSPEC.
43401 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43403         * Makerules (lib-version): Rename from V.
43404         (install-lib-nosubdir): Change V to lib-version.
43406 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43408         [BZ #14252]
43409         * powerpc32/power6/wcschr.c: New file.
43410         * powerpc32/power6/wcscpy.c: New file.
43411         * powerpc32/power6/wcsrchr.c: New file.
43412         * powerpc64/power6/wcschr.c: New file.
43413         * powerpc64/power6/wcscpy.c: New file.
43414         * powerpc64/power6/wcsrchr.c: New file.
43416 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43418         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43419         (two_way_short_needle): Use it.
43420         * string/strstr.c (AVAILABLE1_USES_J): Define.
43421         * string/strcasestr.c: Likewise.
43423         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43424         array references.
43425         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43427         [BZ #11607]
43428         * NEWS: Add an entry.
43429         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43430         define their defaults.
43431         (two_way_short_needle): Detect end-of-string on-the-fly.
43432         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43433         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43434         * string/bug-strcasestr1.c: New test.
43435         * string/Makefile: Run it.
43437 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43439         [BZ #11607]
43440         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43441         the first character.
43443 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43445         * csu/elf-init.c (__libc_csu_irel): Function removed.
43446         * csu/libc-start.c (apply_irel): New function.
43447         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43449 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43451         * sysdeps/unix/sysv/linux/kernel-features.h
43452         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43453         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43454         <kernel-features.h>.
43455         [__NR_fadvise64_64]: Make code unconditional.
43456         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43457         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43458         !__NR_fadvise64_64)]: Likewise.
43459         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43460         !__NR_fadvise64_64))]: Likewise.
43461         [__NR_fadvise64]: Make code unconditional.
43462         [!__NR_fadvise64]: Remove conditional code.
43463         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43464         <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.
43469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43470         not include <kernel-features.h>.
43471         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43472         unconditional.
43473         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43474         conditional code.
43475         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43476         include <kernel-features.h>.
43477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43478         unconditional.
43479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43480         conditional code.
43482 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43485         slight instruction rearrangements per scrollpipe analysis.
43486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43488 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43490         * manual/syslog.texi (syslog; vsyslog, closelog):
43491         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43492         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43494         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43495         DSOCAPS to match condition on defining it.
43497 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43499         * sysdeps/unix/sysv/linux/kernel-features.h
43500         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43502         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43503         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43505         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43506         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43511         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43512         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43514         * sysdeps/unix/sysv/linux/kernel-features.h
43515         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43516         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43517         unconditional.
43518         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43519         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43520         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43521         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43522         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43523         Make code unconditional.
43524         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43525         (__mmap64) [!__NR_mmap2]: Likewise.
43526         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43527         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43528         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43530         [__NR_mmap2]: Make code unconditional.
43531         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43532         (__mmap64) [!__NR_mmap2]: Likewise.
43534 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43536         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43538 2012-08-18  Andreas Jaeger  <aj@suse.de>
43540         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43542 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43544         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43545         * include/unistd.h (__have_sock_cloexec): Likewise.
43546         (__have_pipe2): Likewise.
43547         (__have_dup3): Likewise.
43549 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43551         [BZ #9685]
43552         * include/unistd.h (__have_pipe2): Change define into an extern int.
43553         (__have_dup3): Likewise.
43554         * socket/have_sock_cloexec.c: Include fcntl.h.
43555         (__have_pipe2): New variable.
43556         (__have_dup3): Likewise.
43558 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43560         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43562 2012-08-17  Marek Polacek  <polacek@redhat.com>
43564         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43565         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43567 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43569         * configure.in: Add AC_SUBST for sysheaders.
43570         * configure: Regenerated.
43571         * config.make.in (sysheaders): New substituted variable.
43573         * sysdeps/unix/mkfifo.c: Moved ...
43574         * sysdeps/posix/mkfifo.c: ... here.
43575         * sysdeps/unix/mkfifoat.c: Moved ...
43576         * sysdeps/posix/mkfifoat.c: ... here.
43578         * sysdeps/unix/utime.c: Moved ...
43579         * sysdeps/posix/utime.c: ... here.
43581         * sysdeps/unix/time.c: Moved ...
43582         * sysdeps/posix/time.c: ... here.
43583         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43584         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43586         * sysdeps/unix/nice.c: Moved ...
43587         * sysdeps/posix/nice.c: ... here.
43589         * sysdeps/unix/alarm.c: Moved ...
43590         * sysdeps/posix/alarm.c: ... here.
43592         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43594 2012-08-17  Jeff Law <law@redhat.com>
43596         * intl/Makefile (codeset_mo): New variable.
43597         ($(codeset_mo)): New target.
43598         (tst-codeset.out): Depend on that.  Remove explicit rule.
43599         (tst-gettext3.out, tst-gettext5.out): Likewise.
43600         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43601         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43602         * intl/tst-codeset.sh: Remove.
43603         * intl/tst-gettext3.sh: Likewise.
43604         * intl/tst-gettext5.sh: Likewise.
43606 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43608         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43609         * sysdeps/unix/syscalls.list: ... here.
43611         * sysdeps/posix/getaddrinfo.c
43612         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43613         (gaiconf_init, gaiconf_reload): Use them.
43614         [!_STATBUF_ST_NSEC]
43615         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43616         Define using time_t rather than struct timespec.
43618         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43619         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43620         Macros removed.
43621         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43622         [!NO_THREADS].
43623         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43624         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43625         Likewise.
43627         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43628         __libc_cleanup_push argument.
43630         * bits/param.h: New file.
43631         * misc/sys/param.h: New file.
43632         * include/sys/param.h: New file.
43633         * misc/Makefile (headers): Add bits/param.h.
43634         * sysdeps/generic/sys/param.h: File removed.
43635         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43636         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43637         * sysdeps/mach/hurd/bits/param.h: New file.
43638         * sysdeps/mach/hurd/sys/param.h: File removed.
43640         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43641         last change.
43643         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43644         [_IO_MTSAFE_IO].
43645         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43646         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43647         New macros.
43649         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43650         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43651         rather than -D_IO_MTSAFE_IO conditionally.
43652         * stdio-common/Makefile (CPPFLAGS): Likewise.
43653         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43654         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43655         Use $(libio-mtsafe).
43656         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43657         of -D_IO_MTSAFE_IO.
43658         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43659         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43660         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43661         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43662         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43663         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43664         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43665         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43666         (CFLAGS-fread_u_chk.c): Likewise.
43667         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43668         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43669         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43670         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43671         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43672         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43673         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43674         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43675         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43677         * libio/Makefile: Test [$(libc-reentrant) = yes]
43678         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43680         * Makeconfig
43681         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43682         * sysdeps/pthread/configure: File removed.
43683         * sysdeps/pthread/Makeconfig: New file.
43684         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43685         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43687 2012-08-16  Gary Benson  <gbenson@redhat.com>
43689         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43690         unmapping the first object in a namespace.
43692 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43694         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43695         (__internal_setnetgrent): ... this.  Add internal_function to
43696         definition.  Add libc_hidden_def.
43697         (setnetgrent): Update caller.
43698         (internal_endnetgrent): Renamed to ...
43699         (__internal_endnetgrent): ... this.  Add internal_function to
43700         definition.  Add libc_hidden_def.
43701         (endnetgrent): Update caller.
43702         (internal_getnetgrent_r): Renamed to ...
43703         (__internal_getnetgrent_r): ... this.  Add internal_function to
43704         definition.  Add libc_hidden_def.
43705         (__getnetgrent_r): Update caller.
43706         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43708 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43710         * stdlib/longlong.h: Update from GCC.
43712 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43714         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43715         on _QL, which is set by umul_ppmm but never used.
43716         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43717         variables, which are set by GMP macros but never used.
43718         * stdio-common/_itowa.c (_itowa): Likewise.
43719         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43720         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43722 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43724         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43725         struct La_sh_regs is not constant.
43726         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43727         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43728         and struct La_sparc64_regs are not constant.
43730 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43732         * sysdeps/unix/sysv/linux/kernel-features.h
43733         (__ASSUME_POSIX_TIMERS): Remove.
43734         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43735         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43736         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43737         Make code unconditional.
43738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43739         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43740         Make code unconditional.
43741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43742         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43743         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43745         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43746         Make code unconditional.
43747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43748         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43749         (__libc_missing_posix_timers): Remove.
43751 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43753         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43754         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43756         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43758         * elf/dl-sym.c: Include <stdlib.h>.
43760         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43761         constants, which avoids warnings in 32-bit builds.
43763         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43764         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43766         * misc/lseek.c: File moved to ...
43767         * io/lseek.c: ... here.
43769         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43771         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43772         shifting LEN more than 31 bits at once.
43774 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43776         [BZ #14195]
43777         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43778         segmentation fault for a case of two empty input strings.
43779         * string/test-strncasecmp.c (check1): Renamed to...
43780         (bz12205): ...this.
43781         (bz14195): Add new testcase for two empty input strings and N > 0.
43782         (test_main): Call new testcase, adapt for renamed function.
43784 2012-08-15  Andreas Jaeger  <aj@suse.de>
43786         [BZ #14090]
43787         * crypt/md5test2.c: New test, based on test supplied by Serge
43788         Belyshev <belyshev@depni.sinp.msu.ru>.
43789         * crypt/Makefile (xtests): Add md5test-giant..
43790         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43792 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43794         [BZ #14090]
43795         * crypt/md5.c (md5_process_block): Don't assume the buffer
43796         length is less than 2**32.
43797         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43798         length is less than 2**64.
43800 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43802         * string/str-two-way.h: Include <sys/param.h>.
43803         (MAX): Macro removed.
43805         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43806         Move #define and #undef of memmove to just before and after
43807         including <string.h>.
43809         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43810         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43811         and after including <string.h>.  Move declarations of
43812         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43813         to before #include "string/memmove.c".
43815         * include/dirent.h: Declare __getdirentries.
43817         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43818         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43820 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43822         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43823         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43824         * sysdeps/i386/configure: Regenerated.
43825         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43826         STABS_CURRENT_FILE, and STABS_FUN.
43827         (END): Remove call to STABS_FUN_END.
43828         (STABS_CURRENT_FILE1): Delete.
43829         (STABS_CURRENT_FILE): Likewise.
43830         (STABS_FUN): Likewise.
43831         (STABS_FUN_END): Likewise.
43832         (STABS_FUN2): Likewise.
43833         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43834         * sysdeps/x86_64/configure: Regenerated.
43836 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43838         * elf/dl-open.c: Include <atomic.h>.
43839         * elf/dl-lookup.c: Likewise.
43841 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43843         * sysdeps/unix/sysv/linux/kernel-features.h
43844         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43845         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43846         unconditionally.
43847         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43848         unconditionally.
43849         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43850         condition on __ASSUME_CLONE_THREAD_FLAGS.
43852 2012-08-14  Andreas Jaeger  <aj@suse.de>
43854         * sysdeps/i386/fpu/libm-test-ulps: Update.
43856 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43858         * include/atomic.h (atomic_exchange_and_add): Split into ...
43859         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43860         New atomic macros.
43862 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43866 2012-08-13  Jeff Law <law@redhat.com>
43868         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43869         null byte in the output string.
43871 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43873         * sysdeps/unix/sysv/linux/kernel-features.h
43874         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43875         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43876         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43877         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43878         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43879         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43880         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43882 2012-08-09  Jeff Law <law@redhat.com>
43884         [BZ #13939]
43885         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43886         When avoid_arena is set, don't retry in the that arena.  Pick the
43887         next one, whatever it might be.
43888         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43889         (arena_lock): Pass in new parameter to arena_get2.
43890         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43891         arena_get2.
43892         (__libc_malloc): Unify retrying after main arena failure with
43893         __libc_memalign version.
43894         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43896 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43898         [BZ #14166]
43899         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43900         to __redirect_strstr.
43901         (__strstr_sse42): Use typeof __redirect_strstr.
43902         (__strstr_ia32): Likewise.
43903         (__libc_strstr): New prototype.
43904         (strstr): Renamed to ...
43905         (__libc_strstr): This.
43906         (strstr): New strong alias of __libc_strstr.
43907         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43908         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43909         __redirect_time.
43910         Include <time.h>.
43911         (__libc_time): New prototype.
43912         (time_ifunc): Replace time with __libc_time.
43913         (time): New strong alias and hidden definition of __libc_time.
43914         (__GI_time): Remove strong alias.
43915         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43916         Include <stddef.h>.
43917         (memmove): Redefined to __redirect_memmove.
43918         (__memmove_sse2): Use typeof __redirect_memmove.
43919         (__memmove_ssse3): Likewise.
43920         (__memmove_ssse3_back): Likewise.
43921         (__libc_memmove): New prototype.
43922         (memmove): Renamed to ...
43923         (__libc_memmove): This.
43924         (memmove): New strong alias of __libc_memmove.
43926 2012-08-08  Mark Salter  <msalter@redhat.com>
43928         * elf/elf.h
43929         (R_MN10300_TLS_GD): Define.
43930         (R_MN10300_TLS_LD): Likewise.
43931         (R_MN10300_TLS_LDO): Likewise.
43932         (R_MN10300_TLS_GOTIE): Likewise.
43933         (R_MN10300_TLS_IE): Likewise.
43934         (R_MN10300_TLS_LE): Likewise.
43935         (R_MN10300_TLS_DTPMOD): Likewise.
43936         (R_MN10300_TLS_DTPOFF): Likewise.
43937         (R_MN10300_TLS_TPOFF): Likewise.
43938         (R_MN10300_SYM_DIFF): Likewise.
43939         (R_MN10300_ALIGN): Likewise.
43940         (R_MN10300_NUM): Update.
43942 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43945         Remove.
43947 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43949         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43951         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43952         sysdeps/unix -> sysdeps/posix move.
43953         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43955 2012-08-07      Allan McRae     <allan@archlinux.org>
43957         [BZ #14303]
43958         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43959         (SUNOS_CPP): Likewise.
43960         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43961         not found.
43962         (open_input): Call CPP using execvp.
43964 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43966         * sysdeps/unix/sysv/linux/kernel-features.h
43967         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43968         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43969         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43970         (__ASSUME_WAITID_SYSCALL): Likewise.
43971         * sysdeps/unix/sysv/linux/dl-execstack.c
43972         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43973         code unconditional.
43974         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43975         conditional code.
43976         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43977         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43978         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43979         code.
43980         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43981         unconditional.
43982         [__ASSUME_WAITID_SYSCALL]: Likewise.
43983         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43985 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43987         * sysdeps/unix/closedir.c: Renamed to ...
43988         * sysdeps/posix/closedir.c: ... here.
43989         * sysdeps/unix/dirfd.c: Renamed to ...
43990         * sysdeps/posix/dirfd.c: ... here.
43991         * sysdeps/unix/dirstream.h: Renamed to ...
43992         * sysdeps/posix/dirstream.h: ... here.
43993         * sysdeps/unix/fdopendir.c: Renamed to ...
43994         * sysdeps/posix/fdopendir.c: ... here.
43995         * sysdeps/unix/opendir.c: Renamed to ...
43996         * sysdeps/posix/opendir.c: ... here.
43997         * sysdeps/unix/readdir.c: Renamed to ...
43998         * sysdeps/posix/readdir.c: ... here.
43999         * sysdeps/unix/readdir_r.c: Renamed to ...
44000         * sysdeps/posix/readdir_r.c: ... here.
44001         * sysdeps/unix/rewinddir.c: Renamed to ...
44002         * sysdeps/posix/rewinddir.c: ... here.
44003         * sysdeps/unix/seekdir.c: Renamed to ...
44004         * sysdeps/posix/seekdir.c: ... here.
44005         * sysdeps/unix/telldir.c: Renamed to ...
44006         * sysdeps/posix/telldir.c: ... here.
44007         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44008         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44009         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44010         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44012         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44013         * bits/fcntl.h: ... here.
44015         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44016         not 0.
44017         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44018         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44019         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44020         (struct flock): Move l_start, l_len to the beginning.
44021         Use __pid_t for l_pid.
44022         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44023         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44024         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44025         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44026         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44027         [__USE_LARGEFILE64] (struct flock64): New type.
44028         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44030         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44031         * bits/dirent.h: ... here.
44033         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44034         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44036 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44039         Change from 2.6.0 to 2.6.16.
44040         * sysdeps/unix/sysv/linux/configure: Regenerated.
44041         * sysdeps/unix/sysv/linux/kernel-features.h
44042         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44043         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44044         version.
44045         (__ASSUME_UTIMES): Likewise.
44046         (__ASSUME_CLONE_STOPPED): Remove.
44047         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44048         architectures, not kernel version.
44049         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44050         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44051         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44052         (__ASSUME_WAITID_SYSCALL): Likewise.
44053         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44054         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44055         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44056         refer to older versions.
44058 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44060         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44061         Define alphasort64 as an alias.
44062         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44063         Define versionsort64 as an alias.
44064         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44065         Define scandir64 as an alias.
44066         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44067         Define scandirat64 as an alias.
44068         * dirent/alphasort64.c (alphasort64):
44069         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44070         * dirent/versionsort64.c: Likewise.
44071         * dirent/scandir64.c: Likewise.
44072         * dirent/scandirat64.c: Likewise.
44073         * sysdeps/wordsize-64/alphasort.c: File removed.
44074         * sysdeps/wordsize-64/alphasort64.c: File removed.
44075         * sysdeps/wordsize-64/scandir.c: File removed.
44076         * sysdeps/wordsize-64/scandir64.c: File removed.
44077         * sysdeps/wordsize-64/scandirat.c: File removed.
44078         * sysdeps/wordsize-64/scandirat64.c: File removed.
44079         * sysdeps/wordsize-64/versionsort.c: File removed.
44080         * sysdeps/wordsize-64/versionsort64.c: File removed.
44081         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44082         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44084         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44086         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44087         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44088         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44090         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44091         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44092         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44093         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44094         [defined __arch64__ || defined __sparcv9]
44095         (__INO_T_MATCHES_INO64_T): New macro.
44096         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44097         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44098         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44099         * sysdeps/unix/sysv/linux/bits/dirent.h
44100         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44101         (_DIRENT_MATCHES_DIRENT64): New macro.
44103         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44104         Define lockf64 as an alias.
44105         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44106         Define fseeko64 as an alias.
44107         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44108         Define ftello64 as an alias.
44109         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44110         Define _IO_fgetpos64 and fgetpos64 as aliases.
44111         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44112         Define _IO_fsetpos64 and fsetpos64 as aliases.
44113         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44114         Conditionalize body on this.
44115         * libio/fseeko64.c: Likewise.
44116         * libio/ftello64.c: Likewise.
44117         * libio/iofgetpos64.c: Likewise.
44118         * libio/iofsetpos64.c: Likewise.
44119         * sysdeps/wordsize-64/lockf.c: File removed.
44120         * sysdeps/wordsize-64/lockf64.c: File removed.
44121         * sysdeps/wordsize-64/fseeko.c: File removed.
44122         * sysdeps/wordsize-64/fseeko64.c: File removed.
44123         * sysdeps/wordsize-64/ftello.c: File removed.
44124         * sysdeps/wordsize-64/ftello64.c: File removed.
44125         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44126         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44127         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44128         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44129         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44130         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44131         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44132         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44133         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44134         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44136         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44137         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44138         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44140         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44141         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44142         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44144         [defined __arch64__ || defined __sparcv9]
44145         (__OFF_T_MATCHES_OFF64_T): New macro.
44146         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44147         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44149         (__OFF_T_MATCHES_OFF64_T): New macro.
44151 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44153         * stdlib/secure-getenv.c (__secure_getenv): Replace
44154         GLIBC_2_16 with GLIBC_2_17.
44156 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44158         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44159         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44161 2012-08-03  David S. Miller  <davem@davemloft.net>
44163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44165 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44167         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44168         Remove.
44169         (__ASSUME_CORRECT_SI_PID): Likewise.
44170         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44171         (__ASSUME_TMPFS_NAME): Likewise.
44172         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44173         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44174         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44175         (HAVE_AUX_SECURE): Make definition unconditional.
44176         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44177         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44179 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44181         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44182         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44183         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44184         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44185         __eloop_threshold instead of SYMLOOP_MAX.
44187         * sysdeps/generic/eloop-threshold.h: New file.
44188         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44189         of MAXSYMLINKS.
44190         * elf/chroot_canon.c (chroot_canon): Likewise.
44192 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44194         [BZ #13717]
44195         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44196         Change to 2.6.0 everywhere.
44197         * sysdeps/unix/sysv/linux/configure: Regenerated.
44198         * sysdeps/unix/sysv/linux/kernel-features.h
44199         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44200         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44201         kernel versions.
44202         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44203         (__ASSUME_FUTEX_REQUEUE): Remove.
44204         (__ASSUME_STATFS64): Define unconditionally.
44205         (__ASSUME_AT_SECURE): Likewise.
44206         (__ASSUME_CORRECT_SI_PID): Likewise.
44207         (__ASSUME_TGKILL): Define without depending on kernel version for
44208         i386.
44209         (__ASSUME_UTIMES): Likewise.
44210         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44211         kernel version.
44212         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44213         (__ASSUME_TMPFS_NAME): Likewise.
44214         * README: Update reference to Linux kernel versions.
44216 2012-08-02  Marek Polacek  <polacek@redhat.com>
44218         [BZ# 14150]
44219         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44220         libc_cv_asm_type_prefix with %.
44221         * configure: Regenerated.
44222         * include/libc-symbols.h: Remove comment about
44223         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44224         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44225         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44226         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44227         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44228         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44229         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44230         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44231         * elf/tst-unique2mod1.c: Likewise.
44232         * elf/tst-unique1mod2.c: Likewise.
44233         * elf/tst-unique1mod1.c: Likewise.
44234         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44235         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44236         Replace ASM_TYPE_DIRECTIVE with .type.
44237         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44238         * sysdeps/i386/sysdep.h: Likewise.
44239         * sysdeps/x86_64/sysdep.h: Likewise.
44240         * sysdeps/sh/sysdep.h: Likewise.
44241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44242         Do not define ASM_TYPE_DIRECTIVE.
44243         * sysdeps/powerpc/sysdep.h: Likewise.
44244         * sysdeps/powerpc/powerpc32/sysdep.h:
44245         Replace ASM_TYPE_DIRECTIVE with .type.
44246         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44247         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44248         * sysdeps/i386/fpu/e_powf.S: Likewise.
44249         * sysdeps/i386/fpu/e_expl.S: Likewise.
44250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44252         * sysdeps/i386/fpu/e_pow.S: Likewise.
44253         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44254         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44255         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44256         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44257         * sysdeps/i386/fpu/e_log2.S: Likewise.
44258         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44259         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44260         * sysdeps/i386/fpu/e_powl.S: Likewise.
44261         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44262         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44263         * sysdeps/i386/fpu/e_logl.S: Likewise.
44264         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44265         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44266         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44267         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44268         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44269         * sysdeps/i386/fpu/e_log.S: Likewise.
44270         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44271         * sysdeps/i386/fpu/e_logf.S: Likewise.
44272         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44273         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44274         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44275         * sysdeps/i386/fpu/e_log10.S: Likewise.
44276         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44277         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44278         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44279         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44280         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44281         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44282         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44283         * sysdeps/i386/i686/strtok.S: Likewise.
44284         * sysdeps/i386/i386-mcount.S: Likewise.
44285         * sysdeps/i386/strtok.S: Likewise.
44286         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44287         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44288         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44289         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44290         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44291         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44292         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44293         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44294         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44295         * sysdeps/x86_64/_mcount.S: Likewise.
44296         * sysdeps/x86_64/strtok.S: Likewise.
44297         * sysdeps/sh/_mcount.S: Likewise.
44299 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44301         * libio/iofopen.c: Include <fcntl.h>.
44302         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44303         (_IO_fopen64, fopen64): Define as aliases.
44304         * libio/iofopen64.c: Include <fcntl.h>.
44305         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44306         Conditionalize body on this.
44307         * sysdeps/wordsize-64/iofopen.c: File removed.
44308         * sysdeps/wordsize-64/iofopen64.c: File removed.
44310 2012-08-01  Marek Polacek  <polacek@redhat.com>
44312         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44313         Use dlfcn directly instead of a variable.
44314         (binfmt-subdir): Do not define.
44315         (dlfcn): Likewise.
44317 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44319         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44320         Remove all definitions.
44321         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44322         <kernel-features.h>.
44323         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44324         (miss_F_GETOWN_EX): Remove all definitions.
44325         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44326         macro definition.
44327         [!__ASSUME_FCNTL64]: Remove conditional code.
44328         [__ASSUME_FCNTL64]: Make code unconditional.
44329         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44330         <kernel-features.h>.
44331         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44332         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44333         (lockf64) [__NR_fcntl64]: Make code unconditional.
44334         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44336         * sysdeps/unix/sysv/linux/kernel-features.h
44337         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44338         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44339         Make code unconditional.
44340         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44341         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44343         [__NR_vfork]: Make code unconditional.
44344         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44345         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44347         [__NR_vfork]: Make code unconditional.
44348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44351 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44353         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44354         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44356         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44357         Define mkstemp64 as an alias.
44358         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44359         Define mkstemps64 as an alias.
44360         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44361         Define mkostemp64 as an alias.
44362         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44363         Define mkostemps64 as an alias.
44364         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44365         Conditionalize body on this.
44366         * misc/mkostemp64.c: Likewise.
44367         * misc/mkostemps64.c: Likewise.
44368         * misc/mkstemps64.c: Likewise.
44369         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44370         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44371         * sysdeps/wordsize-64/mkostemp.c: File removed.
44372         * sysdeps/wordsize-64/mkstemp.c: File removed.
44373         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44374         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44375         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44378         [BZ #14138]
44379         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44380         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44381         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44382         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44384         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44385         compat_symbol macros from <shlib-compat.h> rather than the underlying
44386         default_symbol_version and symbol_version macros, so that DEFAULT
44387         lines in shlib-versions are respected.
44388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44390 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44392         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44393         Declare with warn_unused_result.
44394         (setgid, setregid, setegid, setresgid): Likewise.
44395         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44396         Likewise.
44397         * WUR-REPORT: Remove set*id functions.
44399 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44401         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44403 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44405         [BZ #10191]
44406         * include/sys/socket.h (__libc_accept, __libc_accept4):
44407         Add attribute_hidden.
44408         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44410         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44411         use of PTR_MANGLE.
44412         * inet/getnetgrent_r.c (setup): Likewise.
44414         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44416 2012-07-31  David S. Miller  <davem@davemloft.net>
44418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44420 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44422         [BZ #13629]
44423         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44424         value between 1.0 and 2.0 and smaller part has absolute value less
44425         than 1.0.
44426         * math/s_clog10.c (__clog10): Likewise.
44427         * math/s_clog10f.c (__clog10f): Likewise.
44428         * math/s_clog10l.c (__clog10l): Likewise.
44429         * math/s_clogf.c (__clogf): Likewise.
44430         * math/s_clogl.c (__clogl): Likewise.
44431         * math/libm-test.inc (clog_test): Add more tests.
44432         (clog10_test): Likewise.
44433         * sysdeps/i386/fpu/libm-test-ulps: Update.
44434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44436 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44438         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44439         Exit with zero in case no suitable GID is found, and write a
44440         message to standard error.
44442 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44444         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44445         rather than to 1.
44446         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44447         (MAXPATHLEN): Removed.
44448         (NOGROUP, NODEV): New macros.
44449         (setbit, clrbit, isset, isclr): New macros.
44450         (howmany, roundup, powerof2): New macros.
44451         (DEV_BSIZE): New macro.
44453         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44454         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44456         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44457         definition on [!__NO_LONG_DOUBLE_MATH].
44459         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44460         PTR_MANGLE and PTR_DEMANGLE.
44462         * socket/accept4.c (accept4): Rename to __libc_accept4.
44463         Define accept4 as a weak alias.
44465         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44466         on [_DIRENT_HAVE_D_TYPE].
44467         * io/ftw.c (ftw_dir): Likewise.
44469         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44471         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44473         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44474         Use the BSD numbers rather than the arbitrary ones we had.
44475         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44476         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44477         (SIGXCPU, SIGXFSZ): New macros.
44478         (_NSIG): Now 32.
44480         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44481         initializer on [_LIBC_REENTRANT].
44483         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44484         definitions inside [_POSIX_MAPPED_FILES].
44486         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44488         * dirent/opendir.c: Include <fcntl.h>.
44490         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44491         (__libc_getspecific): Likewise.
44492         (__libc_key_create): Likewise.
44494         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44495         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44496         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44497         (tmpfile64): Define as alias.
44498         * sysdeps/wordsize-64/tmpfile.c: File removed.
44499         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44500         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44501         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44503         * stdio-common/vfscanf.c: Include <stdbool.h>.
44504         * nss/makedb.c: Likewise.
44505         * stdio-common/_i18n_number.h: Likewise.
44506         * argp/argp-help.c: Likewise.
44507         * posix/wordexp.c: Likewise.
44508         * sysdeps/posix/spawni.c: Likewise.
44509         * nss/nss_files/files-initgroups.c: Likewise.
44510         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44511         * nss/nss_files/files-initgroups.c: Likewise.
44512         * nss/nss_db/db-netgrp.c: Likewise.
44513         * nss/nss_db/db-initgroups.c: Likewise.
44514         * io/fchmodat.c: Include <sys/stat.h>.
44516         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44517         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44519         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44520         [HAVE_MMAP].
44522         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44523         Add multiple inclusion protection.
44525 2012-07-27  David S. Miller  <davem@davemloft.net>
44527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44529 2012-07-27  Gary Benson  <gbenson@redhat.com>
44531         [BZ #14298]
44532         * elf/rtld.c: Include <stap-probe.h>.
44533         (dl_main): Added static probes "init_start" and "init_complete".
44534         * elf/dl-load.c: Include <stap-probe.h>.
44535         (lose): Take new parameter "nsid".
44536         Added static probe "map_failed".
44537         (_dl_map_object_from_fd): Pass namespace id to lose.
44538         Added static probe "map_start".
44539         (open_verify): Pass namespace id to lose.
44540         * elf/dl-open.c: Include <stap-probe.h>.
44541         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44542         and "reloc_complete".
44543         * elf/dl-close.c: Include <stap-probe.h>.
44544         (_dl_close_worker): Added static probes "unmap_start" and
44545         "unmap_complete".
44546         * elf/rtld-debugger-interface.txt: New file documenting the above.
44548 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44550         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44551         rather than a string variable.
44552         * sunrpc/rpc_main.c (h_output): Likewise.
44553         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44555 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44557         * inet/check_native.c: New file.
44559 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44561         [BZ #13629]
44562         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44563         if larger part has absolute value 1.0.
44564         * math/s_clog10.c (__clog10): Likewise.
44565         * math/s_clog10f.c (__clog10f): Likewise.
44566         * math/s_clog10l.c (__clog10l): Likewise.
44567         * math/s_clogf.c (__clogf): Likewise.
44568         * math/s_clogl.c (__clogl): Likewise.
44569         * math/libm-test.inc (clog_test): Add more tests.
44570         (clog10_test): Likewise.
44571         * sysdeps/i386/fpu/libm-test-ulps: Update.
44572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44574         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44575         (pltexit): Likewise.
44576         (La_regs): Likewise.
44577         (La_retval): Likewise.
44578         (int_retval): Likewise.
44579         Update #error for removed macros to refer only to definitions in
44580         tst-audit.h.
44581         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
44600         macro.
44601         (pltexit): Likewise.
44602         (La_regs): Likewise.
44603         (La_retval): Likewise.
44604         (int_retval): Likewise.
44605         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44606         macro.
44607         (pltexit): Likewise.
44608         (La_regs): Likewise.
44609         (La_retval): Likewise.
44610         (int_retval): Likewise.
44611         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44612         macro.
44613         (pltexit): Likewise.
44614         (La_regs): Likewise.
44615         (La_retval): Likewise.
44616         (int_retval): Likewise.
44617         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44618         macro definitions in tst-audit.h.
44619         * sysdeps/i386/tst-audit.h: New file.
44620         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44621         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44622         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44623         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44624         * sysdeps/sh/tst-audit.h: Likewise.
44625         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44626         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44627         * sysdeps/x86_64/tst-audit.h: Likewise.
44629 2012-07-26  Andreas Jaeger  <aj@suse.de>
44631         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44632         ptrace.
44634         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44635         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44636         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44637         PTRACE_O_MASK.
44638         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44639         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44640         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44642         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44643         value.
44645         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44646         _sigsys.
44647         (si_call_addr, si_syscall, si_arch): Define new macro.
44648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44649         _sigsys.
44650         (si_call_addr, si_syscall, si_arch): Define new marcro.
44651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44652         _sigsys.
44653         (si_call_addr, si_syscall, si_arch): Define new macro.
44654         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44655         _sigsys.
44656         (si_call_addr, si_syscall, si_arch): Define new macro.
44658 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44660         [BZ #13717]
44661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44662         Change to 2.4.21 where previously 2.4.1.
44663         * sysdeps/unix/sysv/linux/configure: Regenerated.
44664         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44665         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44666         Linux kernel version.
44667         (__ASSUME_STD_AUXV): Remove.
44668         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44669         kernel version.
44670         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44671         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44672         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44673         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44674         (__ASSUME_NETLINK_SUPPORT): Likewise.
44675         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44676         (__no_netlink_support): Remove conditional definition.
44677         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44678         Remove.
44679         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44680         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44681         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44682         (if_nameindex_ioctl): Remove.
44683         (if_nameindex_netlink): Do not handle __no_netlink_support.
44684         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44685         code.
44686         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44687         Remove conditional code.
44688         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44689         code.
44690         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44691         unconditional.
44692         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44693         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44694         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44695         Remove.
44696         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44697         [!__ASSUME_STD_AUXV]: Remove conditional code.
44698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44699         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44700         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44702         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44703         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44704         code.
44705         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44707         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44708         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44709         conditional code.
44710         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44712         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44713         code.
44714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44715         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44716         conditional code.
44717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44718         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44719         code unconditional.
44720         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44721         conditional code.
44722         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44723         unconditional.
44724         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44725         conditional code.
44726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44727         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44728         unconditional.
44729         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44730         conditional code.
44731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44732         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44733         code unconditional.
44734         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44735         conditional code.
44736         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44737         unconditional.
44738         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44739         conditional code.
44740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44741         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44742         code unconditional.
44743         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44744         conditional code.
44745         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44746         unconditional.
44747         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44748         conditional code.
44750 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44752         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44753         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44754         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44755         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44756         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44757         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44758         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44759         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44760         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44761         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44762         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44763         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44764         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44765         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44766         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44767         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44768         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44769         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44770         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44771         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44772         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44773         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44774         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44776 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44778         * Versions.def: Add GLIBC_2.17.
44779         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44780         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44781         Introduce __libc_secure_getenv.
44782         * stdlib/Versions (2.17): Add secure_getenv
44783         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44784         * stdlib/secure-getenv.c: Rename __secure_getenv to
44785         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44786         symbol __secure_getenv for GLIBC_2.0.
44787         * stdlib/tst-secure-getenv.c: New.
44788         * stdlib/Makefile (tests): Add testcase.
44789         * manual/startup.texi (Environment Access): Document
44790         secure_getenv.
44791         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44792         __libc_secure_getenv.
44793         * inet/ruserpass.c (ruserpass): Likewise.
44794         * malloc/mtrace.c (mtrace): Likewise.
44795         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44796         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44797         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44798         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44799         HAVE_SECURE_GETENV.
44800         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44801         __secure_getenv to __libc_secure_getenv.
44802         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44804         Likewise.
44805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44806         Likewise.
44807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44815 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44817         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44818         (struct La_i86_retval): Likewise.
44819         (struct La_x86_64_regs): Likewise.
44820         (struct La_x86_64_retval): Likewise.
44821         (struct La_x32_regs): Likewise.
44822         (struct La_x32_retval): Likewise.
44823         (struct La_ppc32_regs): Likewise.
44824         (struct La_ppc32_retval): Likewise.
44825         (struct La_ppc64_regs): Likewise.
44826         (struct La_ppc64_retval): Likewise.
44827         (struct La_sh_regs): Likewise.
44828         (struct La_sh_retval): Likewise.
44829         (struct La_s390_32_regs): Likewise.
44830         (struct La_s390_32_retval): Likewise.
44831         (struct La_s390_64_regs): Likewise.
44832         (struct La_s390_64_retval): Likewise.
44833         (struct La_sparc32_regs): Likewise.
44834         (struct La_sparc32_retval): Likewise.
44835         (struct La_sparc64_regs): Likewise.
44836         (struct La_sparc64_retval): Likewise.
44837         (struct audit_ifaces): Remove architecture-specific pltenter and
44838         pltexit members.
44839         * sysdeps/i386/ldsodefs.h: New file.
44840         * sysdeps/powerpc/ldsodefs.h: Likewise.
44841         * sysdeps/s390/ldsodefs.h: Likewise.
44842         * sysdeps/sh/ldsodefs.h: Likewise.
44843         * sysdeps/sparc/ldsodefs.h: Likewise.
44844         * sysdeps/x86_64/ldsodefs.h: Likewise.
44846 2012-07-25  Marek Polacek  <polacek@redhat.com>
44848         [BZ #6808]
44849         * math/libm-test.inc (yn_test): Add another test.
44850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44851         to ERANGE when the result is +-Inf.
44852         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44853         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44854         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44855         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44857 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44859         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44860         equal to 0.
44861         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44862         clock_t.
44863         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44865 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44867         * configure.in <sysdeps resolving>: Correct printing
44868         Implies_before.
44869         * configure: Regenerate.
44871 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44873         * math/w_ilogb.c: Include <limits.h>.
44874         * math/w_ilogbl.c: Likewise.
44876 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44878         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44879         va_copy.  Document allowing for unavailable va_copy only as
44880         pre-C99 compatibility.
44881         * manual/string.texi (Copying and Concatenation): Use va_copy
44882         instead of __va_copy in concat example.
44884 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44886         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44887         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44888         it if not null.
44890         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44891         with O_NOLINK passed to __file_name_lookup.
44893         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44894         with O_NOLINK passed to __file_name_lookup.
44896         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44897         negative N or less than NGIDS.
44899         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44900         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44901         enough.  Use memcpy instead of strncpy.
44903 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44905         * elf/Makefile (check-data): Remove.
44906         (localplt.data): New vpath directive.
44907         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44908         instead of $(check-data).
44909         * scripts/data/localplt-generic.data: Move to ...
44910         * sysdeps/generic/localplt.data: ... here.
44911         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44912         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44913         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44915         ... here.
44916         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44918         ... here.
44919         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44921         ... here.
44922         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44924         ... here.
44925         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44927         ... here.
44928         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44930         ... here.
44932 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44934         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44935         PPC32 and PPC64 files.
44936         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44937         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44939 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44941         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44942         __makecontext_ret to ...
44943         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44944         ... here and call exit if uc_link is NULL.  New file.
44945         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44946         __makecontext_ret.S.
44947         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44948         __makecontext_ret to ...
44949         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44950         ... here and call exit if uc_link is NULL.  New file.
44951         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44952         __makecontext_ret.S.
44954 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44956         * elf/elf.h (R_390_IRELATIVE): New definition.
44957         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44958         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44959         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44961         (elf_machine_lazy_rel): Likewise.
44962         * sysdeps/s390/dl-irel.h: New file.
44963         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44964         * sysdeps/s390/s390-64/memset.S: New asm code.
44965         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44966         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44967         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44968         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44969         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44970         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44971         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44972         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44973         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44974         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44975         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44976         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44977         * sysdeps/s390/s390-32/memset.S: New asm code.
44978         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44980 2012-07-17  Marek Polacek  <polacek@redhat.com>
44982         [BZ #14349]
44983         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44984         * sysdeps/s390/s390-64/configure.in: Likewise.
44985         * sysdeps/sparc/configure.in: Likewise.
44986         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44987         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44988         * sysdeps/i386/configure.in: Likewise.
44989         * sysdeps/x86_64/configure.in: Likewise.
44990         * sysdeps/sh/configure.in: Likewise.
44991         * sysdeps/s390/s390-32/configure: Regenerated.
44992         * sysdeps/s390/s390-64/configure: Likewise.
44993         * sysdeps/x86_64/configure: Likewise.
44994         * sysdeps/sh/configure: Likewise.
44995         * sysdeps/powerpc/powerpc64/configure: Likewise.
44996         * sysdeps/powerpc/powerpc32/configure: Likewise.
44997         * sysdeps/sparc/configure: Likwise.
44998         * sysdeps/i386/configure: Likewise.
45000         * elf/dl-open.c: Comment fixes.
45002 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45004         * Makefile [CXX] (check-data): Remove.
45005         [CXX] (c++-types.data): New vpath directive.
45006         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45007         vpath.  Do not allow for C++ type data being missing.
45008         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45009         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45010         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45011         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45012         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45013         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45014         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45016         ... here.
45017         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45019         ... here.
45020         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45022         ... here.
45023         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45025         ... here.
45026         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45028         ... here.
45029         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45031         ... here.
45032         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45034         ... here.
45035         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45038         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45039         definitions to architecture-specific files.
45040         (TLS_IE): Likewise.
45041         (TLS_LD): Likewise.
45042         (TLS_GD): Likewise.
45043         * sysdeps/i386/tls-macros.h: New file.
45044         * sysdeps/powerpc/tls-macros.h: Likewise.
45045         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45046         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45047         * sysdeps/sh/tls-macros.h: Likewise.
45048         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45049         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45050         * sysdeps/x86_64/tls-macros.h: Likewise.
45052 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45054         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45055         zero value for regular exit case.
45057         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45058         (__start_context): Preserve zero value for regular exit case.
45060 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45061             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45063         * manual/setjmp.texi (setcontext): Clarify normal process
45064         termination when uc_link is the null pointer.
45065         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45066         exit call.
45068 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45070         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45071         preprocessor.  Test for each exception mask separately.
45073 2012-07-16  Andreas Jaeger  <aj@suse.de>
45075         * po/ru.po: Update from translation team.
45077 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45079         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45080         equal to 0.
45081         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45082         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45083         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45084         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45087 2012-07-13  Andreas Jaeger  <aj@suse.de>
45089         * po/fr.po: Update from translation team.
45091 2012-07-12  Marek Polacek  <polacek@redhat.com>
45093         [BZ #14173]
45094         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45095         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45096         loop condition.
45098 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45100         [BZ #13717]
45101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45102         Change to 2.4.1 where previously 2.4.0.
45103         * sysdeps/unix/sysv/linux/configure: Regenerated.
45104         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45105         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45106         version.
45107         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45108         (__ASSUME_AT_CLKTCK): Remove.
45109         (__ASSUME_AT_PAGESIZE): Likewise.
45110         (__ASSUME_AT_XID): Likewise.
45111         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45112         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45113         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45114         unconditionally.
45115         (HAVE_AUX_PAGESIZE): Likewise.
45116         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45117         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45118         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45120 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45122         [BZ #14307]
45123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45124         the temporary buffer used to invoke __gethostbyname2_r,
45125         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45126         host_data / struct gaih_addrtuple.
45127         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45128         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45129         header file nss/nsswitch.h.
45130         * nss/nsswitch.h (global scope): Add definition of implementation
45131         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45132         resolv/nss_dns/dns-host.c).
45134 2012-07-11  Andreas Jaeger  <aj@suse.de>
45136         * po/fr.po: Update from translation team.
45138         * po/sv.po: Update from translation team
45139         * po/fr.po: Another update from translation team.
45141 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45143         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45144         for subnormals or multiply small sinh result by itself.
45145         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45148 2012-07-11  David S. Miller  <davem@davemloft.net>
45150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45152 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45154         [BZ #14347]
45155         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45156         (INTERNAL_MARK): Shift it here.
45158 2012-07-10  Marek Polacek  <polacek@redhat.com>
45160         [BZ #14151]
45161         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45162         libc_cv_asm_global_directive with .globl.
45163         * configure: Regenerated.
45164         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45165         with .globl.
45166         * sysdeps/i386/configure: Regenerated.
45167         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45168         with .globl.
45169         * sysdeps/x86_64/configure: Regenerated.
45170         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45171         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45172         * elf/tst-unique2mod2.c: Likewise.
45173         * elf/tst-unique2mod1.c: Likewise.
45174         * elf/tst-unique1mod2.c: Likewise.
45175         * elf/tst-unique1mod1.c: Likewise.
45176         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45177         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45178         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45179         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45180         * sysdeps/mach/sysdep.h: Likewise.
45181         * sysdeps/i386/sysdep.h: Likewise.
45182         * sysdeps/i386/i386-mcount.S: Likewise.
45183         * sysdeps/x86_64/_mcount.S: Likewise.
45184         * sysdeps/x86_64/sysdep.h: Likewise.
45185         * sysdeps/sh/_mcount.S: Likewise.
45186         * sysdeps/sh/sysdep.h: Likewise.
45187         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45188         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45189         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45190         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45191         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45192         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45193         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45194         * locale/localeinfo.h: Likewise.
45195         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45196         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45198 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45200         [BZ #14336]
45201         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45202         system".
45203         * manual/message.texi (The Uniforum approach): Likewise.
45204         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45205         (glibc iconv Implementation): Likewise.
45207 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45209         [BZ #14337]
45210         * math/s_clog.c (__clog): Avoid scaling a value down where that
45211         could result in underflow.
45212         * math/s_clog10.c (__clog10): Likewise.
45213         * math/s_clog10f.c (__clog10f): Likewise.
45214         * math/s_clog10l.c (__clog10l): Likewise.
45215         * math/s_clogf.c (__clogf): Likewise.
45216         * math/s_clogl.c (__clogl): Likewise.
45217         * math/libm-test.inc (clog_test): Add more tests.
45218         (clog10_test): Likewise.
45219         * sysdeps/i386/fpu/libm-test-ulps: Update.
45220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45222 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45224         [BZ #14283]
45225         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45226         by 7 not 8 to examine high bit of fractional part.
45228         [BZ #14042]
45229         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45230         for call to __mcount_internal.
45231         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45232         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45233         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45235 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45237         [BZ #14154]
45238         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45239         approximation for values within 0x1p-13f of an odd multiple of
45240         pi/4.
45241         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45242         exception.  Add more tests.
45243         * sysdeps/i386/fpu/libm-test-ulps: Update.
45245         [BZ #6778]
45246         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45247         inputs and return -1 for them.  Do not check for +Inf in case not
45248         reachable for +Inf.
45249         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45250         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45251         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45252         and return -1 for them.  Do not check for +Inf in case not
45253         reachable for +Inf.
45254         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45255         define.
45256         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45257         and return -1 for them.  Do not check for +Inf in case not
45258         reachable for +Inf.
45259         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45260         spurious underflow.
45261         * sysdeps/i386/fpu/libm-test-ulps: Update.
45262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45264 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45266         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45268 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45270         [BZ #14157]
45271         [BZ #14331]
45272         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45273         could result in spurious underflow.  Scale down values above
45274         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45275         * math/s_csqrtf.c (__csqrtf): Likewise.
45276         * math/s_csqrtl.c (__csqrtl): Likewise.
45277         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45278         spurious underflow.
45279         * sysdeps/i386/fpu/libm-test-ulps: Update.
45280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45282 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45284         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45285         xopen-msg.sed.
45286         * catgets/xopen-msg.awk: New file.
45287         * catgets/xopen-msg.sed: Removed.
45289         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45290         po2text.sed.
45291         * intl/po2test.awk: New file.
45292         * intl/po2test.sed: Removed.
45294 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45296         [BZ #14328]
45297         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45298         or multiply small sinh result by itself.
45299         * math/s_ctanf.c (__ctanf): Likewise.
45300         * math/s_ctanh.c (__ctanh): Likewise.
45301         * math/s_ctanhf.c (__ctanhf): Likewise.
45302         * math/s_ctanhl.c (__ctanhl): Likewise.
45303         * math/s_ctanl.c (__ctanl): Likewise.
45304         * math/libm-test.inc (ctan_test_tonearest): New function.
45305         (ctan_test_towardzero): Likewise.
45306         (ctan_test_downward): Likewise.
45307         (ctan_test_upward): Likewise.
45308         (ctanh_test_tonearest): Likewise.
45309         (ctanh_test_towardzero): Likewise.
45310         (ctanh_test_downward): Likewise.
45311         (ctanh_test_upward): Likewise.
45312         (main): Call these new functions.
45313         * sysdeps/i386/fpu/libm-test-ulps: Update.
45314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45316 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45318         * .gitignore: Delete /ports entry.
45320 2012-07-03  Andreas Jaeger  <aj@suse.de>
45322         * po/bg.po: Update from translation team.
45323         * po/cs.po: Likewise.
45324         * po/de.po: Likewise.
45325         * po/hr.po: Likewise.
45326         * po/nl.pl: Likewise.
45327         * po/pl.po: Likewise.
45328         * po/vi.po: Likewise.
45330 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45332         * Makeconfig [!+link] (+link-before-libc): New variable.
45333         [!+link] (+link-after-libc): Likewise.
45334         [!+link] (+link-tests): Likewise.
45335         [!+link] (+link): Define in terms of $(+link-before-libc) and
45336         $(+link-after-libc).
45337         [!+link-static] (+link-static-before-libc): New variable.
45338         [!+link-static] (+link-static-after-libc): Likewise.
45339         [!+link-static] (+link-static-tests): Likewise.
45340         [!+link-static] (+link-static): Define in terms of
45341         $(+link-static-before-libc) and $(+link-static-after-libc).
45342         [build-shared] (link-libc-before-gnulib): New variable.
45343         [build-shared] (link-libc-tests): Likewise.
45344         [build-shared] (link-libc): Define in terms of
45345         $(link-libc-before-gnulib).
45346         [!build-shared] (link-libc-tests): New variable.
45347         (link-libc-static-tests): New variable.
45348         [!gnulib] (gnulib-arch): New variable.
45349         [!gnulib] (gnulib-tests): Likewise.
45350         [!gnulib] (static-gnulib-arch): Likewise.
45351         [!gnulib] (static-gnulib-tests): Likewise.
45352         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45353         Define with "=" instead of ":=".
45354         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45355         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45356         * Rules (binaries-all-notests): New variable.
45357         (binaries-all-tests): Likewise.
45358         (binaries-static-notests): Likewise.
45359         (binaries-static-tests): Likewise.
45360         (binaries-all): Define using $(binaries-all-notests) and
45361         $(binaries-all-tests).
45362         (binaries-static): Define using $(binaries-static-notests) and
45363         $(binaries-static-tests).
45364         (binaries-shared-tests): New variable.
45365         (binaries-shared-notests): Likewise.
45366         (binaries-shared): Remove variable.
45367         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45368         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45369         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45370         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45371         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45372         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45373         * elf/Makefile (sln-modules): New variable.
45374         (extra-objs): Add $(sln-modules:=.o).
45375         (ldconfig-modules): Add static-stubs.
45376         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45377         * elf/static-stubs.c: New file.
45379         [BZ #14283]
45380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45381         by 7 not 8 to examine high bit of fractional part.  Use volatile
45382         variables when splitting into final array of floats if
45383         __FLT_EVAL_METHOD__ != 0.
45384         * math/libm-test.inc (cos_test): Add another test.
45385         (sin_test): Likewise.
45386         * sysdeps/i386/fpu/libm-test-ulps: Update.
45388         [BZ #14273]
45389         * math/libm-test.inc (cosh_test): Add more tests.
45391         * version.h (RELEASE): Set to "development".
45392         (VERSION): Set to "2.16.90".
45394 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45396         * NEWS: Update copyright. Remove last-updated date.
45397         Mention math library bug fixes and timezone data changes.
45398         * README: Mention GNU/Hurd, x32, and HPPA support status.
45400 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45402         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45404 2012-06-27  Andreas Jaeger  <aj@suse.de>
45406         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45408 2012-06-25  Andreas Jaeger  <aj@suse.de>
45410         * sysdeps/s390/fpu/libm-test-ulps: Update.
45412 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45413             Thomas Schwinge  <thomas@codesourcery.com>
45415         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45416         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45418         fanotify_mark.
45420 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45422         * sysdeps/mach/start.c: Remove file.
45423         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45424         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45425         * sysdeps/sh/init-first.c: Likewise.
45427         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45428         registers for frame unwinding purposes, add CFI directives.
45429         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45430         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45431         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45432         Likewise.
45434         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45435         __fortify_fail returning.
45436         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45438         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45439         sysdeps/sh/____longjmp_chk.S.
45440         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45441         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45442         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45443         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45445         * sysdeps/sh/abort-instr.h: New file.
45446         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45447         process in case exit returns.
45449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45450         initialize the GOT register before use.
45452         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45453         calculation of ARGC > 4.
45455         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45456         meaningful names to some local labels.
45458 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45459             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45461         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45462         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45463         (__arch_compare_and_exchange_val_16_acq): Likewise.
45464         (__arch_compare_and_exchange_val_32_acq): Likewise.
45465         (atomic_exchange_and_add): Fix gUSA sequence.
45466         (atomic_add): Likewise.
45467         (atomic_add_negative): Likewise.
45468         (atomic_add_zero): Likewise.
45469         (atomic_bit_test_set): Likewise.
45471 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45473         [BZ #13579]
45474         * include/link.h (struct link_map): Add l_free_initfini.
45475         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45476         l_initfini.
45477         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45478         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45479         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45480         set.
45482 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45484         * configure.in: Use AC_LANG_SOURCE.
45485         * configure: Regenerate.
45487 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45489         * configure.in (libc_cv_localstatedir): New substituted variable.
45490         * configure: Regenerated.
45491         * config.make.in (localstatedir): New variable, substituted from
45492         libc_cv_localstatedir.
45493         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45494         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45495         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45496         * sysdeps/gnu/configure: Regenerated.
45498 2012-06-21  Jeff Law  <law@redhat.com>
45500         [BZ #14277]
45501         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45502         free.  Simplify list management for _LIBC case.
45504 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45506         [BZ #14273]
45507         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45508         Clear sign bit of 64-bit integer value before comparing against
45509         overflow value.
45511         * sysdeps/mach/configure: Regenerated.
45513 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45515         [BZ #14278]
45516         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45518 2012-06-21  Jeff Law  <law@redhat.com>
45520         [BZ #13882]
45521         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45522         uint16_t for elements in the "seen" array to avoid char overflows.
45523         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45524         * elf/dl-open.c (dl_open_worker): Likewise.
45526 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45528         * scripts/list-sources.sh: Scan PORTS for translations.
45529         * po/libc.pot: Regenerated.
45531 2012-06-21  Andreas Jaeger  <aj@suse.de>
45533         [BZ #12194]
45534         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45535         warning.
45536         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45537         * bits/byteswap-16.h (__bswap_16): Likewise.
45538         * bits/byteswap.h (__bswap_constant_16): Likewise.
45540 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45542         [BZ #14117]
45543         * sysdeps/i386/fpu_control.h: Removed.
45544         * sysdeps/x86_64/fpu_control.h: Moved to ...
45545         * sysdeps/x86/fpu_control.h: Here.
45547         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45548         (_FPU_SETCW): Likewise.
45550 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45552         [BZ #14117]
45553         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45554         * sysdeps/x86/fpu/bits/mathinline.h: This.
45555         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45557         [BZ #14050]
45558         [BZ #14117]
45559         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45560         functions if __x86_64__ is defined.
45562 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45564         * string/endian.h: Add !__ASSEMBLER__ condition for including
45565         conversion interfaces.
45567 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45569         [BZ #14241]
45570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45571         of ABS(x) in calculating zero to negative powers other than odd
45572         integers.
45573         * math/libm-test.inc (pow_test): Add more tests.
45575 2012-06-15  Andreas Jaeger  <aj@suse.de>
45577         * manual/contrib.texi (Contributors): Update entry of Liubov
45578         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45579         Machado Filho.
45581 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45583         * string/string.h: Add __wur to GNU version of strerror_r.
45585 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45587         [BZ #14229]
45588         * string/Makefile (tests): Add tst-strtok_r.
45589         * string/tst-strtok_r.c: New file.
45590         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45591         RAX_LP/RDX_LP on SAVE_PTR.
45593 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45595         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45597 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45599         * libm_test.inc (csqrt_test): Allow more spurious underflow
45600         exceptions.
45601         (j0_test): Likewise.
45602         (j1_test): Likewise.
45603         (y0_test): Likewise.
45604         (y1_test): Likewise.
45606 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45608         * po/Makefile (libc.pot): Use UTF-8 charset.
45610 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45612         [BZ #14210]
45613         Suppress sign-conversion warning from FD_SET.
45614         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45615         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45616         not unsigned long int.
45617         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45619 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45621         [BZ #14050]
45622         [BZ #14117]
45623         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45624         __extern_always_inline instead of __extern_inline.
45625         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45626         (__signbit): Likewise.
45627         (__signbitl): Support C++ namespace.
45628         (lrintf): New inline function.
45629         (lrint): Likewise.
45630         (llrintf): Likewise.
45631         (llrint): Likewise.
45632         (fmaxf): Likewise.
45633         (fmax): Likewise.
45634         (fminf): Likewise.
45635         (fmin): Likewise.
45636         (rint): Likewise.
45637         (rintf): Likewise.
45638         (ceil): Likewise.
45639         (ceilf): Likewise.
45640         (floor): Likewise.
45641         (floorf): Likewise.
45642         (nearbyint): Likewise.
45643         (nearbyintf): Likewise.
45645 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45647         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45648         non-default versions.
45650 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45652         [BZ #14218]
45653         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45655 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45657         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45658         (FE_UPWARD, FE_DOWNWARD): Don't define.
45659         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45662         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45663         reading it.
45664         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45665         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45667 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45669         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45671         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45672         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45674 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45676         [BZ #14117]
45677         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45678         * sysdeps/i386/fpu/Implies: New file.
45679         * sysdeps/x86_64/fpu/Implies: Likewise.
45680         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45681         * sysdeps/x86/fpu/bits/fenv.h: This.
45683         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45684         __SSE_MATH__.
45686 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45688         [BZ #14134]
45689         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45690         character 0xffff that matches the last element of the
45691         conversion table.
45693 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45696         fmodl commit.
45698 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45701         values higher than 25.6283.
45703 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45706         subnormal exponent extraction and add some __builtin_expect.
45707         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45708         Fix for subnormal mantissa calculation.
45710 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45712         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45713         cpu2 is -1 and errno is not ENOSYS.
45715 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45717         [BZ #14117]
45718         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45719         * sysdeps/x86/bits/string.h: This.
45720         * sysdeps/x86_64/bits/string.h: Removed.
45722         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45723         if not compiling for x86-64, but compiling for >= i486.
45725         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45726         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45729         New macro from Linux kernel 3.4.0.
45730         (FP_XSTATE_MAGIC2): Likewise.
45731         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45732         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45733         (struct _fpx_sw_bytes): New struct.
45734         (struct _xsave_hdr): Likewise.
45735         (struct _ymmh_state): Likewise.
45736         (struct _xstate): Likewise.
45738         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45739         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45740         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45741         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45742         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45743         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45745         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45746         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45747         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45748         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45749         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45750         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45752 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45754         [BZ #13743]
45755         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45756         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45757         (sysdep_headers): Include sys/platform/ppc.h.
45758         * sysdeps/powerpc/test-gettimebase.c: Test for
45759         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45760         * manual/Makefile (appendices): Include platform.texi.
45761         * manual/contrib.texi (Contributors): Update @node pointers.
45762         * manual/maint.texi (Maintenance): Likewise.
45763         (Platform): New node.
45764         * manual/platform.texi: New file.  Document the new features.
45766 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45767             Jakub Jelinek  <jakub@redhat.com>
45769         [BZ #14188]
45770         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45771         where __builtin_expect is unavailable.
45773 2012-06-03  David S. Miller  <davem@davemloft.net>
45775         * stdlib/longlong.h: Updated from GCC.
45777 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45779         [BZ #14042]
45780         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45781         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45782         __mcount_internal.
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45784         (GLIBC_2.16): Likewise.
45786 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45788         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45790 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45793         (default-abi): New variable.
45794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45795         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45796         variable.
45797         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45798         Likewise.
45799         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45800         Likewise.
45801         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45802         Likewise.
45804         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45805         definition.  Document in comment.
45807 2012-06-01  David S. Miller  <davem@davemloft.net>
45809         * stdlib/longlong.h: Updated from GCC.
45811 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45813         [BZ #14117]
45814         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45815         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45816         sys/debugreg.h sys/io.h here.
45817         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45818         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45819         sys/io.h.
45820         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45821         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45822         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45823         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45824         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45825         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45827         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45828         Define only if __x86_64__ is defined.
45830 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45832         [BZ #14048]
45833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45834         Use int64_t for variable i.
45835         * math/libm-test.inc (fmod_test): Add more tests.
45837         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45838         z computation is not scheduled after fetestexcept.
45839         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45840         Use math_force_eval instead of asm to ensure calculation scheduled
45841         before exception test.
45842         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45843         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45845 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45848         computation is not scheduled after fetestexcept.
45850 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45852         [BZ #14117]
45853         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45854         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45856 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45858         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45859         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45861 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45863         [BZ #14117]
45864         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45865         <bits/wordsize.h>.
45866         (__WCHAR_MIN): Support __WORDSIZE == 64.
45867         (__WCHAR_MAX): Likewise.
45869         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45870         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45872         [BZ #14183]
45873         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45874         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45876         [BZ #14117]
45877         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45880         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45884         Defined to 1 if __x86_64__ isn't defined.
45885         (_STAT_VER_LINUX_OLD): New.
45886         (st_atime): Remove duplicate.
45887         (st_mtime): Likewise.
45888         (st_ctime): Likewise.
45890 2012-05-31  David S. Miller  <davem@davemloft.net>
45892         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45893         entries.
45895 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45897         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45898         gen-libm-test.pl.
45900         [BZ #14132]
45901         * elf/dl-reloc.c: Include <_itoa.h>.
45902         (_dl_reloc_bad_type): Remove use of INTUSE.
45903         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45904         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45905         * stdio-common/psiginfo.c (psiginfo): Likewise.
45906         * stdio-common/psignal.c (psignal): Likewise.
45907         * string/strsignal.c (strsignal): Likewise.
45908         * include/signal.h (_sys_siglist): Declare hidden proto.
45909         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45910         INTVARDEF with libc_hidden_data_def.
45911         * stdio-common/itoa-udigits.c: Likewise.
45912         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45913         (_itoa_lower_digits_internal): Remove declaration.
45914         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45915         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45916         (_sys_sigabbrev_internal): Remove aliases.
45917         (_sys_siglist): Define hidden alias.
45919 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45922         bits/sysctl.h.
45924 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45926         [BZ #14117]
45927         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45928         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45930         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45931         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45932         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45933         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45934         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45935         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45937         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45938         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45939         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45941         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45942         with __addr.
45943         (insw): Likewise.
45944         (insl): Likewise.
45945         (outsb): Likewise.
45946         (outsw): Likewise.
45947         (outsl): Likewise.
45949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45950         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45951         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45953         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45954         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45956         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45957         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45958         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45960         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45961         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45963         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45964         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45966         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45968         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45970         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45971         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45972         to ...
45973         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45975         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45976         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45977         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45979         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45980         for x86-64.
45981         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45983 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45985         * math/math.h (M_El): Use two more decimal places.
45986         (M_LOG2El): Likewise.
45987         (M_LOG10El): Likewise.
45988         (M_LN2l): Likewise.
45989         (M_LN10l): Likewise.
45990         (M_PIl): Likewise.
45991         (M_PI_2l): Likewise.
45992         (M_PI_4l): Likewise.
45993         (M_1_PIl): Likewise.
45994         (M_2_PIl): Likewise.
45995         (M_2_SQRTPIl): Likewise.
45996         (M_SQRT2l): Likewise.
45997         (M_SQRT1_2l): Likewise.
45999 2012-05-31  David S. Miller  <davem@davemloft.net>
46001         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46002         values between float registers.
46003         * sysdeps/sparc/sparc64/memset.S: Likewise.
46004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46006 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46008         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46009         -D_FORTIFY_SOURCE=1.
46010         (CPPFLAGS-tst-longjmp_chk.c): Define.
46011         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46012         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46013         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46014         CFLAGS-tst-wchar-h.c.
46016 2012-05-31  Marek Polacek  <polacek@redhat.com>
46018         [BZ #14132]
46019         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46020         __endmntent_internal): Remove declaration.
46021         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46022         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46023         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46025 2012-05-30  David S. Miller  <davem@davemloft.net>
46027         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46028         (___Q_simulate_exceptions): Use real FP ops rather than writing
46029         into the %fsr.
46030         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46031         Likewise.
46033 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46035         [BZ #14117]
46036         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46037         * sysdeps/x86/bits/xtitypes.h: This.
46039         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46040         * sysdeps/x86/bits/wordsize.h: This.
46042         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46043         * sysdeps/x86/bits/huge_vall.h: This.
46045         * sysdeps/i386/bits/select.h: Removed.
46046         * sysdeps/x86_64/bits/select.h: Renamed to ...
46047         * sysdeps/x86/bits/select.h: This.
46049         * sysdeps/i386/bits/setjmp.h: Removed.
46050         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46051         * sysdeps/x86/bits/setjmp.h: This.
46053         * sysdeps/i386/bits/mathdef.h: Removed.
46054         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46055         * sysdeps/x86/bits/mathdef.h: This.
46057 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46059         [BZ #14132]
46060         * include/sys/socket.h (__connect_internal)
46061         (__libc_sa_len_internal): Remove declaration.
46062         (__connect, __libc_sa_len): Declare hidden_proto.
46063         (SA_LEN): Remove use of INTUSE.
46064         * socket/connect.c: Add libc_hidden_def.
46065         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46066         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46067         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46068         alias.
46069         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46070         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46071         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46072         of adding _internal alias.
46074 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46076         [BZ #14117]
46077         * sysdeps/i386/bits/link.h: Removed.
46078         * sysdeps/i386/bits/linkmap.h: Likewise.
46079         * sysdeps/x86_64/bits/link.h: Renamed to ...
46080         * sysdeps/x86/bits/link.h: This.
46081         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46082         * sysdeps/x86/bits/linkmap.h: This.
46084         * sysdeps/i386/bits/endian.h: Removed.
46085         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46086         * sysdeps/x86/bits/endian.h: This.
46088         * sysdeps/i386/bits/byteswap.h: Removed.
46089         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46090         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46091         * sysdeps/x86/bits/byteswap.h: This.
46092         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46093         * sysdeps/x86/bits/byteswap-16.h: This.
46094         * sysdeps/i386/Implies: Add x86.
46095         * sysdeps/x86_64/Implies: Likewise.
46097 2012-05-30  David S. Miller  <davem@davemloft.net>
46099         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46100         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46101         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46102         (FP_TRAPPING_EXCEPTIONS): Define.
46103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46104         (FP_TRAPPING_EXCEPTIONS): Define.
46105         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46106         subnormals only when inexact has been signalled or underflow
46107         exceptions are enabled.
46108         (_FP_PACK_CANONICAL): Likewise.
46110 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46112         [BZ #14183]
46113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46114         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46116 2012-05-30  Richard Henderson  <rth@twiddle.net>
46118         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46119         with #ifndef NOT_IN_libc.
46121         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46122         marked to avoid plt entry.
46124 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46126         [BZ #14112]
46127         * Makeconfig (default-abi): New macro.
46128         (abi-includes): Likewise.
46129         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46130         $(abi-$(default-abi)-lib-soname) for soname if defined.
46131         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46132         abi-variants.
46133         * Makefile (installed-stubs): Likewise.
46134         * include/stubs-biarch.h: Removed.
46135         * scripts/lib-names.awk: Only handle one library at a time.
46136         * scripts/soversions.awk: Remove WORDSIZE support.
46137         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46138         entries.
46139         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46140         Removed.
46141         (syscall-list-default-condition): Likewise.
46142         (syscall-list-default-condition): Likewise.
46143         (syscall-list-includes): Likewise.
46144         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46145         syscall-list-* with abi-*.  Handle undefined abi-variants.
46146         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46147         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46148         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46149         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46150         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46151         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46152         Removed.
46153         (syscall-list-32-options): Likewise.
46154         (syscall-list-32-condition): Likewise.
46155         (syscall-list-64-options): Likewise.
46156         (syscall-list-64-condition): Likewise.
46157         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46158         macro.
46159         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46160         Renamed to ...
46161         (abi-*): This.
46162         (abi-64-ld-soname): New macro.
46163         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46164         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46165         Renamed to ...
46166         (abi-*): This.
46167         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46168         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46170 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46172         * sysdeps/unix/sysv/linux/kernel-features.h
46173         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46174         * sysdeps/unix/sysv/linux/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/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.
46186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46187         include <kernel-features.h>.
46188         [!__NR_ftruncate64]: Remove conditional code.
46189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46190         [__NR_ftruncate64]: Make code unconditional.
46191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46193         include <kernel-features.h>.
46194         [!__NR_ftruncate64]: Remove conditional code.
46195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46196         [__NR_ftruncate64]: Make code unconditional.
46197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46199         * configure.in (libc_cv_fpie): Weaken to a compile test using
46200         LIBC_TRY_CC_OPTION.
46201         * configure: Regenerated.
46203 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46209         Refreshed.
46210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46216         Refreshed.
46218 2012-05-27  David S. Miller  <davem@davemloft.net>
46220         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46221         (___Q_zero): New.
46222         (__Q_simulate_exceptions): Return void.  Change to simulate
46223         exceptions by writing into the %fsr.
46224         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46225         (__Qp_handle_exceptions): Likewise.
46226         (numbers): Delete.
46227         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46228         __Qp_handle_exceptions.
46229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46230         __Qp_handle_exceptions.
46231         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46232         as unused and give dummy FP_RND_NEAREST initializer.
46233         (FP_INHIBIT_RESULTS): Define.
46234         (___Q_simulate_exceptions): Update declaration.
46235         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46236         formatting.
46237         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46238         as unused and give dummy FP_RND_NEAREST initializer.
46239         (__Qp_handle_exceptions): Update declaration.
46240         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46241         formatting.
46243 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46245         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46246         the temporary FPU control word.
46247         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46248         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46250         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46252         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46253         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46254         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46255         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46256         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46257         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46259 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46261         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46262         fields.
46264 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46266         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46267         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46268         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46269         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46270         Likewise.
46271         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46272         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46273         Likewise.
46275 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46277         * po/h.po: Update from translation team.
46279 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46281         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46283         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46284         handling of denormals.
46285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46286         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46287         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46288         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46289         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46291         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46292         Likewise.
46294 2012-05-26  Marek Polacek  <polacek@redhat.com>
46296         [BZ #14152]
46297         * math/libm-test.inc (fma_test): Don't always expect underflow
46298         exception.
46300 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46302         [BZ #12416]
46303         * elf/tst-execstack.c: Include stackinfo.h.
46304         (do_test): Adjust test case to ensure that pthread_getattr_np
46305         behaviour remains the same after marking stack executable.
46307 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46309         * sysdeps/unix/sysv/linux/kernel-features.h
46310         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46311         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46312         kernel-features.h.
46313         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46314         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46315         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46316         kernel-features.h.
46317         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46318         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46320 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46322         * configure.in: Define the default includes to being none.
46323         * configure: Regenerated.
46325 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46327         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46328         * sysdeps/x86_64/setjmp.S: Likewise.
46329         * sysdeps/i386/bsd-setjmp.S: Likewise.
46330         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46331         * sysdeps/i386/setjmp.S: Likewise.
46332         * sysdeps/i386/__longjmp.S: Likewise.
46333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46334         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46336         * include/stap-probe.h: New file.
46337         * configure.in: Handle --enable-systemtap.
46338         * configure: Regenerated.
46339         * config.h.in (USE_STAP_PROBE): New #undef.
46340         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46341         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46342         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46344 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46346         [BZ #13717]
46347         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46348         to 2.4.0 where earlier.
46349         * sysdeps/unix/sysv/linux/configure: Regenerated.
46350         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46351         <kernel-features.h>.
46352         [__ASSUME_32BITUIDS]: Make code unconditional.
46353         [!__ASSUME_32BITUIDS]: Remove conditional code.
46354         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46355         <kernel-features.h>.
46356         [__ASSUME_32BITUIDS]: Make code unconditional.
46357         [!__ASSUME_32BITUIDS]: Remove conditional code.
46358         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46359         [__ASSUME_32BITUIDS]: Make code unconditional.
46360         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46361         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
46390         <kernel-features.h>.
46391         [__ASSUME_32BITUIDS]: Make code unconditional.
46392         [!__ASSUME_32BITUIDS]: Remove conditional code.
46393         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46394         <kernel-features.h>.
46395         [__ASSUME_32BITUIDS]: Make code unconditional.
46396         [!__ASSUME_32BITUIDS]: Remove conditional code.
46397         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46398         <kernel-features.h>.
46399         [__ASSUME_32BITUIDS]: Make code unconditional.
46400         [!__ASSUME_32BITUIDS]: Remove conditional code.
46401         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46402         <kernel-features.h>.
46403         [__NR_setresgid] (__setresgid): Do not declare.
46404         [__ASSUME_32BITUIDS]: Make code unconditional.
46405         [!__ASSUME_32BITUIDS]: Remove conditional code.
46406         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46407         <kernel-features.h>.
46408         [__NR_setresuid] (__setresuid): Do not declare.
46409         [__ASSUME_32BITUIDS]: Make code unconditional.
46410         [!__ASSUME_32BITUIDS]: Remove conditional code.
46411         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
46440         <kernel-features.h>.
46441         [__ASSUME_32BITUIDS]: Make code unconditional.
46442         [!__ASSUME_32BITUIDS]: Remove conditional code.
46443         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46444         <kernel-features.h>.
46445         [__ASSUME_32BITUIDS]: Make code unconditional.
46446         [!__ASSUME_32BITUIDS]: Remove conditional code.
46447         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46448         <kernel-features.h>.
46449         [__ASSUME_32BITUIDS]: Make code unconditional.
46450         [!__ASSUME_32BITUIDS]: Remove conditional code.
46451         * sysdeps/unix/sysv/linux/kernel-features.h
46452         (__ASSUME_SETRESUID_SYSCALL): Remove.
46453         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46454         (__ASSUME_32BITUIDS): Likewise.
46455         (__ASSUME_LDT_WORKS): Likewise.
46456         (__ASSUME_O_DIRECTORY): Likewise.
46457         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46458         architecture but not kernel version.
46459         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46460         (__ASSUME_MMAP2_SYSCALL): Likewise.
46461         (__ASSUME_STAT64_SYSCALL): Likewise.
46462         (__ASSUME_IPC64): Likewise.
46463         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46464         <kernel-features.h>.
46465         [__ASSUME_32BITUIDS]: Make code unconditional.
46466         [!__ASSUME_32BITUIDS]: Remove conditional code.
46467         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46468         <kernel-features.h>.
46469         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46470         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46471         132096]: Remove conditional code.
46472         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46473         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46474         <kernel-features.h>.
46475         [__ASSUME_32BITUIDS]: Make code unconditional.
46476         [!__ASSUME_32BITUIDS]: Remove conditional code.
46477         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46478         <kernel-features.h>.
46479         [__ASSUME_32BITUIDS]: Make code unconditional.
46480         [!__ASSUME_32BITUIDS]: Remove conditional code.
46481         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46482         <kernel-features.h>.
46483         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46484         unconditional.
46485         (__setresgid): Do not declare.
46486         [__ASSUME_32BITUIDS]: Make code unconditional.
46487         [!__ASSUME_32BITUIDS]: Remove conditional code.
46488         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46489         <kernel-features.h>.
46490         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46491         unconditional.
46492         (__setresuid): Do not declare.
46493         [__ASSUME_32BITUIDS]: Make code unconditional.
46494         [!__ASSUME_32BITUIDS]: Remove conditional code.
46495         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46496         <kernel-features.h>.
46497         [__ASSUME_32BITUIDS]: Make code unconditional.
46498         [!__ASSUME_32BITUIDS]: Remove conditional code.
46499         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46500         <kernel-features.h>.
46501         [__ASSUME_32BITUIDS]: Make code unconditional.
46502         [!__ASSUME_32BITUIDS]: Remove conditional code.
46504 2012-05-25  Richard Henderson  <rth@twiddle.net>
46506         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46507         dl_hwcap to ifunc resolver.
46508         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46509         elf_ifunc_invoke.
46510         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46511         dl_hwcap to ifunc resolver.
46512         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46516         [BZ #14153]
46517         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46518         for |x| <= 2**-26, not 2**-57.
46519         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46520         exception.
46522 2012-05-24  Jeff Law  <law@redhat.com>
46524         * stdio-common/Makefile (tests): Add bug25.
46525         * stdio-common/bug25.c: New test.
46527 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46529         [BZ #13576]
46530         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46531         multiple of MALLOC_ALIGNMENT in size.
46532         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46534 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46536         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46537         Require >= 256.
46538         (FILENAME_MAX): Use macro-int-constant.
46539         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46540         (_IOFBF): Use macro-int-constant.
46541         (_IOLBF): Likewise.
46542         (_IONBF): Likewise.
46543         (SEEK_CUR): Likewise.
46544         (SEEK_END): Likewise.
46545         (SEEK_SET): Likewise.
46546         (TMP_MAX): Likewise.
46547         (EOF): Use macro-int-constant.  Require < 0.
46548         (NULL): Use macro-constant.  Require == 0.
46549         (stdin): Require type to be FILE *.
46550         (stdout): Likewise.
46551         (stderr): Likewise.
46552         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46553         macro-int-constant.
46554         (EXIT_SUCCESS): Likewise.
46555         (NULL): Use macro-constant.  Require == 0.
46556         (RAND_MAX): Use macro-int-constant.
46557         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46558         [C99-based standards] (strtof): Require function.
46559         [C99-based standards] (strtold): Likewise.
46560         [C99-based standards] (strtoll): Likewise.
46561         [C99-based standards] (strtoull): Likewise.
46562         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46563         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46564         [ISO || ISO99 || ISO11] (math.h): Likewise.
46565         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46566         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46567         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46569 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46571         [BZ #14132]
46572         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46573         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46574         * intl/dgettext.c (DCGETTEXT): Likewise.
46575         * intl/gettext.c (DCGETTEXT): Likewise.
46576         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46577         * posix/regex_internal.h (gettext): Likewise.
46578         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46579         Remove declaration.
46580         * include/argz.h (__argz_count_internal)
46581         (__argz_stringify_internal): Remove declaration.
46582         (__argz_count, __argz_stringify): Declare hidden proto.
46583         * intl/dcgettext.c: Remove use of INTDEF.
46584         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46585         * string/argz-stringify.c: Likewise.
46586         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46587         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46588         Declare hidden proto.
46589         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46590         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46591         Declare hidden proto.
46592         * include/stdio.h (__asprintf_internal): Don't declare.
46593         (__asprintf): Don't define as macro.  Declare hidden proto.
46594         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46595         (__fsetlocking): Declare hidden proto.
46596         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46597         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46598         hidden proto.
46599         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46600         (_IO_setlinebuf): Remove use of INTUSE.
46601         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46602         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46603         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46604         Remove declaration.
46605         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46606         (_IO_do_flush): Remove use of INTUSE.
46607         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46608         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46609         (_IO_adjust_column, _IO_least_wmarker)
46610         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46611         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46612         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46613         (_IO_default_doallocate, _IO_wdefault_doallocate)
46614         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46615         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46616         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46617         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46618         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46619         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46620         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46621         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46622         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46623         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46624         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46625         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46626         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46627         proto.
46628         (_IO_flush_all_internal, _IO_adjust_column_internal)
46629         (_IO_default_uflow_internal, _IO_default_finish_internal)
46630         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46631         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46632         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46633         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46634         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46635         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46636         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46637         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46638         (_IO_file_close_internal, _IO_file_close_it_internal)
46639         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46640         (_IO_file_init_internal, _IO_file_attach_internal)
46641         (_IO_file_fopen_internal, _IO_file_read_internal)
46642         (_IO_file_sync_internal, _IO_file_seek_internal)
46643         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46644         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46645         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46646         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46647         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46648         (_IO_list_all_internal, _IO_link_in_internal)
46649         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46650         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46651         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46652         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46653         (_IO_do_write_internal, _IO_padn_internal)
46654         (_IO_getline_info_internal, _IO_getline_internal)
46655         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46656         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46657         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46658         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46659         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46660         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46661         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46662         with libc_hidden_ver, remove use of INTUSE.
46663         * libio/genops.c: Likewise.
46664         * libio/freopen.c: Likewise.
46665         * libio/freopen64.c: Likewise.
46666         * libio/iofclose.c: Likewise.
46667         * libio/iofdopen.c: Likewise.
46668         * libio/iofflush.c: Likewise.
46669         * libio/iofflush_u.c: Likewise.
46670         * libio/iofgets.c: Likewise.
46671         * libio/iofgets_u.c: Likewise.
46672         * libio/iofopen.c: Likewise.
46673         * libio/iofopncook.c: Likewise.
46674         * libio/iofread.c: Likewise.
46675         * libio/iofread_u.c: Likewise.
46676         * libio/ioftell.c: Likewise.
46677         * libio/iofwrite.c: Likewise.
46678         * libio/iogetline.c: Likewise.
46679         * libio/iogets.c: Likewise.
46680         * libio/iogetwline.c: Likewise.
46681         * libio/iopadn.c: Likewise.
46682         * libio/iopopen.c: Likewise.
46683         * libio/ioseekoff.c: Likewise.
46684         * libio/ioseekpos.c: Likewise.
46685         * libio/iosetbuffer.c: Likewise.
46686         * libio/iosetvbuf.c: Likewise.
46687         * libio/ioungetc.c: Likewise.
46688         * libio/ioungetwc.c: Likewise.
46689         * libio/iovdprintf.c: Likewise.
46690         * libio/iovsprintf.c: Likewise.
46691         * libio/iovsscanf.c: Likewise.
46692         * libio/memstream.c: Likewise.
46693         * libio/obprintf.c: Likewise.
46694         * libio/oldfileops.c: Likewise.
46695         * libio/oldiofclose.c: Likewise.
46696         * libio/oldiofdopen.c: Likewise.
46697         * libio/oldiofopen.c: Likewise.
46698         * libio/oldiopopen.c: Likewise.
46699         * libio/oldstdfiles.c: Likewise.
46700         * libio/putc.c: Likewise.
46701         * libio/setbuf.c: Likewise.
46702         * libio/setlinebuf.c: Likewise.
46703         * libio/stdfiles.c: Likewise.
46704         * libio/strops.c: Likewise.
46705         * libio/vasprintf.c: Likewise.
46706         * libio/vscanf.c: Likewise.
46707         * libio/vsnprintf.c: Likewise.
46708         * libio/vswprintf.c: Likewise.
46709         * libio/wfiledoalloc.c: Likewise.
46710         * libio/wfileops.c: Likewise.
46711         * libio/wgenops.c: Likewise.
46712         * libio/wmemstream.c: Likewise.
46713         * libio/wstrops.c: Likewise.
46714         * libio/__fpurge.c: Likewise.
46715         * libio/__fsetlocking.c: Likewise.
46716         * assert/assert.c: Likewise.
46717         * debug/fgets_chk.c: Likewise.
46718         * debug/fgets_u_chk.c: Likewise.
46719         * debug/fread_chk.c: Likewise.
46720         * debug/fread_u_chk.c: Likewise.
46721         * debug/gets_chk.c: Likewise.
46722         * debug/obprintf_chk.c: Likewise.
46723         * debug/vasprintf_chk.c: Likewise.
46724         * debug/vdprintf_chk.c: Likewise.
46725         * debug/vsnprintf_chk.c: Likewise.
46726         * debug/vsprintf_chk.c: Likewise.
46727         * malloc/mtrace.c: Likewise.
46728         * misc/error.c: Likewise.
46729         * misc/syslog.c: Likewise.
46730         * stdio-common/asprintf.c: Likewise.
46731         * stdio-common/fxprintf.c: Likewise.
46732         * stdio-common/getw.c: Likewise.
46733         * stdio-common/isoc99_fscanf.c: Likewise.
46734         * stdio-common/isoc99_scanf.c: Likewise.
46735         * stdio-common/isoc99_vfscanf.c: Likewise.
46736         * stdio-common/isoc99_vscanf.c: Likewise.
46737         * stdio-common/isoc99_vsscanf.c: Likewise.
46738         * stdio-common/printf-prs.c: Likewise.
46739         * stdio-common/printf_fp.c: Likewise.
46740         * stdio-common/printf_fphex.c: Likewise.
46741         * stdio-common/printf_size.c: Likewise.
46742         * stdio-common/putw.c: Likewise.
46743         * stdio-common/scanf.c: Likewise.
46744         * stdio-common/sprintf.c: Likewise.
46745         * stdio-common/tmpfile.c: Likewise.
46746         * stdio-common/vfprintf.c: Likewise.
46747         * stdio-common/vfscanf.c: Likewise.
46748         * stdlib/strfmon_l.c: Likewise.
46749         * sunrpc/openchild.c: Likewise.
46750         * sunrpc/xdr_stdio.c: Likewise.
46751         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46752         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46754 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46756         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46758         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46759         in the third column, to generate for the shared library an IFUNC
46760         that uses _dl_vdso_vsym.
46761         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46762         * Makeconfig (object-suffixes-noshared): New variable.
46764         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46765         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46766         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46767         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46769         [BZ #14132]
46770         * include/sys/time.h (__gettimeofday): Remove macro.
46771         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46772         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46773         Remove INTDEF.
46774         (__gettimeofday): Add libc_hidden_def.
46775         (gettimeofday): Add libc_hidden_weak.
46776         * sysdeps/mach/gettimeofday.c: Likewise.
46777         * sysdeps/posix/gettimeofday.c: Likewise.
46778         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46779         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46780         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46781         (__gettimeofday_internal): Remove strong_alias.
46782         (__gettimeofday): Add libc_hidden_def.
46783         (gettimeofday): Add libc_hidden_weak.
46784         * sysdeps/unix/syscalls.list (gettimeofday):
46785         Remove __gettimeofday_internal alias.
46787 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46788             H.J. Lu  <hongjiu.lu@intel.com>
46790         [BZ #12495]
46791         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46792         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46793         (largebin_index_32_big): New.
46794         (largebin_index): Use it for 16-byte alignment.
46795         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46796         correction with front_misalign.
46798 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46802         Likewise.
46803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46804         Likewise.
46805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46806         Likewise.
46807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46808         Likewise.
46809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46810         Likewise.
46811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46812         Likewise.
46813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46814         Likewise.
46815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46816         Likewise.
46817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46818         Likewise.
46819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46820         Likewise.
46821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46822         Likewise.
46823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46824         Likewise.
46826         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46827         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46829 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46831         [BZ #10846]
46832         [BZ #14036]
46833         * math/libm-test.inc (exp_test): Add test from bug 14036.
46834         (pow_test): Add test from bug 10846.
46836         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46837         and other flags.
46838         (special_function): Do not include flags in test name.
46839         (parse_args): Likewise.
46840         * sysdeps/i386/fpu/libm-test-ulps: Update.
46841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46842         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46843         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46846         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46847         exceptions.
46848         * math/libm-test.inc ("Philosophy"): Update comment about
46849         exception testing.
46850         (UNDERFLOW_EXCEPTION): New macro.
46851         (UNDERFLOW_EXCEPTION_OK): Likewise.
46852         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46853         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46854         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46855         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46856         (INVALID_EXCEPTION_OK): Update value.
46857         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46858         (OVERFLOW_EXCEPTION_OK): Likewise.
46859         (IGNORE_ZERO_INF_SIGN): Likewise.
46860         (test_exceptions): Handle underflow exceptions.
46861         (acos_test): Update for underflow exception expectations.
46862         (cexp_test): Likewise.
46863         (clog_test): Likewise.
46864         (clog10_test): Likewise.
46865         (csqrt_test): Likewise.
46866         (ctan_test): Likewise.
46867         (ctanh_test): Likewise.
46868         (exp_test): Likewise.
46869         (exp10_test): Likewise.
46870         (exp2_test): Likewise.
46871         (expm1_test): Likewise.
46872         (fma_test): Likewise.
46873         (j0_test): Likewise.
46874         (jn_test): Likewise.
46875         (nexttoward_test): Likewise.
46876         (pow_test): Likewise.
46877         (scalbn_test): Likewise.
46878         (scalbln_test): Likewise.
46879         (tan_test): Likewise.
46880         (y1_test): Likewise.
46881         * sysdeps/i386/fpu/libm-test-ulps: Update.
46882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46884 2012-05-23  David S. Miller  <davem@davemloft.net>
46886         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46887         (__libc_sigaction): Remove unused local variables.
46889 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46891         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46893 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46895         mktime: avoid signed integer overflow
46896         * time/mktime.c (__mktime_internal): Do not mishandle the case
46897         where diff == INT_MIN.
46899         mktime: simplify computation of average
46900         * time/mktime.c (ranged_convert): Use new time_t_avg function
46901         instead of rolling our own (probably-slower) code.
46903         mktime: do not assume signed right shift propagates sign bit
46904         * time/mktime.c (isdst_differ): New static function.
46905         (__mktime_internal): No need to normalize tm_isdst now.
46906         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46907         tm_isdst values.
46909         mktime: merge another wrapv change from gnulib
46910         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46911         from some compilers.
46913         mktime: remove incorrect attempt at unusual arithmetics
46914         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46915         The code didn't really work on such machines anyway.
46916         (TYPE_MINIMUM): Assume two's complement.
46917         (twos_complement_arithmetic): Verify that long_int and time_t
46918         are two's complement (or unsigned, in the latter case).
46920         mktime: check signed shifts on long_int and time_t, too
46921         * time/mktime.c (SHR): Check that shifts work as desired
46922         on the types long_int and time_t too, as SHR is used on
46923         such types.
46925         mktime: do not assume 'long' is wide enough
46926         * time/mktime.c (verify): Move decl up.
46927         (long_int): New type.
46928         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46929         to remove assumption in the code that 'long' is wide enough to
46930         store year values.  This assumption is not true on x32 and on
46931         some non-glibc platforms.
46933         mktime: merge wrapv change from gnulib
46934         * time/mktime.c (WRAPV): New macro.
46935         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46936         (guess_time_tm, __mktime_internal): Do not assume that signed
46937         integer overflow wraps around; modern compilers generate code
46938         where this assumption is no longer valid.
46940 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46942         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46943         Replace "jmp L(pseudo_end)" with "ret".
46944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46945         Likewise.
46947 2012-05-23  Andreas Jaeger  <aj@suse.de>
46949         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46950         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46952 2012-05-23  Andreas Jaeger  <aj@suse.de>
46953             Maximilian Attems  <max@stro.at>
46955         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46956         New macros.
46958 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46960         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46961         code so that pseudo_end is just ret and the stack pointer is
46962         correct also for static library in error case.
46964 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46966         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46967         move to syscalls.list.
46968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46973         * manual/install.texi (Running make install): Do not mention Linux
46974         kernel version for which pt_chown is not needed.
46975         (Linux): Do not mention problems with nscd with 2.0 kernels.
46976         * INSTALL: Regenerated.
46978 2012-05-23  Andreas Jaeger  <aj@suse.de>
46980         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46981         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46982         macro.
46983         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46984         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46985         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46986         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46987         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46991         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46993         * sysdeps/unix/sysv/linux/bits/in.h
46994         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46996 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46998         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46999         (PREPARE_VERSION): Just use assert instead, it will be elided
47000         under [NDEBUG] anyway.
47002 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47004         * sysdeps/unix/sysv/linux/Makefile: Include
47005         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47006         (sysdep_routines): Remove sysctl.
47007         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47008         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47009         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47010         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47011         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47013 2012-05-22  Andreas Jaeger  <aj@suse.de>
47015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47016         that pseudo_end is just ret and the stack pointer is correct also
47017         for static library in error case.
47019 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47021         [BZ #14122]
47022         * nss/nsswitch.c (defconfig_entries): New variable.
47023         (__nss_database_lookup): Don't leak defconfig entries.
47024         (nss_parse_service_list): Don't leak on error paths.
47025         (free_database_entries): New function.
47026         (free_defconfig): New function.
47027         (free_mem): Move common code to free_database_entries.
47029 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47031         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47032         Add arch_prctl.
47033         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47035         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47036         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47038         New macro.
47039         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47040         (INTERNAL_SYSCALL_TYPES): Likewise.
47041         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47042         (LOAD_REGS_TYPES_[1-6]): Likewise.
47043         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47044         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47046 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47048         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47049         copysignl for GLIBC_2_0.
47050         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47051         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47053         logbl for GLIBC_2_0.
47054         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47055         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47059         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47060         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47062         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47063         Use "neg %eax".
47065         * time/mktime.c: Update copyright years.
47067 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47069         mktime: merge comment-quoting-style change from gnulib
47070         * time/mktime.c: Quote 'like this' in comments.
47071         The GNU coding standards suggest that we no longer quote `like this',
47072         as "`" and "'" are typically rendered asymmetrically nowadays.
47073         The typical gnulib style is to quote 'like this' when quoting
47074         code, and "like this" when quoting English.
47076         * time/mktime.c (compile-command): Add "-I.".
47078         mktime: merge mktime-internal.h change from gnulib
47079         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47081         mktime: merge time_r change from gnulib
47082         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47084         mktime: merge DEBUG change from gnulib
47085         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47086         case system <time.h> has a #define.
47088         mktime: merge <sys/types.h> change from gnulib
47089         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47090         since <time.t> is now guaranteed to define time_t.
47092         mktime: merge HAVE_CONFIG_H change from gnulib
47093         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47095 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47098         Use "neg %eax".
47100         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47101         __rlim_t cast.
47102         (struct rusage): Use anonymous union to pad each field to
47103         __syscall_slong_t.
47105 2012-05-21  David S. Miller  <davem@davemloft.net>
47107         * Makefules (o-iterator): Remove .s cases.
47108         (compile-command.s): Delete.
47109         (COMPILE.s): Delete.
47110         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47112 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47114         * configure.in (libc_cv_predef_stack_protector): Only consider
47115         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47116         * configure: Regenerated.
47118 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47121         New macro.  Use R*LP on int and pointer.
47122         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47123         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47124         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47125         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47127         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47128         [__WORDSIZE_TIME64_COMPAT32] instead of
47129         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47130         (struct utmp): Likewise.
47131         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47132         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47133         Renamed to ...
47134         (__WORDSIZE_TIME64_COMPAT32): This.
47135         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47136         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47137         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47138         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47139         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47140         (__WORDSIZE_TIME64_COMPAT32): New macro.
47142 2012-05-21  Andreas Jaeger  <aj@suse.de>
47144         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47145         only if [SHARED]. Add prototype for __wcschr_ia32.
47147 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47149         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47150         of %rbp unmolested in the jmp_buf while mangling the low bits.
47151         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47152         unmolested high bits of %rbp while demangling the low bits.
47153         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47155 2012-05-21  Andreas Jaeger  <aj@suse.de>
47157         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47158         * sunrpc/svc_simple.c: Use it for registerrpc.
47159         * sunrpc/xcrypt.c: Use it for passwd2des.
47161         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47163 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47165         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47166         Don't define if [__SYSCALL_WORDSIZE != 32].
47167         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47168         New macro.
47170 2012-05-21  Bruno Haible  <bruno@clisp.org>
47171             Andreas Jaeger  <aj@suse.de>
47173         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47174         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47175         inptr and inend for must_buffer_ch.
47176         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47177         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47178         * stdio-common/Makefile (tests): Remove bug15.
47179         (bug15-ENV): Remove macro.
47180         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47181         anymore.
47183 2012-05-19  Andreas Jaeger  <aj@suse.de>
47184             Roland McGrath  <roland@hack.frob.com>
47186         * manual/contrib.texi: Completely rewritten. It contains now an
47187         alphabetical list of contributors and their contributions.
47189 2012-05-21  Richard Henderson  <rth@twiddle.net>
47191         * misc/getauxval.c (__getauxval): Use unsigned long int.
47192         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47193         (getauxval): Use unsigned long int.
47195 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47197         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47199 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47201         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47202         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47203         __alignof__ (long double).
47205 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47209 2012-05-20  Richard Henderson  <rth@twiddle.net>
47211         * misc/getauxval.c: New file.
47212         * misc/sys/auxv.h: New file.
47213         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47214         (routines): Add getauxval.
47215         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47216         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47217         * elf/dl-sysdep.c (_dl_auxv): Remove.
47218         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47219         * elf/dl-support.c (_dl_auxv): New variable.
47220         (_dl_aux_init): Initialize it.
47221         * manual/startup.texi (Auxiliary Vector): New node.
47222         * sysdeps/generic/bits/hwcap.h: New file.
47223         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47224         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47225         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47226         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47227         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47230         Update.
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47234         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47240 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47244 2012-05-19  David S. Miller  <davem@davemloft.net>
47246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47248 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47250         [BZ #14123]
47251         * math/s_ccosh.c: Include <float.h>
47252         (__ccosh): Avoid internal overflow calculating sinh and cosh
47253         values before multiplying by sin and cos values.
47254         * math/s_ccoshf.c: Likewise.
47255         * math/s_ccoshl.c: Likewise.
47256         * math/s_csin.c: Likewise.
47257         * math/s_csinf.c: Likewise.
47258         * math/s_csinl.c: Likewise.
47259         * math/s_csinh.c: Likewise.
47260         * math/s_csinhf.c: Likewise.
47261         * math/s_csinhl.c: Likewise.
47262         * math/libm-test.inc (ccos_test): Add more tests.
47263         (ccosh_test): Likewise.
47264         (csin_test): Likewise.
47265         (csinh_test): Likewise.
47266         * sysdeps/i386/fpu/libm-test-ulps: Update.
47267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47269 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47271         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47272         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47274         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47276 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47278         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47279         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47280         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47281         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47282         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47283         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47284         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47285         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47286         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47287         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47288         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47289         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47290         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47291         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47292         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47293         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47294         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47295         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47296         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47297         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47298         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47299         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47300         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47301         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47302         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47303         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47304         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47305         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47306         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47307         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47308         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47310 2012-05-18  Andreas Jaeger  <aj@suse.de>
47312         * csu/.gitignore: Delete.
47314 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47316         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47317         (timex): Use __syscall_slong_t.
47319 2012-05-18  Andreas Jaeger  <aj@suse.de>
47320             Carlos O'Donell  <carlos_odonell@mentor.com>
47322         * manual/install.texi (Configuring and compiling): Update
47323         description about files modified in the source directory.
47324         * INSTALL: Regenerated.
47326 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47328         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47329         value.  Use "or" to set return value to -1.
47330         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47331         negate return value.
47333 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47335         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47336         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47337         failure if the compiler has Graphite support disabled.
47338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47339         Likewise.
47340         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47341         (CFLAGS-memmove.c): Likewise.
47342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47343         Likewise.
47345 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47347         * sysdeps/x86_64/x32/_itoa.h: New file.
47349         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47350         getdents system call only if kernel and user dirents have the
47351         same d_ino and d_off.
47353         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47354         LLONG_MAX != LONG_MAX.
47355         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47356         (_fitoa_word): Likewise.
47358         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47359         years.
47360         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47361         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47362         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47364         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47365         include <bits/wordsize.h>.  Check __x86_64__ instead of
47366         __WORDSIZE.
47367         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47368         if __x86_64__ is defined.  Use anonymous union on fpstate.
47370         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47371         anonymous union.
47373 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47375         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47376         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47377         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47378         Refer to _rtld_local_ro instead of _rtld_global_ro.
47379         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47380         Likewise.
47381         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47382         Likewise.
47383         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47384         Likewise.
47385         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47386         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47387         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47389         * sysdeps/powerpc/powerpc32/dl-machine.c
47390         (__elf_machine_runtime_setup) [PROF]: Don't reference
47391         _dl_prof_resolve.
47393 2012-05-18  Andreas Jaeger  <aj@suse.de>
47395         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47396         function only available for GCCs before 3.4 since GCC 3.4
47397         introduced a builtin.
47398         (lrint): Likewise.
47399         (llrintf): Likewise.
47400         (llrint): Likewise.
47401         (fmaxf): Likewise.
47402         (fmax): Likewise.
47403         (fminf): Likewise.
47404         (fmin): Likewise.
47405         (rint): Likewise.
47406         (rintf): Likewise.
47407         (nearbyint): Likewise.
47408         (nearbyintf): Likewise.
47409         (ceil): Likewise.
47410         (ceilf): Likewise.
47411         (floor): Likewise.
47412         (floorf): Likewise.
47414 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47416         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47417         on both fields and cast pointer to __syscall_ulong_t.
47419         * bits/types.h (__fsword_t): New type.
47420         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47421         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47422         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47423         (__FSWORD_T_TYPE): Likewise.
47424         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47425         (__FSWORD_T_TYPE): Likewise.
47426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47427         (__FSWORD_T_TYPE): Likewise.
47428         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47429         (__FSWORD_T_TYPE): Likewise.
47430         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47431         __SWORD_TYPE with __fsword_t.
47432         (statfs64): Likewise.
47434 2012-05-17  David S. Miller  <davem@davemloft.net>
47436         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47438 2012-05-17  Andreas Jaeger  <aj@suse.de>
47440         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47441         warning.
47443 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47445         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47447 2012-05-17  Andreas Jaeger  <aj@suse.de>
47449         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47450         when it is used.
47452 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47454         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47456 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47458         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47459         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47461 2012-05-17  Andreas Jaeger  <aj@suse.de>
47462             Carlos O'Donell  <carlos_odonell@mentor.com>
47464         [BZ #14059]
47465         * sysdeps/x86_64/multiarch/init-arch.h
47466         (bit_YMM_Usable): Rename to...
47467         (bit_AVX_Usable): ... this.
47468         (bit_FMA4_Usable): New macro.
47469         (bit_XMM_state): New macro.
47470         (bit_YMM_state): New macro.
47471         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47472         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47473         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47474         (CPUID_OSXSAVE): New macro.
47475         (CPUID_AVX): New macro.
47476         (CPUID_FMA4): New macro.
47477         (index_YMM_Usable): Rename to...
47478         (index_AVX_Usable): ... this.
47479         (HAS_AVX): Use HAS_ARCH_FEATURE.
47480         (HAS_FMA4): Likewise.
47481         (HAS_YMM_USABLE): Remove.
47482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47483         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47484         are present.
47485         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47486         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47487         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47488         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47489         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47491 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47493         * math/libm-test.c: Support platforms without multiple rounding modes.
47494         * math/bug-nextafter.c: Support platforms without FP exceptions.
47495         * math/bug-nexttoward.c: Likewise.
47496         * math/test-fenv.c: Likewise.
47497         * math/test-misc.c: Likewise.
47498         * stdlib/bug-getcontext.c: Likewise.
47500 2012-05-17  Andreas Jaeger  <aj@suse.de>
47502         * manual/examples/search.c (critter_cmp): Change signature to
47503         avoid warnings.
47504         * manual/string.texi (Collation Functions): Likewise.
47506 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47508         * bits/types.h: Fold copyright years.
47509         * bits/typesizes.h: Likewise.
47510         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47511         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47512         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47514         * time/time.h: Likewise.
47516 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47518         [BZ #208]
47519         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47520         in instead of returning them.  Return void.
47521         (__libc_mallinfo): Accumulate over all arenas.
47522         (__malloc_stats): Adjust for change in int_mallinfo interface.
47524 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47526         [BZ #10375]
47527         * configure.in (NM): Add AC_CHECK_TOOL for it.
47528         (libc_extra_cflags): New substituted variable.
47529         Check for -fstack-protector being used implicitly.
47530         * configure: Regenerated.
47531         * config.make.in (config-extra-cflags): New variable,
47532         gets @libc_extra_cflags@.
47533         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47535         [BZ #10375]
47536         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47537         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47538         * configure: Regenerated.
47539         * config.make.in (CPPUNDEFS): New substituted variable.
47540         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47541         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47542         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47544 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47546         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47547         (mq_attr): Use __syscall_slong_t.
47549 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47551         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47552         Check __x86_64__ instead of __WORDSIZE.
47553         (_STAT_VER_LINUX): Likewise.
47554         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47555         __syscall_ulong_t and __syscall_slong_t.
47556         (stat64): Likewise.
47558 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47560         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47564         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47568         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47569         __syscall_ulong_t.
47571         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47572         include <bits/wordsize.h>.  Check __x86_64__ instead of
47573         __WORDSIZE.
47574         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47575         defined.
47576         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47578         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47579         include <bits/wordsize.h>.  Check __x86_64__ instead of
47580         __WORDSIZE.
47581         (user_regs_struct): Use "__extension__ unsigned long long"
47582         instead of "unsigned long" if __x86_64__ is defined.
47583         (user): Likewise.  Pad after pointer field if __ILP32__ is
47584         defined.
47586 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47588         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47589         versions 5 to 9.
47590         * configure: Regenerated.
47591         * manual/install.texi (texinfo): Increase version requirement to
47592         4.5 or later.
47593         * INSTALL: Regenerated.
47595         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47599         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47601         * sysdeps/x86_64/x32/ffs.c: New file.
47603         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47604         __syscall_ulong_t.
47605         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47606         defined.  Use __syscall_ulong_t.
47607         (shminfo): Use __syscall_ulong_t.
47608         (shm_info): Likewise.
47610         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47611         __syscall_ulong_t.
47613         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47614         <bits/wordsize.h>.
47615         (msgqnum_t): Use __syscall_ulong_t.
47616         (msglen_t): Likewise.
47617         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47618         __syscall_ulong_t.
47620         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47621         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47623         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47625         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47626         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47628         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47629         __syscall_slong_t.
47631         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47632         include <bits/wordsize.h>.  Check __x86_64__ instead of
47633         __WORDSIZE.
47635         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47636         "unsigned long long int" if __x86_64__ is defined.
47637         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47639         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47640         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47641         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47643         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47644         <stdint.h>.
47645         (GET_PC): Cast to uintptr_t first.
47646         (GET_FRAME): Likewise.
47647         (GET_STACK): Likewise.
47649         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47650         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47651         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47652         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47653         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47654         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47655         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47656         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47657         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47658         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47659         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47660         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47661         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47662         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47663         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47664         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47665         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47666         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47667         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47668         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47674         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47675         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47676         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47677         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47679 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47681         * Makerules (+depfiles): Also collect depfiles from .oS in
47682         $(extra-objs).
47683         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47684         .oS, $(libnldbl-routines)).
47686         * Makerules (native-compile-mkdep-flags): Define.
47687         * sunrpc/Makefile (extra-objs): Add $(addprefix
47688         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47689         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47690         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47691         calling $(make-target-directory).
47693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47695         * bits/types.h (__snseconds_t): Removed.
47696         * time/time.h (struct timespec): Replace __snseconds_t with
47697         __syscall_slong_t.
47698         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47699         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47700         Likewise.
47701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47702         (__SNSECONDS_T_TYPE): Likewise.
47703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47704         (__SNSECONDS_T_TYPE): Likewise.
47705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47706         (__SNSECONDS_T_TYPE): Likewise.
47708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47710         * sysdeps/mach/hurd/bits/typesizes.h
47711         (__SYSCALL_SLONG_TYPE): New macro.
47712         (__SYSCALL_ULONG_TYPE): Likewise.
47714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47716         * bits/types.h (__syscall_slong_t): New type.
47717         (__syscall_ulong_t): Likewise.
47719         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47720         (__SYSCALL_ULONG_TYPE): Likewise.
47721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47722         (__SYSCALL_SLONG_TYPE): Likewise.
47723         (__SYSCALL_ULONG_TYPE): Likewise.
47724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47725         (__SYSCALL_SLONG_TYPE): Likewise.
47726         (__SYSCALL_ULONG_TYPE): Likewise.
47727         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47728         (__SYSCALL_SLONG_TYPE): Likewise.
47729         (__SYSCALL_ULONG_TYPE): Likewise.
47731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47733         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47734         Add sigaltstack-offsets.sym.
47735         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47736         <sigaltstack-offsets.h>.
47737         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47738         longjmp_msg pointer.
47739         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47740         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47741         signal stack.
47742         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47744 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47746         * elf/stackguard-macros.h: Remove file.
47747         * sysdeps/generic/stackguard-macros.h: New file.
47748         * sysdeps/i386/stackguard-macros.h: Likewise.
47749         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47750         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47751         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47752         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47753         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47754         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47755         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47756         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47757         <elf/stackguard-macros.h>.
47759         [BZ #14109]
47760         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47761         __aligned__ in attribute.
47762         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47763         (gregset_t): Likewise.
47765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47767         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47768         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47769         * sysdeps/x86_64/x32/Implies-after: New file.
47771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47773         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47774         and access return value for _dl_profile_fixup.  Use R10_LP to
47775         load frame size.
47777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47779         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47783         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47784         * sysdeps/x86_64/x32/sysdep.h: New file.
47786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47788         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47789         * sysdeps/x86_64/setjmp.S: Likewise.
47791 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47793         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47794         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47795         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47796         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47797         remove unused global constant.
47799 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47801         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47802         include of <not-cancel.h>.
47804 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47806         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47808 2012-05-15  Jeff Law  <law@redhat.com>
47809             Andreas Jaeger  <aj@suse.de>
47811         [BZ #13594]
47812         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47813         out from...
47814         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47815         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47816         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47817         code changing __hst_map_handle.map.
47819 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47821         * configure.in (sysnames): Look for Implies-before and Implies-after
47822         files.
47823         * configure: Regenerated.
47825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47827         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47828         8-byte data alignment with LP_SIZE alignment.
47830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47832         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47833         into R10_LP.
47835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47837         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47841         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47842         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47843         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47844         Likewise.
47845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47849         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47850         (stackinfo_sub_sp): Likewise.
47852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47854         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47855         RAX_LP.
47857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47860         into R*_LP.
47862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47864         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47865         sizes into R*_LP.
47867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47869         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47873         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47874         into R11_LP and load __x86_64_shared_cache_size_half into
47875         R8_LP.
47877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47879         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47880         R8_LP.
47882 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47885         logb for POWER7.
47886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47887         logbf for POWER7.
47888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47889         logbl for POWER7.
47890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47891         powerpc32/power7/fpu/s_logb.c via #include.
47892         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47893         powerpc32/power7/fpu/s_logbf.c via #include.
47894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47895         powerpc32/power7/fpu/s_logbl.c via #include.
47897 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47899         * README.libm: Remove file.
47901 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47903         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47904         count for x32.  Use R*_LP and omit operand-size suffix.
47906 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47908         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47909         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47910         * sysdeps/x86_64/x32/shlib-versions: New file.
47912 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47914         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47915         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47916         Use _dl_fatal_printf instead.
47918 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47920         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47921         set if not set by the user.  Do not allow for being unset.
47922         * sysdeps/unix/sysv/linux/configure: Regenerated.
47924 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47926         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47927         the `q' suffix from lea and replace .quad with ASM_ADDR.
47929 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47932         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47933         instead of $17.
47934         (PTR_DEMANGLE): Likewise.
47936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47938         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47939         (LP_OP): Likewise.
47940         (ASM_ADDR): Likewise.
47941         (RAX_LP): Likewise.
47942         (RBP_LP): Likewise.
47943         (RBX_LP): Likewise.
47944         (RCX_LP): Likewise.
47945         (RDI_LP): Likewise.
47946         (RSI_LP): Likewise.
47947         (RSP_LP): Likewise.
47948         (R8_LP): Likewise.
47949         (R9_LP): Likewise.
47950         (R10_LP): Likewise.
47951         (R10_LP): Likewise.
47952         (R11_LP): Likewise.
47953         (R12_LP): Likewise.
47954         (R13_LP): Likewise.
47955         (R14_LP): Likewise.
47956         (R15_LP): Likewise.
47958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47960         * sysdeps/x86_64/x32/dl-machine.h: New file.
47962 2012-05-14  Andreas Jaeger  <aj@suse.de>
47964         * manual/Makefile (subdir): Remove export of subdir.
47965         (all): Remove target.
47966         (.PHONY): Remove all from list.
47967         (mkinstalldirs): Remove.
47968         (.PHONY): Remove installdirs from list.
47969         ($(inst_infodir)/libc.info): Use make-target-directory.
47970         (installdirs): Remove.
47971         (subdir_%): Remove.
47972         (glibc-targets): Remove.
47973         (lib): Remove.
47974         (stubs): Remove.
47975         ($(objpfx)stubs ../po/manual.pot): Remove.
47976         ($(objpfx)stamp%): Remove.
47977         (make-target-directory): Remove.
47978         (subdir_install): Remove.
47979         (routines): Remove.
47980         (aux): Remove.
47981         (sources): Remove.
47982         (objects): Remove.
47983         (headers): Remove.
47985         [BZ #13750]
47986         * manual/.gitignore: Remove, it's not needed anymore.
47987         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47988         all files in it.
47989         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47990         directory.
47991         (texis): Renamed to $(objpfx)texis.
47992         (texis-path): New, contains path to generated files.
47993         (chapters.%): Use texis-path for complete path, add extra argument
47994         libc-texinfo.sh.
47995         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47996         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47997         (summary,texi, stamp-summary): Use complete path of
47998         files. Generate files in build dir.
47999         (dir-add.texi): Build in build dir.
48000         (libm-err.texi,stamp-libm-err): Likewise.
48001         (version.texi, stamp-version): Likewise.
48002         (.%c.texi): Likewise.
48003         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48004         (mostlyclean): Remove target.
48005         (realclean): Remove target.
48006         (generated): Add new variable with contents from mostlyclean and
48007         realclean, remove entries duplicated in common-mostlyclean, add
48008         stamp-libm-err and stamp-version.
48009         (generated-dirs): Add libc directory.
48010         ($(inst_infodir)/libc.info): Install files from build dir.
48012         * manual/install.texi (Configuring and compiling): Adjust since
48013         the info files are not part of the tar ball anymore.
48015 2012-05-14  Andreas Jaeger  <aj@suse.de>
48017         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48018         variable.
48020 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48022         [BZ #13717]
48023         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48024         to 2.2.0 where earlier.
48025         * sysdeps/unix/sysv/linux/configure: Regenerated.
48026         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48027         Remove conditional code.
48028         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48029         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48030         Remove conditional code.
48031         [!__NR_lchown]: Likewise.
48032         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48033         [__NR_lchown]: Likewise.
48034         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48035         comment referencing __ASSUME_LCHOWN_SYSCALL.
48036         * sysdeps/unix/sysv/linux/i386/sigaction.c
48037         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48038         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48039         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48040         Remove conditional code.
48041         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48042         (__protocol_available): Remove #if 0 code.
48043         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48044         conditional code.
48045         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48046         * sysdeps/unix/sysv/linux/kernel-features.h
48047         (__ASSUME_GETCWD_SYSCALL): Don't define.
48048         (__ASSUME_REALTIME_SIGNALS): Likewise.
48049         (__ASSUME_PREAD_SYSCALL): Likewise.
48050         (__ASSUME_PWRITE_SYSCALL): Likewise.
48051         (__ASSUME_POLL_SYSCALL): Likewise.
48052         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48053         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48054         non-SPARC.
48055         (__ASSUME_SIOCGIFNAME): Don't define.
48056         (__ASSUME_MSG_NOSIGNAL): Likewise.
48057         (__ASSUME_SENDFILE): Define unconditionally.
48058         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48059         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48060         conditional code.
48061         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48062         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48063         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48064         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48065         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48066         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48067         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48069         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48072         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48078         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48081         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48084         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48085         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48087         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48088         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48090         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48091         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48092         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48093         Remove conditional code.
48094         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48095         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48096         Remove conditional code.
48097         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48098         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48099         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48100         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48101         Remove conditional code.
48102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48103         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48104         Remove conditional code.
48105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48106         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48107         Remove conditional code.
48108         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48109         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48110         Remove conditional code.
48111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48112         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48113         Remove conditional code.
48114         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48115         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48116         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48117         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48118         * sysdeps/unix/sysv/linux/sigaction.c
48119         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48120         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48121         * sysdeps/unix/sysv/linux/sigpending.c
48122         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48123         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48124         * sysdeps/unix/sysv/linux/sigprocmask.c
48125         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48126         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48127         * sysdeps/unix/sysv/linux/sigsuspend.c
48128         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48129         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48130         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48131         (__libc_missing_rt_sigs): Remove.
48132         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48133         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48134         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48135         Remove conditional code.
48136         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48137         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48138         return 1.
48139         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48140         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48141         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48142         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48144 2012-05-14  Andreas Jaeger  <aj@suse.de>
48146         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48147         it's not used in glibc.
48148         (__coshm1): Likewise.
48149         (__acosh1p): Likewise.
48150         (__sgn): Likewise.
48152         * manual/string.texi (Copying and Concatenation): Add missing
48153         variable in concat example.
48154         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48156 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48158         [BZ #14103]
48159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48160         __builtin_clzl with __builtin_clzll.
48162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48164         [BZ #14104]
48165         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48166         libc_freeres_ptr.
48168 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48170         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48171         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48172         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48173         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48175 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48177         * NEWS: Update ia64 info.
48179 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48181         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48182         used as bcopy.
48184 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48186         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48187         * sysdeps/unix/syscalls.list (dup3): Likewise.
48188         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48189         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48191 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48193         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48194         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48196 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48198         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48199         thread pointer.
48200         (TLS_IE): Use mov/add instead of movq/addq to load thread
48201         pointer.
48202         (TLS_GD_PREFIX): New.
48203         (TLS_GD): Use it.
48205 2012-05-11  David S. Miller  <davem@davemloft.net>
48207         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48208         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48209         (_FPU_SETCW): Likewise.
48211 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48213         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48214         is 32-byte aligned.
48216 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48218         [BZ #11837]
48219         * iconvdata/gb18030.c: Update tables.
48220         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48221         characters specially.
48222         (BODY for TO_LOOP): Add encoding of missing ranges.
48224 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48226         [BZ #13673]
48227         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48228         * sysdeps/mach/hurd/dup3.c: Likewise.
48229         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48230         * sysdeps/powerpc/memmove.c:: Likewise.
48232 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48234         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48235         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48237 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48239         * elf/elf.h (R_X86_64_RELATIVE64): New.
48240         (R_X86_64_NUM): Updated.
48241         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48242         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48243         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48244         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48245         tst-quad1pie tst-quad2pie
48246         (modules-names): Add tst-quadmod1 tst-quadmod2.
48247         ($(objpfx)tst-quad1): New dependency.
48248         ($(objpfx)tst-quad2): Likewise.
48249         ($(objpfx)tst-quad1pie): Likewise.
48250         ($(objpfx)tst-quad2pie): Likewise.
48251         * sysdeps/x86_64/tst-quad1.c: New file.
48252         * sysdeps/x86_64/tst-quad1pie.c: New file.
48253         * sysdeps/x86_64/tst-quad2.c: Likewise.
48254         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48255         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48256         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48257         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48258         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48262         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48263         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48264         * streams/stropts.h (t_scalar_t): Define type.
48266         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48267         (_PATH_PRESERVE): Set to "/var/lib".
48268         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48270         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48271         instead of int.
48273         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48274         if __dir_mkfile succeeded.
48276         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48277         checking for _hurd_dtablesize.  Unlock it right after having
48278         finished _hurd_dtable allocation.
48280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48282         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48283         * sysdeps/mach/hurd/configure: Regenerated.
48284         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48285         special-casing to...
48286         * sysdeps/gnu/configure.in: ... this new file.
48287         * sysdeps/unix/sysv/linux/configure: Regenerated.
48288         * sysdeps/gnu/configure: New generated file.
48290         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48291         for Linux: use nsec instead of usec, as well as:
48292         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48293         members of type struct timespec.
48294         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48295         New macros.
48296         (struct stat64): Likewise.
48297         (_STATBUF_ST_NSEC): New macro.
48298         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48300         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48301         __strtoul_internal rather than strtoul.
48303 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48305         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48306         and reject them.
48308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48310         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48311         which preserves existing values.
48312         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48314 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48316         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48317         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48318         greater than FD_SETSIZE.
48320 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48322         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48323         allocated, call __vm_protect to finish enabling the existing space, and
48324         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48325         allocate the remainder.
48327 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48329         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48330         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48334         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48335         sysdeps/mach/hurd/readlink.c.
48337         * posix/tst-sysconf.c (posix_options): Only use
48338         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48339         _POSIX_SYNCHRONIZED_IO when they are defined
48340         * sysdeps/mach/hurd/bits/posix_opt.h:
48341         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48342         (_XOPEN_REALTIME): Undefine macro.
48343         (_XOPEN_REALTIME_THREADS): Undefine macro.
48344         (_XOPEN_SHM): Undefine macro.
48345         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48346         macro to -1.
48347         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48348         macro to -1.
48349         (_POSIX_ASYNC_IO): Undefine macro.
48350         (_POSIX_PRIORITIZED_IO): Undefine macro.
48351         (_POSIX_SPIN_LOCKS): Define macro to -1.
48353         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48354         SA_NODEFER, SA_RESETHAND.
48355         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48356         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48357         F_DUPFD_CLOEXEC.
48359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48361         * elf/Makefile (pldd-modules): Define unconditionally.
48363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48365         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48369         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48370         Return ENOENT when name is empty.
48371         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48375         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48377         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48381         Fix mlock in all cases except non-readable pages.
48382         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48383         instead of VM_PROT_ALL as parameter to __vm_wire function.
48385         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48386         (__mkdir): When path is `/', just fail with EEXIST.
48387         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48391         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48392         <sys/uio.h> (for writev).
48393         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48394         and <sys/param.h> (for MIN).
48396 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48398         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48399         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48400         if interrupted.
48402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48404         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48405         Depend on against $(link-rpcuserlibs).
48407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48409         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48410         (__libc_stack_end): Do not use attribute_relro.
48411         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48412         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48413         to libthread-provided value.
48414         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48415         attribute_relro.
48417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48419         [BZ #3748]
48420         * bits/libc-lock.h (__libc_once_get): New macro.
48421         * sysdeps/mach/bits/libc-lock.h: Likewise.
48422         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48423         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48424         instead of using implementation details.
48426         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48427         * libio/freopen.c: Likewise.
48428         * libio/freopen64.c: Likewise.
48429         * misc/syslog.c: Likewise.
48430         * nscd/connections.c: Likewise.
48431         * nscd/netgroupcache.c: Likewise.
48432         * sysdeps/posix/getcwd.c: Likewise.
48434 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48436         * math/w_ilogbf.c: Add #include <limits.h>.
48438 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48440         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48441         path instead of returning without unlocking.
48443         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48444         immediate-write ioctls.
48445         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48447 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48449         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48450         __builtin_frame_address instead of making assumptions about the
48451         location of the return address relative to DATA.  Force early load of
48452         the return address.
48453         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48454         __builtin_frame_address.
48456         dup3 for GNU Hurd.
48457         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48458         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48459         implement dup3 and do some further code clean-ups.
48460         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48461         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48463 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48465         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48467         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48468         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48469         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48470         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48471         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48472         d->port.lock.
48474         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48475         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48476         when handler == SIG_ERR, not when handler != SIG_ERR.
48478 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48480         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48481         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48482         definitions.
48484         accept4 for GNU Hurd.
48485         * include/sys/socket.h (__libc_accept4): New prototype.
48486         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48487         to implement __libc_accept4.
48488         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48489         __libc_accept4.
48490         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48492         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48493         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48494         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48495         signal-defines.sym.
48497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48499         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48503         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48504         assertion on O_CLOEXEC flag.
48505         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48506         * hurd/intern-fd.c: Likewise.
48507         * hurd/port2fd.c: Likewise.
48509 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48511         [BZ #3906]
48512         * bits/in.h (IPV6_PKTINFO): Define new macro.
48513         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48515 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48517         [BZ #13954]
48518         [BZ #13955]
48519         [BZ #13956]
48520         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48521         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48522         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48523         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48525         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48526         * math/libm-test.inc (logb_test) : Additional logb tests.
48528 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48529             Andreas Jaeger  <aj@suse.de>
48531         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48532         * configure: Regenerated.
48533         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48534         * config.make.in (link-obsolete-rpc): New substituted variable.
48535         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48536         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48537         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48538         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48539         so that libc.a contains the symbols.
48540         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48541         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48542         * sunrpc/auth_none.c: Likewise.
48543         * sunrpc/auth_unix.c: Likewise.
48544         * sunrpc/authdes_prot.c: Likewise.
48545         * sunrpc/authuxprot.c: Likewise.
48546         * sunrpc/clnt_gen.c: Likewise.
48547         * sunrpc/clnt_perr.c: Likewise.
48548         * sunrpc/clnt_raw.c: Likewise.
48549         * sunrpc/clnt_simp.c: Likewise.
48550         * sunrpc/clnt_tcp.c: Likewise.
48551         * sunrpc/clnt_udp.c: Likewise.
48552         * sunrpc/clnt_unix.c: Likewise.
48553         * sunrpc/des_crypt.c: Likewise.
48554         * sunrpc/des_soft.c: Likewise.
48555         * sunrpc/get_myaddr.c: Likewise.
48556         * sunrpc/key_call.c: Likewise.
48557         * sunrpc/key_prot.c: Likewise.
48558         * sunrpc/netname.c: Likewise.
48559         * sunrpc/pm_getmaps.c: Likewise.
48560         * sunrpc/pm_getport.c: Likewise.
48561         * sunrpc/pmap_clnt.c: Likewise.
48562         * sunrpc/pmap_prot.c: Likewise.
48563         * sunrpc/pmap_prot2.c: Likewise.
48564         * sunrpc/pmap_rmt.c: Likewise.
48565         * sunrpc/publickey.c: Likewise.
48566         * sunrpc/rpc_cmsg.c: Likewise.
48567         * sunrpc/rpc_common.c: Likewise.
48568         * sunrpc/rpc_dtable.c: Likewise.
48569         * sunrpc/rpc_prot.c: Likewise.
48570         * sunrpc/rpc_thread.c: Likewise.
48571         * sunrpc/rtime.c: Likewise.
48572         * sunrpc/svc.c: Likewise.
48573         * sunrpc/svc_auth.c: Likewise.
48574         * sunrpc/svc_raw.c: Likewise.
48575         * sunrpc/svc_run.c: Likewise.
48576         * sunrpc/svc_tcp.c: Likewise.
48577         * sunrpc/svc_udp.c: Likewise.
48578         * sunrpc/svc_unix.c: Likewise.
48579         * sunrpc/svcauth_des.c: Likewise.
48580         * sunrpc/xcrypt.c: Likewise.
48581         * sunrpc/xdr.c: Likewise.
48582         * sunrpc/xdr_array.c: Likewise.
48583         * sunrpc/xdr_float.c: Likewise.
48584         * sunrpc/xdr_intXX_t.c: Likewise.
48585         * sunrpc/xdr_mem.c: Likewise.
48586         * sunrpc/xdr_rec.c: Likewise.
48587         * sunrpc/xdr_ref.c: Likewise.
48588         * sunrpc/xdr_sizeof.c: Likewise.
48589         * sunrpc/xdr_stdio.c: Likewise.
48591 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48594         change.  Update copyright years.
48596 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48598         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48600 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48601             Joseph Myers  <joseph@codesourcery.com>
48602             Paul Pluzhnikov  <ppluzhnikov@google.com>
48604         [BZ #14012]
48605         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48606         requiring rpcgen.
48607         [cross-compiling] (extra-libs): Likewise.
48608         [cross-compiling] (extra-libs-others): Likewise.
48609         [cross-compiling] (librpcsvc-routines): Likewise.
48610         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48611         [cross-compiling] (omit-deps): Likewise.
48612         (sunrpc-CPPFLAGS): New variable.
48613         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48614         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48615         (cross-rpcgen-objs): New variable.
48616         (extra-objs): Append $(cross-rpcgen-objs).
48617         ($(cross-rpcgen-objs)): New rule.
48618         ($(objpfx)cross-rpcgen): Likewise.
48619         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48620         comment.
48621         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48622         ($(objpfx)x%.stmp): Likewise.
48623         * sunrpc/proto.h [IS_IN_build] (_): Define.
48624         [IS_IN_build] (_libc_intl_domainname): Likewise.
48626 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48629         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48630         and R_X86_64_TPOFF64.
48632 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48634         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48635         sysdeps/unix/sysv/syscalls.list.
48636         (stime): Likewise.
48637         (utime): Likewise.
48638         * sysdeps/unix/sysv/syscalls.list: Remove file.
48640 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48642         [BZ #3440]
48643         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48644         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48645         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48646         (__LC_IDENTIFICATION): Make these macros useful in #if
48647         expressions, as required by C99.
48649 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48651         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48652         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48653         after this.
48655 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48657         * stdlib/longlong.h: Updated from GCC.
48659 2012-05-09  Andreas Jaeger  <aj@suse.de>
48661         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48662         default is first entry.
48663         (run_mode): Set type.
48664         (main): Remove informal message about syslog.
48665         (options): Fix typo.
48667         [BZ #14053]
48668         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48669         to asm.
48670         (lrint): Likewise.
48671         (llrintf): Likewise.
48672         (llrint): Likewise.
48673         (rint): Likewise.
48674         (rintf): Likewise.
48675         (nearbyint): Likewise.
48676         (nearbyintf): Likewise.
48678 2012-05-09  Andreas Jaeger  <aj@suse.de>
48679             Pedro Alves  <palves@redhat.com>
48681         * nscd/nscd.c (run_mode): Use enum.
48682         (main): Cleanup coding style issue.
48684 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48685             Andreas Jaeger  <aj@suse.de>
48687         * nscd/nscd.c (go_background): Replaced with...
48688         (run_mode): ... this.
48689         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48690         (options): Add -F --foreground.
48691         (main): Implement it.
48692         (parse_opt): Parse it.
48694 2012-05-09  Andreas Jaeger  <aj@suse.de>
48696         [BZ #14083]
48697         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48698         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48699         -Wconversion warning.
48700         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48701         Likewise.
48703 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48705         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48706         == 0.
48707         (LC_ALL): Use macro-int-constant.
48708         (LC_COLLATE): Likewise.
48709         (LC_CTYPE): Likewise.
48710         (LC_MESSAGES): Likewise.
48711         (LC_MONETARY): Likewise.
48712         (LC_NUMERIC): Likewise.
48713         (LC_TIME): Likewise.
48714         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48715         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48717         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48718         Specify type.
48719         [C99-based standards] (float_t): Expect type.
48720         [C99-based standards] (double_t): Expect type.
48721         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48722         type.
48723         [C99-based standards] (HUGE_VALL): Likewise.
48724         [C99-based standards] (INFINITY): Likewise.
48725         [C99-based standards] (NAN): Likewise.
48726         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48727         [C99-based standards] (FP_NAN): Likewise.
48728         [C99-based standards] (FP_NORMAL): Likewise.
48729         [C99-based standards] (FP_SUBNORMAL): Likewise.
48730         [C99-based standards] (FP_ZERO): Likewise.
48731         [C99-based standards] (FP_FAST_FMA): Use
48732         optional-macro-int-constant.  Specify type.  Require == 1.
48733         [C99-based standards] (FP_FAST_FMAF): Likewise.
48734         [C99-based standards] (FP_FAST_FMAL): Likewise.
48735         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48736         [C99-based standards] (FP_ILOGBNAN): Likewise.
48737         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48738         Specify type.
48739         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48740         [C99-based standards] (math_errhandling): Specify type.
48741         [ISO99 || ISO11] (signgam): Do not allow.
48742         [non-C99-based standards] (copysignf): Do not allow.
48743         [non-C99-based standards] (exp2f): Likewise.
48744         [non-C99-based standards] (log2f): Likewise.
48745         [non-C99-based standards] (modff): Allow.
48746         [non-C99-based standards] (erff): Do not allow.
48747         [non-C99-based standards] (erfcf): Likewise.
48748         [non-C99-based standards] (gammaf): Likewise.
48749         [non-C99-based standards] (hypotf): Likewise.
48750         [non-C99-based standards] (j0f): Likewise.
48751         [non-C99-based standards] (j1f): Likewise.
48752         [non-C99-based standards] (jnf): Likewise.
48753         [non-C99-based standards] (lgammaf): Likewise.
48754         [non-C99-based standards] (tgammaf): Likewise.
48755         [non-C99-based standards] (y0f): Likewise.
48756         [non-C99-based standards] (y1f): Likewise.
48757         [non-C99-based standards] (ynf): Likewise.
48758         [non-C99-based standards] (isnanf): Likewise.
48759         [non-C99-based standards] (acoshf): Likewise.
48760         [non-C99-based standards] (asinhf): Likewise.
48761         [non-C99-based standards] (atanhf): Likewise.
48762         [non-C99-based standards] (cbrtf): Likewise.
48763         [non-C99-based standards] (expm1f): Likewise.
48764         [non-C99-based standards] (ilogbf): Likewise.
48765         [non-C99-based standards] (log1pf): Likewise.
48766         [non-C99-based standards] (logbf): Likewise.
48767         [non-C99-based standards] (nextafterf): Likewise.
48768         [non-C99-based standards] (remainderf): Likewise.
48769         [non-C99-based standards] (rintf): Likewise.
48770         [non-C99-based standards] (scalbf): Likewise.
48771         [non-C99-based standards] (copysignl): Likewise.
48772         [non-C99-based standards] (exp2l): Likewise.
48773         [non-C99-based standards] (log2l): Likewise.
48774         [non-C99-based standards] (modfl): Allow.
48775         [non-C99-based standards] (erfl): Do not allow.
48776         [non-C99-based standards] (erfcl): Likewise.
48777         [non-C99-based standards] (gammal): Likewise.
48778         [non-C99-based standards] (hypotl): Likewise.
48779         [non-C99-based standards] (j0l): Likewise.
48780         [non-C99-based standards] (j1l): Likewise.
48781         [non-C99-based standards] (jnl): Likewise.
48782         [non-C99-based standards] (lgammal): Likewise.
48783         [non-C99-based standards] (tgammal): Likewise.
48784         [non-C99-based standards] (y0l): Likewise.
48785         [non-C99-based standards] (y1l): Likewise.
48786         [non-C99-based standards] (ynl): Likewise.
48787         [non-C99-based standards] (isnanl): Likewise.
48788         [non-C99-based standards] (acoshl): Likewise.
48789         [non-C99-based standards] (asinhl): Likewise.
48790         [non-C99-based standards] (atanhl): Likewise.
48791         [non-C99-based standards] (cbrtl): Likewise.
48792         [non-C99-based standards] (expm1l): Likewise.
48793         [non-C99-based standards] (ilogbl): Likewise.
48794         [non-C99-based standards] (log1pl): Likewise.
48795         [non-C99-based standards] (logbl): Likewise.
48796         [non-C99-based standards] (nextafterl): Likewise.
48797         [non-C99-based standards] (remainderl): Likewise.
48798         [non-C99-based standards] (rintl): Likewise.
48799         [non-C99-based standards] (scalbl): Likewise.
48800         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48801         [non-C99-based standards] (FP_*): Do not allow.
48802         [C99-based standards] (FP_*): Change to
48803         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48804         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48805         allow.
48806         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48807         (SIG_ERR): Likewise.
48808         [X/Open-based standards] (SIG_HOLD): Likewise.
48809         (SIG_IGN): Likewise.
48810         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48811         positive value.
48812         (SIGFPE): Likewise.
48813         (SIGILL): Likewise.
48814         (SIGINT): Likewise.
48815         (SIGSEGV): Likewise.
48816         (SIGTER): Likewise.
48817         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48818         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48819         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48820         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48821         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48822         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48823         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48824         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48825         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48826         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48827         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48828         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48829         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48830         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48831         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48832         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48833         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48834         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48835         [X/Open-based standards] (SIGTRAP): Likewise.
48836         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48837         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48838         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48839         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48840         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48841         allow.
48843 2012-05-08  Ian Wienand  <ianw@vmware.com>
48845         [BZ #14080]
48846         * time/tzset.c (__tzset_parse_tz): Update default rules for
48847         daylight time changes in the Energy Policy Act of 2005.
48849 2012-05-09  Andreas Jaeger  <aj@suse.de>
48851         [BZ #13983]
48852         * elf/ldconfig.c (parse_conf): Change string to make clear that
48853         ldconfig only issued a warning if ld.so.conf does not exist.
48855 2012-05-08  David S. Miller  <davem@davemloft.net>
48857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48858         movxtod instead of popping the value on the stack.
48860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48862 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48864         * config.h.in: Add HAVE_ARM_PCS_VFP.
48866 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48868         [BZ #13979]
48869         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48870         checking but the checks are disabled for any reason.
48872 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48874         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48875         and ELF64_R_TYPE with ELFW(R_TYPE).
48877 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48879         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48880         (ulimit): Likewise.
48882         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48883         (settimeofday): Likewise.
48885 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48887         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48888         a struct th_u2 inside the union, and move tu_block/tu_code into
48889         a new th_u3 union of tu_block/tu_code inside of that.  Move
48890         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48891         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48892         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48893         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48894         (th_stuff): Change to th_u1.tu_stuff.
48895         (th_data): Define.
48896         (th_msg): Change to th_u1.th_u2.tu_data.
48898 2012-05-07  David S. Miller  <davem@davemloft.net>
48900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48902         [BZ #14074]
48903         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48904         (SETUP_PIC_REG): Use it.
48905         (SETUP_PIC_REG_LEAF): Use it.
48907 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48909         [BZ #13885]
48910         [BZ #13923]
48911         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48912         USE_AS_EXPM1L.
48913         (EXPL_FINITE): Likewise.
48914         (FLDLOG): Likewise.
48915         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48916         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48917         e_expl.S.
48918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48919         USE_AS_EXPM1L.
48920         (EXPL_FINITE): Likewise.
48921         (FLDLOG): Likewise.
48922         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48923         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48924         e_expl.S.
48925         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48926         test of -max_value argument for long double.
48927         * sysdeps/i386/fpu/libm-test-ulps: Update.
48928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48930 2012-05-06  David S. Miller  <davem@davemloft.net>
48932         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48933         quad soft-float symbols whose references which are compiler
48934         generated.
48935         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48937 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48939         [BZ #13884]
48940         [BZ #13914]
48941         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48942         USE_AS_EXP10L.
48943         (EXPL_FINITE): Likewise.
48944         (FLDLOG): Likewise.
48945         (c0): Likewise.
48946         (c1): Likewise.
48947         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48948         Adjust comments for base varying.
48949         (__expl_finite): Change alias to EXPL_FINITE.
48950         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48951         e_expl.S.
48952         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48953         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48954         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48955         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48956         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48957         USE_AS_EXP10L.
48958         (EXPL_FINITE): Likewise.
48959         (FLDLOG): Likewise.
48960         (c0): Likewise.
48961         (c1): Likewise.
48962         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48963         Adjust comments for base varying.
48964         (__expl_finite): Change alias to EXPL_FINITE.
48965         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48966         tests for bugs.
48967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48969         [BZ #14064]
48970         * math/libm-test.inc (check_float_internal): Correct ulp
48971         calculation for subnormal expected results.
48973 2012-05-06  Andreas Jaeger  <aj@suse.de>
48975         * Makeconfig (+math-flags): New, set to -frounding-math.
48976         (+cflags): Add +math-flags so that all of glibc gets compiled with
48977         it.
48979         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48981 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48983         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48984         Disable one test.
48986         [BZ #13787]
48987         [BZ #13922]
48988         [BZ #14036]
48989         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48990         (__ieee754_expl): Allow for and saturate large arguments.
48991         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48992         (u_threshold): Likewise.
48993         (__exp): Call __ieee754_exp before checking for overflow and
48994         underflow.
48995         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48996         (u_threshold): Likewise.
48997         (__expf): Call __ieee754_expf before checking for overflow and
48998         underflow.
48999         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49000         (u_threshold): Likewise.
49001         (__expl): Call __ieee754_expl before checking for overflow and
49002         underflow.
49003         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49004         (__ieee754_expl): Allow for and saturate large arguments.
49005         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49006         missing overflow exception on overflow.
49007         (expm1_test): Do not allow missing overflow exception on overflow.
49009         * sysdeps/i386/fpu/e_expl.c: Move to ...
49010         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49011         rather than using inline asm.
49012         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49013         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49014         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49016         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49017         (nice): Likewise.
49018         (poll): Likewise.
49019         (signal): Likewise.
49020         (time): Likewise.
49021         (times): Likewise.
49023 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49025         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49026         sysdeps/unix/common/syscalls.list.
49027         (fchmod): Likewise.
49028         (fchown): Likewise.
49029         (ftruncate): Likewise.
49030         (getrusage): Likewise.
49031         (gettimeofday): Likewise.
49032         (setpgid): Likewise.
49033         (setregid): Likewise.
49034         (setreuid): Likewise.
49035         (sigaction): Likewise.
49036         (truncate): Likewise.
49037         (vhangup): Likewise.
49038         * sysdeps/unix/common/syscalls.list: Remove file.
49039         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49040         * sysdeps/unix/sysv/linux/Implies: Likewise.
49042 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49044         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49046         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49047         Moved to ...
49048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49049         Here.
49050         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49051         to ...
49052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49053         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49054         to ...
49055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49056         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49057         to ...
49058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49059         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49060         to ...
49061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49062         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49063         to ...
49064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49065         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49066         to ...
49067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49068         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49069         to ...
49070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49071         Here.
49072         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49073         to ...
49074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49075         Here.
49076         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49077         to ...
49078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49079         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49080         Moved to ...
49081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49082         Here.
49083         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49084         to ...
49085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49087 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49089         * sysdeps/unix/common/bits/dirent.h: Remove file.
49090         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49092         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49093         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49094         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49095         * sysdeps/unix/bsd/isatty.c: Likewise.
49096         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49097         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49098         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49100 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49102         [BZ #13563]
49103         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49104         long double comparison inaccuracies.
49105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49108 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49110         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49111         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49113 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49115         [BZ #14049]
49116         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49117         nonzero digits before rounding a hex value.
49118         * stdlib/tst-strtod.c (tests): Add another test.
49120 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49122         * sysdeps/s390/fpu/libm-test-ulps: Update.
49124 2012-05-03  Andreas Jaeger  <aj@suse.de>
49126         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49127         does not get optimized out.
49128         (malloc_opt_barrier): New.
49130 2012-05-03  Andreas Jaeger  <aj@suse.de>
49131             Roland McGrath  <roland@hack.frob.com>
49133         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49134         intermediate file deletion.
49135         (generated): Add .symlist files.
49137 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49139         [BZ #13775]
49140         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49141         Redirect under this condition.
49142         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49143         [__USE_GNU] (__dprintf_chk): Not under this condition.
49144         [__USE_GNU] (__vdprintf_chk): Likewise.
49145         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49146         under this condition.
49147         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49148         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49149         [__USE_XOPEN2K8] (vdprintf): Likewise.
49150         [__USE_GNU] (__dprintf_chk): Not under this condition.
49151         [__USE_GNU] (__vdprintf_chk): Likewise.
49152         [__USE_GNU] (dprintf): Likewise.
49153         [__USE_GNU] (vdprintf): Likewise.
49155 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49157         * elf/Makefile (common-generated): Set this instead of generated for
49158         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49159         $(all-built-dso)-derived lists.
49161 2012-05-03  Andreas Jaeger  <aj@suse.de>
49163         * sysdeps/i386/fpu/libm-test-ulps: Update.
49165         * FAQ: Removed.
49166         * FAQ.in: Likewise.
49167         * scripts/gen-FAQ.pl: Likewise.
49168         * manual/install.texi (Installation): Point to online location of
49169         FAQ.
49170         * Makefile (files-for-dist): Remove FAQ.
49171         (FAQ): Remove.
49173 2012-05-02  Allan McRae  <allan@archlinux.org>
49175         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49176         (LDFLAGS-reldepmod5.so): Likewise.
49177         (LDFLAGS-reldep6mod1.so): Likewise.
49178         (LDFLAGS-reldep6mod4.so): Likewise.
49179         (LDFLAGS-reldep8mod3.so): Likewise.
49180         (LDFLAGS-unload4mod1.so): Likewise.
49181         (LDFLAGS-unload4mod2.so): Likewise.
49182         (LDFLAGS-tst-initorder): Likewise.
49183         (LDFLAGS-tst-initordera2.so): Likewise.
49184         (LDFLAGS-tst-initordera3.so): Likewise.
49185         (LDFLAGS-tst-initordera4.so): Likewise.
49186         (LDFLAGS-tst-initorderb2.so): Likewise.
49187         (LDFLAGS-noload): Likewise.
49188         (LDFLAGS-next): Likewise.
49189         (LDFLAGS-order2mod1.so): Likewise.
49190         (LDFLAGS-order2mod2.so): Likewise.
49191         (LDFLAGS-tst-initorder2): Likewise.
49192         (LDFLAGS-tst-initorder2a.so): Likewise.
49193         (LDFLAGS-tst-initorder2b.so): Likewise.
49194         (LDFLAGS-tst-initorder2c.so): Likewise.
49195         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49197 2012-05-02  David S. Miller  <davem@davemloft.net>
49199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49201 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49203         [BZ #14055]
49204         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49206 2012-05-02  Andreas Jaeger  <aj@suse.de>
49208         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49209         since we manipulate rounding mode.
49210         (CPPFLAGS-test-idouble.c): Likewise.
49211         (CPPFLAGS-test-ifloat.c): Likewise.
49212         (CFLAGS-test-ldouble.c): Likewise.
49213         (CFLAGS-test-double.c): Likewise.
49214         (CFLAGS-test-float.c): Likewise.
49215         (CFLAGS-test-misc.c): Likewise.
49216         (CFLAGS-test-test-fenv.c): Likewise.
49218 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49220         [BZ #2550]
49221         [BZ #2570]
49222         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49223         comparisons to determine direction to adjust input.
49225 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49227         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49228         output to the target.
49230         * scripts/localplt.awk: New file.
49231         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49232         (check-localplt-CFLAGS): Variable removed.
49233         ($(all-built-dso:=.jmprel)): New static pattern rule.
49234         (generated): Add those targets.
49235         (localplt-built-dso): New variable.
49236         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49238         * elf/check-localplt.c: File removed.
49240         * scripts/check-execstack.awk: New file.
49241         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49242         (check-execstack-CFLAGS): Variable removed.
49243         ($(objpfx)check-execstack.h): Target removed.
49244         ($(objpfx)execstack-default): New target.
49245         (generated): Add that instead of check-execstack.h.
49246         ($(all-built-dso:=.phdr)): New static pattern rule.
49247         (generated): Add those targets.
49248         * elf/check-execstack.c: File removed.
49250         * scripts/check-textrel.awk: New file.
49251         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49252         (check-textrel-CFLAGS): Variable removed.
49253         (all-built-dso): Use := to define.o
49254         ($(all-built-dso:=.dyn)): New static pattern rule.
49255         (generated): Add those targets.
49256         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49257         * config.make.in (READELF): New substituted variable.
49258         * elf/check-textrel.c: File removed.
49260 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49262         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49263         allow.
49264         * conform/data/ctype.h-data [C99-based standards] (isblank):
49265         Expect function.
49266         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49267         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49268         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49269         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49270         Specify type.  Require positive value.
49271         (EILSEQ): Likewise.
49272         (ERANGE): Likewise.
49273         [ISO || POSIX] (EILSEQ): Do not expect.
49274         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49275         Specify type.  Require positive value.
49276         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49277         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49278         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49279         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49280         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49281         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49282         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49283         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49284         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49285         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49286         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49287         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49288         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49289         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49290         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49291         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49292         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49293         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49294         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49295         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49296         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49297         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49298         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49299         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49300         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49301         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49302         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49303         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49304         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49305         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49306         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49307         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49308         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49309         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49310         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49311         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49312         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49313         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49314         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49315         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49316         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49317         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49318         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49319         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49320         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49321         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49322         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49323         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49324         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49325         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49326         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49327         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49328         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49329         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49330         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49331         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49332         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49333         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49334         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49335         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49336         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49337         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49338         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49339         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49340         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49341         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49342         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49343         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49344         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49345         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49346         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49347         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49348         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49349         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49350         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49351         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49352         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49353         Require >= 2.
49354         (FLT_ROUNDS): Expect as macro, not constant.
49355         (FLT_MANT_DIG): Use macro-int-constant.
49356         (DBL_MANT_DIG): Likewise.
49357         (LDBL_MANT_DIG): Likewise.
49358         (FLT_DIG): Likewise.
49359         (DBL_DIG): Likewise.
49360         (LDBL_DIG): Likewise.
49361         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49362         (DBL_MIN_EXP): Likewise.
49363         (LDBL_MIN_EXP): Likewise.
49364         (FLT_MAX_EXP): Use macro-int-constant.
49365         (DBL_MAX_EXP): Likewise.
49366         (LDBL_MAX_EXP): Likewise.
49367         (FLT_MAX_10_EXP): Likewise.
49368         (DBL_MAX_10_EXP): Likewise.
49369         (LDBL_MAX_10_EXP): Likewise.
49370         (FLT_MAX): Use macro-constant.
49371         (DBL_MAX): Likewise.
49372         (LDBL_MAX): Likewise.
49373         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49374         (DBL_EPSILON): Likewise.
49375         (LDBL_EPSILON): Likewise.
49376         (FLT_MIN): Likewise.
49377         (DBL_MIN): Likewise.
49378         (LDBL_MIN): Likewise.
49379         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49380         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49381         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49382         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49383         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49384         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49385         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49386         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49387         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49388         [ISO11] (FLT_TRUE_MIN): Likewise.
49389         [ISO11] (LDBL_TRUE_MIN): Likewise.
49390         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49391         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49392         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49393         (SCHAR_MAX): Likewise.
49394         (UCHAR_MAX): Likewise.
49395         (CHAR_MIN): Likewise.
49396         (CHAR_MAX): Likewise.
49397         (MB_LEN_MAX): Use macro-int-constant.
49398         (SHRT_MIN): Use macro-int-constant.  Specify type.
49399         (SHRT_MAX): Likewise.
49400         (USHRT_MAX): Likewise.
49401         (INT_MAX): Likewise.
49402         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49403         bound negative.
49404         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49405         bound with "U".
49406         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49407         bound with "L".
49408         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49409         bound negative.  Suffix upper bound with "L".
49410         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49411         bound with "UL".
49412         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49413         Specify type.
49414         [C99-based standards] (LLONG_MAX): Likewise.
49415         [C99-based standards] (ULLONG_MAX): Likewise.
49416         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49417         == 0.
49418         [ISO11] (max_align_t): Require type.
49419         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49421         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49422         from $CFLAGS, without defining away __attribute__ calls.
49423         (checknamespace): Use $CFLAGS_namespace.
49425         * conform/conformtest.pl (@keywords): Only include C99 keywords
49426         for standards based on C99 or C11.
49428         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49429         Disable tests.
49430         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49431         UNIX98]: Likewise.
49433         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49434         usability of symbols in #if.
49436         * conform/conformtest.pl: If macro or constant types start
49437         "promoted:", expect the symbol to be of the following type
49438         promoted by the integer promotions.
49440         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49441         in one place.  Also handle "macro-constant".
49443         * conform/conformtest.pl: Only accept expected macro values with
49444         "==".  Parse all "macro" lines in one place.
49445         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49447         * conform/conformtest.pl: Handle braced types on "constant" lines
49448         instead of handling "typed-constant".
49449         * conform/data/signal.h-data: Use "constant" instead of
49450         "typed-constant".
49452         * conform/conformtest.pl: Handle "optional-" at start of lines in
49453         one place rather than duplicating several cases.  Handle each
49454         format of "macro" line with initial "optional-".
49456         * conform/conformtest.pl: Only accept expected constant or
49457         optional-constant values with "==".  Parse all "constant" lines in
49458         one place.  Parse all "optional-constant" lines in one place.
49459         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49460         * conform/data/fmtmsg.h-data: Likewise.
49461         * conform/data/netinet/in.h-data: Likewise.
49462         * conform/data/tar.h-data: Likewise.
49463         * conform/data/limits.h-data: Use "==" form on "constant" and
49464         "optional-constant" lines.
49466         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49467         Use -std=c99 for XOPEN2K.
49468         (@knownproblems): Remove.
49469         (newtoken): Don't check %isknown.
49471         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49472         Do not expect macro.
49473         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49474         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49475         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49476         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49477         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49478         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49479         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49480         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49481         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49482         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49483         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49484         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49485         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49486         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49487         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49488         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49489         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49490         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49491         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49492         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49493         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49494         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49495         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49496         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49497         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49498         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49499         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49500         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49501         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49502         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49503         [XPG3] (acosh): Likewise.
49504         [XPG3] (asinh): Likewise.
49505         [XPG3] (atanh): Likewise.
49506         [XPG3] (cbrt): Likewise.
49507         [XPG3] (expm1): Likewise.
49508         [XPG3] (ilogb): Likewise.
49509         [XPG3] (log1p): Likewise.
49510         [XPG3] (logb): Likewise.
49511         [XPG3] (nextafter): Likewise.
49512         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49513         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49514         [XPG3] (remainder): Likewise.
49515         [XPG3] (rint): Likewise.
49516         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49517         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49518         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49519         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49520         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49521         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49522         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49523         [UNIX98 || XOPEN2K] (scalb): Expect.
49524         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49525         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49526         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49527         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49528         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49529         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49530         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49531         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49532         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49533         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49534         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49535         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49536         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49537         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49538         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49539         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49540         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49541         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49542         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49543         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49544         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49545         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49546         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49547         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49548         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49549         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49550         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49551         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49552         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49553         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49554         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49555         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49556         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49557         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49558         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49559         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49560         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49561         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49562         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49563         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49564         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49565         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49566         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49567         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49568         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49569         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49570         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49571         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49572         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49573         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49574         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49575         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49576         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49577         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49578         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49579         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49580         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49581         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49582         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49583         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49584         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49585         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49586         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49587         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49588         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49589         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49590         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49591         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49592         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49593         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49594         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49595         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49596         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49597         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49598         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49599         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49600         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49601         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49602         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49603         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49604         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49605         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49606         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49607         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49608         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49609         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49610         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49611         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49612         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49613         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49614         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49615         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49616         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49617         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49618         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49619         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49620         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49621         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49622         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49623         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49624         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49625         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49626         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49627         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49628         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49629         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49630         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49631         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49632         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49633         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49634         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49635         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49636         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49637         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49638         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49639         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49640         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49641         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49642         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49643         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49644         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49645         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49646         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49647         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49648         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49649         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49650         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49651         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49652         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49653         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49654         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49655         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49656         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49657         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49658         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49659         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49660         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49662         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49663         _XOPEN_SOURCE_EXTENDED for XPG4.
49665         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49667         * Makeconfig (localtime): Remove variable.
49668         (inst_localtime-file): Likewise.
49670 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49673         Update.
49674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49675         Update.
49676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49677         Update.
49678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49679         Update.
49680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49681         Update.
49682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49683         Update.
49684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49685         Update.
49686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49687         Update.
49688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49689         Update.
49691 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49693         [BZ #2550]
49694         [BZ #2570]
49695         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49696         comparisons to determine direction to adjust input.
49697         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49698         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49699         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49700         Likewise.
49701         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49702         Likewise.
49703         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49704         Likewise.
49705         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49706         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49707         Likewise.
49708         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49709         Likewise.
49710         * math/libm-test.inc (nexttoward_test): Add more tests.
49712 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49714         [BZ #14040]
49715         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49716         in version GLIBC_2.1, not GLIBC_2.0.
49717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49718         Likewise.
49720 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49722         [BZ #13942]
49723         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49724         (1 - x) * (1 + x).
49725         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49726         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49727         * math/libm-test.inc (acos_test): Add more tests.
49728         (asin_test): Likewise.
49729         * sysdeps/i386/fpu/libm-test-ulps: Update.
49730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49732         [BZ #14034]
49733         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49734         of square root.
49735         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49736         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49737         * math/libm-test.inc (acos_test_tonearest): New function.
49738         (acos_test_towardzero): Likewise.
49739         (acos_test_downward): Likewise.
49740         (acos_test_upward): Likewise.
49741         (asin_test_tonearest): Likewise.
49742         (asin_test_towardzero): Likewise.
49743         (asin_test_downward): Likewise.
49744         (asin_test_upward): Likewise.
49745         (main): Call the new functions.
49746         * sysdeps/i386/fpu/libm-test-ulps: Update.
49747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49749         [BZ #13884]
49750         [BZ #13924]
49751         * math/e_exp10.c: Include <float.h>.
49752         (__ieee754_exp10): Handle underflow here rather than multiplying
49753         large negative argument by M_LN10.
49754         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49755         of __ieee754_expf.
49756         * math/e_exp10l.c: Include <float.h>.
49757         (__ieee754_exp10l): Handle underflow here rather than multiplying
49758         large negative argument by M_LN10l.
49759         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49760         spurious overflow exception on underflow.
49762 2012-04-29  Marek Polacek  <polacek@redhat.com>
49764         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49765         (__fortify_function): New macro.
49766         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49767         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49768         __extern_always_inline.
49769         * libio/bits/stdio2.h: Likewise.
49770         * libio/bits/stdio.h: Likewise.
49771         * string/string.h: Likewise.
49772         * string/bits/string3.h: Likewise.
49773         * include/stdio.h: Likewise.
49774         * stdlib/bits/stdlib.h: Likewise.
49775         * stdlib/stdlib.h: Likewise.
49776         * rt/bits/mqueue2.h: Likewise.
49777         * rt/mqueue.h: Likewise.
49778         * posix/bits/unistd.h: Likewise.
49779         * posix/unistd.h: Likewise.
49780         * io/bits/poll2.h: Likewise.
49781         * io/bits/fcntl2.h: Likewise.
49782         * io/fcntl.h: Likewise.
49783         * io/sys/poll.h: Likewise.
49784         * misc/bits/syslog.h: Likewise.
49785         * misc/bits/syslog-ldbl.h: Likewise.
49786         * misc/sys/syslog.h: Likewise.
49787         * socket/bits/socket2.h: Likewise.
49788         * socket/sys/socket.h: Likewise.
49789         * debug/tst-chk1.c: Likewise.
49790         * wcsmbs/bits/wchar2.h: Likewise.
49791         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49792         * wcsmbs/wchar.h: Likewise.
49794 2012-04-29  Andreas Jaeger  <aj@suse.de>
49796         * Makerules (tests): Remove enable-check-abi protection.
49797         (check-abi-warn): Remove.
49798         (check-abi-%): Remove check-abi-warn usage.
49800         * configure.in: Remove check-abi configure option.
49801         * configure: Regenerated.
49802         * config.make.in (enable-check-abi): Remove.
49804 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49806         [BZ #14033]
49807         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49808         double functions to double *_finite functions.
49810         [BZ #13941]
49811         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49812         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49813         LDBL_MIN_EXP.
49814         * stdio-common/Makefile (tests): Add tst-sprintf3.
49815         * stdio-common/tst-sprintf3.c: New file.
49817         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49818         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49820 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49822         * conform/conformtest.pl: Remove duplicate typed-constant
49823         handling.
49825 2012-04-28  David S. Miller  <davem@davemloft.net>
49827         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49828         (check-abi-%): Remove AWK script prerequisite and explicit
49829         abilist directory.
49830         (check-abi): Rewrite to just diff the symlist with the abilist.
49831         (config-tls, config-abi-config): Delete, no longer used.
49832         (update-abi-%): Remove AWK script and explicit abilist directory.
49833         (update-abi): Rewrite to simply compare and conditionally copy the
49834         symlist and the sysdep abilist file.  Remove update-abi-config
49835         checks.
49836         * abilist/ld.abilist: Remove.
49837         * abilist/libBrokenLocale.abilist: Remove.
49838         * abilist/libanl.abilist: Remove.
49839         * abilist/libcrypt.abilist: Remove.
49840         * abilist/libdl.abilist: Remove.
49841         * abilist/librt.abilist: Remove.
49842         * abilist/libthread_db.abilist: Remove.
49843         * abilist/libutil.abilist: Remove.
49844         * scripts/extract-abilist.awk: Remove.
49845         * scripts/merge-abilist.awk: Remove.
49846         * sysdeps/generic/libcidn.abilist: New file.
49847         * sysdeps/generic/libnss_compat.abilist: New file.
49848         * sysdeps/generic/libnss_db.abilist: New file.
49849         * sysdeps/generic/libnss_dns.abilist: New file.
49850         * sysdeps/generic/libnss_files.abilist: New file.
49851         * sysdeps/generic/libnss_hesiod.abilist: New file.
49852         * sysdeps/generic/libnss_nis.abilist: New file.
49853         * sysdeps/generic/libnss_nisplus.abilist: New file.
49854         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49855         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49856         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49857         file.
49858         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49859         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49860         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49861         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49862         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49863         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49864         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49865         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49866         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49867         file.
49868         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49869         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49870         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49871         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49872         file.
49873         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49874         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49875         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49876         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49877         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49878         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49879         file.
49880         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49881         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49882         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49883         file.
49884         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49886         New file.
49887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49888         New file.
49889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49890         New file.
49891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49892         New file.
49893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49894         New file.
49895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49896         New file.
49897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49898         New file.
49899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49900         New file.
49901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49902         New file.
49903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49904         New file.
49905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49906         New file.
49907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49908         New file.
49909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49910         New file.
49911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49912         file.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49914         New file.
49915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49916         New file.
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49918         file.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49920         New file.
49921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49922         New file.
49923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49924         file.
49925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49926         New file.
49927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49928         New file.
49929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49930         New file.
49931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49932         New file.
49933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49934         New file.
49935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49936         New file.
49937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49939         file.
49940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49941         New file.
49942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49943         file.
49944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49945         file.
49946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49947         file.
49948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49949         file.
49950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49951         file.
49952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49953         New file.
49954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49955         file.
49956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49957         file.
49958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49959         New file.
49960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49961         file.
49962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49964         file.
49965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49966         New file.
49967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49968         file.
49969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49970         file.
49971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49972         file.
49973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49974         file.
49975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49976         file.
49977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49978         New file.
49979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49980         file.
49981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49982         file.
49983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49984         New file.
49985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49986         file.
49987         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49988         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49989         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49990         file.
49991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49992         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49993         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49994         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49995         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49996         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49997         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49998         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49999         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50000         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50003         file.
50004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50005         New file.
50006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50007         file.
50008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50009         file.
50010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50011         file.
50012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50013         file.
50014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50015         file.
50016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50017         New file.
50018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50019         New file.
50020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50021         file.
50022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50023         New file.
50024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50025         file.
50026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50028         file.
50029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50030         New file.
50031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50032         file.
50033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50034         file.
50035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50036         file.
50037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50038         file.
50039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50040         file.
50041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50042         New file.
50043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50044         New file.
50045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50046         file.
50047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50048         New file.
50049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50050         file.
50052 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50054         * conform/conformtest.pl: Fix typo in handling typed-constant from
50055         allow-header.
50057 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50059         * README: Cut down references to pre-2.6 Linux kernels and
50060         Linuxthreads.  Update lists of configurations in libc and ports
50061         and sort alphabetically.  Say "or newer" with Linux kernel version
50062         requirements.
50064         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50066 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50068         [BZ #887]
50069         * math/libm-test.inc (logb_test_downward): New test to expose
50070         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50071         rounding mode.
50073 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50075         [BZ #14027]
50076         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50077         to be done.
50078         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50079         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50081 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50083         * sysdeps/unix/i386/brk.S: Remove file.
50084         * sysdeps/unix/i386/dl-brk.S: Likewise.
50085         * sysdeps/unix/i386/pipe.S: Likewise.
50086         * sysdeps/unix/i386/sigreturn.S: Likewise.
50087         * sysdeps/unix/i386/syscall.S: Likewise.
50088         * sysdeps/unix/i386/vfork.S: Likewise.
50089         * sysdeps/unix/i386/wait.S: Likewise.
50091         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50092         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50094         * configure.in (arm*-none*): Do not allow without
50095         --enable-hacker-mode.
50096         (netbsd*): Remove case setting base_os.
50097         (386bsd*): Likewise.
50098         (freebsd*): Likewise.
50099         (bsdi*): Likewise.
50100         (osf*): Likewise.
50101         (sunos*): Likewise.
50102         (ultrix*): Likewise.
50103         (newsos*): Likewise.
50104         (dynix*): Likewise.
50105         (*bsd*): Likewise.
50106         (sysv*): Likewise.
50107         (isc*): Likewise.
50108         (esix*): Likewise.
50109         (sco*): Likewise.
50110         (minix*): Likewise.
50111         (irix4*): Likewise.
50112         (irix6*): Likewise.
50113         (solaris[2-9]*): Likewise.
50114         (none): Likewise.
50115         * configure: Regenerated.
50117 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50119         [BZ #11521]
50120         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50121         overflow or cancellation in calculating denominator.
50122         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50123         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50124         down expression to avoid unexpected rounding in newer GCCs.
50125         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50127 2012-04-26  David S. Miller  <davem@davemloft.net>
50129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50130         long-double compat symbols.
50131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50145 2012-04-25  David S. Miller  <davem@davemloft.net>
50147         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50148         HWCAP_* values only after the memory barriers have been defined.
50149         (atomic_full_barrier): Define.
50150         (atomic_read_barrier): Define.
50151         (atomic_write_barrier): Define.
50153 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50155         * shlib-versions: Add libgcc_s version information.
50156         * sysdeps/generic/libgcc_s.h: Remove.
50157         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50158         libgcc_s.h.
50159         * sysdeps/gnu/unwind-resume.c: Likewise.
50160         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50162 2012-04-25  David S. Miller  <davem@davemloft.net>
50164         * sysdeps/unix/sparc/brk.S: Delete.
50165         * sysdeps/unix/sparc/dl-brk.S: Delete.
50166         * sysdeps/unix/sparc/pipe.S: Delete.
50167         * sysdeps/unix/sparc/sysdep.S: Delete.
50168         * sysdeps/unix/sparc/sysdep.h: Delete.
50169         * sysdeps/unix/sparc/vfork.S: Delete.
50170         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50171         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50172         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50173         (ret_ERRVAL, r0, r1, MOVE): Define.
50174         (JUMPTARGET): Remove.
50175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50176         sysdeps/unix/sparc/sysdep.h
50177         (ENTRY, END): Remove.
50178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50180 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50182         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50183         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50184         -DIS_IN_build.
50186         * timezone/README: Update upstream location and email address for
50187         tzcode and tzdata.
50188         * timezone/zdump.c: Update from tzcode 2012b.
50189         * timezone/zic.c: Likewise.
50191         * configure.in (libc_cv_as_needed): Remove test.
50192         * configure: Regenerated.
50193         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50194         conditional definition.
50195         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50196         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50197         * config.make.in (have-as-needed): Remove variable.
50199 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50200             Paul Pluzhnikov  <ppluzhnikov@google.com>
50202         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50203         strings correctly.
50205 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50207         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50208         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50209         * sysdeps/sh/strlen.S: Likewise.
50211 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50213         * sysdeps/unix/fork.S: Remove file.
50214         * sysdeps/unix/i386/fork.S: Likewise.
50215         * sysdeps/unix/sparc/fork.S: Likewise.
50217         * sysdeps/unix/system.c: Remove file.
50218         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50220         * sysdeps/unix/getegid.S: Remove file.
50221         * sysdeps/unix/geteuid.S: Likewise.
50223 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50225         * scripts/check-localplt.awk: New file.
50226         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50227         of diff.
50228         * scripts/data/localplt-generic.data: Add a comment.
50230         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50231         NODE when __dir_mkfile failed.
50232         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50233         Reported by Ludovic Courtès <ludo@gnu.org>.
50235 2012-04-24  Andreas Jaeger  <aj@suse.de>
50237         * Makerules (common-clean): Also remove gen-as-const-headers
50238         files.
50240 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50242         * Makerules (native-compile): Do not change working directory for
50243         build.  Use $(OUTPUT_OPTION) in command.
50244         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50246 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50248         [BZ #13886]
50249         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50250         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50251         * math/libm-test.inc (floor_test): Add more tests.
50252         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50254 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50256         * sysdeps/unix/getdents.c: Remove file.
50257         * sysdeps/unix/sysv/getdents.c: Likewise.
50258         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50260         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50261         sysdeps/unix/mman/syscalls.list.
50262         (mmap): Likewise.
50263         (mprotect): Likewise.
50264         (msync): Likewise.
50265         (munmap): Likewise.
50266         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50267         * sysdeps/unix/mman/syscalls.list: Remove.
50268         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50270         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50271         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50272         * configure: Regenerated.
50273         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50274         $(libgcc_s_suffix).
50275         * config.make.in (libgcc_s_suffix): Remove variable.
50277 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50279         * sysdeps/unix/sysv/gethostname.c: Move to ...
50280         * sysdeps/posix/gethostname.c: ... here.
50282         * sysdeps/unix/execve.S: Remove file.
50284         * sysdeps/unix/_exit.S: Remove file.
50286 2012-04-23  Andreas Jaeger  <aj@suse.de>
50288         [BZ #13739]
50289         * manual/Makefile: Remove make dist support, there's no
50290         need for a stand-alone documentation tar ball.
50291         (TEXI2DVI): Define always, it's not in Makeconfig.
50292         (dist): Removed.
50293         (tar-it): Removed.
50294         (edition): Removed.
50295         (glibc-doc-$(edition).tar): Removed
50296         (%.Z): Removed.
50297         (%.gz): Removed.
50298         (%.uu): Removed.
50299         (ETAGS): Remove, it's in Makeconfig.
50300         (move-if-change): Remove, it's in Makeconfig.
50302 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50304         [BZ #13970]
50305         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50306         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50307         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50308         (strtod_l, strtof_l, strtold_l): Remove __wur.
50309         It is not necessarily an error to ignore strtol's return value.
50310         One can reliably look at the stored endptr to decide whether
50311         the number had valid syntax.
50313 2012-04-21  Andreas Jaeger  <aj@suse.de>
50315         [BZ #13739]
50316         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50318 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50320         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50321         * sysdeps/unix/sysv/Versions: Remove file.
50323 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50325         [BZ #13927]
50326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50328 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50330         [BZ #7064]
50331         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50332         version from __vm86.
50334 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50336         * sysdeps/unix/common/lxstat.c: Remove file.
50337         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50339         * sysdeps/unix/sysv/Makefile: Remove file.
50341         * sysdeps/unix/sysv/direct.h: Remove file.
50343         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50344         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50345         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50346         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50347         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50348         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50349         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50351         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50353         * sysdeps/unix/xmknod.c: Remove file.
50354         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50356         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50358         * sysdeps/unix/sysv/i386/time.S: Remove file.
50360         * sysdeps/unix/fxstat.c: Remove file.
50361         * sysdeps/unix/xstat.c: Likewise.
50362         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50364         * sysdeps/unix/sysv/sigaction.c: Remove file.
50366         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50367         (sysdep_headers): Remove variable.
50368         [termio.h not in sysdep_headers] (generated): Likewise.
50369         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50370         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50371         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50372         * sysdeps/unix/sysv/tcflow.c: Likewise.
50373         * sysdeps/unix/sysv/tcflush.c: Likewise.
50374         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50375         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50376         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50377         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50378         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50380         * sysdeps/unix/siglist.c: Remove file.
50382         * sysdeps/unix/getppid.S: Remove file.
50384         * sysdeps/unix/mkdir.c: Remove file.
50385         * sysdeps/unix/rmdir.c: Likewise.
50387 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50389         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50390         ERR_MAX value.
50391         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50392         errlist-compat value.
50394 2012-04-18  David S. Miller  <davem@davemloft.net>
50396         * sysdeps/generic/memcopy.h (reg_char): Delete.
50397         * debug/strcat_chk.c: Use char, not reg_char.
50398         * debug/strcpy_chk.c: Likewise.
50399         * debug/strncat_chk.c: Likewise.
50400         * debug/strncpy_chk.c: Likewise.
50401         * string/memchr.c: Likewise.
50402         * string/memrchr.c: Likewise.
50403         * string/rawmemchr.c: Likewise.
50404         * string/strcat.c: Likewise.
50405         * string/strchr.c: Likewise.
50406         * string/strchrnul.c: Likewise.
50407         * string/strcmp.c: Likewise.
50408         * string/strcpy.c: Likewise.
50409         * string/strncat.c: Likewise.
50410         * string/strncmp.c: Likewise.
50411         * string/strncpy.c: Likewise.
50413 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50415         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50416         __builtin_memcopy is called when src and dest ranges are known to not
50417         overlap.
50419 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50421         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50422         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50423         fwd_align_merge macro call.
50424         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50425         bwd_align_merge macro call.
50426         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50428 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50430         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50431         bwd_align_merge macros.
50432         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50433         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50434         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50436 2012-04-18  David S. Miller  <davem@davemloft.net>
50438         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50440 2012-04-18  Andreas Jaeger  <aj@suse.de>
50442         [BZ# 6794]
50443         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50444         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50445         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50447         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50448         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50449         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50451         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50452         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50453         Adjust for changed ldbl-128 files.
50455         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50456         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50457         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50459 2012-04-17  David S. Miller  <davem@davemloft.net>
50461         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50463 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50465         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50466         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50467         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50468         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50469         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50470         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50472 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50474         [BZ #6794]
50475         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50476         * math/libm-test.inc: Add ilogb errno and exception tests.
50477         * math/w_ilogb.c: New file: ilogb wrapper.
50478         * math/w_ilogbf.c: New file: ilogbf wrapper.
50479         * math/w_ilogbl.c: New file: ilogbl wrapper.
50480         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50481         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50482         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50483         exception being thrown with 0.0 as argument.
50484         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50485         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50486         exception being thrown with 0.0 as argument.
50487         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50488         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50489         exception being thrown with 0.0 as argument.
50490         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50491         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50492         exception being thrown with 0.0 as argument.
50493         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50494         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50495         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50496         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50497         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50498         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50499         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50500         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50501         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50503 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50505         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50506         with altivec.
50508 2012-04-16  Marek Polacek  <polacek@redhat.com>
50510         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50512 2012-04-16  Marek Polacek  <polacek@redhat.com>
50514         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50515         operands of fdivp instruction.
50517 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50519         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50520         * elf/tst-auditmod3b.c: Likewise.
50521         * elf/tst-auditmod4b.c: Likewise.
50522         * elf/tst-auditmod5b.c: Likewise.
50523         * elf/tst-auditmod6b.c: Likewise.
50524         * elf/tst-auditmod6c.c: Likewise.
50525         * elf/tst-auditmod7b.c: Likewise.
50526         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50527         * sysdeps/x86_64/preconfigure.in: Likewise.
50528         * sysdeps/x86_64/preconfigure: Regenerated.
50530 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50532         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50533         __ILP32__.
50535 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50537         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50538         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50540 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50542         [BZ #13973]
50543         * locale/iso-639.def: Fix gl language name. Spotted by
50544         Yaron Shahrabani.
50546 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50548         [BZ #2074]
50549         * libio/libio.h (__io_write_fn): Update comment.
50551 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50553         [BZ #2074]
50554         * stdio.texi (Hook Functions): The user provided writer function
50555         is not allowed to return -1.
50557 2012-04-11  David S. Miller  <davem@davemloft.net>
50559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50561 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50563         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50564         Add a leading slash to rtkaio.
50566 2012-04-11  Jim Meyering  <meyering@redhat.com>
50568         [BZ #11959]
50569         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50570         It is not necessarily an error to ignore fwrite's return
50571         value.  One can reliably use ferror to test for errors after
50572         the fact.
50574 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50576         * bits/types.h (__snseconds_t): New type.
50577         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50579         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50581         (__SNSECONDS_T_TYPE): Likewise.
50582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50583         (__SNSECONDS_T_TYPE): Likewise.
50584         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50585         (__SNSECONDS_T_TYPE): Likewise.
50587 2012-04-10  Andreas Jaeger  <aj@suse.de>
50589         [BZ #2636]
50590         * manual/time.texi (Processor Time): Return type of times is
50591         elapsed real time since an arbitrary point in the past.
50592         (CPU Time): Move CLK_TCK from here...
50593         (Processor Time): ...to here.  Correct description.
50594         * manual/conf.texi (Constants for Sysconf): Correct description of
50595         _SC_CLK_TCK.
50597 2012-04-10  David S. Miller  <davem@davemloft.net>
50599         [BZ #13967]
50600         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50601         where the is a gap between DT_REL(A) and DT_JMPREL.
50603 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50605         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50606         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50607         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50609 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50611         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50612         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50613         (dl_main): Handle --inhibit-cache.
50614         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50615         _dl_inhibit_cache.
50616         * elf/dl-load.c (_dl_map_object): Use it.
50617         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50619 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50621         [BZ #13872]
50622         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50623         (__ieee754_powl): Saturate large exponents rather than testing for
50624         overflow of y*log2(x).
50625         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50626         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50627         exceptions.
50629         [BZ #11521]
50630         * math/s_ctan.c: Include <float.h>.
50631         (__ctan): Avoid internal overflow or cancellation in calculating
50632         denominator.
50633         * math/s_ctanf.c: Likewise.
50634         * math/s_ctanl.c: Likewise.
50635         * math/s_ctanh.c: Likewise.
50636         * math/s_ctanhf.c: Likewise.
50637         * math/s_ctanhl.c: Likewise.
50638         * math/libm-test.inc (ctan_test): Add more tests.
50639         (ctanh_test): Likewise.
50640         * sysdeps/i386/fpu/libm-test-ulps: Update.
50641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50643 2012-04-09  Andreas Jaeger  <aj@suse.de>
50645         [BZ #6894]
50646         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50647         is an optional BSD extension.
50649         [BZ #10254]
50650         * manual/stdio.texi (Opening Streams): Document additional fopen
50651         parameters.
50653 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50655         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50656         %eax without telling the compiler.
50658 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50660         [BZ # 13963]
50661         * manual/install.texi: Use sourceware.org.
50663 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50665         [BZ #13873]
50666         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50667         (__ieee754_pow): Generate overflow and underflow using huge*huge
50668         and tiny*tiny rather than just returning constant infinity or zero
50669         for large exponents.
50670         * math/libm-test.inc (pow_test): Require overflow exceptions for
50671         applicable cases of large exponents.
50673         [BZ #706]
50674         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50675         (__ieee754_pow): Use iterative multiplication algorithm only for
50676         integer exponents with absolute value below 1024.  Check for odd
50677         integer exponents when using algorithm for real exponents.
50678         * math/libm-test.inc (pow_test): Add more tests.
50679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50681 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50683         [BZ #13705]
50684         * math/libm-test.inc (exp_test): Do not allow overflow exception
50685         on underflow test.
50687 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50689         [BZ #13705]
50690         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50691         instead of __kernel_standard_f.
50693 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50695         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50696         * sysdeps/x86_64/memset_chk.S: Likewise.
50698 2012-04-08  Andreas Jaeger  <aj@suse.de>
50700         [BZ #10153]
50701         * manual/startup.texi (Environment Access): Describe return value
50702         for putenv and setenv.
50704         [BZ #6895]
50705         * manual/filesys.texi (Directory Entries): Add description for
50706         DT_LNK.
50708         [BZ #6890]
50709         * manual/filesys.texi (Directory Entries): Clarify that it's file
50710         system not operating system in the description of DT_UNKNOWN.
50712         [BZ #6578]
50713         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50715 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50717         [BZ #6649]
50718         * manual/llio.texi (Opening and Closing Files): Add cross
50719         reference to explain mode argument.
50721 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50723         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50724         * sysdeps/x86_64/memset_chk.S: Likewise.
50726 2012-04-07  David S. Miller  <davem@davemloft.net>
50728         * elf/elf.h (R_SPARC_WDISP10): Define.
50729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50730         R_SPARC_SIZE32.
50731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50732         R_SPARC_SIZE64 and R_SPARC_H34.
50734 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50736         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50737         conditions and remove no longer applicable assertion.
50739 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50741         * bits/byteswap.h: Include <features.h>.
50742         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50743         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50745 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50747         * bits/byteswap.h (__bswap_16): Removed.
50748         Include <bits/byteswap-16.h> to get __bswap_16.
50749         * sysdeps/i386/bits/byteswap.h: Likewise.
50750         * sysdeps/s390/bits/byteswap.h: Likewise.
50751         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50752         * bits/byteswap-16.h: New file.
50753         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50754         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50755         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50756         * string/Makefile (headers): Add bits/byteswap-16.h.
50758 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50760         [BZ #13895]
50761         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50762         extra indirection.
50763         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50764         * nss/tst-nss-static.c: New.
50766 2012-04-06  Robert Millan  <rmh@gnu.org>
50768         [BZ #6486]
50769         * manual/llio.texi (File Position Primitive): lseek
50770         refers to WHENCE when it really means OFFSET.
50772 2012-04-06  Andreas Jaeger  <aj@suse.de>
50774         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50775         strncmp declarations.
50777         * abilist/libc.abilist: Add __poll and __ppoll.
50779 2012-04-05  David S. Miller  <davem@davemloft.net>
50781         * scripts/check-local-headers.sh: Accept a host triplet in the
50782         path matched by the exclude regexp.
50784         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50785         definition.
50786         * sysdeps/powerpc/powerpc32/dl-machine.h
50787         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50788         * sysdeps/s390/s390-32/dl-machine.h
50789         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50790         * sysdeps/sparc/sparc32/dl-machine.h
50791         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50792         * sysdeps/sparc/sparc64/dl-machine.h
50793         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50795         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50796         lazy binding.
50797         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50798         undefined symbol errors.
50800         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50801         DT_NEEDED entries.
50803 2012-04-05  Michael Matz  <matz@suse.de>
50805         [BZ #13592]
50806         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50808 2012-04-05  Andreas Jaeger  <aj@suse.de>
50810         [BZ #13908]
50811         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50812         comment.
50814 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50816         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50817         which ROUND is no valid rounding mode.
50819 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50821         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50822         read again.
50823         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50825 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50827         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50828         an exception using FPU order intentionally.
50830 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50832         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50833         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50834         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50835         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50837 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50839         [BZ #12340]
50840         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50841         EINVAL when BUFLEN is too smal.
50843 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50845         [BZ #13553]
50846         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50847         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50849 2012-04-03  Andreas Jaeger  <aj@suse.de>
50851         [BZ #13938]
50852         * manual/setjmp.texi (System V contexts): Fix sentence.
50854         [BZ #13926]
50855         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50856         New macro for this case.
50857         [!__GNUC__] (__bswap_64): New inline function for this case.
50858         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50859         * bits/byteswap.h: Likewise.
50860         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50861         ull, guard with __GLIBC_HAVE_LONG_LONG.
50863         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50864         __GLIBC_HAVE_LONG_LONG.
50866         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50867         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50869 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50871         [BZ #13691]
50872         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50873         inptr and inend, rather than using last_ch.
50875 2012-04-02  David S. Miller  <davem@davemloft.net>
50877         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50878         * stdio-common/printf-parse.h (read_int): Change return type to
50879         'int', return -1 on INT_MAX overflow.
50880         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50881         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50882         overflows INT_MAX.  Check for overflow of in-format-string precision
50883         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50884         SIZE_MAX not INT_MAX for integer overflow test.
50885         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50886         skip the construct in the format string but do not record anything.
50887         * stdio-common/bug22.c: Adjust to test both width/prevision
50888         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50889         explicitly for proper errno values.
50891 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50893         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50894         CHAR_MAX.
50895         * string/test-strcmp.c [! WIDE]: Likewise.
50896         * time/tst-mktime2.c: Likewise for INT_MAX.
50897         * string/test-string.h: #include <sys/param.h> for MIN.
50899         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50900         * sysdeps/i386/init-first.c (init): Likewise.
50901         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50902         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50903         * sysdeps/sh/init-first.c (init): Likewise.
50905 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50907         * po/ru.po: Update from translation team.
50908         * po/vi.po: Likewise.
50910 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50912         * resolv/nss_dns/dns-host.c: Merge copyright years.
50914 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50916         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50917         Optimize memcpy with prefetch if
50918         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50919         src, dst pointers have unequal 16 byte alignments.
50921 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50923         [BZ #13928]
50924         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50925         from a CNAME entry and return the minimum ttl for the query.
50926         (gaih_getanswer_slice): Likewise.
50928 2012-03-30  Jeff Law  <law@redhat.com>
50930         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50931         due to long keys.
50932         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50933         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50935         * resolv/nss_dns/dns-host.c: Update copyright year.
50937 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50939         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50940         requests to save a system call.  Fix check that all bytes are sent.
50942         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50943         comments for sendmmsg.
50945 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50947         [BZ #13691]
50948         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50949         with only 1 character between 0x0041 and 0x01b0.
50950         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50951         * wcsmbs/tst-mbsnrtowcs.c: New file.
50953 2012-03-29  David S. Miller  <davem@davemloft.net>
50955         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50956         small copies by hand.
50958 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50960         [BZ #13761]
50961         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50962         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50963         group memberships.
50965 2012-03-28  David S. Miller  <davem@davemloft.net>
50967         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50968         that branches into memcpy.
50969         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50970         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50971         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50972         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50973         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50974         bits.
50975         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50976         implementation too.
50977         * sysdeps/sparc/mempcpy.S: New file.
50979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50980         the IFUNC routine in the libc case.
50981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50983         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50984         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50985         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50986         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50987         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50988         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50989         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50990         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50992         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50993         loop to 256 bytes instead of 64 bytes and fix test signedness.
50995         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50996         * sysdeps/sparc/sparc32/Makefile: rather than here...
50997         * sysdeps/sparc/sparc64/Makefile: and here.
50999 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51001         * malloc/mallocbug.c: Avoid warnings about unused variables.
51003 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51005         [BZ #13760]
51006         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51007         in the right place. Discard and retry query if response is
51008         larger than input buffer size.
51010 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51012         [BZ #369]
51013         [BZ #2678]
51014         [BZ #3866]
51015         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51016         x for large integer exponent.
51017         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51018         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51019         sign of result as needed afterwards.
51020         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51021         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51022         result for underflowing pow the same as for overflow.
51023         (__kernel_standard_l): Handle powl overflow and underflow here
51024         rather than calling __kernel_standard.
51025         * math/libm-test.inc (pow_test): Add more tests.
51027         [BZ #3868]
51028         [BZ #13879]
51029         [BZ #13910]
51030         [BZ #13911]
51031         [BZ #13912]
51032         [BZ #13913]
51033         [BZ #13915]
51034         [BZ #13916]
51035         [BZ #13917]
51036         [BZ #13918]
51037         [BZ #13919]
51038         [BZ #13920]
51039         [BZ #13921]
51040         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51041         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51042         (__kernel_standard_l): New function.
51043         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51044         __kernel_standard.
51045         * math/w_acosl.c (__acosl): Likewise.
51046         * math/w_asinl.c (__asinl): Likewise.
51047         * math/w_atan2l.c (__atan2l): Likewise.
51048         * math/w_atanhl.c (__atanhl): Likewise.
51049         * math/w_coshl.c (__coshl): Likewise.
51050         * math/w_exp10l.c (__exp10l): Likewise.
51051         * math/w_exp2l.c (__exp2l): Likewise.
51052         * math/w_fmodl.c (__fmodl): Likewise.
51053         * math/w_hypotl.c (__hypotl): Likewise.
51054         * math/w_j0l.c (__j0l, __y0l): Likewise.
51055         * math/w_j1l.c (__j1l, __y1l): Likewise.
51056         * math/w_jnl.c (__jnl, __ynl): Likewise.
51057         * math/w_lgammal.c (__lgammal): Likewise.
51058         * math/w_log10l.c (__log10l): Likewise.
51059         * math/w_log2l.c (__log2l): Likewise.
51060         * math/w_logl.c (__logl): Likewise.
51061         * math/w_powl.c (__powl): Likewise.
51062         * math/w_remainderl.c (__remainderl): Likewise.
51063         * math/w_scalbl.c (sysv_scalbl): Likewise.
51064         * math/w_sinhl.c (__sinhl): Likewise.
51065         * math/w_sqrtl.c (__sqrtl): Likewise.
51066         * math/w_tgammal.c (__tgammal): Likewise.
51067         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51068         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51069         * math/libm-test.inc (acos_test): Add more tests.
51070         (acosh_test): Likewise.
51071         (asin_test): Likewise.
51072         (atanh_test): Likewise.
51073         (exp_test): Likewise.
51074         (exp10_test): Likewise.
51075         (exp2_test): Likewise.
51076         (expm1_test): Likewise.
51077         (lgamma_test): Likewise.
51078         (log_test): Likewise.
51079         (log10_test): Likewise.
51080         (log1p_test): Likewise.
51081         (log2_test): Likewise.
51082         (pow_test): Do not allow some spurious overflow exceptions.
51083         (sqrt_test): Add more tests.
51084         (tgamma_test): Likewise.
51085         (y0_test): Likewise.
51086         (y1_test): Likewise.
51087         (yn_test): Likewise.
51089 2012-03-27  Anton Blanchard  <anton@samba.org>
51091         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51092         MAP_HUGETLB.
51093         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51094         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51095         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51097 2012-03-27  David S. Miller  <davem@davemloft.net>
51099         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51101         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51102         have-as-vis3 check.
51104 2012-03-27  Andreas Jaeger  <aj@suse.de>
51106         * sysdeps/x86_64/elf/configure.in: Moved to ...
51107         * sysdeps/x86_64/configure.in: ... here.
51108         * sysdeps/x86_64/elf/start.S: Moved to ...
51109         * sysdeps/x86_64/start.S: ... here.
51110         * sysdeps/x86_64/elf/configure: Delete.
51112         * sysdeps/x86_64/configure.in: Merge contents from
51113         sysdeps/i386/configure.in (without i686 check).
51115         * sysdeps/i386/elf/Versions: Merge into ...
51116         * sysdeps/i386/Versions: ... this.
51117         * sysdeps/i386/elf/Versions: Delete file.
51118         * sysdeps/i386/elf/start.S: Moved to ...
51119         * sysdeps/i386/start.S: ...here.
51120         * sysdeps/i386/elf/configure.in: Merge into...
51121         * sysdeps/i386/configure.in: ...here.
51122         * sysdeps/i386/elf/configure.in: Delete file.
51123         * sysdeps/i386/elf/configure: Delete file.
51125         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51126         * debug/backtracesyms.c: ... here.
51127         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51128         * debug/backtracesymsfd.c: ... here.
51129         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51130         * sysdeps/generic/ifunc-sel.h: ... here.
51132         * sysdeps/unix/i386/start.c: Delete file.
51133         * sysdeps/unix/sparc/start.c: Delete file.
51134         * sysdeps/unix/start.c: Delete file.
51136         * sysdeps/sh/elf/configure.in: Moved to ...
51137         * sysdeps/sh/configure.in: ... here.
51138         * sysdeps/sh/elf/start.S: Moved to ...
51139         * sysdeps/sh/start.S: ... here.
51140         * sysdeps/sh/elf/configure: Delete file.
51142         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51143         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51144         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51145         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51146         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51147         * sysdeps/powerpc/powerpc64/start.S: here.
51148         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51149         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51150         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51151         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51152         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51154         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51155         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51156         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51157         * sysdeps/powerpc/powerpc32/start.S: ... here.
51158         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51159         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51160         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51162         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51163         * sysdeps/powerpc/ifunc-sel.h: ... here.
51164         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51165         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51167         * sysdeps/sparc/elf/configure.in: Moved to ...
51168         * sysdeps/sparc/configure.in: ... here.
51169         * sysdeps/sparc/elf/configure: Delete file.
51170         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51171         * sysdeps/sparc/sparc32/start.S: ... here.
51172         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51173         * sysdeps/sparc/sparc64/start.S: ... here.
51174         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51175         * sysdeps/sparc/sparc32/Makefile: ... this.
51176         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51177         * sysdeps/sparc/sparc64/Makefile: ... this.
51179         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51180         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51181         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51182         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51183         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51184         * sysdeps/s390/s390-32/setjmp.S: ... here.
51185         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51186         * sysdeps/s390/s390-32/configure.in: ... here.
51187         * sysdeps/s390/s390-32/elf/configure: Delete file.
51188         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51189         * sysdeps/s390/s390-32/start.S: ... here.
51191         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51192         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51193         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51194         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51195         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51196         * sysdeps/s390/s390-64/setjmp.S: ... here.
51197         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51198         * sysdeps/s390/s390-64/configure.in: ... here
51199         * sysdeps/s390/s390-64/elf/configure: Delete file.
51200         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51201         * sysdeps/s390/s390-64/start.S: ... here.
51202         * sysdeps/s390/s390-64/elf/configure: Delete.
51204         * configure.in: Remove support for elf directories in sysdeps.
51206         * configure: Regenerated.
51207         * sysdeps/i386/configure: Regenerated.
51208         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51209         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51210         * sysdeps/s390/s390-32/configure: Regenerated.
51211         * sysdeps/s390/s390-64/configure: Regenerated.
51212         * sysdeps/sh/configure: Regenerated.
51213         * sysdeps/sparc/configure: Regenerated.
51214         * sysdeps/x86_64/configure: Regenerated.
51216 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51220         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51221         denormal result into account.
51223 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51225         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51226         Reported by Allan McRae <allan@archlinux.org>.
51228 2012-03-23  Jeff Law  <law@redhat.com>
51230         * nss/getnssent.c (__nss_getent): Fix typo.
51232 2012-03-23  David S. Miller  <davem@davemloft.net>
51234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51236 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51238         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51239         to pad to uint64_t for each field.
51240         (dl_tls_index): Replace unsigned long with uint64_t.
51242 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51243         Paul Pluzhnikov  <ppluzhnikov@google.com>
51245         [BZ #6528]
51246         * grp/Makefile (otherlibs): Don't set it.
51247         * inet/Makefile (otherlibs): Likewise.
51248         * login/Makefile (otherlibs): Likewise.
51249         * nscd/Makefile (otherlibs): Likewise.
51250         * posix/Makefile (otherlibs): Likewise.
51251         * pwd/Makefile (otherlibs): Likewise.
51252         * rt/Makefile (otherlibs): Likewise.
51253         * sunrpc/Makefile (otherlibs): Likewise.
51254         * nss/Makefile (otherlibs): Likewise.
51255         Add libnss_files to routines and static-only-routines.
51256         ($(objpfx)getent): Remove rule.
51257         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51258         static-only-routines.
51260 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51262         [BZ #13892]
51263         * math/s_cexp.c: Include <float.h>.
51264         (__cexp): Handle exp result overflowing not necessarily
51265         overflowing both real and imaginary parts of result.
51266         * math/s_cexpf.c: Likewise.
51267         * math/s_cexpl.c: Likewise.
51268         * math/libm-test.inc (cexp_test): Add more tests.
51269         * sysdeps/i386/fpu/libm-test-ulps: Update.
51270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51272 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51274         * include/link.h (ELFW): New macro.
51275         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51276         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51278 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51280         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51281         with uint64_t.
51283 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51285         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51286         declaration.
51287         (struct La_x32_retval): Likewise.
51289 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51291         * sysdeps/x86_64/preconfigure.in: New file.
51292         * sysdeps/x86_64/preconfigure: New generated file.
51294 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51296         [BZ #13824]
51297         * math/e_exp2l.c: Include <float.h>.
51298         (__ieee754_exp2l): Handle overflow and underflow cases
51299         separately.  Only pass fractional part of argument to
51300         __ieee754_expl.
51301         * math/libm-test.inc (exp2_test): Add more tests.
51303         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51304         negating x to take absolute value.
51305         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51306         Likewise.
51307         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51308         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51309         Likewise.
51310         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51311         computing low part if x was negated.
51312         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51314 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51316         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51317         la_x32_gnu_pltexit.
51318         (pltexit): Cast int_retval to ptrdiff_t.
51319         * elf/tst-auditmod3b.c: Likewise.
51320         * elf/tst-auditmod4b.c: Likewise.
51321         * elf/tst-auditmod5b.c: Likewise.
51322         * elf/tst-auditmod6b.c: Likewise.
51323         * elf/tst-auditmod6c.c: Likewise.
51324         * elf/tst-auditmod7b.c: Likewise.
51326         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51327         and x32_gnu_pltexit.
51329         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51330         __ELF_NATIVE_CLASS.
51331         (La_x32_regs): New macro.
51332         (La_x32_retval): Likewise.
51333         (la_x32_gnu_pltenter): New function prototype.
51334         (la_x32_gnu_pltexit): Likewise.
51336 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51338         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51339         exponent.
51341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51343         * configure.in (libc_cv_cc_nofma): Check for option to disable
51344         generation of FMA instructions.
51345         * configure: Regenerate.
51346         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51347         * sysdeps/ieee754/dbl-64/Makefile: New file.
51348         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51349         Remove brandred-fma4.
51350         (CFLAGS-brandred-fma4.c): Remove.
51351         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51352         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51353         define.
51354         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51355         define.
51357 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51359         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51360         LLONG_MAX != LONG_MAX.
51361         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51362         (_fitoa_word): Likewise.
51363         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51364         LLONG_MAX != LONG_MAX.
51365         * stdio-common/_itowa.h: Include <_itoa.h>.
51366         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51367         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51368         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51369         only if not defined.
51370         (_ITOA_WORD_TYPE): Likewise.
51371         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51372         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51374 2012-03-21  David S. Miller  <davem@davemloft.net>
51376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51378 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51380         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51381         of x86_64 when setting libc_cv_slibdir, libdir and
51382         libc_cv_localedir.
51383         * sysdeps/unix/sysv/linux/configure: Regenerated.
51385 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51387         * manual/lang.texi (Old Varargs): Remove section.
51388         (How Variadic): Update menu.
51389         (va_start): Do not mention varargs.h.
51391 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51392             Joseph Myers  <joseph@codesourcery.com>
51394         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51395         link test.
51396         * configure: Regenerated.
51398 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51400         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51401         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51402         conformtest.pl
51404 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51406         * NOTES: Remove.
51407         * Makefile (files-for-dist): Remove NOTES.
51408         (NOTES): Remove rule.
51409         * README: Don't refer to NOTES.
51410         * manual/creature.texi: Don't include macros.texi.
51411         * manual/intro.texi (creature.texi): Remove comment referring to
51412         NOTES.
51414         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51415         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51416         * configure: Regenerated.
51417         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51418         LIBC_TRY_CC_OPTION.
51419         (libc_cv_as_i686): Likewise.
51420         (libc_cv_cc_avx): Likewise.
51421         (libc_cv_cc_sse2avx): Likewise.
51422         (libc_cv_cc_fma4): Likewise.
51423         (libc_cv_cc_novzeroupper): Likewise.
51424         * sysdeps/i386/configure: Regenerated.
51426         [BZ #13883]
51427         * sysdeps/i386/fpu/s_cexp.S: Remove.
51428         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51429         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51430         * math/libm-test.inc (cexp_test): Add more tests.
51431         * sysdeps/i386/fpu/libm-test-ulps: Update.
51432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51434 2012-03-21  Allan McRae  <allan@archlinux.org>
51436         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51438 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51440         [BZ #13871]
51441         * math/w_exp2.c: Do not include <float.h>.
51442         (o_threshold, u_threshold): Remove.
51443         (__exp2): Calculate result before checking finiteness and calling
51444         __kernel_standard.
51445         * math/w_exp2f.c: Likewise.
51446         * math/w_exp2l.c: Likewise.
51447         * math/libm-test.inc (exp2_test): Require overflow exception for
51448         1e6 input.
51450         [BZ #3866]
51451         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51452         range of signed 64-bit integers before using fistpll.  Remove
51453         checks for whether integers fit in mantissa bits.
51454         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51455         the range of signed 32-bit integers before using fistpl.  Remove
51456         checks for whether integers fit in mantissa bits.
51457         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51458         (__ieee754_powl): Test for y outside the range of signed 64-bit
51459         integers before using fistpll.  Reduce 64-bit values to 63-bit
51460         ones as needed.
51461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51462         divide-by-zero is raised for zero to large negative powers.
51463         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51464         (__ieee754_powl): Test for y outside the range of signed 64-bit
51465         integers before using fistpll.  Reduce 64-bit values to 63-bit
51466         ones as needed.
51467         * math/libm-test.inc (pow_test): Add more tests.
51469 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51471         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51472         <stdio-common/_itoa.h>.
51473         * debug/segfault.c: Likewise.
51474         * elf/dl-cache.c: Likewise.
51475         * elf/dl-minimal.c: Likewise.
51476         * elf/dl-misc.c: Likewise.
51477         * elf/dl-sysdep.c: Likewise.
51478         * elf/dl-version.c: Likewise.
51479         * elf/rtld.c: Likewise.
51480         * hurd/hurdsock.c: Likewise.
51481         * hurd/lookup-retry.c: Likewise.
51482         * malloc/malloc.c: Likewise.
51483         * malloc/mtrace.c: Likewise.
51484         * nscd/nscd_getgr_r.c: Likewise.
51485         * nscd/nscd_getpw_r.c: Likewise.
51486         * nscd/nscd_getserv_r.c: Likewise.
51487         * posix/getopt_init.c: Likewise.
51488         * posix/wordexp.c: Likewise.
51489         * stdio-common/_itoa.c: Likewise.
51490         * stdio-common/printf_fphex.c: Likewise.
51491         * stdio-common/vfprintf.c: Likewise.
51492         * string/_strerror.c: Likewise.
51493         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51494         * sysdeps/i386/i686/hp-timing.h: Likewise.
51495         * sysdeps/mach/_strerror.c: Likewise.
51496         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51497         * sysdeps/mach/hurd/sethostid.c: Likewise.
51498         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51499         * sysdeps/mach/xpg-strerror.c: Likewise.
51500         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51501         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51502         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51503         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51504         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51505         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51506         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51507         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51508         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51509         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51510         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51511         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51512         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51513         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51514         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51515         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51516         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51517         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51518         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51519         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51520         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51522         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51524         * stdio-common/_itoa.h: Moved to ...
51525         * sysdeps/generic/_itoa.h: Here.
51527         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51529         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51530         instead of "_itoa.h" and "_itowa.h".
51531         * stdio-common/vfprintf.: Likewise.
51533 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51535         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51536         <bits/wordsize.h>.
51537         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51538         (__signbit): Likwise.
51539         (llrintf): Likwise.
51540         (llrint): Likwise.
51542 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51544         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51545         __WORDSIZE != 64.
51547 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51549         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51550         OVERFLOW_EXCEPTION_OK.
51551         * math/libm-test.inc ("Philosophy"): Update comment about
51552         exception testing.
51553         (OVERFLOW_EXCEPTION): Define.
51554         (OVERFLOW_EXCEPTION_OK): Likewise.
51555         (INVALID_EXCEPTION_OK): Renumber.
51556         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51557         (IGNORE_ZERO_INF_SIGN): Likewise.
51558         (test_exceptions): Handle FE_OVERFLOW.
51559         (exp10_test): Expect overflow exceptions.
51560         (exp2_test): Likewise.
51561         (expm1_test): Likewise.
51562         (nextafter_test): Likewise.
51563         (pow_test): Likewise.
51564         (scalbn_test): Likewise.
51565         (scalbln_test): Likewise.
51567 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51569         * sysdeps/x86_64/bits/atomic.h
51570         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51571         64bit integer.
51572         (atomic_exchange_acq): Likewise.
51573         (__arch_exchange_and_add_body): Likewise.
51574         (__arch_add_body): Likewise.
51575         (atomic_add_negative): Likewise.
51576         (atomic_add_zero): Likewise.
51578 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51580         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51581         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51583 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51585         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51586         Check __x86_64__ instead of __WORDSIZE.
51588 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51590         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51592 2012-03-19  David S. Miller  <davem@davemloft.net>
51594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51596         * sysdeps/sparc/fpu/fenv_private.h: New file.
51597         * sysdeps/sparc/fpu/math_private.h: Use it.
51598         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51599         Remove.
51600         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51601         (libc_feholdexcept_setroundl): Remove.
51602         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51603         Remove.
51604         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51605         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51607 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51609         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51610         int64_t instead of long int.
51611         (INSERT_WORDS64): Likwise.
51613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51615         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51616         _Unwind_GetCFA return to _Unwind_Ptr first.
51618 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51620         [BZ #13629]
51621         * math/s_clog.c: Include <float.h>.
51622         (__clog): Scale large or subnormal inputs.
51623         * math/s_clogf.c: Likewise.
51624         * math/s_clogl.c: Likewise.
51625         * math/s_clog10.c: Include <float.h>.
51626         (M_LOG10_2): Define.
51627         (__clog10): Scale large or subnormal inputs.
51628         * math/s_clog10f.c: Likewise.
51629         * math/s_clog10l.c: Likewise.
51630         * math/libm-test.inc (clog_test): Add more tests.
51631         (clog10_test): Likewise.
51632         * sysdeps/i386/fpu/libm-test-ulps: Update.
51633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51635         [BZ #11451]
51636         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51637         x and y.
51638         * math/libm-test.inc (atan2_test): Add another test.
51640         * Makerules (common-objdir-compile): Remove.
51641         * sysdeps/unix/Makefile (config-generated): Do not add
51642         $(unix-generated) to variable.
51643         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51644         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51645         Remove rule.
51646         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51647         Likewise.
51648         [generic bits/local_lim.h] (before-compile): Do not append to
51649         variable.
51650         [generic bits/local_lim.h] (common-generated): Likewise.
51651         [generic sys/param.h] (before-compile): Do not append to variable.
51652         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51653         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51654         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51655         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51656         include.
51657         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51658         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51659         [generic sys/param.h] ($(addprefix
51660         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51661         [generic sys/param.h] (common-generated): Do not append to
51662         variable.
51663         [generic sys/param.h] (sysdep_headers): Likewise.
51664         [generic bits/errno.h] (before-compile): Do not append to
51665         variable.
51666         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51667         rule.
51668         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51669         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51670         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51671         [generic bits/errno.h] (common-generated): Do not append to
51672         variable.
51673         [generic bits/ioctls.h] (before-compile): Do not append to
51674         variable.
51675         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51676         rule.
51677         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51678         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51679         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51680         rule.
51681         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51682         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51683         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51684         [generic bits/ioctls.h] (common-generated): Do not append to
51685         variable.
51686         [generic sys/syscall.h] (syscall.h): Remove variable.
51687         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51688         rule.
51689         [generic sys/syscall.h] (before-compile): Do not append to
51690         variable.
51691         [generic sys/syscall.h] (common-generated): Likewise.
51692         * sysdeps/unix/errnos-tmpl.c: Remove file.
51693         * sysdeps/unix/errnos.awk: Likewise.
51694         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51695         * sysdeps/unix/ioctls.awk: Likewise.
51696         * sysdeps/unix/mk-local_lim.c: Likewise.
51697         * sysdeps/unix/snarf-ioctls: Likewise.
51699 2012-03-19  Richard Henderson  <rth@twiddle.net>
51701         * sysdeps/i386/fpu/fenv_private.h: New file.
51702         * sysdeps/i386/fpu/math_private.h: Use it.
51703         (math_opt_barrier, math_force_eval): Remove.
51704         (libc_feholdexcept_setround_53bit): Remove.
51705         (libc_feupdateenv_53bit): Remove.
51706         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51707         (math_opt_barrier, math_force_eval): Remove.
51708         (libc_feholdexcept): Remove.
51709         (libc_feholdexcept_setround): Remove.
51710         (libc_fetestexcept, libc_fesetenv): Remove.
51711         (libc_feupdateenv_test): Remove.
51712         (libc_feupdateenv, libc_feholdsetround): Remove.
51713         (libc_feresetround): Remove.
51715         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51716         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51718         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51719         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51720         (libc_feupdateenv_testl): New.
51721         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51722         (libc_feupdateenv_testf): New.
51723         (libc_feupdateenv): Use libc_feupdateenv_test.
51724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51725         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51727         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51728         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51729         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51730         (libc_feresetround_noex): New.
51731         (libc_feresetround_noexf): New.
51732         (libc_feresetround_noexl): New.
51733         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51734         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51735         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51736         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51737         SET_RESTORE_ROUND.
51738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51740         (__cos): Likewise.
51741         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51742         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51743         SET_RESTORE_ROUND_NOEX.
51744         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51745         SET_RESTORE_ROUND_NOEXF.
51746         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51747         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51748         (libc_feholdsetroundf): New.
51749         (libc_feresetround, libc_feresetroundf): New.
51751         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51752         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51753         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51755         * sysdeps/generic/math_private.h: Include <fenv.h>.
51756         (default_libc_feholdexcept): New.
51757         (default_libc_feholdexcept_setround): New.
51758         (default_libc_fesetenv, default_libc_feupdateenv): New.
51759         (libc_feholdexcept): Only define if undefined.
51760         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51761         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51762         (libc_feholdexcept_setroundl): Likewise.
51763         (libc_feholdexcept_setround_53bit): Likewise.
51764         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51765         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51766         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51767         (libc_feupdateenv_53bit): Likewise.
51768         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51769         (libc_feholdexcept): Convert from macro to inline function.
51770         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51771         (libc_fesetenv, libc_feupdateenv): Likewise.
51773         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51774         not previously defined.
51775         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51776         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51777         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51778         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51779         * sysdeps/ieee754/flt-32/math_private.h: New file.
51780         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51781         math_private.h below SET_FLOAT_WORD.
51782         (__isnan, __isinf_ns, __finite): Remove.
51783         (__isnanf, __isinf_nsf, __finitef): Remove.
51785 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51789 2012-03-17  David S. Miller  <davem@davemloft.net>
51791         [BZ #6471]
51792         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51793         for 2.16.
51795 2012-03-16  David S. Miller  <davem@davemloft.net>
51797         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51798         warnings.
51800         [BZ #6471]
51801         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51802         properly.
51803         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51804         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51805         sysdep_routines when subdir is sysvipc.
51806         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51807         __getshmlba helper.
51809         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51811 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51813         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51814         [__LP64__].
51816 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51818         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51819         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51820         (__lround): Renamed to ...
51821         (__llround): This.  Replace long int with long long int.
51822         Define lround functions as aliases of llround functions.
51823         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51825 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51827         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51828         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51829         adresses to uintptr_t.  Replace "long int" and "unsigned long
51830         int" with "greg_t" on va_arg.
51832 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51834         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51835         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51837         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51838         Move e_machine check before EI_CLASS check.  Handle x32
51839         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51840         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51841         SKIP_EM_IA_64 and include
51842         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51844         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51845         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51846         (add_system_dir): New macro.
51848         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51849         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51851 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51853         [BZ #2551]
51854         [BZ #2552]
51855         [BZ #2553]
51856         [BZ #2554]
51857         [BZ #2562]
51858         [BZ #2563]
51859         [BZ #2565]
51860         [BZ #2566]
51861         [BZ #2576]
51862         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51863         (y0): Likewise.
51864         * math/w_j0f.c (j0f): Likewise.
51865         (y0f): Likewise.
51866         * math/w_j0l.c (__j0l): Likewise.
51867         (__y0l): Likewise.
51868         * math/w_j1.c (j1): Likewise.
51869         (y1): Likewise.
51870         * math/w_j1f.c (j1f): Likewise.
51871         (y1f): Likewise.
51872         * math/w_j1l.c (__j1l): Likewise.
51873         (__y1l): Likewise.
51874         * math/w_jn.c (jn): Likewise.
51875         (yn): Likewise.
51876         * math/w_jnf.c (jnf): Likewise.
51877         (ynf): Likewise.
51878         * math/w_jnl.c (__jnl): Likewise.
51879         (__ynl): Likewise.
51880         * math/libm-test.inc (j0_test): Add more tests.
51881         (j1_test): Likewise.
51882         (jn_test): Likewise.  Add trailing semicolon to existing test.
51883         (y0_test): Likewise.
51884         (y1_test): Likewise.
51885         * sysdeps/i386/fpu/libm-test-ulps: Update.
51886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51888         [BZ #13851]
51889         [BZ #13854]
51890         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51891         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51892         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51893         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51894         (__tanl): Set errno for infinite argument.
51895         * sysdeps/i386/fpu/mptan.c: Remove.
51896         * sysdeps/i386/fpu/s_tan.S: Likewise.
51897         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51898         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51899         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51900         * math/libm-test.inc (tan_test): Add more tests and enable more
51901         tests for double and long double.
51902         * sysdeps/i386/fpu/libm-test-ulps: Update.
51903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51905 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51907         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51908         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51910 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51912         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51913         * configure.in: Use it for both main tree and add-ons.
51914         * configure: Regenerated.
51916 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51918         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51920 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51922         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51923         in comment.
51925         [BZ #13851]
51926         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51927         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51928         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51929         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51930         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51931         infinite argument.
51932         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51933         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51934         != 0 for prec == 2.
51935         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51936         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51937         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51938         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51939         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51940         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51941         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51942         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51943         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51944         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51945         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51946         * math/libm-test.inc (cos_test): Add more tests and enable more
51947         tests for long double.
51948         (sin_test): Likewise.
51949         (sincos_test): Likewise.
51950         * sysdeps/i386/fpu/libm-test-ulps: Update.
51951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51953 2012-03-16  David S. Miller  <davem@davemloft.net>
51955         * sysdeps/sparc/fpu/math_private.h: New file.
51957 2012-03-15  David S. Miller  <davem@davemloft.net>
51959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51960         file.
51961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51963         file.
51964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51969         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51970         sysdep routines.
51971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51973         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51974         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51976         * sysdeps/sparc/sparc-ifunc.h: New file.
51977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51978         sparc-ifunc.h
51979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51981         Likewise.
51982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51983         Likewise.
51984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51988         Likewise.
51989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51994         Likewise.
51995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51996         Likewise.
51997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52003         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52015         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52016         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52017         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52019         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52020         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52022 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52024         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52025         scaling.
52026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52028 2012-03-15  Andreas Jaeger  <aj@suse.de>
52030         [BZ #13852]
52031         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52032         ieee754/flt-32 implementation for sin, cos and sincos.
52033         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52034         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52035         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52036         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52037         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52038         ieee754/flt-32 implementation for tan.
52040         * math/libm-test.inc (cos_test): Enable some large input tests for
52041         float as well
52042         (sin_test): Likewise.
52043         (sincos_test): Likewise.
52044         (tan_test): Add tests for large input.
52046         * sysdeps/i386/fpu/libm-test-ulps: Update.
52048 2012-03-15  Andreas Jaeger  <aj@suse.de>
52050         [BZ #13658]
52051         * math/libm-test.inc (cos_test): Add more test cases.
52052         (sin_test): Likewise.
52053         (sincos_test): Likewise.
52055 2012-03-15  Andreas Jaeger  <aj@suse.de>
52057         [BZ #13837]
52058         * math/libm-test.inc (cos_test): Add a test case for large input
52059         value.
52060         (sin_test): Likewise.
52061         (sincos_test): Likewise.
52063 2012-03-15  Andreas Jaeger  <aj@suse.de>
52064             Joseph Myers  <joseph@codesourcery.com>
52066         [BZ #13658]
52067         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52068         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52069         * sysdeps/i386/fpu/branred.c: Likewise.
52070         * sysdeps/i386/fpu/dosincos.c: Likewise.
52071         * sysdeps/i386/fpu/mpa.c: Likewise.
52072         * sysdeps/i386/fpu/s_cos.S: Likewise.
52073         * sysdeps/i386/fpu/s_sin.S: Likewise.
52074         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52075         * sysdeps/i386/fpu/sincos32.c: Likewise.
52077         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52078         Define.
52079         (libc_feupdateenv_53bit): Define.
52080         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52081         Define.
52082         (libc_feupdateenv_53bit): Define.
52084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52085         53 bit (without extend i386 double precision).
52087         * math/libm-test.inc (sincos_test): Add tests for large input.
52088         (sin): Likewise.
52089         (cos): Likewise.
52091         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52093 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52097 2012-03-15  David S. Miller  <davem@davemloft.net>
52099         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52100         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52101         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52102         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52115         file.
52116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52118         file.
52119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52121         file.
52122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52124         file.
52125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52126         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52127         fmin/fmax sysdep routines.
52128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52130 2012-03-14  David S. Miller  <davem@davemloft.net>
52132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52152         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52153         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52156         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52161         routines.
52162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52163         file.
52164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52166         file.
52167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52169         file.
52170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52172         file.
52173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52175         file.
52176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52178         file.
52179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52180         file.
52181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52182         file.
52183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52184         file.
52185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52186         New file.
52187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52188         file.
52189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52190         file.
52191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52193         file.
52194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52196         file.
52197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52199         file.
52200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52202         VIS3 routines.
52204         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52205         New file.
52207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52209         * sysdeps/sparc/configure.in: New file.
52210         * sysdeps/sparc/configure: Generate.
52211         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52212         * configure: Regenerate.
52213         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52214         * config.make.in (have-as-vis3): New.
52215         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52216         available use -Av9d instead of -Av9a.
52217         * sysdeps/sparc/sparc64/Makefile: Likewise.
52218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52220         New file.
52221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52222         file.
52223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52224         New file.
52225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52226         file.
52227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52228         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52229         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52230         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52233         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52234         fzeros/fnegs to load 0x80000000 into a float register instead of
52235         using the stack.
52236         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52238 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52241         bits/syscall.h.
52242         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52243         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52244         ($(inst_includedir)/bits/syscall.h): Remove rule.
52245         ($(objpfx)bits/syscall.d): Include instead of
52246         $(objpfx)syscall-list.d.
52247         (generated): Change syscall-list.h and syscall-list.d to
52248         bits/syscall.h and bits/syscall.d.
52250 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52252         [BZ #13846]
52253         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52255 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52257         [BZ #13841]
52258         * math/s_csqrt.c: Include <float.h>.
52259         (__csqrt): Scale large or subnormal inputs.
52260         * math/s_csqrtf.c: Likewise.
52261         * math/s_csqrtl.c: Likewise.
52262         * math/libm-test.inc (csqrt_test): Add more tests.
52263         * sysdeps/i386/fpu/libm-test-ulps: Update.
52264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52266         [BZ #13840]
52267         * math/libm-test.inc (hypot_test): Add more tests.
52269 2012-03-13  David S. Miller  <davem@davemloft.net>
52271         [BZ #13840]
52272         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52273         double-precision for the calculation instead of scaling.
52275 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52277         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52278         manipulate bits before adding and subtracting TWO52[sx].
52279         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52280         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52281         Likewise.
52282         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52284 2012-03-13  David S. Miller  <davem@davemloft.net>
52286         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52287         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52288         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52289         rtld-global-offsets.h
52290         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52292         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52293         large parameters.
52295         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52297         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52298         'err' in the ifdef scope in which it is actually used.
52300         * nss/nss_db/db-init.c: Include string.h
52302 2012-03-12  David S. Miller  <davem@davemloft.net>
52304         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52305         masking out of the most significant byte of random value used.
52306         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52307         Fix coding style in previous change.
52309         * sysdeps/unix/sysv/linux/kernel-features.h
52310         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52311         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52312         expression.
52313         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52314         later.
52316 2012-03-11  David S. Miller  <davem@davemloft.net>
52318         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52319         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52320         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52321         for 'resultvar' otherwise things get truncated on 64-bit.
52323         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52324         Fix masking out of the most significant byte of random value used.
52326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52328 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52332 2012-03-09  David S. Miller  <davem@davemloft.net>
52334         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52335         variables with appropriate CPP guards.
52336         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52337         from the frame pointer, not the stack pointer.  Correct layout
52338         comments.  Fix test on resulting framesize and the management of
52339         the outregs buffer for pltexit.  Preserve floating point return
52340         values across _dl_call_pltexit call.
52341         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52342         framesize and the management of the outregs buffer for pltexit.
52343         Preserve floating point return values across _dl_call_pltexit
52344         call.
52345         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52346         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52347         (la_sparc64_gnu_pltexit): New functions.
52348         (print_exit): Fix format string for return register value.
52350 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52352         * sunrpc/Makefile (others): Add rpcgen.
52353         ($(objpfx)rpcgen): Remove special build rule and dependency on
52354         libc.
52355         * sunrpc/rpcgen.c: New file.
52357 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52359         [BZ #13673]
52360         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52361         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52362         * sysdeps/i386/crti.S: Likewise.
52363         * sysdeps/i386/crtn.S: Likewise.
52364         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52365         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52366         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52367         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52368         * sysdeps/sh/crti.S: Likewise.
52369         * sysdeps/sh/crtn.S: Likewise.
52370         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52372         [BZ #13673]
52373         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52374         with URL.
52375         * locale/programs/locfile-kw.gperf: Likewise.
52376         * locale/programs/charmap-kw.h: Regenerated.
52377         * locale/programs/locfile-kw.h: Likewise.
52379         [BZ #13673]
52380         * intl/plural.y: Replace FSF snail mail address with URL.
52381         * intl/plural.c: Regenerated.
52383 2012-03-09  Richard Henderson  <rth@twiddle.net>
52385         * include/math_private.h: Remove file.
52386         * math/math_private.h: Move file ...
52387         * sysdeps/generic/math_private.h: ... here.
52389         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52390         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52391         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52393         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52394         and <math_private.h>.
52395         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52396         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52397         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52398         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52399         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52400         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52401         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52403         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52404         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52405         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52406         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52408         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52409         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52410         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52411         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52412         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52413         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52414         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52415         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52416         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52417         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52418         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52419         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52420         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52421         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52422         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52423         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52425         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52426         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52427         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52428         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52429         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52430         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52431         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52432         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52433         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52435         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52436         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52437         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52438         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52439         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52440         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52441         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52442         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52443         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52444         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52445         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52446         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52447         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52448         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52449         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52450         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52451         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52452         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52453         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52454         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52455         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52456         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52457         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52458         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52459         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52460         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52461         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52462         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52463         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52464         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52465         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52466         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52468         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52469         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52470         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52474         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52475         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52476         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52477         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52478         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52479         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52480         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52482         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52483         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52484         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52485         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52486         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52487         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52488         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52489         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52490         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52491         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52492         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52493         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52494         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52495         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52496         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52497         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52498         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52499         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52500         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52501         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52502         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52503         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52504         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52505         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52506         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52507         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52508         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52509         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52510         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52511         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52512         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52513         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52514         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52515         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52516         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52517         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52518         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52519         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52520         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52521         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52522         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52523         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52524         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52525         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52526         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52527         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52528         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52529         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52530         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52531         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52532         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52533         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52534         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52535         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52536         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52537         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52538         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52539         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52540         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52541         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52542         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52543         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52544         * sysdeps/ieee754/k_standard.c: Likewise.
52545         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52546         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52547         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52548         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52549         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52550         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52553         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52554         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52555         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52556         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52557         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52558         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52559         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52560         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52561         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52562         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52563         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52564         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52565         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52566         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52567         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52568         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52570         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52572         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52573         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52575         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52576         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52577         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52578         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52579         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52580         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52581         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52582         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52583         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52584         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52585         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52586         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52589         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52590         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52591         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52592         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52593         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52594         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52595         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52596         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52597         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52598         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52599         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52600         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52601         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52602         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52603         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52605         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52607         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52618         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52619         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52620         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52623         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52624         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52625         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52630         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52631         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52632         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52633         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52634         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52635         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52636         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52637         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52638         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52640         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52641         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52642         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52643         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52644         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52646         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52647         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52648         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52649         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52650         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52651         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52652         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52653         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52654         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52655         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52656         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52657         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52658         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52659         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52660         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52661         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52662         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52663         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52664         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52665         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52666         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52667         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52668         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52669         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52670         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52671         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52672         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52673         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52674         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52675         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52676         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52677         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52678         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52679         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52680         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52681         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52682         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52683         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52684         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52685         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52686         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52687         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52688         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52689         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52690         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52691         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52692         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52693         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52694         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52695         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52696         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52697         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52698         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52699         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52700         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52701         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52702         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52703         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52704         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52705         * sysdeps/ieee754/s_lib_version.c: Likewise.
52706         * sysdeps/ieee754/s_matherr.c: Likewise.
52707         * sysdeps/ieee754/s_signgam.c: Likewise.
52708         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52709         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52710         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52711         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52712         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52713         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52714         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52715         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52716         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52717         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52718         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52719         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52720         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52721         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52722         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52723         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52724         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52725         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52726         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52730 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52732         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52733         * sunrpc/rpc_main.c: Likewise.
52734         * sunrpc/rpc_svcout.c: Likewise.
52736 2012-03-09  David S. Miller  <davem@davemloft.net>
52738         * include/math_private.h: New file.
52740 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52742         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52743         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52744         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52745         from <bits/socket_type.h>.
52746         (enum __socket_type): Don't define here.
52747         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52749         bits/socket_type.h.
52751         [BZ #13566]
52752         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52753         checking __USE_GNU.
52755         * Makerules ($(inst_includedir)/%.h): New rule.
52756         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52757         (install-others): Remove variable setting.
52758         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52760 2012-03-08  Richard Henderson  <rth@twiddle.net>
52762         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52763         from macro to inline function; merge with the
52764         !__LIBC_INTERNAL_MATH_INLINES version.
52765         (__ieee754_sqrtf): Likewise.
52767         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52768         to inline function.
52769         (__rintf, __floor, __floorf): Likewise.
52771         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52772         macro to inline function.
52773         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52775         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52776         not <math/math_private.h>.
52778 2012-03-08  David S. Miller  <davem@davemloft.net>
52780         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52781         copyright year.
52782         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52784 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52786         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52787         normalization.
52788         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52789         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52791 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52793         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52794         be defined individually, they must be defined as a block.  Define
52795         S for printing a string instead of hidint the different by using a
52796         macro for adding the 'l'.
52797         * stdio-common/tst-fphex-wide.c: Adjust.
52799 2012-03-07  Marek Polacek  <polacek@redhat.com>
52801         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52803 2012-03-08  Marek Polacek  <polacek@redhat.com>
52805         [BZ #13806]
52806         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52807         * stdio-common/tst-fphex.c: Define a few macros to make the
52808         test reusable.  Use them.
52809         * stdio-common/tst-fphex-wide.c: New file.
52811 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52813         [BZ #6911]
52814         * manual/macros.texi (gnusystems): New macro.
52815         (nongnusystems): Likewise.
52816         (gnulinuxhurdsystems): Likewise.
52817         (gnuhurdsystems): Likewise..
52818         (gnulinuxsystems): Likewise.
52819         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52820         variants of the GNU system, not "GNU system".
52821         * manual/conf.texi: Likewise.
52822         * manual/errno.texi: Likewise.  Update example of errno macro
52823         expansion.
52824         * manual/filesys.texi: Likewise.
52825         (getumask): Document as specific to GNU/Hurd.
52826         * manual/install.texi: Likewise.  Reword some references to
52827         GNU/Linux.
52828         * manual/intro.texi: Likewise.
52829         * manual/io.texi: Likewise.
52830         (File Name Portability): Detail which constraints are inapplicable
52831         to all GNU systems and which are only inapplicable to GNU/Hurd.
52832         * manual/job.texi: Likewise.
52833         * manual/llio.texi: Likewise.
52834         (O_NOCTTY): Document as present on GNU/Linux.
52835         * manual/maint.texi: Likewise.
52836         * manual/memory.texi: Likewise.
52837         * manual/pattern.texi: Likewise.
52838         * manual/pipe.texi: Likewise.
52839         * manual/process.texi: Likewise.
52840         * manual/resource.texi: Likewise.
52841         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52842         child on GNU/Hurd.
52843         * manual/setjmp.texi: Likewise.
52844         * manual/signal.texi: Likewise.
52845         * manual/startup.texi: Likewise.
52846         * manual/stdio.texi: Likewise.
52847         * manual/terminal.texi: Likewise.
52848         (ONLCR): Document as POSIX.
52849         (OXTABS): Document availability on GNU/Linux as XTABS.
52850         (ONOEOT): Document availability separately from other bits.
52851         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52852         * manual/time.texi: Likewise.
52853         * manual/users.texi: Likewise.
52854         * INSTALL: Regenerated.
52855         * sysdeps/gnu/errlist.c: Regenerated.
52857         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52858         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52859         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52860         puts.
52861         * configure: Regenerated.
52863 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52865         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52866         default includes instead of AC_HEADER_CHECK.
52867         * sysdeps/i386/configure: Regenerated.
52869         [BZ #10716]
52870         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52871         * math/s_cacoshf.c (__cacoshf): Likewise.
52872         * math/s_cacoshl.c (__cacoshl): Likewise.
52873         * math/s_casinh.c (__casinh): Set signs of result from argument.
52874         * math/s_casinhf.c (__casinhf): Likewise.
52875         * math/s_casinhl.c (__casinhl): Likewise.
52876         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52877         (casinh_test): Add more tests.
52878         * sysdeps/i386/fpu/libm-test-ulps: Update.
52879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52881 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52883         * po/zh_TW.po: Update from translation team.
52885         * login/Makefile (distribute): Remove variable.
52886         * catgets/Makefile: Likewise.
52887         * mach/Makefile: Likewise.
52888         * malloc/Makefile: Likewise.
52889         * misc/Makefile: Likewise.
52890         * iconv/Makefile: Likewise.
52891         * nscd/Makefile: Likewise.
52892         * hurd/Makefile: Likewise.
52893         * manual/Makefile: Likewise.
52894         * locale/Makefile: Likewise.
52895         * intl/Makefile: Likewise.
52896         * conform/Makefile: Likewise.
52897         * nss/Makefile: Likewise.
52898         * time/Makefile: Likewise.
52899         * soft-fp/Makefile: Likewise.
52900         * dirent/Makefile: Likewise.
52901         * gmon/Makefile: Likewise.
52902         * po/Makefile: Likewise.
52903         * rt/Makefile: Likewise.
52904         * socket/Makefile: Likewise.
52905         * math/Makefile: Likewise.
52906         * signal/Makefile: Likewise.
52907         * debug/Makefile: Likewise.
52908         * elf/Makefile: Likewise.
52909         * timezone/Makefile: Likewise.
52910         * stdlib/Makefile: Likewise.
52911         * iconvdata/Makefile: Likewise.
52912         * sunrpc/Makefile: Likewise.
52913         * io/Makefile: Likewise.
52914         * argp/Makefile: Likewise.
52915         * inet/Makefile: Likewise.
52916         * hesiod/Makefile: Likewise.
52917         * grp/Makefile: Likewise.
52918         * csu/Makefile: Likewise.
52919         * wctype/Makefile: Likewise.
52920         * crypt/Makefile: Likewise.
52921         * libio/Makefile: Likewise.
52922         * string/Makefile: Likewise.
52923         * nis/Makefile: Likewise.
52924         * resolv/Makefile: Likewise.
52925         * stdio-common/Makefile: Likewise.
52926         * wcsmbs/Makefile: Likewise.
52927         * dlfcn/Makefile: Likewise.
52928         * posix/Makefile: Likewise.
52930         [BZ #6959]
52931         * timezone/Makefile: Don't install timezone files, just the programs
52932         and scripts.
52934 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52936         * nss/databases.def: Add missing gshadow entry.
52938         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52940 2012-03-06  Marek Polacek  <polacek@redhat.com>
52942         [BZ #13726]
52943         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52944         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52945         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52946         * stdio-common/tst-long-dbl-fphex.c: New file.
52948 2012-03-06  David S. Miller  <davem@davemloft.net>
52950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52951         (set_obp_int): New function.
52952         (get_obp_int): New function.
52953         (__get_clockfreq_via_dev_openprom): Likewise.
52954         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52955         Avoid unused variable warnings on 'val' and use builtin_expect.
52956         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52957         __builtin_expect.
52958         (INLINE_CLONE_SYSCALL): Likewise.
52960 2012-03-05  David S. Miller  <davem@davemloft.net>
52962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52964 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52969         only for |x| >= 40.
52970         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52972 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52975         Replace gettimeofday with __vdso_gettimeofday.
52977         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52978         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52979         __vdso_clock_gettime and __vdso_getcpu.
52981         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52982         time with __vdso_time.
52984 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52986         * manual/lang.texi (size_t): Note types to which size_t may be
52987         equivalent with the GNU C Library, but do not describe when
52988         differences between them are significant.
52990 2012-03-05  Andreas Jaeger  <aj@suse.de>
52992         * sysdeps/i386/fpu/libm-test-ulps: Update.
52994 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52996         [BZ #3976]
52997         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52998         (__ieee754_pow): Save and restore rounding mode and use
52999         round-to-nearest for main computations.
53000         * math/libm-test.inc (pow_test_tonearest): New function.
53001         (pow_test_towardzero): Likewise.
53002         (pow_test_downward): Likewise.
53003         (pow_test_upward): Likewise.
53004         (main): Call the new functions.
53005         * sysdeps/i386/fpu/libm-test-ulps: Update.
53006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53008         [BZ #3976]
53009         * math/libm-test.inc (cosh_test_tonearest): New function.
53010         (cosh_test_towardzero): Likewise.
53011         (cosh_test_downward): Likewise.
53012         (cosh_test_upward): Likewise.
53013         (sinh_test_tonearest): Likewise.
53014         (sinh_test_towardzero): Likewise.
53015         (sinh_test_downward): Likewise.
53016         (sinh_test_upward): Likewise.
53017         (main): Call the new functions.
53018         * sysdeps/i386/fpu/libm-test-ulps: Update.
53019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53021 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53023         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53024         default stack guard is set in last bytes.
53025         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53027 2012-03-05  Kees Cook  <keescook@chromium.org>
53029         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53031         [BZ #13656]
53032         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53033         possibly allocate from heap instead of stack.
53034         * stdio-common/bug-vfprintf-nargs.c: New file.
53035         * stdio-common/Makefile (tests): Add nargs overflow test.
53037 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53041 2012-03-03  Marek Polacek  <polacek@redhat.com>
53043         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53044         * math/math_private.h: Likewise.
53045         * stdlib/tst-strtod.c: Likewise.
53046         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53047         * sysdeps/x86_64/bits/atomic.h: Likewise.
53049 2012-03-02  David S. Miller  <davem@davemloft.net>
53051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53055         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53056         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53057         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53058         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53060 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53062         [BZ #13792]
53063         * manual/examples/README: New file, says the example source files
53064         can be used under GPL>=2.
53065         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53066         line containing just "*/".
53067         * manual/examples/add.c: Add copyright header (GPL>=2).
53068         * manual/examples/argp-ex1.c: Likewise.
53069         * manual/examples/argp-ex2.c: Likewise.
53070         * manual/examples/argp-ex3.c: Likewise.
53071         * manual/examples/argp-ex4.c: Likewise.
53072         * manual/examples/atexit.c: Likewise.
53073         * manual/examples/db.c: Likewise.
53074         * manual/examples/dir.c: Likewise.
53075         * manual/examples/dir2.c: Likewise.
53076         * manual/examples/execinfo.c: Likewise.
53077         * manual/examples/filecli.c: Likewise.
53078         * manual/examples/filesrv.c: Likewise.
53079         * manual/examples/fmtmsgexpl.c: Likewise.
53080         * manual/examples/genpass.c: Likewise.
53081         * manual/examples/inetcli.c: Likewise.
53082         * manual/examples/inetsrv.c: Likewise.
53083         * manual/examples/isockad.c: Likewise.
53084         * manual/examples/longopt.c: Likewise.
53085         * manual/examples/memopen.c: Likewise.
53086         * manual/examples/memstrm.c: Likewise.
53087         * manual/examples/mkfsock.c: Likewise.
53088         * manual/examples/mkisock.c: Likewise.
53089         * manual/examples/mygetpass.c: Likewise.
53090         * manual/examples/pipe.c: Likewise.
53091         * manual/examples/popen.c: Likewise.
53092         * manual/examples/rprintf.c: Likewise.
53093         * manual/examples/search.c: Likewise.
53094         * manual/examples/select.c: Likewise.
53095         * manual/examples/setjmp.c: Likewise.
53096         * manual/examples/sigh1.c: Likewise.
53097         * manual/examples/sigusr.c: Likewise.
53098         * manual/examples/stpcpy.c: Likewise.
53099         * manual/examples/strdupa.c: Likewise.
53100         * manual/examples/strftim.c: Likewise.
53101         * manual/examples/strncat.c: Likewise.
53102         * manual/examples/subopt.c: Likewise.
53103         * manual/examples/swapcontext.c: Likewise.
53104         * manual/examples/termios.c: Likewise.
53105         * manual/examples/testopt.c: Likewise.
53106         * manual/examples/testpass.c: Likewise.
53107         * manual/examples/timeval_subtract.c: Likewise.
53109         [BZ #13792]
53110         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53111         function to ...
53112         * manual/timeval_subtract.c.texi: ... here, new file.
53114 2012-03-02  David S. Miller  <davem@davemloft.net>
53116         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53118 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53120         [BZ #3976]
53121         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53122         (__sin): Save and restore rounding mode and use round-to-nearest
53123         for all computations.
53124         (__cos): Save and restore rounding mode and use round-to-nearest
53125         for all computations.
53126         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53127         <fenv.h>.
53128         (tan): Save and restore rounding mode and use round-to-nearest for
53129         all computations.
53130         * math/libm-test.inc (cos_test_tonearest): New function.
53131         (cos_test_towardzero): Likewise.
53132         (cos_test_downward): Likewise.
53133         (cos_test_upward): Likewise.
53134         (sin_test_tonearest): Likewise.
53135         (sin_test_towardzero): Likewise.
53136         (sin_test_downward): Likewise.
53137         (sin_test_upward): Likewise.
53138         (tan_test_tonearest): Likewise.
53139         (tan_test_towardzero): Likewise.
53140         (tan_test_downward): Likewise.
53141         (tan_test_upward): Likewise.
53142         (main): Call the new functions.
53143         * sysdeps/i386/fpu/libm-test-ulps: Update.
53144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53146         [BZ #10135]
53147         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53148         small n, then large n, before computing and testing k+n.
53149         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53151         Likewise.
53152         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53153         Likewise.
53154         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53155         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53156         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53157         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53158         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53159         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53161         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53162         * math/libm-test.inc (scalbn_test): Add more tests.
53163         (scalbln_test): Likewise.
53165         * manual/filesys.texi (mode_t): Describe constraints on size and
53166         signedness, not exact equivalence to a particular type.
53167         (ino_t): Likewise.
53168         (ino64_t): Likewise.
53169         (dev_t): Likewise.
53170         (nlink_t): Likewise.
53171         (blkcnt_t): Likewise.
53172         (blkcnt64_t): Likewise.
53173         * manual/llio.texi (off_t): Likewise.
53175         [BZ #3976]
53176         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53177         (__ieee754_exp): Save and restore rounding mode and use
53178         round-to-nearest for all computations.
53179         * math/libm-test.inc (exp_test_tonearest): New function.
53180         (exp_test_towardzero): Likewise.
53181         (exp_test_downward): Likewise.
53182         (exp_test_upward): Likewise.
53183         (main): Call the new functions.
53184         * sysdeps/i386/fpu/libm-test-ulps: Update.
53185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53187 2012-03-01  Chris Demetriou  <cgd@google.com>
53189         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53190         have predictable order.
53192 2012-03-01  David S. Miller  <davem@davemloft.net>
53194         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53196         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53197         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53198         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53199         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53201         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53202         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53203         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53205         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53206         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53207         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53208         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53209         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53213         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53214         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53215         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53217         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53218         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53219         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53220         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53221         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53222         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53223         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53224         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53225         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53226         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53227         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53228         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53230         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53231         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53233         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53234         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53235         * sysdeps/sparc/elf/configure: Regenerated.
53237 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53239         * configure.in (AS, LD): Require binutils 2.20 or later.
53240         * configure: Regenerated.
53241         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53242         as required minimum version.
53243         * INSTALL: Regenerated.
53245         [BZ #2541]
53246         [BZ #4108]
53247         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53248         before squaring exponent.
53249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53250         bottom long double and 27 bits of top long double before squaring
53251         exponent.
53252         * math/libm-test.inc (erfc_test): Add more tests.
53253         * sysdeps/i386/fpu/libm-test-ulps: Update.
53254         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53257 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53259         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53260         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53261         containing bit-fields.
53262         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53263         * soft-fp/single.h (_FP_UNION_S): Likewise.
53264         * soft-fp/double.h (_FP_UNION_D): Likewise.
53266 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53268         [BZ #13786]
53269         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53270         not include ../strcmp.S.
53271         [USE_AS_STRNCASECMP_L]: Likewise.
53272         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53273         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53274         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53275         (__strncasecmp_l_ia32): Define as alias to
53276         __strncasecmp_l_nonascii.
53278         [BZ #5794]
53279         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53280         * sysdeps/i386/fpu/libm-test-ulps: Update.
53281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53283         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53286 2012-02-29  Jeff Law  <law@redhat.com>
53288         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53289         out of bounds read.
53291 2012-02-29  Marek Polacek  <polacek@redhat.com>
53293         [BZ #13706]
53294         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53295         * elf/Makefile: Add rules to run tst-unused-dep.out.
53297 2012-02-28  David S. Miller  <davem@davemloft.net>
53299         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53300         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53301         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53303         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53304         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53306 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53308         * math/libm-test.inc (llround_test): Move one test from
53309         lround_test.  Use TEST_f_L in moved test.
53310         (lround_test): Move misplaced test to llround_test.  Add testcase
53311         from bug 2561.
53313 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53315         * sysdeps/x86_64/fpu/e_expf.S: New file.
53316         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53318 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53320         [BZ #13637]
53321         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53322         of remain_len that may cause incomplete multi-byte character and
53323         false match.
53324         * posix/bug-regex33.c: New file.
53325         * posix/Makefile (tests): Add bug-regex33.
53327 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53329         * manual/macros.texi: New file.
53330         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53331         * manual/libc.texinfo: Include macros.texi.
53332         * manual/creatute.texi: Likewise.
53333         * manual/install.texi: Likewise.
53334         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53335         @glibcadj{} in references to the GNU C Library.
53336         * manual/charset.texi: Likewise.
53337         * manual/conf.texi: Likewise.
53338         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53339         when not using those macros.
53340         * manual/creature.texi: Likewise.
53341         * manual/crypt.texi: Likewise.
53342         * manual/errno.texi: Likewise.
53343         * manual/filesys.texi: Likewise.
53344         * manual/header.texi: Likewise.
53345         * manual/install.texi: Likewise.
53346         * manual/intro.texi: Likewise.
53347         * manual/io.texi: Likewise.
53348         * manual/job.texi: Likewise.
53349         * manual/lang.texi: Likewise.
53350         * manual/libc.texiinfo: Likewise.
53351         * manual/llio.texi: Likewise.
53352         * manual/locale.texi: Likewise.
53353         * manual/maint.texi: Likewise.
53354         * manual/math.texi: Likewise.
53355         * manual/memory.texi: Likewise.
53356         * manual/message.texi: Likewise.
53357         * manual/nss.texi: Likewise.
53358         * manual/pattern.texi: Likewise.
53359         * manual/process.texi: Likewise.
53360         * manual/resource.texi: Likewise.
53361         * manual/search.texi: Likewise.
53362         * manual/setjmp.texi: Likewise.
53363         * manual/signal.texi: Likewise.
53364         * manual/socket.texi: Likewise.
53365         * manual/startup.texi: Likewise.
53366         * manual/stdio.texi: Likewise.
53367         * manual/string.texi: Likewise.
53368         * manual/sysinfo.texi: Likewise.
53369         * manual/syslog.texi: Likewise.
53370         * manual/terminal.texi: Likewise.
53371         * manual/time.texi: Likewise.
53372         * manual/users.texi: Likewise.
53373         * INSTALL: Regenerated.
53374         * NOTES: Regenerated.
53375         * sysdeps/gnu/errlist.c: Regenerated.
53377 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53379         * include/dirent.h: Include <dirstream.h> before
53380         <dirent/dirent.h>.
53382 2012-02-28  David S. Miller  <davem@davemloft.net>
53384         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53385         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53386         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53387         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53389 2012-02-27  David S. Miller  <davem@davemloft.net>
53391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53393         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53394         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53397         frame pointer instead of stack pointer relative arg slot.
53398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53399         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53400         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53402 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53404         [BZ #3992]
53405         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53407 2012-02-27  David S. Miller  <davem@davemloft.net>
53409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53413         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53414         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53415         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53416         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53418 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53420         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53421         later.  Allow versions 5-9.
53422         * configure: Regenerated.
53423         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53424         required minimum version and 4.6 as recommended version.  Do not
53425         mention bugs in GCC 2.7 and 2.8.
53426         * INSTALL: Regenerated.
53428 2012-02-27  David S. Miller  <davem@davemloft.net>
53430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53434         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53435         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53436         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53437         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53440         manipulate bits before adding and subtracting TWO112[sx].
53441         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53443 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53445         [BZ #13775]
53446         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53447         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53448         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53449         being in POSIX, because they are in 1003.1-2008.
53451         * rt/tst-aio.c: Include <fcntl.h>.
53452         * rt/tst-aio7.c: Likewise.
53453         * rt/tst-aio64.c: Likewise.
53455         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53457 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53459         * manual/install.texi (--with-headers): Describe headers as
53460         interface headers, not private headers.
53461         (Specific advice for GNU/Linux systems): Describe use of headers
53462         from "make headers_install", not private headers from older
53463         kernels.
53464         * INSTALL: Regenerated.
53465         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53466         Change to 2.6.19.
53467         * sysdeps/unix/sysv/linux/configure: Regenerated.
53469         * manual/llio.texi (fclean): Remove documentation.
53471         * manual/Makefile (libc-texi-generated): New variable.  Include
53472         version.texi.
53473         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53474         $(libc-texi-generated), not duplicated list of files.
53475         (version.texi, stamp-version): New rules.
53476         (realclean): Remove $(libc-texi-generated), not individual files
53477         from that list.  Do not remove dir-add.texinfo.
53478         * manual/libc.texinfo: Comment out uses of edition numbers and
53479         references to printed manual.  Remove last-updated dates.
53480         (EDITION): Comment out.
53481         (ISBN): Likewise.
53482         (VERSION, UPDATED): Remove.
53483         (version.texi): Include.
53485 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53487         * sysdeps/posix/spawni.c: Include <signal.h>.
53488         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53489         * sysdeps/pthread/aio_fsync.c: Likewise.
53491 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53493         * conform/Makefile (tests): Run only when not cross-compiling and
53494         when fast-check is not defined.
53496         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53497         * conform/data/limits.h-data: Fixes for POSIX2008.
53498         * conform/run-conformtest.sh: Run all tests.
53499         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53500         headers.
53501         * include/bits/dlfcn.h: Likewise.
53502         * include/langinfo.h: Likewise.
53503         * include/monetary.h: Likewise.
53504         * include/sys/poll.h: Likewise.
53506         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53507         for __USE_GNU.
53508         * posix/spawn.h: Define __need_sigset_t.
53509         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53510         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53511         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53512         to get sigevent_t only.
53513         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53514         only for __USE_GNU.
53515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53516         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53517         process_vm_writev only for __USE_GNU.
53518         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53520         * conform/Makefile: For now ignore errors from run-conformtest.
53521         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53522         POSIX to avoid namespace pollution.  Don't prepend headers.
53523         * conform/data/aio.h-data: Fixes for POSIX testing.
53524         * conform/data/fcntl.h-data: Likewise.
53525         * conform/data/glob.h-data: Likewise.
53526         * conform/data/grp.h-data: Likewise.
53527         * conform/data/pthread.h-data: Likewise.
53528         * conform/data/pwd.h-data: Likewise.
53529         * conform/data/signal.h-data: Likewise.
53530         * conform/data/spawn.h-data: Likewise.
53531         * conform/data/stdio.h-data: Likewise.
53532         * conform/data/stdlib.h-data: Likewise.
53533         * conform/data/stropts.h-data: Likewise.
53534         * conform/data/sys/mman.h-data: Likewise.
53535         * conform/data/sys/stat.h-data: Likewise.
53536         * conform/data/sys/types.h-data: Likewise.
53537         * conform/data/sys/wait.h-data: Likewise.
53538         * conform/data/time.h-data: Likewise.
53539         * conform/data/unistd.h-data: Likewise.
53540         * conform/data/utime.h-data: Likewise.
53542         * io/sys/stat.h: fchmod was always in POSIX.
53543         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53544         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53545         * rt/aio.h: Define __need_timespec before including <time.h>.
53546         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53547         struct.  Add forward declaration of pthread_attr_t and use it in
53548         sigevent.
53549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53551         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53552         always remove CLK_TCK definition.
53554 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53556         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53558 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53560         * conform/run-conformtest.sh: New file.
53561         * conform/Makefile: Run run-conformtest for tests.
53562         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53563         support.
53565         * conform/data/uchar.h-data: New file.
53566         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53567         * conform/data/arpa/inet.h-data: Likewise.
53568         * conform/data/assert.h-data: Likewise.
53569         * conform/data/complex.h-data: Likewise.
53570         * conform/data/cpio.h-data: Likewise.
53571         * conform/data/ctype.h-data: Likewise.
53572         * conform/data/dirent.h-data: Likewise.
53573         * conform/data/dlfcn.h-data: Likewise.
53574         * conform/data/errno.h-data: Likewise.
53575         * conform/data/fcntl.h-data: Likewise.
53576         * conform/data/float.h-data: Likewise.
53577         * conform/data/fmtmsg.h-data: Likewise.
53578         * conform/data/fnmatch.h-data: Likewise.
53579         * conform/data/ftw.h-data: Likewise.
53580         * conform/data/glob.h-data: Likewise.
53581         * conform/data/grp.h-data: Likewise.
53582         * conform/data/iconv.h-data: Likewise.
53583         * conform/data/inttypes.h-data: Likewise.
53584         * conform/data/langinfo.h-data: Likewise.
53585         * conform/data/libgen.h-data: Likewise.
53586         * conform/data/limits.h-data: Likewise.
53587         * conform/data/locale.h-data: Likewise.
53588         * conform/data/math.h-data: Likewise.
53589         * conform/data/monetary.h-data: Likewise.
53590         * conform/data/mqueue.h-data: Likewise.
53591         * conform/data/ndbm.h-data: Likewise.
53592         * conform/data/net/if.h-data: Likewise.
53593         * conform/data/netdb.h-data: Likewise.
53594         * conform/data/netinet/in.h-data: Likewise.
53595         * conform/data/nl_types.h-data: Likewise.
53596         * conform/data/poll.h-data: Likewise.
53597         * conform/data/pthread.h-data: Likewise.
53598         * conform/data/pwd.h-data: Likewise.
53599         * conform/data/regex.h-data: Likewise.
53600         * conform/data/sched.h-data: Likewise.
53601         * conform/data/search.h-data: Likewise.
53602         * conform/data/semaphore.h-data: Likewise.
53603         * conform/data/setjmp.h-data: Likewise.
53604         * conform/data/signal.h-data: Likewise.
53605         * conform/data/spawn.h-data: Likewise.
53606         * conform/data/stdarg.h-data: Likewise.
53607         * conform/data/stdio.h-data: Likewise.
53608         * conform/data/stdlib.h-data: Likewise.
53609         * conform/data/string.h-data: Likewise.
53610         * conform/data/strings.h-data: Likewise.
53611         * conform/data/stropts.h-data: Likewise.
53612         * conform/data/sys/ipc.h-data: Likewise.
53613         * conform/data/sys/mman.h-data: Likewise.
53614         * conform/data/sys/msg.h-data: Likewise.
53615         * conform/data/sys/resource.h-data: Likewise.
53616         * conform/data/sys/select.h-data: Likewise.
53617         * conform/data/sys/sem.h-data: Likewise.
53618         * conform/data/sys/shm.h-data: Likewise.
53619         * conform/data/sys/socket.h-data: Likewise.
53620         * conform/data/sys/stat.h-data: Likewise.
53621         * conform/data/sys/statvfs.h-data: Likewise.
53622         * conform/data/sys/time.h-data: Likewise.
53623         * conform/data/sys/timeb.h-data: Likewise.
53624         * conform/data/sys/times.h-data: Likewise.
53625         * conform/data/sys/types.h-data: Likewise.
53626         * conform/data/sys/uio.h-data: Likewise.
53627         * conform/data/sys/un.h-data: Likewise.
53628         * conform/data/sys/utsname.h-data: Likewise.
53629         * conform/data/sys/wait.h-data: Likewise.
53630         * conform/data/syslog.h-data: Likewise.
53631         * conform/data/tar.h-data: Likewise.
53632         * conform/data/termios.h-data: Likewise.
53633         * conform/data/utime.h-data: Likewise.
53634         * conform/data/utmpx.h-data: Likewise.
53635         * conform/data/varargs.h-data: Likewise.
53636         * conform/data/wchar.h-data: Likewise.
53637         * conform/data/wctype.h-data: Likewise.
53638         * conform/data/wordexp.h-data: Likewise.
53640         * include/stropts.h: New file.
53641         * include/uchar.h: New file.
53642         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53643         * include/assert.h: Likewise.
53644         * include/ctype.h: Likewise.
53645         * include/dirent.h: Likewise.
53646         * include/dlfcn.h: Likewise.
53647         * include/fcntl.h: Likewise.
53648         * include/fnmatch.h: Likewise.
53649         * include/glob.h: Likewise.
53650         * include/grp.h: Likewise.
53651         * include/libio.h: Likewise.
53652         * include/locale.h: Likewise.
53653         * include/math.h: Likewise.
53654         * include/net/if.h: Likewise.
53655         * include/netdb.h: Likewise.
53656         * include/netinet/in.h: Likewise.
53657         * include/pthread.h: Likewise.
53658         * include/pwd.h: Likewise.
53659         * include/regex.h: Likewise.
53660         * include/sched.h: Likewise.
53661         * include/search.h: Likewise.
53662         * include/setjmp.h: Likewise.
53663         * include/signal.h: Likewise.
53664         * include/stdio.h: Likewise.
53665         * include/stdlib.h: Likewise.
53666         * include/string.h: Likewise.
53667         * include/sys/cdefs.h: Likewise.
53668         * include/sys/mman.h: Likewise.
53669         * include/sys/msg.h: Likewise.
53670         * include/sys/resource.h: Likewise.
53671         * include/sys/select.h: Likewise.
53672         * include/sys/socket.h: Likewise.
53673         * include/sys/stat.h: Likewise.
53674         * include/sys/statvfs.h: Likewise.
53675         * include/sys/time.h: Likewise.
53676         * include/sys/times.h: Likewise.
53677         * include/sys/uio.h: Likewise.
53678         * include/sys/utsname.h: Likewise.
53679         * include/sys/wait.h: Likewise.
53680         * include/termios.h: Likewise.
53681         * include/time.h: Likewise.
53682         * include/ulimit.h: Likewise.
53683         * include/unistd.h: Likewise.
53684         * include/utime.h: Likewise.
53685         * include/wchar.h: Likewise.
53686         * include/wctype.h: Likewise.
53687         * include/wordexp.h: Likewise.
53689         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53691         * time/time.h: TIME_UTC must be a macro.
53692         Make timespec_get available for ISO C11 only as well.
53694 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53696         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53697         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53699 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53701         * configure.in: Use -o not -a in test for unsupported multi-arch.
53703 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53705         * manual/texinfo.tex: Update to version 2012-01-19.16.
53707 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53709         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53711 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53713         [BZ #13738]
53714         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53715         * manual/fdl-1.3.texi: New file.
53716         * manual/fdl-1.1.texi: File removed.
53718         [BZ #13738]
53719         * manual/libc.texinfo (FDL_VERSION): New @set.
53720         Use it for mention of FDL in cover text.
53721         (Documentation License): Use it in @include file name.
53723 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53724             Roland McGrath  <roland@hack.frob.com>
53726         [BZ #5461]
53727         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53728         (not LONG_LONG_MAX and LONG_LONG_MIN.
53729         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53730         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53731         name.
53732         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53734 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53736         [BZ #2547]
53737         [BZ #11365]
53738         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53739         manipulate bits before adding and subtracting TWO23[sx].
53740         * math/libm-test.inc (nearbyint_test): Add more tests.
53742 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53744         [BZ #2548]
53745         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53746         bits before adding and subtracting TWO23[sx].
53747         * math/libm-test.inc (rint_test): Add more tests.
53748         (rint_test_tonearest): Likewise.
53749         (rint_test_towardzero): Likewise.
53750         (rint_test_downward): Likewise.
53751         (rint_test_upward: Likewise.
53753 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53755         [BZ #10110]
53756         * include/stdc-predef.h: New file.  Extracted from features.h.
53757         * include/features.h: Include stdc-predef.h.
53758         * Makefile (headers): Add stdc-predef.h.
53759         * CONFORMANCE (Compiler limitations): Update.
53761 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53763         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53765 2012-02-21  David S. Miller  <davem@davemloft.net>
53767         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53768         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53770 2012-02-20  David S. Miller  <davem@davemloft.net>
53772         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53773         using a normal save/restore sequence, rather than allocating a
53774         dummy stack frame just to store a frame pointer and restore.
53775         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53777 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53779         * manual/install.texi: Fix stray word in line-wrapped comment.
53781 2012-02-20  David S. Miller  <davem@davemloft.net>
53783         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53784         both binutils and gcc support GOTDATA.
53786         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53787         "rd %pc" in the PIC register setup sequences.
53789         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53790         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53791         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53792         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53793         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53794         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53795         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53796         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53798         (SYSCALL_ERROR_HANDLER): Likewise.
53799         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53800         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53802         (SYSCALL_ERROR_HANDLER): Likewise.
53804         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53805         (HAVE_GCC_GOTDATA): New.
53806         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53807         relocation support in both binutils and gcc.
53808         * sysdeps/sparc/elf/configure: Regenerate.
53810         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53811         * sysdeps/sparc/sparc32/elf/configure: Delete.
53812         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53813         * sysdeps/sparc/sparc64/elf/configure: Delete.
53814         * sysdeps/sparc/elf/configure.in: New file.
53815         * sysdeps/sparc/elf/configure: Generate.
53817         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53818         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53819         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53820         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53821         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53823 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53825         * manual/install.texi: Do not mention specific glibc version
53826         numbers.
53827         * manual/libc.texinfo (VERSION, UPDATED): Update.
53828         (@copying): Use @copyright{} and range of years.
53830 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53832         [BZ #13695]
53833         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53834         [crti.S not in sysdirs] (generated): Do not append.
53835         [crti.S not in sysdirs] (omit-deps): Likewise.
53836         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53837         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53838         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53839         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53840         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53841         Likewise.
53842         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53843         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53844         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53845         * csu/defs.awk: Remove file.
53846         * sysdeps/generic/initfini.c: Likewise.
53847         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53848         variable.
53849         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53850         Likewise.
53852 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53854         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53855         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53856         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53857         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53858         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53859         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53860         <bits/epoll.h>.
53861         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53862         (__EPOLL_PACKED): Define to empty if not defined by
53863         <bits/epoll.h>.
53864         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53866         bits/epoll.h.
53868 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53870         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53871         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53872         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53873         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53874         <bits/timerfd.h>.
53875         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53877         bits/timerfd.h.
53879 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53881         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53882         in C locale.
53883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53884         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53885         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53888 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53890         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53891         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53893 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53895         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53896         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53897         defined.
53898         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53899         Likewise.
53900         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53901         entry for 2.16.
53903 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53905         * math/w_acos.c: Use non-signaling floating-point comparisons.
53906         * math/w_acosf.c: Likewise.
53907         * math/w_acosh.c: Likewise.
53908         * math/w_acoshf.c: Likewise.
53909         * math/w_acoshl.c: Likewise.
53910         * math/w_acosl.c: Likewise.
53911         * math/w_asin.c: Likewise.
53912         * math/w_asinf.c: Likewise.
53913         * math/w_asinl.c: Likewise.
53914         * math/w_atanh.c: Likewise.
53915         * math/w_atanhf.c: Likewise.
53916         * math/w_atanhl.c: Likewise.
53917         * math/w_exp2.c: Likewise.
53918         * math/w_exp2f.c: Likewise.
53919         * math/w_exp2l.c: Likewise.
53920         * math/w_j0.c: Likewise.
53921         * math/w_j0f.c: Likewise.
53922         * math/w_j0l.c: Likewise.
53923         * math/w_j1.c: Likewise.
53924         * math/w_j1f.c: Likewise.
53925         * math/w_j1l.c: Likewise.
53926         * math/w_jn.c: Likewise.
53927         * math/w_jnf.c: Likewise.
53928         * math/w_log.c: Likewise.
53929         * math/w_log10.c: Likewise.
53930         * math/w_log10f.c: Likewise.
53931         * math/w_log10l.c: Likewise.
53932         * math/w_log2.c: Likewise.
53933         * math/w_log2f.c: Likewise.
53934         * math/w_log2l.c: Likewise.
53935         * math/w_logf.c: Likewise.
53936         * math/w_logl.c: Likewise.
53937         * math/w_sqrt.c: Likewise.
53938         * math/w_sqrtf.c: Likewise.
53939         * math/w_sqrtl.c: Likewise.
53940         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53941         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53942         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53943         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53944         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53946 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53948         [BZ #9739]
53949         * manual/string.texi (strnlen): Use correct parameter name in
53950         equivalent expression.
53952 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53954         [BZ #11174]
53955         * manual/users.texi (seteuid): Consistently use neweuid for
53956         argument name.
53958 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53960         [BZ #13704]
53961         * manual/nss.texi (Services in the NSS configuration): Correct
53962         list of services in example configuration file.
53964 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53966         [BZ #11322]
53967         * manual/arith.texi: Remove statements about negative zero
53968         behaving identically to zero.
53970 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53972         [BZ #5993]
53973         * manual/install.texi: Do not document upgrading from libc5.
53975 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53977         [BZ #4596]
53978         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53980 2012-02-18  David S. Miller  <davem@davemloft.net>
53982         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53983         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53984         %o7 across the call.
53985         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53986         instead.
53987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53988         SETUP_PIC_REG_LEAF.
53989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53990         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53991         * sysdeps/sparc/crtn.S: Likewise.
53993 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53995         * aout/Makefile: Remove.
53997 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53999         [BZ #13058]
54000         * manual/examples/argp-ex1.c (main): Format definition in GNU
54001         style.
54002         * manual/examples/argp-ex2.c (main): Likewise.
54003         * manual/examples/argp-ex3.c (main): Likewise.
54004         * manual/examples/argp-ex4.c (main): Likewise.
54005         * manual/examples/longopt.c (main): Use new-style prototype
54006         definition.
54007         * manual/examples/strncat.c (main): Specify return type and use
54008         (void) for arguments.
54009         * manual/examples/subopt.c (main): Use char **argv argument.
54011 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54013         [BZ #5077]
54014         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54015         rounding modes.
54017 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54019         [BZ #6907]
54020         * manual/string.texi (strchr): Change when strchrnul is
54021         recommended.
54023 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54025         [BZ #174]
54026         * manual/locale.texi (setlocale): Document LOCPATH.
54028 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54030         [BZ #10210]
54031         * manual/process.texi (execle): Move @dots{} before last argument.
54033 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54035         [BZ #12047]
54036         * manual/charset.texi (Generic Charset Conversion): Fix typo
54037         (LC_TYPE -> LC_CTYPE).
54039 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54041         [BZ #5805]
54042         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54043         (scalbnf): Likewise.
54044         (scalbnl): Likewise.
54045         (scalbln): Likewise.
54046         (scalblnf): Likewise.
54047         (scalblnl): Likewise.
54048         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54049         (vwarnx): Likewise.
54050         (verr): Likewise.
54051         (verrx): Likewise.
54052         * manual/filesys.texi (telldir): Use braces around return type.
54053         * manual/llio.texi (mmap): Add space after comma.
54054         (mmap64): Likewise.
54055         * manual/math.texi (jn): Use @var{} on parameter names.
54056         (jnf): Likewise.
54057         (jnl): Likewise.
54058         (yn): Likewise.
54059         (ynf): Likewise.
54060         (ynl): Likewise.
54061         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54062         line.
54063         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54064         "...".
54065         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54066         (sched_get_priority_max): Likewise.
54067         * manual/signal.texi (sigvec): Add space after comma.
54068         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54069         names.
54070         (if_indextoname): Likewise.
54071         (if_freenameindex): Likewise.
54072         (sendto): Use ',' instead of '.' in prototype.
54073         * manual/startup.texi (syscall): Use @dots{} instead of literal
54074         "...".
54075         * manual/stdio.texi (__fpending): Separate initial words of
54076         paragraph from @deftypefun line.
54077         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54078         "...".
54079         (vsyslog): Use @var{} on parameter names.
54080         * manual/terminal.texi (stty): Use @var{} on parameter names.
54081         * manual/users.texi (getutmp): Use @var{} on parameter names.
54082         (getutmpx): Likewise.
54084 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54086         [BZ #6884]
54087         * manual/stdio.texi (fopen): Fix typos in description of
54088         ",ccs=STRING".
54090 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54092         [BZ #4026]
54093         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54094         get clock_id definition.
54096 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54098         [BZ #4822]
54099         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54100         (madvise): Cast every argument to void on its own.
54102 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54104         [BZ #9902]
54105         * manual/startup.texi (Exit Status): Fix typo.
54107 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54109         [BZ #10140]
54110         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54111         * manual/examples/argp-ex2.c: Likewise.
54112         * manual/examples/argp-ex3.c: Likewise.
54114 2012-02-16  Richard Henderson  <rth@redhat.com>
54116         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54117         * sysdeps/s390/s390-32/initfini.c: Remove.
54118         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54119         * sysdeps/s390/s390-64/initfini.c: Remove.
54121 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54123         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54124         compiler output for sysdeps/generic/initfini.c.
54125         * sysdeps/sh/elf/initfini.c: Remove file.
54127 2012-02-16  David S. Miller  <davem@davemloft.net>
54129         [BZ #11494]
54130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54132         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54133         * sysdeps/sparc/crti.S: New file.
54134         * sysdeps/sparc/crtn.S: New file.
54135         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54136         * sysdeps/sparc/sparc64/Makefile: Likewise.
54138 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54140         [BZ #3335]
54141         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54143 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54145         [BZ #4822]
54146         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54148         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54149         (write, read, close): Likewise.
54150         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54152 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54154         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54155         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54156         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54157         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54158         <bits/signalfd.h>.
54159         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54161         bits/signalfd.h.
54163 2012-02-14  Marek Polacek  <polacek@redhat.com>
54165         * sysdeps/x86_64/crti.S: New file.
54166         * sysdeps/x86_64/crtn.S: New file.
54167         * sysdeps/x86_64/elf/initfini.c: Remove file.
54169 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54171         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54172         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54173         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54174         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54175         <bits/inotify.h>.
54176         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54178         bits/inotify.h.
54180 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54182         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54183         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54184         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54185         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54186         <bits/eventfd.h>.
54187         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54189         bits/eventfd.h.
54191 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54193         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54194         __feraiseexcept instead of feraiseexcept.
54196         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54197         nanosleep invocations.
54198         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54199         strings, and add error checking for a nanosleep invocations.
54201 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54203         Replace FSF snail mail address with URLs, as per GNU coding standards.
54204         Most of the snail mail addresses were wrong anyway, and omitting
54205         them makes the source code easier to maintain.  Almost all of the
54206         changes are to license notices and to locale LC_IDENTIFICATION
54207         addresses, except for this one:
54208         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54209         not its snail mail address.
54211 2012-02-09  Richard Henderson  <rth@twiddle.net>
54213         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54214         of kernel-features.h.
54216         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54218 2012-02-08  Marek Polacek  <polacek@redhat.com>
54220         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54221         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54222         * sysdeps/gnu/_G_config.h: Likewise.
54223         * sysdeps/generic/_G_config.h: Likewise.
54225 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54227         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54228         tests.
54229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54231         * sysdeps/powerpc/powerpc32/crti.S: New file.
54232         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54233         * sysdeps/powerpc/powerpc64/crti.S: New file.
54234         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54236         * Makeconfig (have-initfini): Don't set.
54237         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54238         * configure.in (nopic_initfini): Don't substitute.
54239         * config.h.in (HAVE_INITFINI): Don't #undef.
54240         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54241         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54243 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54245         Support crti.S and crtn.S provided directly by architectures.
54246         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54247         [crti.S in sysdirs] (omit-deps): Likewise.
54248         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54249         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54250         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54251         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54252         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54253         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54254         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54255         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54256         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54257         compiler output for sysdeps/generic/initfini.c.
54258         * sysdeps/i386/elf/Makefile: Remove file.
54259         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54261 2012-02-07  Marek Polacek  <polacek@redhat.com>
54263         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54264         * sysdeps/gnu/_G_config.h: Likewise.
54265         * sysdeps/mach/hurd/_G_config.h: Likewise.
54267 2012-02-07  Marek Polacek  <polacek@redhat.com>
54269         * math/Makefile (tests): Add tst-CMPLX2.
54270         * math/tst-CMPLX2.c: New file.
54272 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54274         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54276         * math/libm-test.inc (jn_test): Add missing L suffix.
54278 2012-02-06  Marek Polacek  <polacek@redhat.com>
54280         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54281         * sysdeps/i386/fpu/e_powf.S: Likewise.
54282         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54283         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54284         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54285         * sysdeps/i386/fpu/e_pow.S: Likewise.
54286         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54287         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54288         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54289         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54290         * sysdeps/i386/fpu/e_log2.S: Likewise.
54291         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54292         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54293         * sysdeps/i386/fpu/e_powl.S: Likewise.
54294         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54295         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54296         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54297         * sysdeps/i386/fpu/e_logl.S: Likewise.
54298         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54299         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54300         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54301         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54302         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54303         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54304         * sysdeps/i386/fpu/e_log.S: Likewise.
54305         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54306         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54307         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54308         * sysdeps/i386/fpu/e_logf.S: Likewise.
54309         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54310         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54311         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54312         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54313         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54314         * sysdeps/i386/fpu/e_log10.S: Likewise.
54315         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54316         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54317         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54318         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54320         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54321         * sysdeps/i386/asm-syntax.h: Likewise.
54322         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54323         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54324         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54325         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54326         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54327         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54328         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54329         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54330         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54331         * sysdeps/powerpc/sysdep.h: Likewise.
54332         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54333         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54335 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54337         [BZ #411]
54338         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54340 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54342         * sysdeps/i386/sysdep.h: Include <features.h>.
54343         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54344         version.
54346 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54348         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54349         Define.
54350         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54351         LOAD_PIC_REG_STR.
54353 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54355         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54356         (SETUP_PIC_REG): Use GET_PC_THUNK.
54357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54358         macro.
54360 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54362         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54363         for non-PIC compilation.
54364         (SETUP_PIC_REG): Add .p2align directive.
54365         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54366         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54367         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54368         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54369         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54370         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54371         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54372         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54373         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54374         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54375         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54376         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54377         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54378         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54379         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54380         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54381         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54382         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54383         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54384         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54385         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54386         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54387         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54388         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54389         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54390         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54391         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54392         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54393         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54394         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54395         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54396         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54397         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54398         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54399         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54400         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54401         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54402         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54403         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54404         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54405         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54407 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54409         * math/tst-CMPLX.c: Include <stdio.h>.
54411 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54413         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54414         float.
54415         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54416         * sysdeps/sparc/bits/mathdef.h: Likewise.
54418 2012-01-31  Marek Polacek  <polacek@redhat.com>
54420         * libio/libio.h: Don't define _PARAMS.
54421         * locale/programs/config.h: Don't define PARAMS.
54422         * stdlib/strtol_l.c: Likewise.
54423         (__strtol_l): Remove PARAMS from the prototype.
54425 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54427         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54428         names.  Just use the correct names.  Remove unnecessary wrapper
54429         functions.
54430         * malloc/arena.c: Likewise.
54431         * malloc/hooks.c: Likewise.
54433         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54434         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54435         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54437 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54439         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54440         into tail calls.
54441         (update_get_addr): New function.
54442         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54443         GET_ADDR_MODULE parameter.
54445 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54447         * crypt/cert.c: Remove __STDC__ conditionals.
54448         * crypt/crypt-entry.c: Likewise.
54449         * crypt/crypt_util.c: Likewise.
54450         * libio/filedoalloc.c: Likewise.
54451         * libio/fileops.c: Likewise.
54452         * libio/genops.c: Likewise.
54453         * libio/iofclose.c: Likewise.
54454         * libio/iofdopen.c: Likewise.
54455         * libio/iofopen.c: Likewise.
54456         * libio/iofopen64.c: Likewise.
54457         * libio/iogetdelim.c: Likewise.
54458         * libio/iopopen.c: Likewise.
54459         * libio/obprintf.c: Likewise.
54460         * libio/oldfileops.c: Likewise.
54461         * libio/oldiofclose.c: Likewise.
54462         * libio/oldiofdopen.c: Likewise.
54463         * libio/oldiofopen.c: Likewise.
54464         * libio/oldiopopen.c: Likewise.
54465         * libio/wfiledoalloc.c: Likewise.
54466         * libio/wgenops.c: Likewise.
54467         * locale/programs/xmalloc.c: Likewise.
54468         * misc/syslog.c: Likewise.
54469         * stdio-common/xbug.c: Likewise.
54470         * string/memchr.c: Likewise.
54471         * string/memcmp.c: Likewise.
54472         * string/memrchr.c: Likewise.
54473         * string/rawmemchr.c: Likewise.
54474         * sysdeps/posix/getcwd.c: Likewise.
54475         * time/strftime_l.c: Likewise.
54477 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54479         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54480         * config.make.in (config-cflags-sse2avx): Define.
54481         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54482         Fix typo.
54484 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54486         * scripts/config.guess: Update from upstream config git repository.
54487         * scripts/config.sub: Likewise.
54489 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54491         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54492         (EM_NUM): Update.
54493         (R_TILEPRO_*, R_TILEGX_*): New macros.
54495         * scripts/firstversions.awk: Fix bug in version range handling.
54497         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54501         * include/sys/epoll.h: New file.
54502         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54503         libc_hidden_def.
54505 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54507         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54508         Avoid unnecessary __WORDSIZE == 64 test.
54509         (fmaxf): Use VEX format if possible.
54510         (fmax): Likewise.
54511         (fminf): Likewise.
54512         (fmin): Likewise.
54514         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54515         * math/math_private.h: Remove libc_fegetround* and
54516         libc_fesetround*.
54517         * sysdeps/i386/configure.in: Check for -msse2avx.
54518         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54519         also if SSE2AVX is defined.
54520         Remove libc_fegetround* and libc_fesetround*.
54521         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54522         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54524         of HAS_YMM_USABLE.
54525         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54526         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54527         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54528         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54529         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54531         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54533 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54535         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54536         size is not set.
54537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54539 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54541         [BZ #13618]
54542         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54543         relocation.
54544         * Makeconfig (libm): Define.
54545         * elf/Makefile: Add rules to build and run tst-relsort1.
54546         * elf/tst-relsort1.c: New file.
54547         * elf/tst-relsort1mod1.c: New file.
54548         * elf/tst-relsort1mod2.c: New file.
54550 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54552         * math/s_ldexp.c: Remove __STDC__ conditionals.
54553         * math/s_ldexpf.c: Likewise.
54554         * math/s_ldexpl.c: Likewise.
54555         * math/s_nextafter.c: Likewise.
54556         * math/s_nexttowardf.c: Likewise.
54557         * math/s_significand.c: Likewise.
54558         * math/s_significandf.c: Likewise.
54559         * math/s_significandl.c: Likewise.
54560         * math/w_jnl.c: Likewise.
54561         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54562         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54563         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54564         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54565         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54580         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54581         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54582         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54583         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54584         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54585         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54586         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54587         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54588         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54589         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54590         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54591         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54592         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54593         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54594         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54595         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54596         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54597         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54598         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54599         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54600         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54601         * sysdeps/ieee754/k_standard.c: Likewise.
54602         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54603         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54604         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54605         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54606         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54607         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54608         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54609         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54610         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54611         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54612         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54613         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54614         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54615         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54616         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54617         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54618         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54620         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54621         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54622         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54623         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54624         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54625         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54626         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54627         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54631         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54633         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54634         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54635         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54637         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54638         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54640         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54641         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54642         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54645         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54646         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54647         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54649         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54650         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54652         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54653         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54656         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54658         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54659         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54660         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54661         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54662         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54663         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54664         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54665         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54666         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54667         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54668         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54669         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54670         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54671         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54672         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54673         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54674         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54675         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54676         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54677         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54678         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54679         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54680         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54681         * sysdeps/ieee754/s_matherr.c: Likewise.
54682         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54683         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54687 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54689         * crypt/md5.h: Remove __STDC__ conditionals.
54690         * libio/libioP.h: Likewise.
54691         * locale/programs/config.h: Likewise.
54692         * sysdeps/generic/sysdep.h: Likewise.
54693         * sysdeps/i386/asm-syntax.h: Likewise.
54694         * sysdeps/s390/asm-syntax.h: Likewise.
54695         * sysdeps/unix/sysdep.h: Likewise.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54699 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54701         * libio/libio.h: Remove __STDC__ conditionals.
54702         * malloc/obstack.h: Likewise.
54703         * math/complex.h: Likewise.
54704         * math/math.h: Likewise.
54705         * sysdeps/generic/_G_config.h: Likewise.
54706         * sysdeps/gnu/_G_config.h: Likewise.
54707         * sysdeps/mach/hurd/_G_config.h: Likewise.
54708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54709         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54710         * sysdeps/sparc/bits/mathdef.h: Likewise.
54712 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54714         [BZ #13583]
54715         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54716         Clean up HAS_* macros.
54717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54718         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54719         possible.
54720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54721         HAS_AVX.
54722         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54723         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54724         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54725         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54726         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54728 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54730         * elf/tst-unique3.cc (gets): Remove declaration.
54731         * elf/tst-unique3lib.cc (gets): Likewise.
54732         * elf/tst-unique3lib2.cc (gets): Likewise.
54733         * elf/tst-unique4.cc (gets): Likewise.
54735 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54737         * include/stdio.h: Add C++ protection.  Add gets declarations and
54738         definitions.
54739         * debug/tst-chk1.c: Don't declare gets here.
54740         * stdio-common/tst-gets.c: Likewise.
54742 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54744         * posix/glob: Remove directory.
54746 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54748         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54750 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54752         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54753         of the non-standard EPFNOSUPPORT.
54755 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54757         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54758         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54759         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54761 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54763         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54765 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54767         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54768         transient errors.
54769         * nscd/grpcache.c (cache_addgr): Likewise.
54770         * nscd/hstcache.c (cache_addhst): Likewise.
54771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54772         * nscd/pwdcache.c (cache_addpw): Likewise.
54773         * nscd/servicescache.c (cache_addserv): Likewise.
54775 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54777         * malloc/malloc.c: Various cleanups.
54778         * malloc/hooks.c: Likewise.
54780         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54781         * stdlib/bug-fmtmsg1.c: New file.
54783         * stdlib/fmtmsg.c (init): Add missing unlock.
54784         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54786 2012-01-12  Marek Polacek  <polacek@redhat.com>
54788         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54789         and _GNU_SOURCE.
54791 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54793         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54794         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54795         macro to ensure uniqueness of label name.
54796         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54797         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54799 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54801         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54803         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54804         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54805         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54808 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54810         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54812         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54813         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54814         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54816         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54818         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54819         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54820         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54821         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54823         * math/bits/math-finite.h: Add ldexp support.
54825 2012-01-10  Marek Polacek  <polacek@redhat.com>
54827         * locale/programs/localedef.h (show_archive_content): Add noreturn
54828         attribute.
54830 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54832         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54834 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54836         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54838         * io/Makefile (headers): Add bits/poll2.h.
54840 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54843         typo #include statement.
54845 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54847         * include/sys/cdefs.h: Define __attribute_alloc_size.
54848         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54849         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54850         * elf/pldd.c: Likewise.
54851         * iconv/iconv_charmap.c: Likewise.
54852         * iconv/iconvconfig.c: Likewise.
54853         * iconv/strtab.c: Likewise.
54854         * locale/programs/locale.c: Likewise.
54855         * locale/programs/localedef.h: Likewise.
54856         * locale/programs/simple-hash.c: Likewise.
54857         * nscd/nscd.h: Likewise.
54858         * nss/makedb.c: Likewise.
54859         * sysdeps/generic/ldconfig.h: Likewise.
54860         * locale/programs/localedef.c: Remove xmalloc prototype.
54861         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54863 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54865         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54866         appropriate.
54868 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54870         * math/Makefile (tests): Add tst-CMPLX.
54871         * math/tst-CMPLX.c: New file.
54873         * math/complex.h (CMPLXL): Fix typo.
54875         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54876         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54877         GLIBC_2.16.
54878         * debug/tst-chk1.c: Add poll and ppoll tests.
54879         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54880         * include/sys/poll.h: Add hidden proto for ppoll.
54881         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54882         * sysdeps/mach/hurd/ppoll.c: Likewise.
54883         * io/ppoll.c: Likewise.
54884         * debug/poll_chk.c: New file.
54885         * debug/ppoll_chk.c: New file.
54886         * include/bits/poll2.h: New file.
54887         * io/bits/poll2.h: New file.
54889         [BZ #1350]
54890         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54892         * configure.in: static is always set to yes.  Remove.
54893         * config.make.in: Don't set build-static.
54894         * Makeconfig: Remove use of build-static.
54895         * dlfcn/Makefile: Likewise.
54896         * elf/Makefile: Likewise.
54897         * math/Makefile: Likewise.
54898         * misc/Makefile: Likewise.
54899         * nptl/Makefile: Likewise.
54900         * sysdeps/mach/hurd/Makefile: Likewise.
54902         * configure.in: PWD_P is not used anymore.
54903         * config.make.in: Remove PWD_P entry.
54905         * configure.in: Remove last remnants of RANLIB.
54906         No need to check for signed size_t anymore.
54907         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54908         and IA-64.
54909         Remove __builtin_expect test because we require at least gcc 3.4.
54910         * aclocal.m4: Likewise.
54912         * wcsmbs/mbrtoc16.c: Implement using towc function.
54913         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54914         * wcsmbs/wcsmbsload.c: Likewise.
54915         * iconv/gconv_simple.c: Likewise.
54916         * iconv/gconv_int.h: Likewise.
54917         * iconv/gconv_builtin.h: Likewise.
54918         * iconv/iconv_prog.c: Remove CHAR16 handling.
54920         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54922         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54924         * configure.in: Remove --with-elf and --enable-bounded options.
54925         Dont set base_machine for ia64.  More non-ELF conditions removed.
54926         Remove testing and setting of leading underscore information.
54927         * config.make.in (build-bounded): Set to no.
54928         * config.h.in: Remove NO_UNDERSCORES entry.
54929         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54930         them.
54931         * csu/start.c: Remove !NO_UNDERSCORE code.
54932         * locale/localeinfo.h: Likewise.
54933         * sysdeps/generic/machine-gmon.h: Likewise.
54934         * sysdeps/generic/sysdep.h: Likewise.
54935         * sysdeps/i386/sysdep.h: Likewise.
54936         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54937         * sysdeps/mach/sysdep.h: Likewise.
54938         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54939         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54940         * sysdeps/sh/sysdep.h: Likewise.
54941         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54942         * sysdeps/unix/i386/sysdep.S: Likewise.
54943         * sysdeps/unix/sparc/start.c: Likewise.
54944         * sysdeps/unix/sparc/sysdep.S: Likewise.
54945         * sysdeps/unix/sparc/sysdep.h: Likewise.
54946         * sysdeps/unix/start.c: Likewise.
54947         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54948         * sysdeps/x86_64/sysdep.h: Likewise.
54950 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54952         [BZ #13553]
54953         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54954         for non-gcc.
54955         * argp/argp-fmtstream.h: Use const instead __const.
54956         * argp/argp.h: Likewise.
54957         * assert/assert.h: Likewise.
54958         * bits/fenv.h: Likewise.
54959         * bits/sched.h: Likewise.
54960         * bits/sigset.h: Likewise.
54961         * bits/sigthread.h: Likewise.
54962         * catgets/nl_types.h: Likewise.
54963         * conform/data/pthread.h-data: Likewise.
54964         * crypt/crypt-private.h: Likewise.
54965         * crypt/crypt.h: Likewise.
54966         * crypt/crypt_util.c: Likewise.
54967         * ctype/ctype.h: Likewise.
54968         * debug/execinfo.h: Likewise.
54969         * debug/mbsnrtowcs_chk.c: Likewise.
54970         * debug/mbsrtowcs_chk.c: Likewise.
54971         * debug/wcsnrtombs_chk.c: Likewise.
54972         * debug/wcsrtombs_chk.c: Likewise.
54973         * debug/wcstombs_chk.c: Likewise.
54974         * dirent/dirent.h: Likewise.
54975         * dlfcn/dlfcn.h: Likewise.
54976         * elf/neededtest4.c: Likewise.
54977         * grp/grp.h: Likewise.
54978         * gshadow/gshadow.h: Likewise.
54979         * iconv/gconv.h: Likewise.
54980         * iconv/gconv_int.h: Likewise.
54981         * iconv/gconv_simple.c: Likewise.
54982         * iconv/iconv.h: Likewise.
54983         * iconv/loop.c: Likewise.
54984         * iconv/skeleton.c: Likewise.
54985         * include/aio.h: Likewise.
54986         * include/aliases.h: Likewise.
54987         * include/argz.h: Likewise.
54988         * include/arpa/inet.h: Likewise.
54989         * include/assert.h: Likewise.
54990         * include/dirent.h: Likewise.
54991         * include/dlfcn.h: Likewise.
54992         * include/execinfo.h: Likewise.
54993         * include/fcntl.h: Likewise.
54994         * include/fenv.h: Likewise.
54995         * include/glob.h: Likewise.
54996         * include/grp.h: Likewise.
54997         * include/libintl.h: Likewise.
54998         * include/mntent.h: Likewise.
54999         * include/netdb.h: Likewise.
55000         * include/pwd.h: Likewise.
55001         * include/rpc/netdb.h: Likewise.
55002         * include/sched.h: Likewise.
55003         * include/search.h: Likewise.
55004         * include/shadow.h: Likewise.
55005         * include/signal.h: Likewise.
55006         * include/stdio.h: Likewise.
55007         * include/stdlib.h: Likewise.
55008         * include/string.h: Likewise.
55009         * include/sys/socket.h: Likewise.
55010         * include/sys/stat.h: Likewise.
55011         * include/sys/statfs.h: Likewise.
55012         * include/sys/statvfs.h: Likewise.
55013         * include/sys/syslog.h: Likewise.
55014         * include/sys/time.h: Likewise.
55015         * include/sys/uio.h: Likewise.
55016         * include/time.h: Likewise.
55017         * include/unistd.h: Likewise.
55018         * include/utmp.h: Likewise.
55019         * include/wchar.h: Likewise.
55020         * include/wctype.h: Likewise.
55021         * inet/aliases.h: Likewise.
55022         * inet/arpa/inet.h: Likewise.
55023         * inet/netinet/ether.h: Likewise.
55024         * inet/netinet/in.h: Likewise.
55025         * intl/libintl.h: Likewise.
55026         * io/bits/fcntl2.h: Likewise.
55027         * io/fcntl.h: Likewise.
55028         * io/ftw.h: Likewise.
55029         * io/sys/poll.h: Likewise.
55030         * io/sys/stat.h: Likewise.
55031         * io/sys/statfs.h: Likewise.
55032         * io/sys/statvfs.h: Likewise.
55033         * io/utime.h: Likewise.
55034         * libio/bits/stdio.h: Likewise.
55035         * libio/bits/stdio2.h: Likewise.
55036         * libio/libio.h: Likewise.
55037         * libio/libioP.h: Likewise.
55038         * libio/stdio.h: Likewise.
55039         * locale/lc-ctype.c: Likewise.
55040         * locale/locale.h: Likewise.
55041         * login/utmp.h: Likewise.
55042         * malloc/arena.c: Likewise.
55043         * malloc/malloc.c: Likewise.
55044         * malloc/malloc.h: Likewise.
55045         * malloc/mcheck.c: Likewise.
55046         * malloc/mtrace.c: Likewise.
55047         * math/bits/mathcalls.h: Likewise.
55048         * math/fenv.h: Likewise.
55049         * math/math_private.h: Likewise.
55050         * misc/bits/error.h: Likewise.
55051         * misc/bits/syslog.h: Likewise.
55052         * misc/err.h: Likewise.
55053         * misc/error.h: Likewise.
55054         * misc/fstab.h: Likewise.
55055         * misc/mntent.h: Likewise.
55056         * misc/regexp.h: Likewise.
55057         * misc/search.h: Likewise.
55058         * misc/sgtty.h: Likewise.
55059         * misc/sys/mman.h: Likewise.
55060         * misc/sys/syslog.h: Likewise.
55061         * misc/sys/uio.h: Likewise.
55062         * misc/sys/xattr.h: Likewise.
55063         * misc/ttyent.h: Likewise.
55064         * nis/rpcsvc/ypclnt.h: Likewise.
55065         * nss/nss.h: Likewise.
55066         * posix/bits/unistd.h: Likewise.
55067         * posix/fnmatch.h: Likewise.
55068         * posix/glob.h: Likewise.
55069         * posix/sched.h: Likewise.
55070         * posix/spawn.h: Likewise.
55071         * posix/sys/wait.h: Likewise.
55072         * posix/unistd.h: Likewise.
55073         * posix/wordexp.h: Likewise.
55074         * pwd/pwd.h: Likewise.
55075         * resolv/netdb.h: Likewise.
55076         * resource/sys/resource.h: Likewise.
55077         * rt/aio.h: Likewise.
55078         * rt/bits/mqueue2.h: Likewise.
55079         * rt/mqueue.h: Likewise.
55080         * shadow/shadow.h: Likewise.
55081         * signal/signal.h: Likewise.
55082         * socket/send.c: Likewise.
55083         * socket/sendto.c: Likewise.
55084         * socket/sys/socket.h: Likewise.
55085         * stdio-common/printf.h: Likewise.
55086         * stdlib/bits/stdlib.h: Likewise.
55087         * stdlib/fmtmsg.h: Likewise.
55088         * stdlib/monetary.h: Likewise.
55089         * stdlib/stdlib.h: Likewise.
55090         * stdlib/ucontext.h: Likewise.
55091         * streams/stropts.h: Likewise.
55092         * string/argz.h: Likewise.
55093         * string/bits/string2.h: Likewise.
55094         * string/string.h: Likewise.
55095         * string/strings.h: Likewise.
55096         * sunrpc/rpc/auth.h: Likewise.
55097         * sunrpc/rpc/auth_des.h: Likewise.
55098         * sunrpc/rpc/clnt.h: Likewise.
55099         * sunrpc/rpc/netdb.h: Likewise.
55100         * sunrpc/rpc/pmap_clnt.h: Likewise.
55101         * sunrpc/rpc/xdr.h: Likewise.
55102         * sysdeps/generic/inttypes.h: Likewise.
55103         * sysdeps/generic/net/if.h: Likewise.
55104         * sysdeps/generic/sys/swap.h: Likewise.
55105         * sysdeps/gnu/net/if.h: Likewise.
55106         * sysdeps/gnu/utmpx.h: Likewise.
55107         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55108         * sysdeps/i386/i486/bits/string.h: Likewise.
55109         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55110         * sysdeps/s390/bits/string.h: Likewise.
55111         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55112         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55113         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55114         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55115         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55116         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55117         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55118         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55119         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55120         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55121         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55122         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55123         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55124         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55125         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55126         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55127         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55128         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55129         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55130         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55132         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55133         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55134         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55135         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55136         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55137         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55138         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55139         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55140         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55141         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55142         * sysvipc/sys/ipc.h: Likewise.
55143         * sysvipc/sys/msg.h: Likewise.
55144         * sysvipc/sys/sem.h: Likewise.
55145         * sysvipc/sys/shm.h: Likewise.
55146         * termios/termios.h: Likewise.
55147         * time/sys/time.h: Likewise.
55148         * time/time.h: Likewise.
55149         * wcsmbs/bits/wchar2.h: Likewise.
55150         * wcsmbs/uchar.h: Likewise.
55151         * wcsmbs/wchar.h: Likewise.
55152         * wctype/wctype.h: Likewise.
55154         [BZ #13551]
55155         * Makeconfig: Remove all but ELF support including AIX support.
55156         * Makerules: Likewise.
55157         * config.h.in: Likewise.
55158         * config.make.in: Likewise.
55159         * configure: Likewise.
55160         * configure.in: Likewise.
55161         * csu/Makefile: Likewise.
55162         * csu/version.c: Likewise.
55163         * debug/Makefile: Likewise.
55164         * dlfcn/Makefile: Likewise.
55165         * elf/Makefile: Likewise.
55166         * extra-lib.mk: Likewise.
55167         * iconv/Makefile: Likewise.
55168         * include/libc-symbols.h: Likewise.
55169         * include/shlib-compat.h: Likewise.
55170         * resolv/Makefile: Likewise.
55171         * resolv/res_libc.c: Likewise.
55172         * rt/Makefile: Likewise.
55173         * sysdeps/i386/asm-syntax.h: Likewise.
55174         * sysdeps/i386/sysdep.h: Likewise.
55175         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55176         * sysdeps/mach/sysdep.h: Likewise.
55177         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55178         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55179         * sysdeps/s390/asm-syntax.h: Likewise.
55180         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55181         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55182         * sysdeps/sh/sysdep.h: Likewise.
55183         * sysdeps/unix/sparc/sysdep.h: Likewise.
55184         * sysdeps/wordsize-32/divdi3.c: Likewise.
55185         * sysdeps/x86_64/sysdep.h: Likewise.
55187         * argp/Versions: Remove _argp_unlock_xxx.
55189         [BZ #13559]
55190         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55191         * abilist/libBrokenLocale.abilist: Likewise.
55192         * abilist/libanl.abilist: Likewise.
55193         * abilist/libc.abilist: Likewise.
55194         * abilist/libcrypt.abilist: Likewise.
55195         * abilist/libdl.abilist: Likewise.
55196         * abilist/libm.abilist: Likewise.
55197         * abilist/libnsl.abilist: Likewise.
55198         * abilist/libpthread.abilist: Likewise.
55199         * abilist/libresolv.abilist: Likewise.
55200         * abilist/librt.abilist: Likewise.
55201         * abilist/libthread_db.abilist: Likewise.
55202         * abilist/libutil.abilist: Likewise.
55203         * abilist/libnss_db.abilist: New file.
55205         * scripts/abilist.awk: Add support for indirect functions.
55207         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55209         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55211         * shlib-versions: Remove entries for ports architectures.
55213         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55214         files in ports.
55215         * elf/stackguard-macros.h: Remove support for IA-64.
55216         * elf/tst-auditmod1.c: Likewise.
55217         * sysdeps/generic/ldsodefs.h: Likewise.
55219         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55220         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55221         configure files.
55223         [BZ #13552]
55224         * configure.in: Remove --enable-omitfp support.
55225         * FAQ.in: Adjust.
55226         * config.make.in: Likewise.
55227         * Makeconfig: Likewise.
55228         * manual/install.texi: Likewise.
55230         In case anyone cares, the IA-64 architecture could move to ports.
55231         * sysdeps/ia64/*: Removed.
55232         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55233         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55235         [BZ #13555]
55236         * configure.in: Remove entries for unsupported architectures.
55238         [BZ #13533]
55239         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55240         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55241         routines.
55242         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55243         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55244         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55245         fall back to using wcrtomb.
55246         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55247         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55248         renaming.
55249         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55250         * wcsmbs/tst-c16c32-1.c: New file.
55252         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55253         local variable.
55255         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55257         * elf/tst-unique3.cc: Add explicit declaration of gets.
55258         * elf/tst-unique3lib.cc: Likewise.
55259         * elf/tst-unique3lib2.cc: Likewise.
55260         * elf/tst-unique4.cc: Likewise.
55262         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55264 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55266         [BZ #13566]
55267         * assert/assert.h (static_assert): Don't define for C++.
55268         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55269         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55271 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55273         * iconv/loop.c (single loop): Fix assertion in storing of
55274         remaining bytes.
55276         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55278 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55280         * posix/getconf.c: Update copyright year.
55281         * nss/getent.c: Likewise.
55282         * nss/makedb.c: Likewise.
55283         * iconv/iconvconfig.c: Likewise.
55284         * iconv/iconv_prog.c: Likewise.
55285         * elf/ldconfig.c: Likewise.
55286         * elf/pldd.c: Likewise.
55287         * elf/sotruss.ksh: Likewise.
55288         * catgets/gencat.c: Likewise.
55289         * csu/version.c: Likewise.
55290         * elf/ldd.bash.in: Likewise.
55291         * elf/sprof.c (print_version): Likewise.
55292         * locale/programs/locale.c: Likewise.
55293         * locale/programs/localedef.c: Likewise.
55294         * login/programs/pt_chown.c: Likewise.
55295         * nscd/nscd.c (print_version): Likewise.
55296         * debug/xtrace.sh: Likewise.
55297         * malloc/memusage.sh: Likewise.
55298         * malloc/mtrace.pl: Likewise.
55299         * debug/catchsegv.sh: Likewise.
55301 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55303         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55304         pure attribute.
55306 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55308         [BZ #13533]
55309         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55310         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55311         transformations.
55312         * iconv/gconv_int.h: Likewise.
55313         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55314         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55315         from libc for GLIBC_2.16.
55316         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55317         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55318         * wcsmbs/uchar.h: Really define mbstate_t.
55319         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55320         * wcsmbs/c16rtomb.c: New file.
55321         * wcsmbs/mbrtoc16.c: New file.
55322         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55323         for C/POSIX locale.
55324         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55325         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55327         * wcsmbs/wchar.h: Add missing __restrict.
55329 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55331         [BZ #13532]
55332         * time/Makefile (routines): Add timespec_get.
55333         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55334         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55335         timespec for ISO C11.
55336         * time/timespec_get.c: New file.
55337         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55338         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55340         [BZ #13531]
55341         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55342         * stdlib/stdlib.h: Declare aligned_alloc.
55343         * Versions.def: Add GLIBC_2.16 for libc.
55344         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55346         [BZ 13527]
55347         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55348         ISO C11.
55350         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55351         code.
55353         [BZ #13528]
55354         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55356         [BZ #13529]
55357         * assert/assert.h (static_assert): Define.
55359         * version.h: Update for 2.16 development version.
55361         [BZ #13526]
55362         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55363         _ISOC11_SOURCE.
55365         * version.h (RELEASE): Bump for 2.15 release.
55366         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55368         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55369         Patch by Marek Polacek <mpolacek@redhat.com>.
55371         * bits/byteswap.h: Protect long long constants with __extension__.
55372         * sysdeps/i386/bits/byteswap.h: Likewise.
55373         * sysdeps/ia64/bits/byteswap.h: Likewise.
55374         * sysdeps/s390/bits/byteswap.h: Likewise.
55375         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55377 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55379         [BZ #13540]
55380         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55381         destination buffer.
55382         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55384 2011-12-23  Marek Polacek  <polacek@redhat.com>
55386         * elf/dl-addr.c (determine_info): Add inline keyword.
55387         * elf/tst-auditmod4b.c (check_avx): Likewise.
55388         * elf/tst-auditmod6b.c (check_avx): Likewise.
55389         * elf/tst-auditmod6c.c (check_avx): Likewise.
55390         * elf/tst-auditmod7b.c (check_avx): Likewise.
55392 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55394         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55395         !__SSE_MATH__.
55397 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55399         [BZ #13540]
55400         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55401         processing for last bytes.
55403 2011-08-06  Bruno Haible  <bruno@clisp.org>
55405         [BZ #13061]
55406         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55407         U+0385, not to U+1FEE.
55409         [BZ #13062]
55410         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55411         entry for U+00A5 U+0301.
55413 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55415         [BZ #13166]
55416         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55417         buffer for the output is too small.
55419         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55420         optimization.
55422         [BZ #13185]
55423         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55424         SSE flags if possible.
55426 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55428         [BZ #13540]
55429         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55430         processing for last bytes.
55432 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55434         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55435         (syscall-list-default-options, syscall-list-default-condition)
55436         (syscall-list-includes): Define.
55437         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55438         list of ABIs and options and #if conditions for each ABI.  Do not
55439         handle common syscalls between ABIs specially.
55440         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55441         Remove.
55442         (syscall-list-variants, syscall-list-32bit-options)
55443         (syscall-list-32bit-condition, syscall-list-64bit-options)
55444         (syscall-list-64bit-condition): Define.
55445         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55446         (syscall-list-variants, syscall-list-32bit-options)
55447         (syscall-list-32bit-condition, syscall-list-64bit-options)
55448         (syscall-list-64bit-condition): Define.
55449         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55450         Remove.
55451         (syscall-list-variants, syscall-list-32bit-options)
55452         (syscall-list-32bit-condition, syscall-list-64bit-options)
55453         (syscall-list-64bit-condition): Define.
55454         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55455         Remove.
55456         (syscall-list-variants, syscall-list-32bit-options)
55457         (syscall-list-32bit-condition, syscall-list-64bit-options)
55458         (syscall-list-64bit-condition): Define.
55460 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55462         * locale/iso-639.def: Add brx entry.
55464         [BZ #13328]
55465         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55466         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55468         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55469         __feraiseexcept_renamed.
55471 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55473         [BZ #13538]
55474         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55475         EPOLLET with unsigned values.
55476         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55477         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55479         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55480         to large cancellation.
55481         * math/s_cacoshf.c: Likewise.
55482         * math/s_cacoshl.c: Likewise.
55484 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55486         [BZ #13305]
55487         [BZ #12786]
55488         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55489         * math/s_cacoshf.c: Likewise.
55490         * math/s_cacoshl.c: Likewise.
55492 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55494         [BZ #13439]
55495         * iconv/gconv.h: Define __GCONV_SWAP.
55496         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55497         * iconvdata/utf-16.c: Likewise.
55498         * iconvdata/utf-32.c: Likewise.
55500 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55502         [BZ #13524]
55503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55504         numerator after shifting it by one limb.
55506 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55508         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55509         under [__USE_EXTERN_INLINES].
55511 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55513         [BZ #13446]
55514         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55516 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55518         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55519         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55520         optimized code.
55521         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55522         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55523         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55524         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55525         for strncasecmp/strncasecmp_l compilation.
55526         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55527         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55529 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55531         [BZ #13484]
55532         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55533         of __asm__.
55535 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55537         [BZ #13506]
55538         * time/tzfile.c (__tzfile_read): Check values from file header.
55540 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55542         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55543         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55544         * powerpc/powerpc32/dl-start.S: Likewise.
55545         * powerpc/powerpc32/elf/start.S: Likewise.
55546         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55547         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55548         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55549         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55550         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55551         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55552         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55553         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55554         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55555         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55556         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55557         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55558         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55559         * powerpc/powerpc32/memset.S: Likewise.
55560         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55561         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55562         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55563         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55564         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55565         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55566         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55567         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55568         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55569         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55570         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55571         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55572         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55574 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55576         * math/libm-test.inc: Added more nearbyint tests.
55577         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55582 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55584         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55585         FD_CLOEXEC.
55587 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55589         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55590         Add wcscpy-ssse3 wcscpy-c.
55591         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55592         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55593         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55594         * sysdeps/x86_64/wcschr.S: New file.
55595         * sysdeps/x86_64/wcsrchr.S: New file.
55596         * string/test-strcmp.c: Remove checking of wcscmp function for
55597         wrong alignments.
55598         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55599         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55600         wcsrchr-sse2 wcsrchr-c.
55601         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55602         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55603         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55604         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55605         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55606         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55607         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55608         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55609         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55610         * wcsmbc/wcschr.c (WCSCHR): New macro.
55612 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55614         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55615         * wcsmbs/test-wcsrchr.c: New file.
55616         * string/test-strrchr.c: Add wcsrchr support.
55617         (WIDE): New macro.
55618         * wcsmbs/test-wcscpy.c: New file.
55619         * string/test-strcpy.c: Add wcscpy support.
55620         (WIDE): New macro.
55622 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55624         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55625         the inner loop.
55627 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55629         [BZ #13472]
55630         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55632 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55634         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55635         Minor optimizations.
55637         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55638         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55639         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55641 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55643         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55644         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55645         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55646         for gcc to avoid warnings.
55647         * inet/Makefile (tests): Add tst-checks.
55648         * inet/tst-checks.c: New file.
55650         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55651         warning.
55653         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55654         __wmemcmp_sse2.
55656         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55657         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55659         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55661 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55663         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55664         problem.
55666         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55668 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55670         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55671         conditional on GCC version.
55672         (__arch_compare_and_exchange_val_8_acq)
55673         (__arch_compare_and_exchange_val_16_acq)
55674         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55675         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55676         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55678 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55680         * sysdeps/sh/backtrace.c: New file.
55682 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55684         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55685         parenthesis.
55687 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55689         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55690         falling back to utime.
55692 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55694         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55695         expectations for float.
55697 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55699         * locale/weight.h (findidx): Add parameter len.
55700         * locale/weightwc.h (findidx): Likewise.
55701         * posix/fnmatch_loop.c (FCT): Adjust caller.
55702         * posix/regcomp.c (build_equiv_class): Likewise.
55703         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55704         * posix/regexec.c (check_node_accept_bytes): Likewise.
55705         * string/strcoll_l.c (STRCOLL): Likewise.
55706         * string/strxfrm_l.c (STRXFRM): Likewise.
55708 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55710         * Makefile.in: Remove CVSOPT handling.
55711         * configure.in: Remove use of AC_REVISION.
55712         * iconvdata/Makefile (distribute): No need to filter out CVS.
55713         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55714         handling.
55716 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55719         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55720         [USE_AS_STRNCASECMP_L]: Likewise.
55721         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55722         NO_TLS_DIRECT_SEG_REFS.
55723         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55724         Fix argument offsets for non-PIC.
55725         [USE_AS_STRNCASECMP_L]: Likewise.
55726         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55727         NO_TLS_DIRECT_SEG_REFS.
55729 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55731         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55732         O_CLOEXEC.
55733         * locale/loadlocale.c (_nl_load_locale): Likewise.
55735 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55737         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55738         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55739         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55740         (SYSCALL_GETTIME): Set errno on error.
55742         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55743         count references to noai6ai_cached.
55745 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55747         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55749         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55750         FD_CLOEXEC for /proc/self/maps.
55752         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55753         FD_CLOEXEC for /proc/meminfo.
55755         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55756         gai.conf.
55758         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55759         FD_CLOEXEC for given file.
55761         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55763         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55764         FD_CLOEXEC for /etc/hosts.
55765         (_gethtent): Likewise.
55767         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55769         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55770         cancellation and set FD_CLOEXEC for /etc/netgroup.
55772         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55773         reading /etc/publickey.
55775         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55776         allow cancellation when reading /etc/group.
55778         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55779         cancellation.
55780         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55782         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55783         when using data file.
55785         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55787         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55788         (write_nis_obj): Use "c" and "e" in fopen.
55790         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55792         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55794         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55796         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55798         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55799         locale.alias.
55801         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55803         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55805         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55807         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55808         file parsing and set FD_CLOEXEC.
55810 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55812         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55814 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55816         * malloc/arena.c (arena_get2): Don't call reused_arena when
55817         _int_new_arena failed.
55819 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55821         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55822         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55824         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55825         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55826         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55827         to compile strcasecmp and strncasecmp.
55828         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55829         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55831         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55833 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55835         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55836         locale-defines.sym to gen-as-const-headers.
55837         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55838         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55840         to compile strcasecmp and strncasecmp.
55841         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55842         strcasecmp_l and strncasecmp_l.
55843         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55844         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55845         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55846         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55847         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55848         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55849         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55850         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55851         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55852         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55853         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55855 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55857         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55858         result of SYSDEP_GETTIME_CPU to retval.
55859         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55860         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55862         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55863         variable.
55865         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55866         mantissa words.
55867         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55869         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55870         from unused variable.
55872         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55873         DWARF definitions.
55874         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55875         for assembling.
55877         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55878         over namespaces.
55880         * sunrpc/rpc_prot.c (rejected): Fix case value.
55882         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55883         unsigned long long int to avoid warnings in shift.
55885         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55886         of use of trans.
55887         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55888         variable tmp.
55890         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55891         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55892         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55894         * nis/nis_table.c (nis_list): Use variable of correct type for
55895         result of __follow_path call.
55897 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55899         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55900         of math functions ceil, trunc, floor, round, and sqrt, when
55901         avaliable on the platform.
55902         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55903         name clash.
55904         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55905         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55906         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55908 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55910         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55911         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55913 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55915         * include/unistd.h: Fix __readlink return type.
55916         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55918 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55920         * stdlib/ucontext.h: Undo last change for makecontext.
55922 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55924         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55926         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55927         * setjmp/setjmp.h: Mark functions as non-leaf.
55928         * setjmp/bits/setjmp2.h: Likewise.
55929         * stdlib/ucontext.h: Likewise.
55931 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55933         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55934         (reused_arena): Don't check arena limit.
55935         (arena_get2): Atomically check arena limit.
55937 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55939         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55940         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55943         instructions.
55945 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55947         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55948         handler when locking.
55950         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55951         Fix size of allocated buffer.
55953 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55955         [BZ #10103]
55956         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55957         declarations for long double functions.
55958         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55960         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55962 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55964         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55965         installed.
55967         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55968         is disabled.
55970 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55972         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55974 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55976         * include/alloca.h (stackinfo_alloca_round): Define.
55977         (extend_alloca): Use it.
55978         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55979         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55980         here.
55982         * scripts/check-local-headers.sh: Ignore libaudit.h.
55984         * nscd/Makefile (extra-objs): Make recursively expanded.
55986 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55988         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55989         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55991         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55992         * posix/tst-rfc3484-2.c: Likewise.
55993         * posix/tst-rfc3484-3.c: Likewise.
55995         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55996         process_vm_writev.
55997         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55998         process_vm_writev.
55999         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56000         process_vm_writev from libc using GLIBC_2.15 version.
56002         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56004 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56006         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56007         stack usage.
56009 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56011         [BZ #13367]
56012         * nss/getent.c (initgroups_keys): Show error message in case no group
56013         names are given.
56015         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56016         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56017         __bump_nl_timestamp.
56018         * nscd/connections (nscd_init): When host database is served open
56019         netlink socket and request notification about configuration changes.
56020         (main_loop_poll): Track netlink file descriptor and bump timestamp
56021         in case data becomes available.
56022         (main_loop_epoll): Likewise.
56023         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56024         (database_pers_head): Add extra_data fileds.
56025         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56026         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56027         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56028         Adjust caller.
56029         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56030         in6ai data, call __free_in6ai.
56031         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56032         Add -DHAVE_NETLINK.
56033         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56034         interface information.  Reuse previous data if netlink timestamp
56035         is not changed.
56036         (__bump_nl_timestamp): New function.
56037         (__free_in6ai): New function.
56039 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56041         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56042         close_not_cancel_no_status here.
56043         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56045 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56047         [BZ #13276]
56048         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56049         return value.
56051         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56052         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56053         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56055 2011-07-03  Andreas Jaeger  <aj@suse.de>
56057         [BZ #10709]
56058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56059         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56060         * math/libm-test.inc (sin_test): Add test case.
56062 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56064         [BZ #13337]
56065         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56066         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56068         * elf/chroot_canon.c (chroot_canon): Cleanups.
56070         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56072         [BZ #13335]
56073         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56074         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56076         * string/test-strchr.c: Make usable for strchrnul testing.
56077         * string/test-strchrnul.c: New file.
56078         * string/Makefile (strop-tests): Add strchrnul.
56080         * po/it.po: Update from translation team.
56081         * po/es.po: Likewise.
56083 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56085         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56086         the three constants needed as parameters.  Drop the others.
56087         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56088         __m128i_strloadu_tolower.
56089         Create and initialize variable zero and use it in all the places
56090         where _mm_setzero_si128 was used.
56092         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56093         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56094         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56095         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56096         anymore.
56097         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56098         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56099         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56100         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56101         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56102         __mpranred, __mptan.
56103         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56104         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56105         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56106         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56107         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56108         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56109         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56110         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56111         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56113 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56115         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56116         redefine if SHARED.
56117         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56120         wide char related routines to wcsmbs subdir.
56122 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56124         [BZ #13344]
56125         * misc/sys/cdefs.h (__THROWNL): Define.
56126         * posix/unistd.h: Use __THREADNL instead of __THREAD
56127         for memory synchronization functions.
56129 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56131         [BZ #13349]
56132         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56133         doesn't exist.
56134         * manual/stdio.texi (Obstack Streams): Node removed.
56136 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56138         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56139         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56140         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56142         * math/math_private.h (math_force_eval): Allow non-addressable
56143         arguments.
56144         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56146 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56148         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56149         file is not needed.
56151         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56153         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56154         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56155         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56156         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56157         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56158         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56159         Add AVX variants.
56160         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56161         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56162         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56163         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56164         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56165         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56166         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56167         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56168         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56169         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56170         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56171         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56172         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56173         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56174         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56175         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56176         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56177         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56178         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56180         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56181         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56183         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56184         place.  Use VEX encoding when compiling for AVX.
56186 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56188         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56189         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56191         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56193 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56195         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56196         useless if() expression.
56197         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56198         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56199         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56200         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56201         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56202         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56203         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56204         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56205         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56206         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56208         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56209         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56210         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56211         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56212         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56213         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56214         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56215         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56217         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56219 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56221         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56222         condition.
56223         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56225 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56227         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56228         .text section.  Avoid duplicate constants.
56229         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56230         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56231         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56232         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56233         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56234         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56235         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56236         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56237         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56238         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56239         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56240         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56241         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56242         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56243         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56244         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56245         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56246         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56247         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56248         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56249         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56250         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56251         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56253         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56254         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56255         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56256         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56257         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56258         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56259         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56260         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56262         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56263         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56264         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56265         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56266         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56267         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56268         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56269         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56270         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56271         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56272         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56273         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56275 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56277         * sysdeps/x86_64/dla.h: Move to ...
56278         * sysdeps/x86_64/fpu/dla.h: ...here.
56279         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56280         situations.  Use __builtin_fma only for gcc 4.6 and up.
56282         * config.make.in: Add have-mfma4 entry.
56283         * configure.in: Substitute libc_cv_cc_fma4.
56284         * math/Makefile (dbl-only-routines): Add sincostab.
56285         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56286         Use __sincostab not sincos.
56287         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56288         name is a macro.
56289         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56292         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56293         using __copysign.
56294         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56295         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56296         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56297         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56298         and __inv.
56299         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56300         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56301         __copysign.
56302         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56303         define aliases when function name is a macro.
56304         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56305         sysdeps/ieee754/dbl-64/sincos.tbl.
56306         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56307         fma4-enabled routines.
56308         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56309         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56310         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56311         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56313         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56314         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56315         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56316         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56317         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56318         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56319         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56320         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56321         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56322         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56323         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56324         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56325         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56326         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56327         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56328         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56329         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56330         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56331         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56332         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56333         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56334         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56335         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56336         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56337         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56339         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56340         rename.
56341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56342         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56344         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56346         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56347         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56350 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56352         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56354 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56356         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56358         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56359         prediction.
56360         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56362         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56363         Remove unused variable magic_bits.
56364         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56366         * string/strnlen.c: Define and use STRNLEN macro.
56367         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56368         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56370         * wcsmbs/wcslen.c: Define and use WCSLEN.
56371         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56372         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56373         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56374         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56375         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56376         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56377         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56379 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56382         strnlen-sse2-no-bsf.
56383         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56385         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56386         Add strnlen support.
56387         (USE_AS_STRNLEN): New macro.
56388         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56389         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56390         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56391         * sysdeps/x86_64/wcslen.S: New file.
56393 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56395         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56396         XMM-moves are used for copying on small sizes.
56398 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56400         * wcsmbs/Makefile (strop-tests): Add wcschr.
56401         * wcsmbs/test-wcschr.c: New file.
56402         * string/test-strchr.c: Update.
56403         Add wcschr support.
56404         (WIDE): New macro.
56406 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56408         * wcsmbs/Makefile (strop-tests): Add wcslen.
56409         * wcsmbs/test-wcslen.c: New file.
56410         * string/test-strlen.c: Update.
56411         Add wcslen support.
56412         (WIDE): New macro.
56414 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56416         * po/it.po: Update from translation team.
56418 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56420         * sysdeps/x86_64/wcscmp.S: Update.
56421         Fix wrong comparison semantics.
56422         wcscmp shall use signed comparison not unsigned.
56423         Don't use substraction to avoid overflow bug.
56424         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56425         * wcsmbc/wcscmp.c: Likewise.
56426         * string/test-strcmp.c: Likewise.
56427         Add new tests to check cases with negative values.
56429 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56431         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56432         * sysdeps/x86_64/dla.h: ...here.  New file.
56433         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56438         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56440         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56441         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56443 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56446         __ynl_finite aliases.
56448 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56452         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56453         define DLA_FMA.
56454         [DLA_FMA] (EMULV): Use DLA_FMA.
56455         [DLA_FMA] (MUL12): Use EMULV.
56456         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56457         that are not needed.
56458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56462         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56463         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56464         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56466 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56468         * math/s_nan.c: Undef __nan.
56469         * math/s_nanf.c: Undef __nanf.
56470         * math/s_nanl.c: Undef __nanl.
56471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56472         "math_private.h".
56474 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56476         * math/s_catan.c: Add branch predictions.
56477         * math/s_catanf.c: Likewise.
56478         * math/s_catanh.c: Likewise.
56479         * math/s_catanhf.c: Likewise.
56480         * math/s_catanhl.c: Likewise.
56481         * math/s_catanl.c: Likewise.
56482         * math/s_cexp.c: Likewise.
56483         * math/s_cexpf.c: Likewise.
56484         * math/s_cexpl.c: Likewise.
56485         * math/s_clog.c: Likewise.
56486         * math/s_clog10.c: Likewise.
56487         * math/s_clog10f.c: Likewise.
56488         * math/s_clog10l.c: Likewise.
56489         * math/s_clogf.c: Likewise.
56490         * math/s_clogl.c: Likewise.
56491         * math/s_csqrt.c: Likewise.
56492         * math/s_csqrtf.c: Likewise.
56493         * math/s_csqrtl.c: Likewise.
56494         * math/s_ctanf.c: Likewise.
56495         * math/s_ctanh.c: Likewise.
56496         * math/s_ctanhf.c: Likewise.
56497         * math/s_ctanhl.c: Likewise.
56498         * math/s_ctanl.c: Likewise.
56500         * math/math_private.h: Define __nan, __nanf, __nanl.
56501         * math/s_cacosh.c: Include <math_private.h>.
56502         * math/s_cacoshl.c: Likewise.
56503         * math/s_casinh.c: Likewise.
56504         * math/s_casinhf.c: Likewise.
56505         * math/s_casinhl.c: Likewise.
56506         * math/s_ccos.c: Rely entire on ccosh.
56507         * math/s_ccosf.c: Rely entire on ccoshf.
56508         * math/s_ccosl.c: Rely entirely on ccoshl.
56509         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56510         Remove tests for FE_INVALID.
56511         * math/s_ccoshf.c: Likewise.
56512         * math/s_ccoshl.c: Likewise.
56513         * math/s_csin.c: Likewise.
56514         * math/s_csinf.c: Likewise.
56515         * math/s_csinh.c Likewise.
56516         * math/s_csinhf.c: Likewise.
56517         * math/s_csinhl.c: Likewise.
56518         * math/s_csinl.c: Likewise.
56519         * math/s_ctan.c: Likewise.
56520         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56521         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56522         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56524 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56527         compilation problems.
56529         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56530         __builtin_expect.
56532 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56534         * sysdeps/i386/configure.in: Test for -mfma4 option.
56535         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56536         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56537         COMMON_CPUID_INDEX_80000001.
56538         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56539         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56540         use it if FMA3 is not supported.
56541         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56543         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56544         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56546 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56548         [BZ #12892]
56549         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56550         it would create a cycle with a link time dependency.
56552 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56554         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56555         instruction.
56556         * string/Makefile (strop-tests): Add rawmemchr.
56557         * string/test-rawmemchr.c: New file.
56559         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56560         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56561         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56562         when compiling str{,n}casecmp and when AVX is available.  Hook up
56563         new optimized code in initializers.
56565 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56567         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56568         __feraiseexcept instead of feraiseexcept.
56570 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56572         * math/math_private.h: Define defaults for libc_fetestexcept and
56573         libc_feupdateenv.
56574         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56575         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56576         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56577         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56578         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56579         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56580         libc_fetestexcept and libc_feupdateenv.
56582         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56583         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56584         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56585         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56586         libc_feholdexcept_setround.
56588         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56589         Add s_nearbyint-c and s_nearbyintf-c.
56590         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56591         nearbyintf inlines.
56592         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56593         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56594         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56595         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56597         * math/math_private.h: Define defaults for libc_fegetround,
56598         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56599         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56600         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56601         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56602         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56603         standard functions.
56604         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56605         Remove comments and hacks for old compiler versions.
56606         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56607         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56608         libc_feholdexceptl.
56610 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56612         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56613         (__feraiseexcept_renamed): Add __NTH.
56614         (feraiseexcept): Add __NTH.  Rename local variables to fix
56615         namespace violations.
56617 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56619         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56621         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56623         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56624         recently added interfaces.
56625         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56627         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56628         about macro parameter expansion.
56630         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56631         __NO_MATH_INLINES is defined.  Cleanups.
56633         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56634         and __floorf is target has SSE4.1.
56635         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56636         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56637         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56638         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56640         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56641         name.
56642         (floorf): Likewise.
56644         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56646 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56648         * misc/sys/cdefs.h: Fix last change.
56650         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56651         database lookup.
56653 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56655         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56657         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56658         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56659         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56660         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56661         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56662         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56663         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56664         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56665         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56666         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56667         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56668         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56669         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56670         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56671         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56672         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56673         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56674         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56675         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56676         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56677         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56678         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56680         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56681         ceil, ceilf, floor, floorf.
56683         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56684         Perform IRELATIVE relocations last.
56686         * elf/do-rel.h: Add another parameter nrelative, replacing the
56687         local variable with the same name.  Change name of the function
56688         to end in Rel or Rela (uppercase).
56689         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56690         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56691         elf_dynamic_do_##reloc function.
56693 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56695         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56696         is sufficient, at least on modern CPUs.
56698         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56700         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56703         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56704         __expl_finite.
56705         * math/bits/math-finite.h: Add entries for exp.
56706         * math/e_expl.c: Add __*_finite alias.
56707         * sysdeps/i386/fpu/e_exp.S: Likewise.
56708         * sysdeps/i386/fpu/e_expf.S: Likewise.
56709         * sysdeps/i386/fpu/e_expl.c: Likewise.
56710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56711         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56712         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56713         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56714         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56715         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56716         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56718         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56719         is sufficient, at least on modern CPUs.
56721         * ctype/ctype-info.c (__ctype_init): Define.
56722         * include/ctype.h (__ctype_init): Declare.
56723         (__ctype_b_loc): The variable is always initialized.
56724         (__ctype_toupper_loc): Likewise.
56725         (__ctype_tolower_loc): Likewise.
56726         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56727         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56729 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56731         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56733         * configure.in: Also look in $cxxmachine/include for C++ system
56734         headers.
56736 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56738         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56739         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56740         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56741         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56742         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56743         (USE_AS_WMEMCMP): New macro.
56744         Fixing indents.
56745         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56746         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56747         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56748         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56749         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56750         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56751         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56752         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56753         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56754         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56755         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56756         (USE_AS_WMEMCMP): New macro.
56757         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56758         * sysdeps/string/test-memcmp.c: Update.
56759         Fix simple_wmemcmp.
56760         Add new tests.
56761         * wcsmbs/wmemcmp.c: Update.
56762         (WMEMCMP): New macro.
56763         Fix overflow bug.
56765 2011-10-12  Andreas Jaeger  <aj@suse.de>
56767         [BZ #13268]
56768         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56770 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56772         * libio/iofwide.c (do_length): Avoid warning.
56774         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56776 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56778         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56780         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56781         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56782         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56783         * sysdeps/i386/i686/fpu/e_log.S: New file.
56784         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56785         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56787         * ctype/ctype.h: Add support for inlined isXXX functions when
56788         compiling C++ code.
56790 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56792         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56794         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56796 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56798         [BZ #13291]
56799         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56801 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56803         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56804         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56805         feraiseexcept.
56807         * sysdeps/x86_64/memrchr.S: Check for zero size.
56809         * string/stratcliff.c: Add memrchr tests.
56811 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56814         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56815         rawmemchr-sse2 rawmemchr-sse2-bsf.
56816         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56817         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56818         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56819         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56820         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56821         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56822         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56823         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56824         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56825         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56826         * string/memrchr.c (MEMRCHR): New macro.
56828 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56830         Add integration with gcc's -ffinite-math-only and optimize wrapper
56831         functions in libm.
56832         * Versions.def: Define GLIBC_2.15 version for libm.
56833         * math/Makefile (headers): Add bits/math-finite.h.
56834         * math/bits/math-finite.h: New file.
56835         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56836         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56837         * math/e_acoshl.c: Add __*_finite alias.
56838         * math/e_acosl.c: Likewise.
56839         * math/e_asinl.c: Likewise.
56840         * math/e_atan2l.c: Likewise.
56841         * math/e_atanhl.c: Likewise.
56842         * math/e_coshl.c: Likewise.
56843         * math/e_exp10.c: Likewise.
56844         * math/e_exp10f.c: Likewise.
56845         * math/e_exp10l.c: Likewise.
56846         * math/e_exp2l.c: Likewise.
56847         * math/e_fmodl.c: Likewise.
56848         * math/e_gammal_r.c: Likewise.
56849         * math/e_hypotl.c: Likewise.
56850         * math/e_j0l.c: Likewise.
56851         * math/e_j1l.c: Likewise.
56852         * math/e_jnl.c: Likewise.
56853         * math/e_lgammal_r.c: Likewise.
56854         * math/e_log10l.c: Likewise.
56855         * math/e_log2l.c: Likewise.
56856         * math/e_logl.c: Likewise.
56857         * math/e_powl.c: Likewise.
56858         * math/e_sinhl.c: Likewise.
56859         * math/e_sqrtl.c: Likewise.
56860         * math/e_scalb.c: Completely rewritten and optimized.
56861         * math/e_scalbf.c: Likewise.
56862         * math/e_scalbl.c: Likewise.
56863         * math/w_acos.c: Likewise.
56864         * math/w_acosf.c: Likewise.
56865         * math/w_acosl.c: Likewise.
56866         * math/w_acosh.c: Likewise.
56867         * math/w_acoshf.c: Likewise.
56868         * math/w_acoshl.c: Likewise.
56869         * math/w_asin.c: Likewise.
56870         * math/w_asinf.c: Likewise.
56871         * math/w_asinl.c: Likewise.
56872         * math/w_atan2.c: Likewise.
56873         * math/w_atan2f.c: Likewise.
56874         * math/w_atan2l.c: Likewise.
56875         * math/w_atanh.c: Likewise.
56876         * math/w_atanhf.c: Likewise.
56877         * math/w_atanhl.c: Likewise.
56878         * math/w_exp10.c: Likewise.
56879         * math/w_exp10f.c: Likewise.
56880         * math/w_exp10l.c: Likewise.
56881         * math/w_fmod.c: Likewise.
56882         * math/w_fmodf.c: Likewise.
56883         * math/w_fmodl.c: Likewise.
56884         * math/w_j0.c: Likewise.
56885         * math/w_j0f.c: Likewise.
56886         * math/w_j0l.c: Likewise.
56887         * math/w_j1.c: Likewise.
56888         * math/w_j1f.c: Likewise.
56889         * math/w_j1l.c: Likewise.
56890         * math/w_jn.c: Likewise.
56891         * math/w_jnf.c: Likewise.
56892         * math/w_log.c: Likewise.
56893         * math/w_logf.c: Likewise.
56894         * math/w_logl.c: Likewise.
56895         * math/w_log10.c: Likewise.
56896         * math/w_log10f.c: Likewise.
56897         * math/w_log10l.c: Likewise.
56898         * math/w_log2.c: Likewise.
56899         * math/w_log2f.c: Likewise.
56900         * math/w_log2l.c: Likewise.
56901         * math/w_pow.c: Likewise.
56902         * math/w_powf.c: Likewise.
56903         * math/w_powl.c: Likewise.
56904         * math/w_remainder.c: Likewise.
56905         * math/w_remainderf.c: Likewise.
56906         * math/w_remainderl.c: Likewise.
56907         * math/w_scalb.c: Likewise.
56908         * math/w_scalbf.c: Likewise.
56909         * math/w_scalbl.c: Likewise.
56910         * math/w_sqrt.c: Likewise.
56911         * math/w_sqrtf.c: Likewise.
56912         * math/w_sqrtl.c: Likewise.
56913         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56914         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56915         used.
56916         * math/math_private.h: Declare __kernel_standard_f.
56917         * math/w_cosh.c: Remove cruft and optimize a bit.
56918         * math/w_coshf.c: Likewise.
56919         * math/w_coshl.c: Likewise.
56920         * math/w_exp2.c: Likewise.
56921         * math/w_exp2f.c: Likewise.
56922         * math/w_exp2l.c: Likewise.
56923         * math/w_hypot.c: Likewise.
56924         * math/w_hypotf.c: Likewise.
56925         * math/w_hypotl.c: Likewise.
56926         * math/w_lgamma.c: Likewise.
56927         * math/w_lgamma_r.c: Likewise.
56928         * math/w_lgammaf.c: Likewise.
56929         * math/w_lgammaf_r.c: Likewise.
56930         * math/w_lgammal.c: Likewise.
56931         * math/w_lgammal_r.c: Likewise.
56932         * math/w_sinh.c: Likewise.
56933         * math/w_sinhf.c: Likewise.
56934         * math/w_sinhl.c: Likewise.
56935         * math/w_tgamma.c: Likewise.
56936         * math/w_tgammaf.c: Likewise.
56937         * math/w_tgammal.c: Likewise.
56938         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56939         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56940         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56941         Minor optimizations.  Pretty printing.  Remove cruft.
56942         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56943         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56944         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56945         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56946         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56947         * sysdeps/i386/fpu/e_asin.S: Likewise.
56948         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56949         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56950         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56951         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56952         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56953         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56954         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56955         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56956         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56957         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56958         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56959         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56960         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56961         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56962         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56963         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56964         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56965         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56966         * sysdeps/i386/fpu/e_log.S: Likewise.
56967         * sysdeps/i386/fpu/e_log10.S: Likewise.
56968         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56969         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56970         * sysdeps/i386/fpu/e_log2.S: Likewise.
56971         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56972         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56973         * sysdeps/i386/fpu/e_logf.S: Likewise.
56974         * sysdeps/i386/fpu/e_logl.S: Likewise.
56975         * sysdeps/i386/fpu/e_pow.S: Likewise.
56976         * sysdeps/i386/fpu/e_powf.S: Likewise.
56977         * sysdeps/i386/fpu/e_powl.S: Likewise.
56978         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56979         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56980         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56981         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56982         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56983         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56984         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56985         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56986         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56990         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56991         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56992         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56993         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56994         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56995         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56996         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56997         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56998         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57000         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57001         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57003         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57004         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57005         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57007         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57008         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57009         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57010         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57011         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57012         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57013         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57014         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57015         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57016         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57017         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57018         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57019         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57020         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57021         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57022         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57023         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57024         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57025         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57026         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57027         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57028         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57034         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57035         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57036         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57037         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57038         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57039         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57040         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57041         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57042         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57043         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57044         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57045         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57046         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57047         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57051         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57055         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57056         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57067         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57068         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57070         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57071         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57072         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57073         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57075         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57077         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57078         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57079         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57080         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57081         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57082         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57083         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57084         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57085         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57086         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57087         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57088         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57089         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57090         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57091         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57092         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57093         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57095         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57096         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57097         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57098         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57099         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57100         (__isnanf): Likewise.
57101         (__isinf_ns): Likewise.
57102         (__isinf_nsf): Likewise.
57103         (__finite): Likewise.
57104         (__finitef): Likewise.
57105         (__ieee754_sqrt): Define as macro.
57106         (__ieee754_sqrtf): Define as macro.
57107         (__ieee754_sqrtl): Define as macro.
57108         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57109         inlined copy.
57110         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57111         __FINITE_MATH_ONLY__ consistent.
57112         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57114 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57116         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57117         of rawmemchr.
57119         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57121 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57123         * po/ja.po: Update from translation team.
57125 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57127         * locale/programs/locarchive.c (prepare_address_space): New function.
57128         (create_archive, enlarge_archive, open_archive): Use it.
57130         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57131         inside [SHARED], where it is used.
57133         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57135         * nss/getent.c (netgroup_keys): Remove unused variable.
57136         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57138 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57140         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57141         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57142         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57143         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57144         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57145         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57146         * math/Makefile (libm-calls): Add s_isinf_ns.
57147         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57148         * math/multc3.c: Likewise.
57149         * math/s_casin.c: Likewise.
57150         * math/s_casinf.c: Likewise.
57151         * math/s_casinl.c: Likewise.
57152         * math/s_ccos.c: Likewise.
57153         * math/s_ccosf.c: Likewise.
57154         * math/s_ccosl.c: Likewise.
57155         * math/s_ctan.c: Likewise.
57156         * math/s_ctanf.c: Likewise.
57157         * math/s_ctanh.c: Likewise.
57158         * math/s_ctanhf.c: Likewise.
57159         * math/s_ctanhl.c: Likewise.
57160         * math/s_ctanl.c: Likewise.
57161         * math/w_fmod.c: Likewise.
57162         * math/w_fmodf.c: Likewise.
57163         * math/w_fmodl.c: Likewise.
57164         * math/w_remainder.c: Likewise.
57165         * math/w_remainderf.c: Likewise.
57166         * math/w_remainderl.c: Likewise.
57167         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57168         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57169         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57170         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57171         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57172         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57173         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57174         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57176         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57177         of the number.
57178         * stdio-common/printf_fphex.c: Likewise.
57179         * stdio-common/printf_size.c: Likewise.
57181         * math/e_exp10.c: Include math_private.h using <...> not "...".
57182         * math/e_exp10f.c: Likewise.
57183         * math/e_exp10l.c: Likewise.
57184         * math/e_exp2l.c: Likewise.
57185         * math/e_j0l.c: Likewise.
57186         * math/e_j1l.c: Likewise.
57187         * math/e_jnl.c: Likewise.
57188         * math/e_lgammal_r.c: Likewise.
57189         * math/e_rem_pio2l.c: Likewise.
57190         * math/e_scalb.c: Likewise.
57191         * math/e_scalbf.c: Likewise.
57192         * math/e_scalbl.c: Likewise.
57193         * math/k_cosl.c: Likewise.
57194         * math/k_sinl.c: Likewise.
57195         * math/k_tanl.c: Likewise.
57196         * math/s_cacoshf.c: Likewise.
57197         * math/s_catan.c: Likewise.
57198         * math/s_catanf.c: Likewise.
57199         * math/s_catanh.c: Likewise.
57200         * math/s_catanhf.c: Likewise.
57201         * math/s_catanhl.c: Likewise.
57202         * math/s_catanl.c: Likewise.
57203         * math/s_ccosh.c: Likewise.
57204         * math/s_ccoshf.c: Likewise.
57205         * math/s_ccoshl.c: Likewise.
57206         * math/s_cexp.c: Likewise.
57207         * math/s_cexpf.c: Likewise.
57208         * math/s_cexpl.c: Likewise.
57209         * math/s_clog.c: Likewise.
57210         * math/s_clog10.c: Likewise.
57211         * math/s_clog10f.c: Likewise.
57212         * math/s_clog10l.c: Likewise.
57213         * math/s_clogf.c: Likewise.
57214         * math/s_clogl.c: Likewise.
57215         * math/s_csin.c: Likewise.
57216         * math/s_csinf.c: Likewise.
57217         * math/s_csinh.c: Likewise.
57218         * math/s_csinhf.c: Likewise.
57219         * math/s_csinhl.c: Likewise.
57220         * math/s_csinl.c: Likewise.
57221         * math/s_csqrt.c: Likewise.
57222         * math/s_csqrtf.c: Likewise.
57223         * math/s_csqrtl.c: Likewise.
57224         * math/s_ctan.c: Likewise.
57225         * math/s_ctanf.c: Likewise.
57226         * math/s_ctanh.c: Likewise.
57227         * math/s_ctanhf.c: Likewise.
57228         * math/s_ctanhl.c: Likewise.
57229         * math/s_ctanl.c: Likewise.
57230         * math/s_ldexp.c: Likewise.
57231         * math/s_ldexpf.c: Likewise.
57232         * math/s_ldexpl.c: Likewise.
57233         * math/s_significand.c: Likewise.
57234         * math/s_significandf.c: Likewise.
57235         * math/s_significandl.c: Likewise.
57236         * math/w_acos.c: Likewise.
57237         * math/w_acosf.c: Likewise.
57238         * math/w_acosh.c: Likewise.
57239         * math/w_acoshf.c: Likewise.
57240         * math/w_acoshl.c: Likewise.
57241         * math/w_acosl.c: Likewise.
57242         * math/w_asin.c: Likewise.
57243         * math/w_asinf.c: Likewise.
57244         * math/w_asinl.c: Likewise.
57245         * math/w_atan2.c: Likewise.
57246         * math/w_atan2f.c: Likewise.
57247         * math/w_atan2l.c: Likewise.
57248         * math/w_atanh.c: Likewise.
57249         * math/w_atanhf.c: Likewise.
57250         * math/w_atanhl.c: Likewise.
57251         * math/w_cosh.c: Likewise.
57252         * math/w_coshf.c: Likewise.
57253         * math/w_coshl.c: Likewise.
57254         * math/w_dremf.c: Likewise.
57255         * math/w_exp10.c: Likewise.
57256         * math/w_exp10f.c: Likewise.
57257         * math/w_exp10l.c: Likewise.
57258         * math/w_exp2.c: Likewise.
57259         * math/w_exp2f.c: Likewise.
57260         * math/w_fmod.c: Likewise.
57261         * math/w_fmodf.c: Likewise.
57262         * math/w_fmodl.c: Likewise.
57263         * math/w_hypot.c: Likewise.
57264         * math/w_hypotf.c: Likewise.
57265         * math/w_hypotl.c: Likewise.
57266         * math/w_j0.c: Likewise.
57267         * math/w_j0f.c: Likewise.
57268         * math/w_j0l.c: Likewise.
57269         * math/w_j1.c: Likewise.
57270         * math/w_j1f.c: Likewise.
57271         * math/w_j1l.c: Likewise.
57272         * math/w_jn.c: Likewise.
57273         * math/w_jnf.c: Likewise.
57274         * math/w_jnl.c: Likewise.
57275         * math/w_lgamma.c: Likewise.
57276         * math/w_lgamma_r.c: Likewise.
57277         * math/w_lgammaf.c: Likewise.
57278         * math/w_lgammaf_r.c: Likewise.
57279         * math/w_lgammal.c: Likewise.
57280         * math/w_lgammal_r.c: Likewise.
57281         * math/w_log.c: Likewise.
57282         * math/w_log10.c: Likewise.
57283         * math/w_log10f.c: Likewise.
57284         * math/w_log10l.c: Likewise.
57285         * math/w_log2.c: Likewise.
57286         * math/w_log2f.c: Likewise.
57287         * math/w_log2l.c: Likewise.
57288         * math/w_logf.c: Likewise.
57289         * math/w_logl.c: Likewise.
57290         * math/w_pow.c: Likewise.
57291         * math/w_powf.c: Likewise.
57292         * math/w_powl.c: Likewise.
57293         * math/w_remainder.c: Likewise.
57294         * math/w_remainderf.c: Likewise.
57295         * math/w_remainderl.c: Likewise.
57296         * math/w_scalb.c: Likewise.
57297         * math/w_scalbf.c: Likewise.
57298         * math/w_scalbl.c: Likewise.
57299         * math/w_sinh.c: Likewise.
57300         * math/w_sinhf.c: Likewise.
57301         * math/w_sinhl.c: Likewise.
57302         * math/w_sqrt.c: Likewise.
57303         * math/w_sqrtf.c: Likewise.
57304         * math/w_sqrtl.c: Likewise.
57305         * math/w_tgamma.c: Likewise.
57306         * math/w_tgammaf.c: Likewise.
57307         * math/w_tgammal.c: Likewise.
57309         * po/ja.po: Update from translation team.
57311 2011-09-29  Andreas Jaeger  <aj@suse.de>
57313         [BZ #13179]
57314         * sunrpc/netname.c (netname2host): Fix logic.
57316         [BZ #6779]
57317         [BZ #6783]
57318         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57319         correctly.
57320         * math/w_remainder.c (__remainder): Likewise.
57321         * math/w_remainderf.c (__remainderf): Likewise.
57322         * math/libm-test.inc (remainder_test): Add test cases.
57324 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57326         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57327         sdiv_qrnnd.
57329 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57331         * string/test-memcmp.c: Avoid unncessary #defines.
57332         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57334 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57336         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57337         Use new sse2 version for core i3 - i7 as it's faster
57338         than sse42 version.
57339         (bit_Prefer_PMINUB_for_stringop): New.
57340         * sysdeps/x86_64/rawmemchr.S: Update.
57341         Replace with faster SSE2 version.
57342         * sysdeps/x86_64/memrchr.S: New file.
57343         * sysdeps/x86_64/memchr.S: Update.
57344         Replace with faster SSE2 version.
57346 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57348         * elf/dl-load.c (lose): Add cast to avoid warning.
57350 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57352         * po/ca.po: Update from translation team.
57354         * inet/getnetgrent_r.c: Hook up nscd.
57355         * nscd/Makefile (routines): Add nscd_netgroup.
57356         (nscd-modules): Add netgroupcache.
57357         (CFLAGS-netgroupcache.c): Define.
57358         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57359         (cache_search): Add const to second parameter.
57360         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57361         INNETGR.
57362         (dbs): Add netgrdb entry.
57363         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57364         (verify_persistent_db): Handle netgrdb.
57365         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57366         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57367         GETFDNETGR.
57368         (netgroup_response_header): Define.
57369         (innetgroup_response_header): Define.
57370         (datahead): Add netgroup_response_header and innetgroup_response_header
57371         elements.
57372         * nscd/nscd.conf: Add entries for netgroup cache.
57373         * nscd/nscd.h (dbtype): Add netgrdb.
57374         (_PATH_NSCD_NETGROUP_DB): Define.
57375         (netgroup_iov_disabled): Declare.
57376         (xmalloc, xcalloc, xrealloc): Move declarations here.
57377         (cache_search): Adjust prototype.
57378         Add netgroup-related prototypes.
57379         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57380         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57381         (__nscd_innetgr): Declare.
57382         * nscd/selinux.c (perms): Use access_vector_t as element type and
57383         add netgroup-related initializers.
57384         * nscd/netgroupcache.c: New file.
57385         * nscd/nscd_netgroup.c: New file.
57386         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57387         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57388         For four parameters use innetgr.
57389         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57390         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57391         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57392         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57394         * nscd/connections.c (register_traced_file): Don't register file
57395         for disabled databases.
57397 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57399         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57401         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57402         from tree and freeing node.
57404 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57406         * nss/nsswitch.c (__nss_database_lookup): Handle
57407         nss_parse_service_list out of memory case.
57409 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57411         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57412         out of memory case.
57414 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57416         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57417         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57418         pass it down.
57419         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57420         elf_machine_rela, elf_machine_lazy_rel.
57421         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57422         (ELF_DYNAMIC_DO_REL): Likewise.
57423         (ELF_DYNAMIC_DO_RELA): Likewise.
57424         (ELF_DYNAMIC_RELOCATE): Likewise.
57425         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57426         to ELF_DYNAMIC_DO_REL.
57427         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57428         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57429         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57430         elf_machine_rela.
57431         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57432         skip_ifunc, don't call ifunc function if non-zero.
57433         (elf_machine_rela): Likewise.
57434         (elf_machine_lazy_rel): Likewise.
57435         (elf_machine_lazy_rela): Likewise.
57436         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57437         (elf_machine_lazy_rel): Likewise.
57438         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57439         Likewise.
57440         (elf_machine_lazy_rel): Likewise.
57441         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57442         Likewise.
57443         (elf_machine_lazy_rel): Likewise.
57444         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57445         (elf_machine_lazy_rel): Likewise.
57446         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57447         (elf_machine_lazy_rel): Likewise.
57448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57449         (elf_machine_lazy_rel): Likewise.
57450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57451         (elf_machine_lazy_rel): Likewise.
57452         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57453         (elf_machine_lazy_rel): Likewise.
57454         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57455         (elf_machine_lazy_rel): Likewise.
57457 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57459         * nss/nss_files/files-init.c (_nss_files_init): Use static
57460         initialization for all the *_traced_file variables.
57462 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57464         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57466 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57468         [BZ #13226]
57469         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57471 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57473         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57474         Reread the line before reparsing it.
57476 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57478         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57480 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57481             Maxim Kuvyrkov  <maxim@codesourcery.com>
57482             Joseph Myers  <joseph@codesourcery.com>
57484         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57485         if needed for __stack_chk_guard.
57487 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57489         * sysdeps/posix/spawni.c (script_execute): Always define it.
57490         It will be optimized away if unused.
57491         (maybe_script_execute): New function.
57492         (__spawni): Call it.
57494         * Makerules: Don't include tls.make.
57495         (config-tls): Always set to thread.
57496         * tls.make.c: File removed.
57498 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57500         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57501         * config.make.in (CPPFLAGS-config): New substituted variable.
57503 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57507         [BZ #13192]
57508         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57509         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57511 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57513         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57514         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57516         (CALL_FAIL): Likewise.
57517         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57518         (CALL_FAIL): Macro removed.
57519         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57521 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57523         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57524         for __FINITE_MATH_ONLY__ == 1.
57526 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57528         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57529         __ieee754_sqrt instead of sqrt.
57530         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57531         __ieee754_sqrtf instead of sqrtf.
57532         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57533         __floorf instead of floorf.
57534         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57535         __floorf, __truncf instead of floorf, truncf.
57537 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57539         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57541         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57542         __extern_always_inline.
57543         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57544         32-bit.
57546 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57548         * elf/rtld.c (dl_main): Also relocate in dependency order when
57549         doing symbol dependency testing.
57551 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57554         Always define `refsym'.
57556 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57558         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57559         (__FD_ELT): Renamed from __FDELT.
57560         * misc/bits/select2.h (__FD_ELT): Likewise.
57561         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57562         __FD_MASK instead of __FDELT, __FDMASK.
57563         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57564         Likewise.
57565         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57566         Likewise.
57568         * elf/Makefile (gen-ldd): Fix pattern.
57570         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57571         (init_tls): Likewise.
57573 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57575         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57577 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57579         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57580         `struct cmsghdr *' instead of `void *'.
57581         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57582         Likewise.
57584 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57586         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57587         if non-absolute.
57588         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57589         ldd_rewrite_script.
57591 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57593         * configure.in: Remove --with-tls option.
57594         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57595         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57596         out in case it is missing.
57597         * sysdeps/ia64/elf/configure.in: Likewise.
57598         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57599         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57600         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57601         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57602         * sysdeps/sh/elf/configure.in: Likewise.
57603         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57604         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57605         * sysdeps/x86_64/elf/configure.in: Likewise.
57606         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57607         * sysdeps/mach/hurd/tls.h: Likewise.
57609         [BZ #13067]
57610         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57612         [BZ #13090]
57613         * configure.in: Fix use of AC_INIT.
57615         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57617 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57619         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57620         __set_errno.
57621         * malloc/hooks.c: Likewise.
57623         [BZ #11929]
57624         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57625         variables statically.
57626         (narenas): Initialize.
57627         (list_lock): Initialize.
57628         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57629         initializtion of main_arena and list_lock.  Small cleanups.
57630         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57631         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57632         Add initializers to main_arena and mp_.
57633         (malloc_state): Remove pagesize member.  Change all users to use
57634         GLRO(dl_pagesize).
57636         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57637         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57638         is always initialized.
57640         * malloc/malloc.c: Removed unused configurations and dead code.
57641         * malloc/arena.c: Likewise.
57642         * malloc/hooks.c: Likewise.
57643         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57645         * include/tls.h: Removed.  USE___THREAD must always be defined.
57646         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57647         * elf/dl-libc.c: Likewise.
57648         * elf/dl-tsd.c: Likewise.
57649         * include/errno.h: Likewise.
57650         * include/netdb.h: Likewise.
57651         * include/resolv.h: Likewise.
57652         * inet/herrno-loc.c: Likewise.
57653         * inet/herrno.c: Likewise.
57654         * malloc/arena.c: Likewise.
57655         * malloc/hooks.c: Likewise.
57656         * malloc/malloc.c: Likewise.
57657         * resolv/res-state.c: Likewise.
57658         * resolv/res_libc.c: Likewise.
57659         * sysdeps/i386/dl-machine.h: Likewise.
57660         * sysdeps/ia64/dl-machine.h: Likewise.
57661         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57662         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57663         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57664         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57665         * sysdeps/sh/dl-machine.h: Likewise.
57666         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57667         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57668         * sysdeps/unix/i386/sysdep.S: Likewise.
57669         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57670         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57671         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57675         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57676         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57679         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57680         * sysdeps/x86_64/dl-machine.h: Likewise.
57681         * tls.make.c: Likewise.
57683         * configure.in: Remove --with-__thread option.  Make tests for
57684         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57685         tls_model attribute fail if no support is available.  Remove
57686         USE_IN_LIBIO.
57687         * Makeconfig: Adjust for dropped configure option.  All features are
57688         now mandatory.
57689         * Makerules: Likewise.
57690         * Versions.def: Likewise.
57691         * argp/argp-fmtstream.c: Likewise.
57692         * argp/argp-fmtstream.h: Likewise.
57693         * argp/argp-help.c: Likewise.
57694         * assert/assert.c: Likewise.
57695         * config.h.in: Likewise.
57696         * config.make.in: Likewise.
57697         * configure: Likewise.
57698         * configure.in: Likewise.
57699         * csu/Versions: Likewise.
57700         * csu/init.c: Likewise.
57701         * elf/tst-audit2.c: Likewise.
57702         * elf/tst-tls10.c: Likewise.
57703         * elf/tst-tls10.h: Likewise.
57704         * elf/tst-tls11.c: Likewise.
57705         * elf/tst-tls12.c: Likewise.
57706         * elf/tst-tls14.c: Likewise.
57707         * elf/tst-tlsmod11.c: Likewise.
57708         * elf/tst-tlsmod12.c: Likewise.
57709         * elf/tst-tlsmod13.c: Likewise.
57710         * elf/tst-tlsmod13a.c: Likewise.
57711         * elf/tst-tlsmod14a.c: Likewise.
57712         * elf/tst-tlsmod15b.c: Likewise.
57713         * elf/tst-tlsmod16a.c: Likewise.
57714         * elf/tst-tlsmod16b.c: Likewise.
57715         * elf/tst-tlsmod7.c: Likewise.
57716         * elf/tst-tlsmod8.c: Likewise.
57717         * elf/tst-tlsmod9.c: Likewise.
57718         * gmon/gmon.c: Likewise.
57719         * grp/fgetgrent_r.c: Likewise.
57720         * grp/putgrent.c: Likewise.
57721         * hurd/fopenport.c: Likewise.
57722         * include/libc-symbols.h: Likewise.
57723         * include/tls.h: Likewise.
57724         * intl/gettextP.h: Likewise.
57725         * intl/loadinfo.h: Likewise.
57726         * locale/global-locale.c: Likewise.
57727         * locale/localeinfo.h: Likewise.
57728         * mach/devstream.c: Likewise.
57729         * malloc/arena.c: Likewise.
57730         * malloc/set-freeres.c: Likewise.
57731         * misc/err.c: Likewise.
57732         * misc/getttyent.c: Likewise.
57733         * misc/mntent_r.c: Likewise.
57734         * posix/getopt.c: Likewise.
57735         * posix/wordexp.c: Likewise.
57736         * pwd/fgetpwent_r.c: Likewise.
57737         * resolv/Versions: Likewise.
57738         * resolv/res_hconf.c: Likewise.
57739         * shadow/fgetspent_r.c: Likewise.
57740         * shadow/putspent.c: Likewise.
57741         * stdio-common/printf_fphex.c: Likewise.
57742         * stdio-common/tmpfile.c: Likewise.
57743         * stdlib/abort.c: Likewise.
57744         * stdlib/fmtmsg.c: Likewise.
57745         * sunrpc/auth_unix.c: Likewise.
57746         * sunrpc/clnt_perr.c: Likewise.
57747         * sunrpc/clnt_tcp.c: Likewise.
57748         * sunrpc/clnt_udp.c: Likewise.
57749         * sunrpc/clnt_unix.c: Likewise.
57750         * sunrpc/openchild.c: Likewise.
57751         * sunrpc/svc_simple.c: Likewise.
57752         * sunrpc/svc_tcp.c: Likewise.
57753         * sunrpc/svc_udp.c: Likewise.
57754         * sunrpc/svc_unix.c: Likewise.
57755         * sunrpc/xdr.c: Likewise.
57756         * sunrpc/xdr_array.c: Likewise.
57757         * sunrpc/xdr_rec.c: Likewise.
57758         * sunrpc/xdr_ref.c: Likewise.
57759         * sunrpc/xdr_stdio.c: Likewise.
57761 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57763         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57765 2011-07-03  Andreas Jaeger  <aj@suse.de>
57767         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57768         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57769         regenerate with gen-libm-tests.pl.
57771 2010-05-12  Petr Baudis  <pasky@suse.cz>
57773         [BZ #11589]
57774         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57775         around j0() zero points by switching to j1().
57776         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57777         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57779         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57781 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57783         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57784         instead of 0.
57785         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57786         instead of 0.
57787         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57788         Patch in part by Pavel Roskin <proski@gnu.org>.
57790         [BZ #13138]
57791         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57792         realloc.
57793         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57794         Free memory block if necessary.
57796         [BZ #12847]
57797         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57798         be NULL.  Don't lock in this case.
57800 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57802         * elf/elf.h (ELFOSABI_GNU): New macro.
57803         (ELFOSABI_LINUX): Define to that.
57805 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57807         * string/strncat.c (strncat): Undef the symbol in case it has been
57808         defined in bits/string.h.
57810 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57812         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57814         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57815         link map.
57817 2011-08-17  Andreas Jaeger  <aj@suse.de>
57819         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57821 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57822             Ian Lance Taylor  <iant@google.com>
57824         * math/libm-test.inc (lround_test): New testcase.
57825         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57827 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57829         * Makefile: Remove support for automatic cvs check-ins.
57830         * Makerules: Likewise.
57831         * config.make.in: Likewise.
57832         * configure.in: Likewise.
57833         * intl/Makefile: Likewise.
57834         * locale/Makefile: Likewise.
57835         * po/Makefile: Likewise.
57836         * posix/Makefile: Likewise.
57837         * sysdeps/gnu/Makefile: Likewise.
57838         * sysdeps/mach/hurd/Makefile: Likewise.
57839         * sysdeps/sparc/sparc32/Makefile: Likewise.
57841         [BZ #13118]
57842         * posix/Makefile (bug-regex32-ENV): Define.
57843         Patch by John Stanley <jpsinthemix@verizon.net>.
57845         * misc/Makefile (headers): Add bits/select2.h.
57846         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57847         * misc/bits/select2.h: New file.
57848         * include/bits/select2.h: New file.
57849         * debug/Makefile (routines): Add fdelt_chk.
57850         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57851         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57852         FD_ISSET.
57853         * debug/fdelt_chk.c: New file.
57855         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57856         * wcsmbs/test-wmemcmp.c: Likewise.
57857         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57858         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57860 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57862         * string/Makefile (strop-tests): Add memcmp.
57863         * string/test-wmemcmp.c: New file.
57864         * string/test-memcmp.c: Add wmemcmp support.
57866 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57868         [BZ #13153]
57869         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57870         2011-07-19 change.
57872         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57873         garbage value in a __mach_port_mod_refs call in the cases of the
57874         task-self and thread-self ports.
57876 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57878         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57880 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57882         * elf/dl-load.c (lose): Check for non-null L.
57884 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57886         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57888         * elf/dl-libc.c (dlerror_run): Pass back error code from
57889         dl_catch_error.
57891         [BZ #13123]
57892         * elf/dl-load.c (lose): Free l_origin if it is valid.
57894         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57895         names.
57896         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57897         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57898         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57900         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57901         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57903 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57905         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57906         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57907         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57908         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57909         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57910         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57911         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57912         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57913         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57914         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57916 2011-08-15  Alan Modra  <amodra@gmail.com>
57918         [BZ #13092]
57919         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57920         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57921         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57922         ppc_mcount to static-only-routines.
57923         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57924         __mcount_internal.
57925         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57926         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57928 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57930         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57931         for finite and infinity parameters.
57933 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57935         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57936         and add nop instructions for throughput optimization.
57937         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57939 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57941         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57942         aligned copy for power7 with vector-scalar instructions.
57943         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57945 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57948         AVX check.
57950 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57952         [BZ #13144]
57953         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57954         last change.
57956 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57958         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57959         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57960         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57961         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57962         clock_gettime.
57964 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57966         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57967         Forgot to demangle the pointer.
57969         * sysdeps/i386/sysdep.h: Define atom_text_section.
57970         * sysdeps/x86_64/sysdep.h: Likewise.
57971         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57972         section with atom_text_section.
57973         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57974         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57975         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57977         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57979         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57980         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57981         already be defined.  Change to take two parameters and don't assign
57982         result to variable.  Adjust all users.
57983         Define INTERNAL_GETTIME if not already defined.
57984         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57985         call.
57986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57987         HAVE_CLOCK_GETTIME_VSYSCALL.
57988         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57991         gettimeofday vsyscall, just use time.
57993 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57996         <errno.h>.
57998 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58000         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58001         syscall on x86-64.
58002         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58003         syscall.
58004         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58005         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58006         syscall if possible.
58008 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58010         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58011         e_ident.  Don't pass to find_mapsXX.
58012         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58014 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58017         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58018         * sysdeps/x86_64/multiarch/strchr.S: Update.
58019         Check bit_slow_BSF bit.
58020         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58021         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58022         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58024 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58026         [BZ #13134]
58027         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58028         before glibc 2.15.
58029         (tryshell): Define.
58030         (__spawni): Change last parameter to be flag.  Test
58031         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58032         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58033         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58034         * posix/spawni.c: Likewise.
58035         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58036         * posix/spawnp.c: Likewise.  Change normal version to use
58037         SPAWN_XFLAGS_USE_PATH.
58038         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58039         SPAWN_XFLAGS_TRY_SHELL.
58041         [BZ #13150]
58042         * posix/glob.h: Remove gcc 1.x support.
58044         [BZ #13068]
58045         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58047 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58050         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58051         strrchr-sse2-bsf
58052         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58053         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58054         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58055         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58056         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58057         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58059 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58061         * sysdeps/x86_64/wcscmp.S: New file.
58063         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58064         wcscmp-c wcscmp-sse2
58065         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58066         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58067         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58068         * wcsmbs/wcscmp.c: Allow renaming.
58070 2011-09-05  David S. Miller  <davem@davemloft.net>
58072         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58073         stack slot, rather than the struct return pointer slot.
58074         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58075         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58077         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58079 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58081         * po/ja.po: Update from translation team.
58083         [BZ #13144]
58084         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58085         kernel in 64-bit binaries.
58087 2011-09-01  David S. Miller  <davem@davemloft.net>
58089         * elf/elf.h (HWCAP_SPARC_*): Move to..
58090         * sysdeps/sparc/sysdep.h: this new file and add new values.
58091         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58092         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58093         _DL_HWCAP_COUNT to 24.
58094         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58095         entries.
58096         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58097         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58098         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58100         instead of magic constants.
58101         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58103 2011-08-31  David S. Miller  <davem@davemloft.net>
58105         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58107         Reimplement to do errno handling inline.
58108         (SYSCALL_ERROR_HANDLER): New macro.
58109         (__SYSCALL_STRING): Do not do errno handling in asm.
58110         (__CLONE_SYSCALL_STRING): Delete.
58111         (__INTERNAL_SYSCALL_STRING): Delete.
58112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58113         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58114         (PSEUDO): Reimplement to do errno handling inline.
58115         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58116         (SYSCALL_ERROR_HANDLER): New macro.
58117         (__SYSCALL_STRING): Do not do errno handling in asm.
58118         (__CLONE_SYSCALL_STRING): Delete.
58119         (__INTERNAL_SYSCALL_STRING): Delete.
58120         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58121         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58122         i386.
58123         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58124         (inline_syscall*): Add 'err' argument.
58125         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58126         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58127         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58128         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58130         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58131         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58133 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58135         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58137 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58139         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58140         directive.
58142 2011-08-24  David S. Miller  <davem@davemloft.net>
58144         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58146 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58148         * elf/Makefile: Add rules to build and run unload8 test.
58149         * elf/unload8.c: New file.
58150         * elf/unload8mod1.c: New file.
58151         * elf/unload8mod1x.c: New file.
58152         * elf/unload8mod2.c: New file.
58153         * elf/unload8mod3.c: New file.
58155         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58156         it wasn't used.
58158 2011-08-23  David S. Miller  <davem@davemloft.net>
58160         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58161         subtract stack bias.
58162         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58163         %sp not %fp in calculations.
58164         (_JMPBUF_UNWINDS_ADJ): Likewise.
58166         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58167         (aio_suspend): Call it to force an exception region around the
58168         AIO_MISC_WAIT() invocation.
58170 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58172         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58173         backslash.
58175 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58177         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58178         protection macro.
58179         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58180         and <dl-machine.h>.
58181         (Elf64_FuncDesc): Remove.
58183 2011-08-22  David S. Miller  <davem@davemloft.net>
58185         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58186         sigaltstack check, add missing cfi directives.
58187         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58188         missing cfi directives, and sigaltstack handling.
58190 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58192         [BZ #11724]
58193         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58194         object is seen twice.
58195         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58197         * elf/Makefile (distribute): Add tst-initorder2.c.
58198         (tests): Add tst-initorder2.
58199         (modules-names): Add tst-initorder2a tst-initorder2b
58200         tst-initorder2c tst-initorder2d.  Add rules to build them.
58201         ($(objpfx)tst-initorder2.out): New rule.
58202         * elf/tst-initorder2.c: New file.
58203         * elf/tst-initorder2.exp: New file.
58205 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58207         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58209         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58210         dependencies back to end of function.
58212         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58213         $(elfobjdir)/ld.so.
58215 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58217         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58218         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58220         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58221         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58222         of __vdso_gettimeofday.
58223         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58224         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58225         attribute_hidden.
58226         (_libc_vdso_platform_setup): Remove initialization of
58227         __vdso_gettimeofday and __vdso_time.
58229 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58231         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58232         and fgetc_unlocked.
58233         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58234         getc_unlocked.
58236         * elf/dl-open.c (add_to_global): Report additions to the global scope
58237         for LD_DEBUG=scopes.
58238         (dl_open_worker): Also print scope of newly loaded dependencies.
58239         (_dl_show_scope): Indicate if there is no scope.
58241         [BZ #13114]
58242         * stdio-common/Makefile (tests): Add bug24.
58243         * stdio-common/bug24.c: New file.
58245 2011-08-19  Andreas Jaeger  <aj@suse.de>
58247         [BZ #13114]
58248         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58249         non-existant file when using close-on-exec mode.
58251 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58254         the very first instruction.
58256         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58257         the CFI state in the end.
58258         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58259         inclusion of dl-trampoline.h.
58260         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58262 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58264         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58265         expectations for long double.
58267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58268         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58270 2011-08-14  David S. Miller  <davem@davemloft.net>
58272         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58273         artificual limit depends upon the system page size.
58275 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58277         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58278         * resolv/Makefile: Define CFLAGS-libresolv.
58280 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58282         * nss/makedb.c (compute_tables): Make variables used in nested
58283         function static.
58285 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58287         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58288         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58289         if buffer was too small.
58291         * elf/pldd.c (main): Attach to all threads in the process.
58292         Rewrite /proc handling to use *at functions.
58294 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58296         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58297         specifies first scope to show.
58298         (dl_open_worker): Update callers.  Move printing scope of new
58299         object to before the relocation.
58300         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58301         * sysdeps/generic/ldsodefs.h: Update declaration.
58303         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58304         string for the scope number.
58306 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58308         * nscd/servicescache.c (cache_addserv): Make sure written is always
58309         initialized.
58311 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58313         * sysdeps/i386/i486/bits/atomic.h
58314         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58315         statement expression, so as to suppress "set but not used" warning.
58316         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58318         * string/strncat.c (STRNCAT): Use prototype definition.
58320         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58321         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58322         -Iprograms here.
58323         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58324         (localedef-modules): Add localedef.
58325         (locale-modules): Add locale.
58327         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58328         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58329         to avoid a warning.
58331 2011-08-14  David S. Miller  <davem@davemloft.net>
58333         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58334         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58336 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58338         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58339         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58340         * elf/rtld.c (dl_main): Set l_name of vDSO.
58341         Call _dl_show_scope when DL_DEBUG_SCOPES.
58342         (process_dl_debug): Recognize scopes flag and also set it for all.
58343         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58344         Declare _dl_show_scope.
58346         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58347         (do_dlopen): Pass caller_dlopen to dl_open.
58348         (__libc_dlopen_mode): Initialize caller_dlopen.
58350         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58351         of libc.  Make tolower call locale-independent.  Optimize a bit by
58352         using isdigit instead of isalnum.
58353         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58355 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58357         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58358         was a dependency or dynamically loaded.
58360 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58362         * intl/l10nflist.c: Allow architecture-specific pop function.
58363         * sysdeps/x86_64/l10nflist.c: New file.
58365         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58366         classification.
58368 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58370         * include/dirent.h: Add libc_hidden_proto for scandirat and
58371         scandirat64.  Don't declare __scandirat64.
58372         * dirent/scandirat.c: Add libc_hidden_def.
58373         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58374         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58376 2011-08-10  David S. Miller  <davem@davemloft.net>
58378         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58379         enum.
58380         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58381         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58382         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58384 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58386         * Versions.def [libc]: Add GLIBC_2.15.
58387         * dirent/Makefile (routines): Add scandirat and scandirat64.
58388         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58389         GLIBC_2.15.
58390         * dirent/dirent.h: Declare scandirat and scandirat64.
58391         * dirent/scandirat.c: New file.
58392         * dirent/scandirat64.c: New file.
58393         * sysdeps/wordsize-64/scandirat.c: New file.
58394         * sysdeps/wordsize-64/scandirat64.c: New file.
58395         * dirent/opendir.c: Define opendirat.
58396         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58397         using scandirat.
58398         * dirent/scandir64.c: Adjust for scandir.c change.
58399         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58400         __scandirat64, and __scandir_cancel_handler.
58401         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58402         additional parameter and use openat instead of open (outside of ld.so).
58403         Add new __opendir as wrapper around __opendirat.
58404         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58405         here without requiring old scandirat implementation.
58407 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58409         * dirent/scandir.c (cancel_handler): Renamed to
58410         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58411         defined.  Adjust users.
58412         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58413         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58415 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58417         * string/test-string.h (IMPL): Use __STRING to expand name and then
58418         stringify it.
58420         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58421         of cleanups.
58423 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58425         * string/Makefile: Update.
58426         (strop-tests): Append strncat.
58427         * string/test-wcscmp.c: New file.
58428         New comprehensive test for wcscmp.
58429         * string/test-strcmp.c: Update.
58430         (WIDE): New define.
58432 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58434         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58435         line.
58437 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58440         encoding to ACE if AI_IDN.
58442 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58444         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58445         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58447 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58449         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58450         Fix overflow bug in strncat.
58451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58453         * string/test-strncat.c: Update.
58454         Add new tests for checking overflow bugs.
58456 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58458         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58459         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58460         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58461         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58463         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58464         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58465         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58466         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58468         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58469         (USE_AS_STRCAT): Define.
58470         Add strcat and strncat support.
58471         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58473 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58475         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58476         __n bigger than INT_MAX+1.
58477         (__strncmp_g): Likewise.
58479 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58481         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58482         * libio/stido.h: Likewise.
58484         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58485         (AF_NFC): Define.
58486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58487         (AF_NFC): Define.
58489         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58490         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58492         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58495         [BZ #13021]
58496         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58497         installed.
58499         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58500         typo.
58501         (_dl_x86_64_save_sse): Likewise.
58503 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58506         OSXSAVE.
58507         (_dl_x86_64_save_sse): Likewise.
58509         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58511         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58513 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58516         change.
58517         (_dl_x86_64_save_sse): Use correct AVX check.
58519 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58521         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58522         bug in strncpy/strncat.
58523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58525 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58527         * string/tester.c (test_strcat): Add tests for different alignments
58528         of source and destination.
58529         (test_strncat): Likewise.
58531 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58533         [BZ #12852]
58534         * posix/glob.c (glob): Check passed in values before using them in
58535         expressions to avoid some overflows.
58536         (glob_in_dir): Likewise.
58538         [BZ #13007]
58539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58540         check for AVX enablement so that we don't crash with old kernels and
58541         new hardware.
58542         * elf/tst-audit4.c: Add same checks here.
58543         * elf/tst-audit6.c: Likewise.
58545         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58547 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58549         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58551 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58553         * po/cs.po: Update from translation team.
58554         * po/bg.po: Likewise.
58556 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58558         * misc/sys/cdefs.h: Add support for const attribute.
58559         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58560         to gnu_dev_{major,minor,makedev} functions.
58562 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58564         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58566 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58568         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58569         strlen results.
58571 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58574         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58575         register in order to avoid conflicts with the soft frame pointer
58576         being held in r11 when necessary.
58577         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58578         (INTERNAL_VSYSCALL_NCS): Likewise.
58580 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58582         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58583         * elf/dl-fini.c (_dl_fini): Adjust caller.
58584         * elf/dl-close.c (_dl_close_worker): Likewise.
58585         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58587 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58589         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58590         "aux_cache->nlibs < 0".
58592         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58593         in the reload-count case.
58595 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58598         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58599         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58600         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58601         * sysdeps/x86_64/multiarch/strcat.S: New file.
58602         * sysdeps/x86_64/multiarch/strncat.S: New file.
58603         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58604         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58605         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58606         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58607         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58608         (USE_AS_STRCAT): Define.
58609         Add strcat and strncat support.
58610         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58611         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58612         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58613         * string/strncat.c: Update.
58614         (USE_AS_STRNCAT): Define.
58615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58616         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58617         and i7.
58618         * sysdeps/x86_64/multiarch/init-arch.h
58619         (bit_Prefer_PMINUB_for_stringop): New.
58620         (index_Prefer_PMINUB_for_stringop): Likewise.
58621         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58622         bit_Prefer_PMINUB_for_stringop.
58624 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58626         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58627         buffer64.
58628         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58629         of casting of buffer.
58630         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58631         buffer32 and buffer64.
58632         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58633         writes instead of casting of buffer.
58634         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58635         buffer32.
58636         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58637         casting of buffer.
58639 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58641         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58643 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58645         * nscd/nscd.c (termination_handler): Don't do anything for a database
58646         if it has not yet been initialized.
58648 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58650         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58652 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58654         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58656 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58658         * po/nl.po: Update from translation team.
58659         * po/sv.po: Likewise.
58661 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58663         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58664         now disallowed by GCC.
58666         * configure.in (use-default-link): Default to yes if a test -shared
58667         link meets our qualifications.
58668         * configure: Regenerated.
58670         * config.make.in (output-format): New variable.
58671         * configure.in: Check for ld --print-output-format support.
58672         * configure: Regenerated.
58673         * Makerules ($(common-objpfx)format.lds)
58674         [$(output-format) != unknown]: Just use $(output-format),
58675         instead of the linker-script munging.
58677 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58679         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58680         of $(common-objpfx)shlib.lds.
58681         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58683         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58684         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58686         * configure.in (-z relro check): Adjust test code to add a large
58687         writable data section after it.
58688         * configure: Regenerated.
58690 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58692         * configure.in (-z relro check): Fix test code to make the variable
58693         truly const.
58694         * configure: Regenerated.
58696 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58698         * nscd/nscd.h (struct traced_file): Define.
58699         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58700         elements.  Add traced_files.
58701         (inotify_fd): Declare.
58702         (register_traced_file): Declare.
58703         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58704         (inotify_fd): Export.
58705         (resolv_conf_descr): Remove.
58706         (nscd_init): Move inotify descriptor creation to main.
58707         Don't register files for notification here.
58708         (register_traced_file): New function.
58709         (invalidate_cache): Don't use reset_res to determine whether to call
58710         res_init, go through the list of registered files.
58711         (main_loop_poll): The inotify descriptors are now stored in the
58712         structures for the traced files.
58713         (main_loop_epoll): Likewise
58714         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58715         to __nss_disable_nscd.
58716         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58717         for a database anymore.  Check the records for all the registered
58718         files instead.
58719         * nss/Makefile (libnss_files-routines): Add files-init.
58720         (libnss_db-routines): Add db-init.
58721         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58722         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58723         * nss/nss_db/db-init.c: New file.
58724         * nss/nss_files/files-init.c: New file.
58725         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58726         __nss_lookup_function.
58727         (__nss_lookup_function): Call nss_load_library.
58728         (nss_load_all_libraries): New function.
58729         (__nss_disable_nscd): Take parameter with callback function for files
58730         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58731         used for the cached services.
58732         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58733         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58734         options for features to all the files in nscd.
58736         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58738 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58740         * csu/elf-init.c (__libc_csu_init): Comment typo.
58742 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58744         * po/pl.po: Update from translation team.
58745         * po/ja.po: Likewise.
58746         * po/ru.po: Likewise.
58747         * po/ko.po: Likewise.
58748         * po/fr.po: Likewise.
58750 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58752         * configure.in (.ctors/.dtors header and trailer check):
58753         Use an empirical test on a built program.
58754         * configure: Regenerated.
58756         * configure.in (-z relro check): Use an empirical test on a built DSO.
58757         Detect, but do not require, on ia64.
58758         * configure: Regenerated.
58760         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58761         Update tests that use readelf to use $READELF instead.
58762         * configure: Regenerated.
58764 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58766         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58767         if the result is not used.
58769 2011-07-05  Andreas Jaeger  <aj@suse.de>
58771         [BZ#9696]
58772         * stdlib/tst-strtod.c: Add testcase.
58774 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58776         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58777         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58778         The latter has a higher limit.  Take additional parameter to pass to
58779         the new function.
58780         (__pathconf): Pass file to __statfs_link_max.
58781         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58782         __statfs_link_max.
58783         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58784         __statfs_link_max.
58786         [BZ #12868]
58787         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58788         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58789         Handle Lustre.
58790         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58791         (__statfs_filesize_max): Likewise.
58792         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58794 2011-07-05  Andreas Jaeger  <aj@suse.de>
58796         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58798 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58800         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58801         `status' variable.
58802         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58803         Likewise.
58805 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58807         * Makefile (strop-tests): Add strncat.
58808         * string/test-strncat.c: New file.
58810 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58812         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58814 2011-06-21  Andreas Jaeger  <aj@suse.de>
58816         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58817         Copy rule from iconvdata/Makefile.
58819 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58821         [BZ #12922]
58822         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58823         but no long options are defined, just return 'W'.
58825 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58827         [BZ #9696]
58828         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58830 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58832         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58833         netgroups to read.
58834         (innetgr): Likewise.
58836 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58838         * config.make.in (install_root): Default to $(DESTDIR).
58840 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58842         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58844 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58846         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58848         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58849         containing directory rather than embedding absolute directory names.
58851         * scripts/check-local-headers.sh: Rewritten using awk.
58852         Match by word, not by line.  Print error messages for matches.
58853         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58855         * Makerules [shlib-lds-flags empty]:
58856         ($(common-objpfx)libc_pic.opts): New target.
58857         ($(common-objpfx)libc_pic.os.clean): New target.
58858         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58860         * config.make.in (OBJCOPY): New variable.
58861         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58862         * configure: Regenerated.
58864         * config.make.in (use-default-link): New variable.
58865         * configure.in (use_default_link): Grok --with-default-link to set it.
58866         * configure: Regenerated.
58867         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58868         (shlib-lds, shlib-lds-flags): Define to empty.
58870         * Makerules (shlib-lds): New variable.
58871         (shlib-lds-flags): New variable.
58872         (build-shlib, build-moduile, build-module-asneeded): Use it.
58873         ($(common-objpfx)libc.so): Use $(shlib-lds).
58874         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58875         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58877         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58878         DT_FLAGS/DT_FLAGS_1 with zero flags.
58880         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58881         linker script munging.
58883 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58885         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58886         as 128-bit value.
58887         * crypt/sha512.c (sha512_process_block): Perform total addition using
58888         128-bit if possible.
58889         (__sha512_finish_ctx): Likewise.
58890         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58891         as 64-bit value.
58892         * crypt/sha256.c (SWAP64): Define.
58893         (sha256_process_block): Perform total addition using 64-bit if
58894         possible.
58895         (__sha256_finish_ctx): Likewise.
58897 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58899         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58900         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58901         * nscd/hstcache.c (cache_addhst): Likewise.
58902         * nscd/grpcache.c (cache_addgr): Likewise.
58903         * nscd/aicache.c (addhstaiX): Likewise
58904         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58906 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58908         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58909         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58910         * nscd/hstcache.c (cache_addhst): Likewise.
58911         * nscd/grpcache.c (cache_addgr): Likewise.
58912         * nscd/aicache.c (addhstaiX): Likewise
58914 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58916         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58917         domain only when needed.
58919 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58922         is always restored.
58924 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58926         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58927         are re-adding the entry.
58928         * nscd/servicescache.c (cache_addserv): Likewise.
58930 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58932         * sysdeps/generic/dl-irel.h: fix protection against multiple
58933         inclusions.
58934         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58936 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58938         [BZ #12935]
58939         * malloc/memusage.sh: Fix quoting in message.
58940         * debug/xtrace.sh: Likewise.
58942         * configure.in: Remove support for --experimental-malloc option, make
58943         it the default.
58944         * config.make.in: Likewise.
58945         * malloc/Makefile: Likewise.
58947 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58949         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58950         two-byte characters.
58952 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58954         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58955         AC_CACHE_CHECK invocation.
58956         * configure: Regenerated.
58958         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58960 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58962         [BZ #12350]
58963         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58964         bit from old_res_options.
58966         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58968         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58969         value type for setfct.
58971 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58974         __gettimeofday instead of gettimeofday.
58976 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58978         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58980 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58982         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58985         info.
58987 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58990         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58991         strcpy-sse2-unaligned strncpy-sse2-unaligned
58992         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58993         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58994         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58995         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58996         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58997         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58998         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58999         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59000         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59001         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59002         (STRCPY): Support SSE2 and SSSE3 versions.
59004 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59006         [BZ #12874]
59007         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59008         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59009         kernels which artificially limit size of requests.
59011 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59013         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59014         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59015         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59016         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59017         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59018         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59019         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59020         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59021         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59022         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59023         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59024         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59025         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59026         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59027         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59029         Enable unaligned load optimization for Intel Core i3, i5 and i7
59030         processors.
59031         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59032         Define.
59033         (index_Fast_Unaligned_Load): Define.
59034         (HAS_FAST_UNALIGNED_LOAD): Define.
59036 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59038         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59040 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59042         [BZ #12907]
59043         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59044         until it is clear that the information is realy needed.
59045         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59047 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59051 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59054         /sys/devices/system/cpu/online if it is usable.
59056         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59057         reading the information from the /proc filesystem to once a second.
59059 2011-06-21  Andreas Jaeger  <aj@suse.de>
59061         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59062         NULL after inclusion of kernel headers.
59064 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59066         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59067         calls to internal_setent.
59069         [BZ #12885]
59070         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59071         addresses using gethostbyname4_r ignore IPv4 addresses.
59073         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59074         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59076         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59078 2011-06-20  David S. Miller  <davem@davemloft.net>
59080         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59081         inclusions.
59082         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59084         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59085         (elf_irel): Use it.
59086         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59087         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59088         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59089         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59090         * sysdeps/x86_64/dl-irel.h: Likewise.
59092         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59093         * elf/dl-sym.c: Likewise.
59095 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59097         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59098         need to dereference resplen2.
59100 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59102         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59104 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59106         * Makeconfig: Define vardbdir and inst_vardbdir.
59107         * nss/Makefile: Add rules to install db-Makefile.
59109         * nss/nss_db/db-XXX.c: Cleanup.
59111         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59112         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59113         GLIBC_PRIVATE.
59114         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59115         * nss/makedb.c: Implement -g option to specify that value strings
59116         are generated and should not be added to table iterated over for
59117         get*ent calls.
59118         * nss/nss_db/db-initgroups.c: New file.
59120         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59121         interface.
59123         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59124         (internal_getgrouplist): Adjust to name change.
59125         Update use_initgroups_entry if this is not the first call.
59126         * nss/databases.def: Add initgroups entry.
59128         * nss/makedb.c (compute_tables): Check result of multiple hash table
59129         sizes to minimize maximum chain length.
59131 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59133         * Versions.def: Add entry for libnss_db.
59134         * shlib-versions: Likewise.
59135         * nss/Makefile: Add rules to build libnss_db.
59136         * nss/Versions: Add libnss_db information.  Organize libnss_files
59137         entries better.
59138         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59139         makedb progra.  Some minor improvements to generate smaller files.
59140         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59141         here from...
59142         * nss/makedb.c: ...here.
59143         Improve database format to be smaller and require less memory at
59144         runtime.
59145         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59146         db anymore.
59147         * nss/nss_db/db-netgrp.c: Likewise.
59148         * nss/nss_db/db-open.c: Likewise.
59149         * nss/nss_files/flies-XXX.x: Adjust comments.
59150         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59151         * nss/nss_files/files-grp.c: Likewise.
59152         * nss/nss_files/files-hosts.c: Likewise.
59153         * nss/nss_files/files-network.c: Likewise.
59154         * nss/nss_files/files-proto.c: Likewise.
59155         * nss/nss_files/files-pwd.c: Likewise.
59156         * nss/nss_files/files-rpc.c: Likewise.
59157         * nss/nss_files/files-service.c: Likewise.
59158         * nss/nss_files/files-sgrp.c: Likewise.
59159         * nss/nss_files/files-spwd.c: Likewise.
59160         * nss/nss_db/db-alias.c: Removed.
59161         * nss/nss_db/dummy-db.h: Removed.
59163 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59165         * nss/makedb.c: Rewritten to not use database library.
59166         * nss/Makefile: Update to build new makedb program.
59168 2011-06-14  Andreas Jaeger  <aj@suse.de>
59170         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59171         memset declaration.
59173 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59176         tmpbuf.
59178 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59180         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59181         * elf/Makefile ($(objpfx)ld.so): Likewise.
59183         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59184         Don't list ld.so twice in dependencies.
59186         * posix/bug-regex31.c: Include <stdlib.h>.
59188         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59190         * nis/nss_compat/compat-spwd.c
59191         (getspent_next_nss_netgr): Remove unused variable.
59192         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59194         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59195         nonmembers" output to use the right array.
59197         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59199         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59201         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59202         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59203         * catgets/gencat.c (read_input_file): Likewise.
59204         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59206         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59207         variable definition inside #if's controlling its use.
59209         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59211         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59213         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59215         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59216         unreachable code.
59218         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59220         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59221         * configure: Regenerated.
59223         * Makerules: Revert last change.
59224         * elf/Makefile: Likewise.
59226 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59228         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59229         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59230         (reloc-link): Likewise.
59232 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59234         * elf/Makefile: Add rules to build pldd.
59235         * elf/pldd.c: New file.
59236         * elf/pldd-xx.c: New file.
59238 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59240         * version.h: Update for 2.15 development version.
59242 2011-06-07  David S. Miller  <davem@davemloft.net>
59244         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59245         ifuncs.
59246         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59247         elf_machine_lazy_rel): Likewise.
59248         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59249         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59250         elf_machine_lazy_rel): Likewise.
59251         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59252         dl_hwcap via passed in argument.
59253         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59254         Likewise.
59256 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59258         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59260 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59262         [BZ #12849]
59263         * manual/fdl-1.1.texi: New file, verbatim from:
59264         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59265         * manual/lgpl-2.1.texi: New file, verbatim from:
59266         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59267         * manual/Makefile (licenses): New variable, list those new file names.
59268         (texis): Use it.
59269         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59271         * manual/fdl.texi: File removed.
59272         * manual/lesser.texi: File removed.
59273         * manual/libc.texinfo (Copying, Documentation License):
59274         Use new @include file names, put @appendix directive before @include.
59276 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59278         [BZ #12841]
59279         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59280         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59281         (mq_open): Add __NTH.
59283 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59286         Assume Intel Core i3/i5/i7 processor if AVX is available.
59288 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59291         typo.
59293 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59295         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59296         memory.  Use alloca_account.  Fix memory leak when retrying.
59298 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59300         * version.h (RELEASE): Bump for 2.14 release.
59301         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59303         * config.make.in (RANLIB): Remove entry.
59305 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59307         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59308         (libc.pot): Work around missing support for .ksh extension in xgettext.
59310         [BZ #12684]
59311         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59312         if both request failed.
59313         (send_dg): In case of server errors clear resplen or *resplen2.
59315         [BZ #12454]
59316         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59317         when there are multiple maps.
59318         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59319         (_dl_fini): Remove test here.
59321         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59323 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59325         [BZ #12350]
59326         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59327         bit from old_res_options.
59328         (gaih_inet): Likewise.
59330         [BZ #11099]
59331         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59332         as signed.
59334         * resolv/res_init.c (res_setoptions): Make the code more compact.
59336         [BZ #11558]
59337         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59338         set RES_USEVC.
59340         [BZ #11634]
59341         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59343         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59345         [BZ #11781]
59346         * malloc/malloc.h: Declare malloc hook variables as volatile.
59348         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59349         in last patch.
59351         [BZ #11799]
59352         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59353         raise in the comment.
59354         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59355         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59356         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59358 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59360         [BZ #12811]
59361         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59362         grow the buffers more if it already has to be sufficient.
59363         (build_wcs_upper_buffer): Likewise.
59364         * posix/regexec.c (check_matching): Likewise.
59365         (clean_state_log_if_needed): Likewise.
59366         (extend_buffers): Don't enlarge buffers beyond size of the input
59367         buffer.
59368         Patches mostly by Emil Wojak <emil@wojak.eu>.
59369         * posix/bug-regex32.c: New file.
59370         * posix/Makefile (tests): Add bug-regex32.
59372         * locale/findlocale.c (_nl_find_locale): Return right away if
59373         _nl_explode_name failed.
59374         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59376         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59378         * debug/xtrace.sh: Unify messages.
59379         * malloc/memusage.sh: Likewise.
59381         [BZ #12813]
59382         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59383         time symbol from vDSO.  Substitute with vsyscall if not available.
59384         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59385         __vdso_time.
59387         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59388         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59389         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59390         Add sendmmsg and internal_sendmmsg.
59391         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59392         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59393         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59395         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59396         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59397         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59399 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59401         [BZ #12813]
59402         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59403         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59404         available.
59405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59406         __vdso_getcpu.
59408         [BZ #12814]
59409         * iconvdata/Makefile (tests): Add bug-iconv9.
59410         * iconvdata/bug-iconv9.c: New file.
59412 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59414         [BZ #12814]
59415         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59417 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59419         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59420         (struct user_regs_struct): Change intcs field back to cs.
59422 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59424         * po/ja.po: Update from translation team.
59426 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59428         [BZ #12795]
59429         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59430         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59432 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59434         * stdlib/longlong.h: Update from GCC.
59436 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59438         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59439         parameter name.
59440         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59441         Add parameter name.
59442         (__sysconf): Pass it down.
59444 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59446         [BZ #12671]
59447         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59448         some situations.
59449         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59450         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59451         add in in __libc_use_alloca calls.  Adjust callers.
59452         (glob): Use malloc in some situations.
59454         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59455         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59456         pltexit.
59458 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59460         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59461         and CLOCK_BOOTTIME_ALARM.
59463         [BZ #12782]
59464         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59465         is returned.
59467         * string/_strerror.c (__strerror_r): Print negative errors as signed
59468         numbers.
59470         [BZ #12777]
59471         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59472         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59473         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59475         * configure.in: Fix typo in redirection and correct removal of test
59476         files in two cases.
59478         [BZ #12788]
59479         * locale/setlocale.c (new_composite_name): Fix test to check for
59480         identical name of all categories.
59482         [BZ #12792]
59483         * libio/filedoalloc.c (local_isatty): New function.
59484         (_IO_file_doallocate): Use local_isatty.
59485         * stdio-common/perror.c (perror): In case a new stream is used
59486         forward the stream error.
59487         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59488         error flag.
59490 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59492         [BZ #11869]
59493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59494         alloca.
59495         * include/alloca.h (extend_alloca_account): Define.
59497         [BZ #11857]
59498         * posix/regex.h: Fix comments with documentation of user-accessible
59499         fields after compilation and describe correct free'ing of pattern
59500         after re_compile_pattern.
59501         Patch by Reuben Thomas <rrt@sc3d.org>.
59503 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59505         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59506         and -mno-altivec to prevent the compiler from using Altivec and/or
59507         VSX instructions when the corresponding registers are not available.
59509 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59511         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59513 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59515         * libio/freopen.c (freopen): Use __dup2, not dup2.
59516         * libio/freopen64.c (freopen64): Likewise.
59518 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59520         [BZ #12775]
59521         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59522         * math/Makefile (tests): Add test-powl.
59523         (CFLAGS-test-powl.c): Define.
59524         * math/test-powl.c: New file.
59526 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59528         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59530 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59532         [BZ #11837]
59533         * iconvdata/gb18030.c: Update to GB18020-2005.
59535 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59537         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59538         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59539         Patch by Aharon Robbins <arnold@skeeve.com>.
59541         [BZ #11892]
59542         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59543         on the stack.
59545         [BZ #11895]
59546         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59547         through underflows.
59549         [BZ #12766]
59550         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59551         point to strings before performing equality test for error_one_per_line
59552         mode.
59554         [BZ #11697]
59555         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59557         [BZ #11820]
59558         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59559         (struct user_fpregs_struct): Avoid __uint*_t types.
59561         [BZ #6420]
59562         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59563         symbol info.  Use it instead of calling _dl_addr locally.
59564         (lock_and_info): New function.
59565         (tr_freehook): Call lock_and_info and pass symbol info as additional
59566         parameter to tr_where.
59567         (tr_mallochook): Likewise.
59568         (tr_reallochook): Likewise.
59569         (tr_memalignhook): Likewise.
59571         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59572         used and couldn't be at all thread-safe.
59574 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59576         * libio/freopen.c (freopen): Don't close old file descriptor
59577         before the new one is opened.  Instead dup the new file descriptor
59578         to the old one after the new stream is created.
59579         * libio/freopen64.c (freopen64): Likewise.
59580         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59581         * libio/fileops.c (_IO_new_file_close_it): Handle new
59582         _IO_FLAGS2_NOCLOSE flag.
59583         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59584         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59585         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59586         _IO_FLAGS2_NOCLOSE flag.
59587         * include/unistd.h: Add hidden_proto for dup3.
59588         Define __have_dup3.
59589         * io/dup3.c: Define hidden symbol.
59590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59592         [BZ #7101]
59593         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59594         when an incomplete long option is used.
59595         * posix/tst-getopt_long1.c: New file.
59596         * posix/Makefile (tests): Add tst-getopt_long1.
59598         [BZ #10138]
59599         * scripts/config.guess: Update from autoconf-2.68.
59600         * scripts/config.sub: Likewise.
59602         [BZ #10157]
59603         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59604         tests into ...
59605         (has_cpuclock): ...this.  New function.
59606         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59607         macro here based on has_cpuclock code.
59609         [BZ #10149]
59610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59611         First byte (not low byte) is now always NUL.
59612         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59615         Use non-cancelable interfaces.
59617         [BZ #9809]
59618         * locale/iso-639.def: Add entry for Sorani.
59620         [BZ #11901]
59621         * include/stdlib.h: Move include protection to the right place.
59622         Define abort_msg_s.  Declare __abort_msg with it.
59623         * stdlib/abort.c (__abort_msg): Adjust type.
59624         * assert/assert.c (__assert_fail_base): New function.  Majority
59625         of code from __assert_fail.  Allocate memory for __abort_msg with
59626         mmap.
59627         (__assert_fail): Now call __assert_fail_base.
59628         * assert/assert-perr.c: Remove bulk of implementation.  Use
59629         __assert_fail_base.
59630         * include/assert.hL Declare __assert_fail_base.
59631         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59632         mmap.
59633         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59635 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59637         [BZ #11952]
59638         [BZ #12453]
59639         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59640         until all modules are registered in the DTV.
59641         * elf/Makefile: Add rules to build and run tst-tls19.
59642         * elf/tst-tls19.c: New file.
59643         * elf/tst-tls19mod1.c: New file.
59644         * elf/tst-tls19mod2.c: New file.
59645         * elf/tst-tls19mod3.c: New file.
59646         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59648         [BZ #12083]
59649         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59650         correctly.
59652         [BZ #12601]
59653         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59654         two-byte sequence errors.
59655         * iconvdata/Makefile (tests): Add bug-iconv8.
59656         * iconvdata/bug-iconv8.c: New file.
59658         [BZ #12626]
59659         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59660         buf2 definition.
59662         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59664         [BZ #12432]
59665         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59666         (dummy_getcfa): New function.
59667         (init): Get _Unwind_GetCFA address, use dummy if not found.
59668         (backtrace_helper): In recursion check, also check whether CFA changes.
59669         (__backtrace): Completely initialize arg.
59671         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59672         storing incomplete byte sequence in state object.  Avoid testing for
59673         guaranteed too small input if we know there is enough data available.
59675 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59677         * Makeconfig (+link-pie): Indent.
59678         * Rules (binaries-pie): Define if $(have-fpie) and
59679         $(build-shared).
59680         (binaries-shared): Also filter out $(binaries-pie).
59681         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59682         * nscd/Makefile (others-pie): Add nscd.
59683         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59684         ($(objpfx)nscd): Remove command override.
59685         * login/Makefile (others-pie): Add pt_chown.
59686         ($(objpfx)pt_chown): Remove command override.
59687         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59688         remove command overrides.
59690 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59692         * libio/tst_putwc.c: Fix error messages.
59694         [BZ #12724]
59695         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59696         currently writing and seek to current position when not.
59697         * libio/Makefile (tests): Add bug-fclose1.
59698         * libio/bug-fclose1.c: New file.
59700 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59702         [BZ #12511]
59703         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59704         don't set DF_1_NODELETE here.
59705         (do_lookup_x): When entering new entry test for copy relocation
59706         and if necessary set DF_1_NODELETE flag.
59707         * elf/tst-unique4.cc: New file.
59708         * elf/tst-unique4.h: New file.
59709         * elf/tst-unique4lib.cc: New file.
59710         * elf/Makefile: Add rules to build and run tst-unique4.
59711         Patch by Piotr Bury <pbury@goahead.com>.
59713 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59715         [BZ #12052]
59716         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59718         [BZ #12625]
59719         * misc/mntent_r.c (addmntent): Flush the stream after the output
59721         [BZ #12393]
59722         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59723         (is_trusted_path_normalize): Skip initial colon.  Append slash
59724         to empty buffer.  Duplicate is_trusted_path code but allow
59725         constructed patch to be prefix.
59726         (is_dst): Allow $ORIGIN followed by /.
59727         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59728         Correct testing of result of is_trusted_path_normalize
59729         (decompose_rpath): Fix warning.
59731 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59733         [BZ #11257]
59734         * grp/initgroups.c (internal_getgrouplist): When we found the service
59735         list through the initgroups entry in nsswitch.conf do not always
59736         continue on a successful lookup.  Don't always use the
59737         __nss_group_database value if it is set.
59738         * nss/nsswitch.conf (initgroups): Change action for successful db
59739         lookup to continue for compatibility.
59741 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59743         [BZ #11532]
59744         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59745         and CP774 modules.
59746         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59747         and CP774 modules.
59748         * iconvdata/tst-tables.sh: Likewise.
59749         * iconvdata/cp770.c: New file.
59750         * iconvdata/cp771.c: New file.
59751         * iconvdata/cp772.c: New file.
59752         * iconvdata/cp773.c: New file.
59753         * iconvdata/cp774.c: New file.
59754         * iconvdata/testdata/CP770: New file.
59755         * iconvdata/testdata/CP770..UTF8: New file.
59756         * iconvdata/testdata/CP771: New file.
59757         * iconvdata/testdata/CP771..UTF8: New file.
59758         * iconvdata/testdata/CP772: New file.
59759         * iconvdata/testdata/CP772..UTF8: New file.
59760         * iconvdata/testdata/CP773: New file.
59761         * iconvdata/testdata/CP773..UTF8: New file.
59762         * iconvdata/testdata/CP774: New file.
59763         * iconvdata/testdata/CP774..UTF8: New file.
59765         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59766         END CHARMAP line.
59767         * iconvdata/gen-8bit-gap.sh: Likewise.
59768         * iconvdata/gen-8bit.sh: Likewise.
59770         * locale/iso-639.def: Add ary entry.
59772         [BZ #11258]
59773         * locale/C-translit.h.in: Add U20A1 transliteration.
59775         [BZ #12178]
59776         * locale/iso-639.def: Add wae entry.
59777         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59779         [BZ #12545]
59780         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59781         for n.
59783         [BZ #12711]
59784         * locale/C-translit.h.in: Add entry for U20B9.
59785         Patch by pravin.d.s@gmail.com.
59787 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59789         [BZ #12713]
59790         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59791         ENAMETOOLONG use generic getcwd.
59792         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59793         in rtld.  Use *stat64.
59794         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59795         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59796         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59797         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59798         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59799         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59800         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59801         __fstatat64 macros.
59802         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59803         * dirent/rewinddir.c: Add libc_hidden_def.
59804         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59805         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59807         * include/dirent.h (__alloc_dir): Add flags parameter.
59808         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59809         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59810         __alloc_dir.
59811         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59812         from fdopendir if O_CLOEXEC is already set.
59814 2011-03-15  Alan Modra  <amodra@gmail.com>
59816         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59817         l_tls_firstbyte_offset non-zero.  Save padding offset in
59818         l_tls_firstbyte_offset for later use.
59819         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59820         freeing static tls block.
59822 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59824         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59825         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59826         being defined by the kernel headers.
59828 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59830         [BZ #12734]
59831         * resolv/resolv.h: Define RES_NOTLDQUERY.
59832         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59833         no-tld-query and set RES_NOTLDQUERY.
59834         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59835         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59836         modern BIND to search name as TLD unless forbidden.
59838 2011-05-07  Petr Baudis  <pasky@suse.cz>
59839             Ulrich Drepper  <drepper@gmail.com>
59841         [BZ #12393]
59842         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59843         (is_trusted_path): ...to here.
59844         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59845         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59846         using is_trusted_path_normalize() in setuid scripts.
59848 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59850         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59851         __BEGIN/__END_DECLS.
59853 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59855         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59856         NSS_STATUS_NOTFOUND if no record was found.
59858 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59860         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59861         (headers-not-in-tirpc): Remove rpc/netdb.h
59862         * resolv/netdb.h: Revert last change.
59864 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59866         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59867         circular dependency between libgcc.a and libc.a.
59869 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59871         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59872         * nis/Makefile: Don't install rpcsvc/*.
59873         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59874         instead of <rpc/types.h>.
59875         (MAXHOSTNAMELEN): Define.
59877 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59879         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59881 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59883         [BZ #12714]
59884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59885         gethostbyname4_r when IPv6 results are possible.
59887 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59889         [BZ #12723]
59890         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59891         _PC_PIPE_BUF handling.
59893 2011-04-30  Bruno Haible  <bruno@clisp.org>
59895         [BZ #12717]
59896         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59897         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59898         to 'int'.
59899         * inet/getnameinfo.c (getnameinfo): Likewise.
59901 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59903         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59904         to groups setting in database lookup.
59905         * nss/nsswitch.conf: Add initgroups entry.
59907 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59909         [BZ #12685]
59910         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59911         mode string.
59912         Patch by Eric Blake <eblake@redhat.com>.
59914 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59916         * sunrpc/Makefile (need-export-routines): Add svc_run.
59917         (routines): Remove svc_run.
59918         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59919         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59920         * sunrpc/svc_run.c (svc_run): Likewise.
59921         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59923 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59925         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59926         problem in reallocation in last patch.
59928 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59930         * sunrpc/Makefile: Move inclusion of Rules.
59932 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59934         * nss/nss_files/files-initgroups.c: New file.
59935         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59936         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59937         _nss_files_initgroups_dyn.
59939 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59941         * elf/elf.h (R_ARM_IRELATIVE): Define.
59943 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59945         * po/ru.po: Update from translation team.
59947 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59949         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59950         dependencies.
59952 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59954         [BZ #12653]
59955         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59956         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59957         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59958         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59959         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59961 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59963         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59964         differing bytes.
59965         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59966         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59967         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59969 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59971         [BZ #12420]
59972         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59973         storing it.
59974         * stdlib/bug-getcontext.c: New file.
59975         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59977 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59979         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59980         instructions into .machine "z9-109".
59981         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59982         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59984 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59986         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59987         between environment variables and auxiliary vector.
59989 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59991         * Makefile: Add rules to build linkobj/libc.so.
59992         * include/libc-symbols.h: Define libc_hidden_nolink.
59993         * include/rpc/auth.h: Mark functions which are to be hidden.
59994         * include/rpc/auth_des.h: Likewise.
59995         * include/rpc/auth_unix.h: Likewise.
59996         * include/rpc/clnt.h: Likewise.
59997         * include/rpc/des_crypt.h: Likewise.
59998         * include/rpc/key_prot.h: Likewise.
59999         * include/rpc/pmap_clnt.h: Likewise.
60000         * include/rpc/pmap_prot.h: Likewise.
60001         * include/rpc/pmap_rmt.h: Likewise.
60002         * include/rpc/rpc_msg.h: Likewise.
60003         * include/rpc/svc.h: Likewise.
60004         * include/rpc/svc_auth.h: Likewise.
60005         * include/rpc/xdr.h: Likewise.
60006         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60007         * nss/Makefile: Likewise.
60008         * sunrpc/Makefile: Don't install headers.  Build library with normal
60009         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60010         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60011         for the compat linking library.  Remove use of INTDEF/INTUSE.
60012         * sunrpc/auth_none.c: Likewise.
60013         * sunrpc/auth_unix.c: Likewise.
60014         * sunrpc/authdes_prot.c: Likewise.
60015         * sunrpc/authuxprot.c: Likewise.
60016         * sunrpc/clnt_gen.c: Likewise.
60017         * sunrpc/clnt_perr.c: Likewise.
60018         * sunrpc/clnt_raw.c: Likewise.
60019         * sunrpc/clnt_simp.c: Likewise.
60020         * sunrpc/clnt_tcp.c: Likewise.
60021         * sunrpc/clnt_udp.c: Likewise.
60022         * sunrpc/clnt_unix.c: Likewise.
60023         * sunrpc/des_crypt.c: Likewise.
60024         * sunrpc/des_soft.c: Likewise.
60025         * sunrpc/get_myaddr.c: Likewise.
60026         * sunrpc/key_call.c: Likewise.
60027         * sunrpc/key_prot.c: Likewise.
60028         * sunrpc/netname.c: Likewise.
60029         * sunrpc/pm_getmaps.c: Likewise.
60030         * sunrpc/pm_getport.c: Likewise.
60031         * sunrpc/pmap_clnt.c: Likewise.
60032         * sunrpc/pmap_prot.c: Likewise.
60033         * sunrpc/pmap_prot2.c: Likewise.
60034         * sunrpc/pmap_rmt.c: Likewise.
60035         * sunrpc/publickey.c: Likewise.
60036         * sunrpc/rpc_cmsg.c: Likewise.
60037         * sunrpc/rpc_common.c: Likewise.
60038         * sunrpc/rpc_dtable.c: Likewise.
60039         * sunrpc/rpc_prot.c: Likewise.
60040         * sunrpc/rpc_thread.c: Likewise.
60041         * sunrpc/rtime.c: Likewise.
60042         * sunrpc/svc.c: Likewise.
60043         * sunrpc/svc_auth.c: Likewise.
60044         * sunrpc/svc_authux.c: Likewise.
60045         * sunrpc/svc_raw.c: Likewise.
60046         * sunrpc/svc_run.c: Likewise.
60047         * sunrpc/svc_simple.c: Likewise.
60048         * sunrpc/svc_tcp.c: Likewise.
60049         * sunrpc/svc_udp.c: Likewise.
60050         * sunrpc/svc_unix.c: Likewise.
60051         * sunrpc/svcauth_des.c: Likewise.
60052         * sunrpc/xcrypt.c: Likewise.
60053         * sunrpc/xdr.c: Likewise.
60054         * sunrpc/xdr_array.c: Likewise.
60055         * sunrpc/xdr_float.c: Likewise.
60056         * sunrpc/xdr_intXX_t.c: Likewise.
60057         * sunrpc/xdr_mem.c: Likewise.
60058         * sunrpc/xdr_rec.c: Likewise.
60059         * sunrpc/xdr_ref.c: Likewise.
60060         * sunrpc/xdr_sizeof.c: Likewise.
60061         * sunrpc/xdr_stdio.c: Likewise.
60063 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60065         [BZ #12650]
60066         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60067         * sysdeps/ia64/dl-tls.h: Likewise.
60068         * sysdeps/powerpc/dl-tls.h: Likewise.
60069         * sysdeps/s390/dl-tls.h: Likewise.
60070         * sysdeps/sh/dl-tls.h: Likewise.
60071         * sysdeps/sparc/dl-tls.h: Likewise.
60072         * sysdeps/x86_64/dl-tls.h: Likewise.
60073         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60075 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60077         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60078         rpath element also skip the following colon.
60079         (expand_dynamic_string_token): Add is_path parameter and pass
60080         down to DL_DST_REQUIRED and _dl_dst_substitute.
60081         (decompose_rpath): Call expand_dynamic_string_token with
60082         non-zero is_path.  Ignore empty rpaths.
60083         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60084         with zero is_path.
60086 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60089         Make cancelable.
60091 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60093         [BZ #12655]
60094         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60095         Patch by Filipe David Manana <fdmanana@apache.org>.
60097 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60100         Maintain aligned stack.
60101         (CHECK_RSP): Remove unused macro.
60103 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60105         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60106         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60108 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60110         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60112         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60114 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60116         [BZ #12518]
60117         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60118         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60119         * sysdeps/x86_64/memmove.c: New file.
60120         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60121         (memcpy): Renamed to ...
60122         (__new_memcpy): This.
60123         (memcpy): Provide GLIBC_2_14 memcpy.
60124         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60125         (memcpy): Provide GLIBC_2_2_5 memcpy.
60127 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60129         [BZ #12631]
60130         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60132 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60134         * misc/syncfs.c: New file.
60135         * misc/Makefile (routines): Add syncfs.
60136         * posix/unistd.h: Declare syncfs.
60137         * sysdeps/unix/syscalls.list: Add syncfs.
60139 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60141         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60142         open_by_handle_at.
60143         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60144         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60146         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60148         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60151 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60153         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60154         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60155         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60156         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60157         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60161         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60162         sync_file_range.c with -fexceptions.
60163         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60164         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60165         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60166         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60167         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60168         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60169         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60170         sync_file_range as cancellation point
60171         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60172         now a wrapper around __call_sync_file_range with cancellation handling.
60173         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60174         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60175         function name to __call_sync_file_range.
60176         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60177         Add call_sync_file_range.
60179 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60182         bits/timex.h.
60184 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60186         * iconv/iconv.h: Fix typo in comment.
60187         * io/fcntl.h: Likewise.
60188         * libio/stdio.h: Likewise.
60189         * posix/spawn.h: Likewise.
60190         * posix/unistd.h: Likewise.
60191         * stdlib/stdlib.h: Likewise.
60192         * time/time.h: Likewise.
60193         * wcsmbs/wchar.h: Likewise.
60195         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60196         open_by_handle): Add.
60197         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60198         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60199         Augment a few comments.
60200         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60201         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60202         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60205         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60206         open_by_handle.
60208         * io/fcntl.h (AT_EMPTY_PATH): Define.
60210 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60212         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60213         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60214         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60215         to...
60216         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60217         * Versions.def: Add GLIBC_2.14.
60218         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60219         Export.
60221 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60223         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60224         round counter.
60225         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60227 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60229         [BZ #12597]
60230         * string/test-strncmp.c (do_page_test): New function.
60231         (check2): Likewise.
60232         (test_main): Call check2.
60233         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60235 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60237         [BZ #12587]
60238         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60239         Handle cache information in CPU leaf 4.
60240         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60242 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60244         [BZ #12583]
60245         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60246         character representation.
60247         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60249 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60251         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60252         END(__isnan) to END(__isnanf) to match function entry point/label
60253         EALIGN(__isnanf,...).
60255 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60257         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60259 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60261         [BZ #12510]
60262         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60263         copy from the symbol referenced in the relocation to initialize the
60264         used variable.
60265         Patch by Piotr Bury <pbury@goahead.com>.
60266         * elf/Makefile: Add rules to build and tst-unique3.
60267         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60268         * elf/tst-unique3.cc: New file.
60269         * elf/tst-unique3.h: New file.
60270         * elf/tst-unique3lib.cc: New file.
60271         * elf/tst-unique3lib2.cc: New file.
60273         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60275 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60277         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60278         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60279         to _start.
60281 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60283         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60284         to-be-loaded object along a path to loader is ld.so.
60286 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60287             Ulrich Drepper  <drepper@gmail.com>
60289         * sysdeps/x86_64/memset.S: After aligning destination, code
60290         branches to different locations depending on the value of
60291         misalignment, when multiarch is enabled. Fix this.
60293 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60295         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60296         Set _x86_64_preferred_memory_instruction for AMD processsors.
60297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60298         Set bit_Prefer_SSE_for_memop for AMD processors.
60300 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60302         * libio/fmemopen.c (fmemopen): Optimize a bit.
60304 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60306         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60308 2011-03-03  Roland McGrath  <roland@redhat.com>
60310         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60312 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60314         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60315         __bzero_ultra1 instead of __memset_ultra1.
60317 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60318             Ulrich Drepper  <drepper@gmail.com>
60320         [BZ #12509]
60321         * include/link.h (struct link_map): Add l_orig_initfini.
60322         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60323         returning unsuccessfully.
60324         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60325         close of a file loaded at startup, restore the original l_initfini
60326         list.
60327         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60328         list, store the pointer.
60329         * elf/Makefile ($(objpfx)noload-mem): New rule.
60330         (noload-ENV): Define.
60331         (tests): Add $(objpfx)noload-mem.
60332         * elf/noload.c: Include <memcheck.h>.
60333         (main): Call mtrace.  Close all opened handles.
60335 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60337         [BZ #12454]
60338         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60339         dependencies are missing.
60341 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60343         Fix __if_freereq crash: Unlike the generic version which uses free,
60344         Hurd needs munmap.
60345         * sysdeps/mach/hurd/ifreq.h: New file.
60347 2011-01-27  Petr Baudis  <pasky@suse.cz>
60348             Ulrich Drepper  <drepper@gmail.com>
60350         [BZ 12445]#
60351         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60352         to extend_alloca().
60353         * stdio-common/bug23.c: New file.
60354         * stdio-common/Makefile (tests): Add bug23.
60356 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60357             Ulrich Drepper  <drepper@gmail.com>
60359         [BZ #12489]
60360         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60361         before performing relro protection.  At old place add assertion
60362         to make sure nothing changed.
60364 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60365             Glauber de Oliveira Costa  <glommer@gmail.com>
60367         * elf/elf.h: Add new ARM TLS relocs.
60369 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60372         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60373         cast from r3.
60374         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60375         'tests' variable.
60376         * sysdeps/wordsize-64/tst-writev.c: New file.
60378 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60380         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60381         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60382         insns in _dl_start to prevent a TOC reference before relocs are
60383         resolved.
60385 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60387         [BZ #12469]
60388         * Makeconfig: Remove RANLIB definition.
60389         * Makerules: Don't use RANLIB.
60390         * aclocal.m4: Remove ranlib test.
60391         * configure.in: No need to check for ranlib.
60392         * elf/rtld-Rules: Don't use RANLIB.
60394 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60396         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60397         protection macro.
60398         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60399         inclusion protection macro.
60401         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60402         SIGRTMIN and SIGRTMAX and print information in that case only when
60403         SIGRTMIN is defined.
60405 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60407         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60408         arginfo fn returning -1.
60410         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60411         and thousands string is zero terminated.
60413 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60415         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60416         sysdeps/unix/sysv/linux/bits/socket.h.
60418 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60420         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60421         (__CPU_COUNT): Remove old macros.
60422         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60423         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60424         (__CPU_ALLOC, __CPU_FREE): Add macros.
60425         (__sched_cpualloc, __sched_cpufree): Add declarations.
60427 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60429         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60430         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60431         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60432         (readdhstai): Return value of addhstaiX call.
60433         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60434         (addgrbyX): Return value returned by cache_addgr.
60435         (readdgrbyname): Return value returned by addgrbyX.
60436         (readdgrbygid): Likewise.
60437         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60438         (addpwbyX): Return value returned by cache_addpw.
60439         (readdpwbyname): Return value returned by addhstbyX.
60440         (readdpwbyuid): Likewise.
60441         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60442         (addservbyX): Return value returned by cache_addserv.
60443         (readdservbyname): Return value returned by addservbyX:
60444         (readdservbyport): Likewise.
60445         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60446         (addhstbyX): Return value returned by cache_addhst.
60447         (readdhstbyname): Return value returned by addhstbyX.
60448         (readdhstbyaddr): Likewise.
60449         (readdhstbynamev6): Likewise.
60450         (readdhstbyaddrv6): Likewise.
60451         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60452         (readdinitgroups): Return value returned by addinitgroupsX.
60453         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60454         (prune_cache): Keep track of timeout value of re-added entries.
60455         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60456         * nscd/nscd.h: Adjust prototypes of readd* functions.
60458 2011-02-04  Roland McGrath  <roland@redhat.com>
60460         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60461         (nis_stats): Likewise.
60462         * nis/nis_modify.c (nis_modify): Likewise.
60463         * nis/nis_remove.c (nis_remove): Likewise.
60464         * nis/nis_add.c (nis_add): Likewise.
60466         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60468         * posix/fnmatch_loop.c: Add some consts.
60470         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60472 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60474         [BZ #12460]
60475         * config.make.in (config-cflags-novzeroupper): Define.
60476         * configure.in: Substitute libc_cv_cc_novzeroupper.
60477         * elf/Makefile (AVX-CFLAGS): Define.
60478         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60479         (CFLAGS-tst-auditmod4a.c): Likewise.
60480         (CFLAGS-tst-auditmod4b.c): Likewise.
60481         (CFLAGS-tst-auditmod6b.c): Likewise.
60482         (CFLAGS-tst-auditmod6c.c): Likewise.
60483         (CFLAGS-tst-auditmod7b.c): Likewise.
60484         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60486 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60488         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60489         function to the callback.
60490         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60492 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60494         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60495         of errno.
60497 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60499         [BZ #11724]
60500         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60501         of constructors.
60502         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60503         of destructors.
60504         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60506         [BZ #11724]
60507         * elf/Makefile: Add rules to build and run new test.
60508         * elf/tst-initorder.c: New file.
60509         * elf/tst-initorder.exp: New file.
60510         * elf/tst-initordera1.c: New file.
60511         * elf/tst-initordera2.c: New file.
60512         * elf/tst-initordera3.c: New file.
60513         * elf/tst-initordera4.c: New file.
60514         * elf/tst-initorderb1.c: New file.
60515         * elf/tst-initorderb2.c: New file.
60516         * elf/tst-order-a1.c: New file.
60517         * elf/tst-order-a2.c: New file.
60518         * elf/tst-order-a3.c: New file.
60519         * elf/tst-order-a4.c: New file.
60520         * elf/tst-order-b1.c: New file.
60521         * elf/tst-order-b2.c: New file.
60522         * elf/tst-order-main.c: New file.
60523         New test case by George Gensure <werkt0@gmail.com>.
60525 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60528         decoding ACE if AI_CANONIDN.
60530 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60532         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60534 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60536         * version.h (RELEASE): Bump for 2.13 release.
60537         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60539         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60541         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60542         MADV_NOHUGEPAGE.
60543         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60544         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60545         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60546         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60547         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60548         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60550         * posix/getconf.c: Update copyright year.
60551         * catgets/gencat.c: Likewise.
60552         * csu/version.c: Likewise.
60553         * debug/catchsegv.sh: Likewise.
60554         * debug/xtrace.sh: Likewise.
60555         * elf/ldconfig.c: Likewise.
60556         * elf/ldd.bash.in: Likewise.
60557         * elf/sprof.c (print_version): Likewise.
60558         * iconv/iconv_prog.c: Likewise.
60559         * iconv/iconvconfig.c: Likewise.
60560         * locale/programs/locale.c: Likewise.
60561         * locale/programs/localedef.c: Likewise.
60562         * malloc/memusage.sh: Likewise.
60563         * malloc/mtrace.pl: Likewise.
60564         * nscd/nscd.c (print_version): Likewise.
60565         * nss/getent.c: Likewise.
60567         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60568         PF_CAIF, and PF_ALG.
60569         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60571 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60573         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60574         (modules-names): Use them.
60575         (ifunc-test-modules, ifunc-pie-tests): Define.
60576         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60577         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60578         (test-extras): Likewise.
60579         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60580         $(compile-command.c).
60581         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60582         (all-built-dso): Define.
60583         (check-textrel.out, check-execstack.out): Depend on it.
60585         * configure.in: Don't override --enable-multi-arch.
60587 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60589         [BZ #6812]
60590         * nscd/hstcache.c (tryagain): Define.
60591         (cache_addhst): Return tryagain not notfound for temporary errors.
60592         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60593         failed.
60595 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60597         [BZ #10563]
60598         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60599         to make the syscall.
60600         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60602         [BZ #12378]
60603         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60604         and fall back to matching as normal character if the string ends before
60605         the matching ']' is found.  This is what POSIX requires.
60606         * posix/testfnm.c: Adjust test result.
60607         * posix/globtest.sh: Adjust test result.  Add new test.
60608         * posix/tst-fnmatch.input: Likewise.
60609         * posix/tst-fnmatch2.c: Add new test.
60611 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60613         * elf/Makefile (check-execstack): Revert last change.  Depend on
60614         check-execstack.h.
60615         (check-execstack.h): New target.
60616         (generated): Add check-execstack.h.
60617         * elf/check-execstack.c: Include "check-execstack.h".
60618         (main): Revert last change.
60619         (handle_file): Return zero if GNU_STACK is absent and
60620         DEFAULT_STACK_PERMS doesn't include PF_X.
60622 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60624         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60625         in child fails because the descriptor is already closed.
60626         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60627         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60628         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60630         [BZ #12397]
60631         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60632         syscall.
60634         [BZ #10484]
60635         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60636         temporary buffer used to handle multi lookups locally.
60637         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60639 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60641         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60642         loader is ld.so.
60644 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60646         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60647         alignment for SSE2.
60649 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60651         [BZ #12394]
60652         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60653         characters.  When rounding increased number of integer digits recompute
60654         number of groups.
60655         * stdio-common/tst-grouping.c: New file.
60656         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60658 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60660         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60661         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60663         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60664         void.
60665         * bits/select.h: Likewise.
60667 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60669         * po/ja.po: Update from translation team.
60671 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60673         [BZ #11155]
60674         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60675         implementation just like for lxstat, fxstatat, et al.
60677 2010-12-27  Jim Meyering  <meyering@redhat.com>
60679         [BZ #12348]
60680         * posix/regexec.c (build_trtable): Return failure indication upon
60681         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60683 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60685         [BZ #12201]
60686         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60687         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60688         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60689         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60691         [BZ #12207]
60692         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60694         [BZ #12204]
60695         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60696         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60698 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60700         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60701         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60702         script has SORT_BY_INIT_PRIORITY.
60703         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60704         NO_CTORS_DTORS_SECTIONS is defined.
60705         * elf/soinit.c: Likewise.
60706         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60707         NO_CTORS_DTORS_SECTIONS is defined.
60708         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60709         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60710         * sysdeps/sh/init-first.c: Likewise.
60711         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60713 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60715         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60716         always use the slow path.
60718 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60720         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60721         similar rule which adds the sysdep directories to the header search in
60722         order to pick up the correct platform stackinfo.h.
60723         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60724         perform test if it is, otherwise return successfully without testing.
60725         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60726         DEFAULT_STACK_PERMS define in stackinfo.h.
60727         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60728         defined in stackinfo.h.
60729         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60730         DEFAULT_STACK_PERMS defined in stackinfo.h.
60731         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60732         * sysdeps/ia64/stackinfo.h: Likewise.
60733         * sysdeps/s390/stackinfo.h: Likewise.
60734         * sysdeps/sh/stackinfo.h: Likewise.
60735         * sysdeps/sparc/stackinfo.h: Likewise.
60736         * sysdeps/x86_64/stackinfo.h: Likewise.
60737         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60738         PF_X for powerpc64.  Retain PF_X for powerpc32.
60740 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60742         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60743         accurately.
60744         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60745         GETDENTS_64BIT_ALIGNED.
60747 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60749         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60751 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60753         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60754         _GNU_SOURCE.
60756         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60757         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60758         Remove __restrict.
60759         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60760         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60762 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60764         [BZ #11655]
60765         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60766         are initialized.
60768 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60770         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60772 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60774         * po/it.po: Update from translation team.
60776 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60779         unused codes.
60781 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60783         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60785 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60787         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60788         specially.
60789         (gaih_getanswer_slice): Likewise.
60791 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60795 2010-05-31  Petr Baudis  <pasky@suse.cz>
60797         [BZ #11149]
60798         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60799         silently even in the chroot mode.
60801 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60803         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60804         last patch a bit.  Pretty printing
60806 2010-05-31  Petr Baudis <pasky@suse.cz>
60808         [BZ #10085]
60809         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60810         initialization of skip_initgroups_dyn.
60812 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60814         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60815         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60817 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60819         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60821 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60823         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60824         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60825         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60826         ($(objpfx)tst-fnmatch-mem): New rule.
60827         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60828         * posix/tst-fnmatch.c (main): Call mtrace.
60830 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60833         Support Intel processor model 6 and model 0x2c.
60835 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60837         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60838           signed comparison.
60840 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60842         [BZ #12205]
60843         * string/test-strncasecmp.c (check_result): New function.
60844         (do_one_test): Use it.
60845         (check1): New function.
60846         (test_main): Use it.
60847         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60848         Support strcasecmp and strncasecmp.
60850 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60852         [BZ #12194]
60853         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60854         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60856 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60858         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60859         IFUNC support.
60860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60861         memset-x86-64.
60862         * sysdeps/x86_64/multiarch/bzero.S: New file.
60863         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60864         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60865         * sysdeps/x86_64/multiarch/memset.S: New file.
60866         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60868         Set bit_Prefer_SSE_for_memop for Intel processors.
60869         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60870         Define.
60871         (index_Prefer_SSE_for_memop): Define.
60872         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60874 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60876         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60877         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60879 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60881         [BZ #12191]
60882         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60883         (__x86_64_raw_data_cache_size_half): Likewise.
60884         (__x86_64_raw_shared_cache_size): Likewise.
60885         (__x86_64_raw_shared_cache_size_half): Likewise.
60887         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60888         (__x86_64_raw_data_cache_size_half): Likewise.
60889         (__x86_64_raw_shared_cache_size): Likewise.
60890         (__x86_64_raw_shared_cache_size_half): Likewise.
60891         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60892         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60893         and __x86_64_raw_shared_cache_size_half.  Round
60894         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60895         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60896         to multiple of 256 bytes.
60898 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60900         [BZ #12167]
60901         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60902         of inacessible symlinks.  Verify result of symlink before returning it.
60903         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60904         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60906 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60908         * math/math.h (isinf): Fix typo in comment.
60910 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60912         * po/da.po: Update from translation team.
60914 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60916         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60917         is added to the list.
60919 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60920             Ulrich Drepper  <drepper@gmail.com>
60922         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60923         the global list here.  Move code to...
60924         (_dl_add_to_namespace_list): ...here.  New function.
60925         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60926         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60927         * elf/dl-load.c (lose): Don't remove the element from the list.
60928         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60929         (_dl_map_object): Likewise.
60931 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60933         [BZ #12159]
60934         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60935         into all bytes of SSE register.
60936         Patch by Richard Li <richardpku@gmail.com>.
60938 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60940         [BZ #12140]
60941         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60942         perturbing.
60944 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60946         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60947         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60948         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60949         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60951         submachine.
60952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60954 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60956         * include/dlfcn.h (__RTLD_SECURE): Define.
60957         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60958         mode & __RTLD_SECURE instead.
60959         (open_path): Rename preloaded parameter to secure.
60960         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60961         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60962         * elf/dl-deps.c (openaux): Likewise.
60963         * elf/rtld.c (struct map_args): Remove is_preloaded.
60964         (map_doit): Don't use it.
60965         (dl_main): Likewise.
60966         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60967         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60969 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60971         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60972         (sysd-rules-targets): Remove duplicates.
60973         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60974         rtld-%.$o dependency.
60976 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60978         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60979         _dl_map_object do it.
60981 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60983         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60984         fast fma builtins, define the macros in the C99 standard.
60985         (FP_FAST_FMAF): Likewise.
60986         (FP_FAST_FMAL): Likewise.
60987         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60989         * bits/mathdef.h: Update copyright year.
60990         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60992 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60994         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60995         builtins, define the macros in the C99 standard.
60996         (FP_FAST_FMAF): Likewise.
60997         (FP_FAST_FMAL): Likewise.
60998         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60999         multiply/add.
61000         (FP_FAST_FMAF): Likewise.
61002 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61004         [BZ #3268]
61005         * math/libm-test.inc (fma_test): Some new testcases.
61006         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61007         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61008         y and infinite z.  Do multiplication by C already in long double.
61009         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61011         y and infinite z.  Do bitwise or of inexact bit into u.d.
61012         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61013         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61014         * sysdeps/i386/fpu/s_fma.S: Removed.
61015         * sysdeps/i386/fpu/s_fmal.S: Removed.
61017 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61019         [BZ #3268]
61020         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61022         computation is not scheduled after fetestexcept.  Fix value
61023         of minimum denormal long double.
61025 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61027         [BZ #3268]
61028         * math/libm-test.inc (fma_test): Add some more tests.
61029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61030         correctly.
61032 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61034         * scripts/data/localplt-s390-linux-gnu.data: New file.
61035         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61037 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61039         [BZ #3268]
61040         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61041         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61042         instead of dbl-64.
61043         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61044         inlines.
61045         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61047         if one of x and y is very large and the other is subnormal.
61048         * sysdeps/s390/fpu/s_fmaf.c: New file.
61049         * sysdeps/s390/fpu/s_fma.c: New file.
61050         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61051         * sysdeps/powerpc/fpu/s_fma.S: New file.
61052         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61053         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61054         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61056 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61058         [BZ #3268]
61059         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61060         fma tests.
61061         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61062         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61063         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61064         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61065         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61066         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61067         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61069 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61071         [BZ #12078]
61072         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61073         * posix/bug-regex31.input: Add test case.
61075 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61077         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61078         * posix/bug-regex31.input: New file.
61080         [BZ #12078]
61081         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61082         (parse_sub_exp): Fix last change, use postorder.
61084         * posix/bug-regex31.c: New file.
61085         * posix/Makefile: Add rules to build and run bug-regex31.
61087         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61089         [BZ #12078]
61090         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61092         [BZ #12108]
61093         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61094         to have entries in sys_siglist.
61096         [BZ #12093]
61097         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61098         be NULL.
61100 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61102         [BZ #3268]
61103         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61104         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61105         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61106         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61107         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61108         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61109         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61110         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61111         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61112         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61113         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61114         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61115         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61116         * math/ftestexcept.c (fetestexcept): Likewise.
61117         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61118         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61119         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61120         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61121         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61122         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61123         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61125 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61127         [BZ #12107]
61128         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61129         newline.
61131 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61133         * string/bug-strstr1.c: New file.
61134         * string/Makefile: Add rules to build and run bug-strstr1.
61136 2010-10-05  Eric Blake  <eblake@redhat.com>
61138         [BZ #12092]
61139         * string/str-two-way.h (two_way_long_needle): Always clear memory
61140         when skipping input due to the shift table.
61142 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61144         [BZ #12005]
61145         * malloc/mcheck.c: Handle large requests.
61147         [BZ #12077]
61148         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61149         for strncmp and strncasecmp.
61150         * string/stratcliff.c: Add tests for strcmp and strncmp.
61151         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61153 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61155         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61156         __set_fpscr.
61158 2010-09-30  Andreas Jaeger  <aj@suse.de>
61160         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61161         (CGROUP_SUPER_MAGIC): Define.
61162         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61163         Handle btrfs and cgroup file systems.
61164         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61165         Likewise.
61167 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61169         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61170         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61172 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61174         [BZ #12067]
61175         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61176         trying to locate the ELF header.
61178 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61180         [BZ #11611]
61181         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61182         Mask out sign-bit copies when constructing f_fsid.
61184 2010-09-24  Petr Baudis <pasky@suse.cz>
61186         * debug/stack_chk_fail_local.c: Add missing licence exception.
61187         * debug/warning-nop.c: Likewise.
61189 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61191         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61192         implementing getdents64 using getdents syscall, set d_type if
61193         __ASSUME_GETDENTS32_D_TYPE.
61195 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61197         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61198         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61200 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61202         [BZ #12037]
61203         * posix/unistd.h: Undo change of feature selection for ftruncate from
61204         2010-01-11.
61206 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61208         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61209         detection.
61211 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61213         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61214         fanotify_mark.
61215         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61217 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61219         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61220         variables after CHECK_SP call.
61221         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61223 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61224             Ulrich Drepper  <drepper@redhat.com>
61226         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61227         re-relocationg ld.so.
61228         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61229         _dl_init_paths call.
61230         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61231         here anymore.
61233 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61235         * resolv/res_init.c (__res_vinit): Count the default server we added.
61237 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61238             Ulrich Drepper  <drepper@redhat.com>
61240         [BZ #11968]
61241         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61242         (____longjmp_chk): Use %ebx for saving value across system call.
61243         Add unwind info.
61245 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61247         * manual/Makefile: Don't mix pattern rules with normal rules.
61249 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61251         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61252         operation.
61253         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61254         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61255         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61256         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61257         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61258         Likewise.
61260 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61262         [BZ #11979]
61263         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61264         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61266 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61268         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61269         * sysdeps/x86_64/addmul_1.S: Likewise.
61270         * sysdeps/x86_64/lshift.S: Likewise.
61271         * sysdeps/x86_64/mul_1.S: Likewise.
61272         * sysdeps/x86_64/rshift.S: Likewise.
61273         * sysdeps/x86_64/sub_n.S: Likewise.
61274         * sysdeps/x86_64/submul_1.S: Likewise.
61276 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61278         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61279         Define __sched_param instead of SCHED_* and sched_param when
61280         <bits/sched.h> is included with __need_schedparam defined.
61281         * bits/sched.h [__need_schedparam]
61282         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61283         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61284         (__defined_schedparam): Define to 1.
61285         (__sched_param): New structure, identical to sched_param.
61286         (__need_schedparam): Undefine.
61288 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61290         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61291         (epoll_create1): Declare.
61293         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61295 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61297         [BZ #7066]
61298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61299         shifting retval into place.
61301 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61303         * nis/rpcsvc/nis.h: Update copyright notice.
61304         * nis/rpcsvc/nis.x: Likewise.
61305         * nis/rpcsvc/nis_callback.h: Likewise.
61306         * nis/rpcsvc/nis_callback.x: Likewise.
61307         * nis/rpcsvc/nis_object.x: Likewise.
61308         * nis/rpcsvc/nis_tags.h: Likewise.
61309         * nis/rpcsvc/yp.h: Likewise.
61310         * nis/rpcsvc/yp.x: Likewise.
61311         * nis/rpcsvc/ypupd.h: Likewise.
61312         * nis/yp_xdr.c: Likewise.
61313         * nis/ypupdate_xdr.c: Likewise.
61315         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61316         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61317         (pmap_getport): Use __libc_rpc_getport.
61318         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61319         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61320         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61322 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61325         fanotify_mark.
61327 2010-08-27  Roland McGrath  <roland@redhat.com>
61329         * sysdeps/i386/i686/multiarch/Makefile
61330         (CFLAGS-varshift.c): New variable.
61332 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61334         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61335         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61337         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61339         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61341 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61343         * sysdeps/x86_64/strlen.S: Unroll the loop.
61344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61345         strlen-sse2 strlen-sse2-bsf.
61346         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61347         __strlen_no_bsf if bit_Slow_BSF is set.
61348         (__strlen_sse42): Removed.
61349         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61350         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61352 2010-08-25  Roland McGrath  <roland@redhat.com>
61354         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61355         * sysdeps/x86_64/multiarch/varshift.c: New file.
61356         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61357         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61358         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61359         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61361 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61364         strlen-sse2 strlen-sse2-bsf.
61365         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61366         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61367         (__strlen_sse2): Removed.
61368         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61371         bit_Slow_BSF for Atom.
61372         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61373         (index_Slow_BSF): Define.
61374         (HAS_SLOW_BSF): Define.
61376 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61378         [BZ #10851]
61379         * resolv/res_init.c (__res_vinit): When no server address at all
61380         is given default to loopback.
61382 2010-08-24  Roland McGrath  <roland@redhat.com>
61384         * configure.in: Remove config-name.h generation.
61385         * configure: Regenerated.
61386         * config-name.in: File removed.
61387         * scripts/config-uname.sh: New file.
61388         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61389         ($(objdir)config-name.h): New target.
61391         * sunrpc/rpc_parse.h: Avoid nested comment.
61393 2010-08-24  Richard Henderson  <rth@redhat.com>
61394             Ulrich Drepper  <drepper@redhat.com>
61395             H.J. Lu  <hongjiu.lu@intel.com>
61397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61399         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61400         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61401         _mm_alignr_epi8 with _mm_loadu_si128.
61402         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61403         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61404         (__m128i_shift_right): Removed.
61405         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61406         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61407         * sysdeps/x86_64/multiarch/varshift.h: New file.
61408         * sysdeps/x86_64/multiarch/varshift.S: New file.
61410 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61412         * configure.in: Move assembler checks to before sysdep dir checking.
61414 2010-08-20  Petr Baudis  <pasky@suse.cz>
61416         * LICENSES: Sync the sunrpc license.
61418 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61420         * sunrpc/auth_des.c: Update copyright notice once again.
61421         * sunrpc/auth_none.c: Likewise.
61422         * sunrpc/auth_unix.c: Likewise.
61423         * sunrpc/authdes_prot.c: Likewise.
61424         * sunrpc/authuxprot.c: Likewise.
61425         * sunrpc/bindrsvprt.c: Likewise.
61426         * sunrpc/clnt_gen.c: Likewise.
61427         * sunrpc/clnt_perr.c: Likewise.
61428         * sunrpc/clnt_raw.c: Likewise.
61429         * sunrpc/clnt_simp.c: Likewise.
61430         * sunrpc/clnt_tcp.c: Likewise.
61431         * sunrpc/clnt_udp.c: Likewise.
61432         * sunrpc/clnt_unix.c: Likewise.
61433         * sunrpc/des_crypt.c: Likewise.
61434         * sunrpc/des_soft.c: Likewise.
61435         * sunrpc/get_myaddr.c: Likewise.
61436         * sunrpc/getrpcport.c: Likewise.
61437         * sunrpc/key_call.c: Likewise.
61438         * sunrpc/key_prot.c: Likewise.
61439         * sunrpc/openchild.c: Likewise.
61440         * sunrpc/pm_getmaps.c: Likewise.
61441         * sunrpc/pm_getport.c: Likewise.
61442         * sunrpc/pmap_clnt.c: Likewise.
61443         * sunrpc/pmap_prot.c: Likewise.
61444         * sunrpc/pmap_prot2.c: Likewise.
61445         * sunrpc/pmap_rmt.c: Likewise.
61446         * sunrpc/rpc/auth.h: Likewise.
61447         * sunrpc/rpc/auth_unix.h: Likewise.
61448         * sunrpc/rpc/clnt.h: Likewise.
61449         * sunrpc/rpc/des_crypt.h: Likewise.
61450         * sunrpc/rpc/key_prot.h: Likewise.
61451         * sunrpc/rpc/netdb.h: Likewise.
61452         * sunrpc/rpc/pmap_clnt.h: Likewise.
61453         * sunrpc/rpc/pmap_prot.h: Likewise.
61454         * sunrpc/rpc/pmap_rmt.h: Likewise.
61455         * sunrpc/rpc/rpc.h: Likewise.
61456         * sunrpc/rpc/rpc_des.h: Likewise.
61457         * sunrpc/rpc/rpc_msg.h: Likewise.
61458         * sunrpc/rpc/svc.h: Likewise.
61459         * sunrpc/rpc/svc_auth.h: Likewise.
61460         * sunrpc/rpc/types.h: Likewise.
61461         * sunrpc/rpc/xdr.h: Likewise.
61462         * sunrpc/rpc_clntout.c: Likewise.
61463         * sunrpc/rpc_cmsg.c: Likewise.
61464         * sunrpc/rpc_common.c: Likewise.
61465         * sunrpc/rpc_cout.c: Likewise.
61466         * sunrpc/rpc_dtable.c: Likewise.
61467         * sunrpc/rpc_hout.c: Likewise.
61468         * sunrpc/rpc_main.c: Likewise.
61469         * sunrpc/rpc_parse.c: Likewise.
61470         * sunrpc/rpc_parse.h: Likewise.
61471         * sunrpc/rpc_prot.c: Likewise.
61472         * sunrpc/rpc_sample.c: Likewise.
61473         * sunrpc/rpc_scan.c: Likewise.
61474         * sunrpc/rpc_scan.h: Likewise.
61475         * sunrpc/rpc_svcout.c: Likewise.
61476         * sunrpc/rpc_tblout.c: Likewise.
61477         * sunrpc/rpc_util.c: Likewise.
61478         * sunrpc/rpc_util.h: Likewise.
61479         * sunrpc/rpcinfo.c: Likewise.
61480         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61481         * sunrpc/rpcsvc/key_prot.x: Likewise.
61482         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61483         * sunrpc/rpcsvc/mount.x: Likewise.
61484         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61485         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61486         * sunrpc/rpcsvc/rex.x: Likewise.
61487         * sunrpc/rpcsvc/rstat.x: Likewise.
61488         * sunrpc/rpcsvc/rusers.x: Likewise.
61489         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61490         * sunrpc/rpcsvc/spray.x: Likewise.
61491         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61492         * sunrpc/rtime.c: Likewise.
61493         * sunrpc/svc.c: Likewise.
61494         * sunrpc/svc_auth.c: Likewise.
61495         * sunrpc/svc_authux.c: Likewise.
61496         * sunrpc/svc_raw.c: Likewise.
61497         * sunrpc/svc_run.c: Likewise.
61498         * sunrpc/svc_simple.c: Likewise.
61499         * sunrpc/svc_tcp.c: Likewise.
61500         * sunrpc/svc_udp.c: Likewise.
61501         * sunrpc/svc_unix.c: Likewise.
61502         * sunrpc/svcauth_des.c: Likewise.
61503         * sunrpc/xcrypt.c: Likewise.
61504         * sunrpc/xdr.c: Likewise.
61505         * sunrpc/xdr_array.c: Likewise.
61506         * sunrpc/xdr_float.c: Likewise.
61507         * sunrpc/xdr_mem.c: Likewise.
61508         * sunrpc/xdr_rec.c: Likewise.
61509         * sunrpc/xdr_ref.c: Likewise.
61510         * sunrpc/xdr_sizeof.c: Likewise.
61511         * sunrpc/xdr_stdio.c: Likewise.
61513         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61514         handling.
61516 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61518         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61520 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61522         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61523         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61524         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61525         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61526         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61527         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61528         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61529         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61530         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61531         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61532         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61533         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61534         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61535         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61537 2010-07-26  Anton Blanchard  <anton@samba.org>
61539         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61540         * malloc/arena.c (heap_trim): Likewise.
61542 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61544         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61545         here.  Not...
61546         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61547         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61549 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61551         * sysdeps/i386/elf/Makefile: New file.
61553 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61555         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61556         from fanotify_init.
61557         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61560 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61562         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61563         of strncasecmp_l.
61564         * sysdeps/multiarch/strcmp.S: Likewise.
61566 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61568         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61569         strncase_l-nonascii.
61570         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61571         Add strncase_l-ssse3.
61572         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61573         * sysdeps/x86_64/strcmp.S: Likewise.
61574         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61575         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61576         * sysdeps/x86_64/strncase.S: New file.
61577         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61578         * sysdeps/x86_64/strncase_l.S: New file.
61579         * string/Makefile (strop-tests): Add strncasecmp.
61580         * string/test-strncasecmp.c: New file.
61582         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61583         warning.
61585         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61586         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61588 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61590         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61592 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61594         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61595         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61596         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61598 2010-05-01  Alan Modra  <amodra@gmail.com>
61600         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61601         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61602         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61603         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61604         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61605         tidying.  Don't tail-call __sigjmp_save for static lib.
61606         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61607         save location.
61608         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61609         (CALL_MCOUNT): Add eh info, and nop after bl.
61610         (TAIL_CALL_SYSCALL_ERROR): New macro.
61611         (PSEUDO_RET): Use it.
61612         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61613         Correct save location of integer regs and cr.
61614         (_dl_profile_resolve): Correct cr save location.  Delete nops
61615         after bl when SHARED.  Reduce cfi size a little by better
61616         placement of cfi directives.
61617         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61618         make a stack frame.  Instead use parm save area as a temp.
61619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61620         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61622         Don't make a stack frame for parent, use parm save area.
61623         Increase child stack frame to 112 bytes.  Don't save unused reg,
61624         and adjust reg usage.  Set up cfi on error recovery and
61625         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61627         (__makecontext): Add dummy nop after jump to exit.
61628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61629         Use correct parm save area and cr save, reduce stack frame.
61630         Correct cfi for possible PSEUDO_RET frame setup.
61631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61632         Branch to local label emitted by PSEUDO_RET rather than
61633         __syscall_error.
61635 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61637         [BZ #11904]
61638         * locale/programs/locale.c (print_assignment): New function.
61639         (show_locale_vars): Use it.
61641 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61643         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61644         field.
61645         (struct statfs64): Likewise.
61646         (_STATFS_F_FLAGS): Define.
61647         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61648         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61649         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61650         (ST_VALID): Define locally.
61651         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61652         __statvfs_getflags, use the provided value.
61653         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61654         __ASSUME_STATFS_F_FLAGS.
61656         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61658         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61659         Add sys/fanotify.h.
61660         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61661         fanotify_mask for GLIBC_2.13.
61662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61663         fanotify_init and fanotify_mark.
61664         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61665         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61667         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61668         Add prlimit.
61669         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61670         prlimit64 for GLIBC_2.13.
61671         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61672         prlimit64.
61673         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61674         syscall.
61675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61676         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61677         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61678         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61680         add prlimit alias.
61681         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61683         [BZ #11903]
61684         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61685         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61687         * nss/Makefile: Add rules to build and run tst-nss-test1.
61688         * shlib-versions: Add entry for libnss_test1.
61689         * nss/nss_test1.c: New file.
61690         * nss/tst-nss-test1.c: New file.
61692         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61693         (__nss_configure_lookup): Set appropriate entry in
61694         __nss_configure_lookup to true.
61695         * nss/nsswitch.h: Define enum with indeces of databases in
61696         databases and __nss_database_custom arrays.  Declare
61697         __nss_database_custom.
61698         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61699         to avoid using nscd when custom rules are installed.
61700         * nss/getXXbyYY_r.c: Likewise.
61701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61703         * nss/nss_files/files-parse.c: Whitespace fixes.
61705 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61707         [BZ #11883]
61708         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61709         * posix/fnmatch_loop.c: Likewise.
61711 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61713         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61714         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61715         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61716         * Versions.def [GLIBC_2.13]: Add.
61718 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61720         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61721         Also fail if tpwd after pwuid call is NULL.
61723 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61725         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61726         when converting to ms.
61728 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61730         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61731         EOPNOTSUPP errors with ENOTTY.
61732         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61733         EOPNOTSUPP errors with ENOTTY.
61735 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61737         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61738         Add strcasecmp_l-ssse3.
61739         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61740         strcasecmp.
61741         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61742         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61743         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61745 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61747         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61749         * string/Makefile (strop-tests): Add strcasecmp.
61750         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61751         strcasecmp_l-nonascii.
61752         (gen-as-const-headers): Add locale-defines.sym.
61753         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61754         * sysdeps/x86_64/strcasecmp.S: New file.
61755         * sysdeps/x86_64/strcasecmp_l.S: New file.
61756         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61757         * sysdeps/x86_64/locale-defines.sym: New file.
61758         * string/test-strcasecmp.c: New file.
61760         * string/test-strcasestr.c: Test both ends of the range of characters.
61761         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61763 2010-07-29  Roland McGrath  <roland@redhat.com>
61765         [BZ #11856]
61766         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61768 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61770         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61771         for ld.so.
61773 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61775         * manual/memory.texi (Malloc Tunable Parameters): Document
61776         M_PERTURB.
61778 2010-07-26  Roland McGrath  <roland@redhat.com>
61780         [BZ #11840]
61781         * configure.in (-fgnu89-inline check): Set and substitute
61782         gnu89_inline, not libc_cv_gnu89_inline.
61783         * configure: Regenerated.
61784         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61786 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61788         * string/test-strnlen.c: New file.
61789         * string/Makefile (strop-tests): Add strnlen.
61790         * string/tester.c (test_strnlen): Add a few more test cases.
61791         * string/tst-strlen.c: Better error reporting.
61793         * sysdeps/x86_64/strnlen.S: New file.
61795 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61797         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61798         lower-latency instructions.
61800 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61802         * string/test-strcasestr.c: New file.
61803         * string/test-strstr.c: New file.
61804         * string/Makefile (strop-tests): Add strstr and strcasestr.
61805         * string/str-two-way.h: Don't undefine MAX.
61806         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61808 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61811         strcasestr-nonascii.
61812         (CFLAGS-strcasestr-nonascii.c): Define.
61813         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61814         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61815         Remove unused attribute.
61817 2010-07-20  Roland McGrath  <roland@redhat.com>
61819         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61820         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61821         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61822         like LD_HWCAP_MASK can disable hwcaps.
61824 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61826         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61828 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61830         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61831         call in strcasestr.
61832         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61833         __strcasestr_sse42_nonascii.
61834         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61835         strcasestr-nonascii.c.
61836         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61838 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61840         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61841         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61842         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61843         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61845 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61847         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61848         fcntl.
61850 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61852         [BZ #11577]
61853         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61854         dl_signal_cerror.
61856 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61858         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61859         _PC_PIPE_BUF using F_GETPIPE_SZ.
61861 2010-07-05  Roland McGrath  <roland@redhat.com>
61863         * manual/arith.texi (Rounding Functions): Fix rint description
61864         implicit in round description.
61866 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61868         * elf/Makefile: Fix linking for a few tests to make recent linker
61869         happy.
61871 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61873         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61874         $(common-objpfx)libc_nonshared.a.
61876 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61878         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61879         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61880         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61881         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61882         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61883         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61884         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61885         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61900         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61901         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61902         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61903         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61904         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61905         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61906         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61907         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61908         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61909         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61910         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61911         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61927 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61929         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61930         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61931         * string/memmove.c (memmove): Renamed to ...
61932         (MEMMOVE): ...this.  Default to memmove.
61933         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61934         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61935         (END_CHK): Define.
61936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61937         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61938         mempcpy-ssse3-back memmove-ssse3-back.
61939         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61940         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61941         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61942         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61943         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61944         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61945         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61946         * sysdeps/x86_64/multiarch/memmove.c: New file.
61947         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61948         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61949         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61950         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61951         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61952         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61953         Define.
61954         (index_Fast_Copy_Backward): Define.
61955         (HAS_ARCH_FEATURE): Define.
61956         (HAS_FAST_REP_STRING): Define.
61957         (HAS_FAST_COPY_BACKWARD): Define.
61959 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61961         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61962         Restore proper fallback handling.
61964 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61966         [BZ #11701]
61967         * posix/group_member.c (__group_member): Correct checking loop.
61969         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61970         OOM in getpwuid_r correctly.  Return error number when the caller
61971         should return, otherwise -1.
61972         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61973         call returning > 0 value.
61974         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61976 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61978         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61979         libc_nonshared.a from targets in modules-names.
61981 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61983         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61984         requires it.
61986 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61991         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61993 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61995         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61997 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61999         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62000         and F_GETPIPE_SZ.
62001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62002         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62003         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62005         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62006         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62008 2010-06-14  Roland McGrath  <roland@redhat.com>
62010         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62012 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62014         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62015         __REDIRECT followed by __THROW.
62016         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62017         * posix/getopt.h (getopt): Likewise.
62019 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62021         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62022         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62023         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62024         in AT_FLAGS.
62025         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62026         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62028 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62030         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62032 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62034         [BZ #11640]
62035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62036         Properly check family and model.
62038 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62040         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62042 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62044         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62046 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62048         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62049         symbol reference.
62051 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62053         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62054         symbol reference.
62056 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62058         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62059         and internal_recvmmsg.
62060         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62061         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62062         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62063         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62065         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62066         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62067         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62069 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62071         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62073 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62075         POWER7 optimizations.
62076         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62077         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62079 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62081         * version.h: Update for 2.13 development version.
62083 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62085         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62086         exceptions.  Return 0.
62088 2010-05-07  Roland McGrath  <roland@redhat.com>
62090         * elf/ldconfig.c (main): Add a const.
62092 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62094         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62095         (args_options): Add no-idn option.
62096         (ahosts_keys_int): Add idn_flags to ai_flags.
62097         (parse_option): Handle 'i' option to clear idn_flags.
62099         * malloc/malloc.c (_int_free): Possible race in the most recently
62100         added check.  Only act on the data if no current modification
62101         happened.
62103 See ChangeLog.17 for earlier changes.