Correct incorrect bug number in changelog
[glibc.git] / ChangeLog
blobbe65e090194b35bf9f6c1c4db61a9ca8e6c28504
1 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3         [BZ #19946]
4         Avoid expected SIGALRM signals.
5         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7         (xpthread_create, xpthread_detach, xpthread_join)
8         (delayed_exit_thread, delayed_exit): New functions.
9         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10         (tf): Use xpthread_cond_wait.
11         (do_test): Likewise.  Replace alarm with delayed_exit.
12         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13         (do_test): Call delayed_exit.  Report failure.
14         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15         (do_test): Call delayed_exit.
16         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
18         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
19         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
20         error.
21         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
22         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
23         error.
24         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
25         (do_test): Call delayed_exit.
26         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
27         (do_test): Call delayed_exit.
28         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
29         (do_test): Call delayed_exit instead of alarm.  Use
30         xpthread_mutex_lock.
31         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
32         (do_test): Call delayed_exit instead of alarm.  Use
33         xpthread_mutex_lock.
34         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
35         (do_test): Call delayed_exit instead of alarm.
36         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
37         (do_test): Call delayed_exit instead of alarm.  Use
38         xpthread_spin_lock.
39         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
40         (do_test): Call delayed_exit instead of alarm.  Use
41         xpthread_join.
43 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
46         adjust CFA when allocating register save area on re-aligned
47         stack.
49 2016-08-26  Florian Weimer  <fweimer@redhat.com>
51         * string/tst-cmp.c: New test.
52         * string/Makefile (tests): Add it.
54 2016-08-25  Mark Wielaard  <mark@klomp.org>
56         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
57         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
58         (check_tree_recurse): Use newly defined accessors.
59         (check_tree): Likewise.
60         (maybe_split_for_insert): Likewise.
61         (__tfind): Likewise.
62         (__tdelete): Likewise.
63         (trecurse): Likewise.
64         (tdestroy_recurse): Likewise.
65         (__tsearch): Likewise. And add asserts for malloc alignment.
66         (__twalk): Cast root to node in case CHECK_TREE is defined.
68 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
72 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
74         * math/Makefile (libm-gen-calls): Add
75         catan, catanh, ctan, ctanh.
76         (libm-calls): Remove the above.
78         * math/s_catan_template.c: Update using type-generic macros.
79         * math/s_catanh_template.c: Likewise.
80         * math/s_ctan_template.c: Likewise.
81         * math/s_ctanh_template.c: Likewise.
83         * math/s_catanf.c: Removed.
84         * math/s_catan.c: Removed.
85         * math/s_catanl.c: Removed.
86         * math/s_catanhf.c: Removed.
87         * math/s_catanh.c: Removed.
88         * math/s_catanhl.c: Removed.
89         * math/s_ctanf.c: Removed.
90         * math/s_ctan.c: Removed.
91         * math/s_ctanl.c: Removed.
92         * math/s_ctanhf.c: Removed.
93         * math/s_ctanh.c: Removed.
94         * math/s_ctanhl.c: Removed.
96         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
97         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
98         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
99         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
100         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
101         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
103         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
104         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
105         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
106         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
108 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
110         * s_catan_template.c: Copy of s_catan.c.
111         * s_catanh_template.c: Copy of s_catanh.c.
112         * s_ctan_template.c: Copy of s_ctan.c.
113         * s_ctanh_template.c: Copy of s_ctanh.c.
115 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
117         * math/Makefile (gen-libm-calls): Move
118         casin, casinh, csin, csinh here.
119         (libm-calls): Remove the above.
121         * math/s_casin_template.c: Update using type-generic macros.
122         * math/s_casinh_template.c: Likewise.
123         * math/s_csin_template.c: Likewise.
124         * math/s_csinh_template.c: Likewise.
125         * math/k_casinh_template.c: Likewise.
127         * math/s_casinf.c: Removed.
128         * math/s_casin.c: Removed.
129         * math/s_casinl.c: Removed.
130         * math/s_casinh.c: Removed.
131         * math/s_casinhf.c: Removed.
132         * math/s_casinhl.c: Removed.
133         * math/s_csin.c: Removed.
134         * math/s_csinf.c: Removed.
135         * math/s_csinl.c: Removed.
136         * math/s_csinh.c: Removed.
137         * math/s_csinhf.c: Removed.
138         * math/s_csinhl.c: Removed.
139         * math/k_casinh.c: Removed.
140         * math/k_casinhf.c: Removed.
141         * math/k_casinhl.c: Removed.
143         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
144         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
145         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
146         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
148         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
149         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
150         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
151         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
152         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
153         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
154         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
155         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
157         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
158         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
159         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
160         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
162         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
163         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
164         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
165         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
167 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
169         * s_casin_template.c: Copy of s_casin.c.
170         * s_casinh_template.c: Copy of s_casinh.c.
171         * s_csin_template.c: Copy of s_csin.c.
172         * s_csinh_template.c: Copy of s_csinh.c.
173         * k_casinh_template.c: Copy of k_casinh.c.
175 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
177         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
179 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
181         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
182         (mul_split) Remove, rename as mul_splitl, remove
183         redundant float.h include, and include via mul_splitl.h
185         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
186         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
187         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
188         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
189         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
191         * math/mul_splitl.h: New file.
193         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
194         Move into mul_split.h, and remove redundant float.h include.
196         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
197         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
198         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
201         * math/mul_split.h: New file.
203 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
205         * math/Makefile (libm-gen-calls): Move
206         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
207         (libm-calls): Remove above.
209         * math/s_cacos_template.c: Update using type-generic macros.
210         * math/s_cacosh_template.c: Likewise.
211         * math/s_ccos_template.c: Likewise.
212         * math/s_ccosh_template.c: Likwise.
214         * math/s_cacosf.c: Removed.
215         * math/s_cacos.c: Removed.
216         * math/s_cacosl.c: Removed.
217         * math/s_cacoshf.c: Removed.
218         * math/s_cacosh.c: Removed.
219         * math/s_cacoshl.c: Removed.
220         * math/s_ccosf.c: Removed.
221         * math/s_ccos.c: Removed.
222         * math/s_ccosl.c: Removed.
223         * math/s_ccoshf.c: Removed.
224         * math/s_ccosh.c: Removed.
225         * math/s_ccoshl.c: Removed.
227         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
228         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
229         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
230         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
231         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
232         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
234         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
235         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
236         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
237         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
239         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
240         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
241         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
242         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
244 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
246         * s_cacos_template.c: Copy of s_cacos.c.
247         * s_cacosh_template.c: Copy of s_cacosh.c.
248         * s_ccos_template.c: Copy of s_ccos.c.
249         * s_ccosh_template.c: Copy of s_ccosh.c.
251 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
253         * stdlib/tst-strtod-round-skeleton.c:
254         Refactored from tst-strtod-round.c.
256         (L_): New macro to apply literal modifier.
257         (FNPFX): New macro to select str or wcs prefix.
258         (CHAR): New macro to choose wchar_t or char.
259         (STRM): New macro to choose printf for tested character type.
261         (STRTO): New macro to choose appropriate string -> real function.
262         (FNPFXS): Stringitized version of FNPFX.
263         (STR): Support for above macro.
264         (STRX): Likewise.
266         (TEST): Update with above macros.
267         (test): Likewise.
268         (GEN_ONE_TEST): Likewise.
269         (test_in_one_mode): Likewise.
271         * stdlib/tst-strtod-round.c: New file.
272         * wcsmbs/tst-wcstod-round.c: New file.
274         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
275         (tst-wcstod-round): Add libm depencency for fesetround.
277 2016-08-19  Zack Weinberg  <zackw@panix.com>
279         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
281 2016-08-18  Torvald Riegel  <triegel@redhat.com>
283         [BZ #20477]
284         * resolv/res_hconf.c (do_init): Use atomic access.
285         * resolv/res_hconf.h: Add comments.
286         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
287         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
290 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
292         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
293         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
295         Likewise.
297 2016-08-18  Florian Weimer  <fweimer@redhat.com>
299         [BZ #16907]
300         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
301         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
302         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
303         (__attribute__): Remove definition.
305 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
307         * sysdeps/ieee754/ldbl-128/e_asinl.c:
308         Remove unused sqrtl declaration.
310 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
312         * math/Makefile: (gen-libm-templates.stmp): New rule.
313         (libm-calls): Move carg conj cimag and cabs into ...
314         (gen-libm-calls): New variable.
315         (generated): Inform Make objects from gen-libm-calls
316         may be generated.
318         * sysdeps/generic/math-type-macros.h: New file.
319         * sysdeps/generic/math-type-macros-float.h: Likewise.
320         * sysdeps/generic/math-type-macros-double.h: Likewise.
321         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
322         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
323         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
325         * math/cabs.c: Refactor into
326         * math/cabs_template.c: new file.
327         * math/cabsf.c: Removed.
328         * math/cabsl.c: Removed.
329         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
330         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
332         * math/carg.c: Refactor into
333         * math/carg_template.c: new file.
334         * math/cargf.c: Removed.
335         * math/cargl.c: Removed.
336         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
337         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
339         * math/conj.c: Refactor into
340         * math/conj_template.c: new file.
341         * math/conjf.c: Removed.
342         * math/conjl.c: Removed.
343         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
344         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
346         * math/cimag.c: Refactor into
347         * math/cimag_template.c: new file.
348         * math/cimagf.c: Removed.
349         * math/cimagl.c: Removed.
350         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
351         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
353         * math/cimag.c: Refactor into
354         * math/cimag_template.c: new file.
355         * math/cimagf.c: Removed.
356         * math/cimagl.c: Removed.
357         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
358         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
360 2016-08-17  Florian Weimer  <fweimer@redhat.com>
362         Reduce time to expected nptl/tst-once5 failure.
363         * nptl/tst-once5.cc (TIMEOUT): Define.
365 2016-08-17  Florian Weimer  <fweimer@redhat.com>
367         [BZ #20452]
368         Avoid additional copies of objects in libc.a in static libraries.
369         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
370         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
371         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
372         rt-sysdep.
373         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
374         Add nptl-sysdep.
375         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
376         Add ptw-sysdep.
377         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
378         rt-sysdep.
379         * sysdeps/unix/sysv/linux/alpha/Makefile
380         (libpthread-shared-only-routines): Add ptw-sysdep,
381         ptw-sigprocmask, ptw-rt_sigaction.
382         * sysdeps/unix/sysv/linux/ia64/Makefile
383         (librt-shared-only-routines): Add rt-sysdep.
384         * sysdeps/unix/sysv/linux/i386/Makefile
385         (libpthread-shared-only-routines): Add libc-do-syscall.
386         * sysdeps/unix/sysv/linux/microblaze/Makefile
387         (libpthread-shared-only-routines): Add sysdep.
388         * sysdeps/unix/sysv/linux/powerpc/Makefile
389         (librt-shared-only-routines): Add rt-sysdep.
390         (libpthread-shared-only-routines): Add sysdep.
391         * sysdeps/unix/sysv/linux/s390/Makefile
392         (librt-shared-only-routines): Add rt-sysdep.
393         * sysdeps/unix/sysv/linux/sparc/Makefile
394         (librt-shared-only-routines): Add rt-sysdep.
395         (libpthread-shared-only-routines): Add sysdep.
396         * sysdeps/unix/sysv/linux/tile/Makefile
397         (libpthread-shared-only-routines): Likewise.
399 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
401         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
402         Mask implicit bit out of unpacked value.
403         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
407         * sysdeps/sparc/fpu/fesetexcept.c: New file.
409         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
411         * sysdeps/s390/fpu/fesetexcept.c: New file.
413         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
414         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
417         * sysdeps/mips/fpu/fesetexcept.c: New file.
419         * sysdeps/m68k/fpu/fesetexcept.c: New file.
421         * sysdeps/ia64/fpu/fesetexcept.c: New file.
423         * sysdeps/hppa/fpu/fesetexcept.c: New file.
425         * sysdeps/arm/fesetexcept.c: New file.
427         * sysdeps/alpha/fpu/fesetexcept.c: New file.
429         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
431         * math/fesetexcept.c: New file.
432         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
433         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
434         * math/fenv.h: Define
435         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
436         <bits/libc-header-start.h> instead of including <features.h>.
437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
438         declaration.
439         * manual/arith.texi (fesetexcept): Document function.
440         * math/Versions (fesetexcept): New libm symbol at version
441         GLIBC_2.25.
442         * math/Makefile (libm-support): Add fesetexcept.
443         (tests): Add test-fesetexcept and test-fesetexcept-traps.
444         * math/test-fesetexcept.c: New file.
445         * math/test-fesetexcept-traps.c: Likewise.
446         * sysdeps/nacl/libm.abilist: Update.
447         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
460         Likewise.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
462         Likewise.
463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
464         Likewise.
465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
466         Likewise.
467         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
468         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
473         Likewise.
474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
475         Likewise.
476         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
477         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
478         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
480 2016-08-16  Florian Weimer  <fweimer@redhat.com>
482         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
483         New.
484         (do_test): Apply default_stack_size_in_mb if not set.
485         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
487 2016-08-15  Andreas Schwab  <schwab@suse.de>
489         [BZ #20435]
490         CVE-2016-6323
491         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
492         as .cantunwind.
494 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
496         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
497         comment from fraiseexcpt.c.
499         * math/test-fexcept.c (feraiseexcept_exact): New function.
500         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
501         (test_except): Likewise.
503 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
505         [BZ #20455]
506         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
507         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
508         to be restored.
510         * math/test-fexcept-traps.c: New file.
511         * math/test-fexcept.c: Likewise.
512         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
513         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
514         macro.
515         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
516         (EXCEPTION_SET_FORCES_TRAP): Likewise.
518 2016-08-09  Torvald Riegel  <triegel@redhat.com>
520         * include/atomic.h (atomic_fetch_and_relaxed,
521         atomic_fetch_and_release, atomic_fetch_or_release,
522         atomic_fetch_xor_release): New.
524 2016-08-06  Christian Seiler  <christian@iwakd.de>
526         [BZ #20444]
527         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
528         MACH_PORT_NULL.
530 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
532         * math/s_fdim.c: Avoid alias renamed.
533         * math/s_fdimf.c: Likewise.
534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
535         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
536         Add s_fdimf-vis3, s_fdim-vis3.
537         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
538         (CFLAGS-s_fdim-vis3.c): Likewise.
539         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
540         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
542 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
545         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
546         Remove s_fdimf-vis3, s_fdim-vis3.
547         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
548         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
555         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
556         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
558 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
560         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
561         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
562         -Wa,-Av9a -mvis.
564 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
566         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
567         LIT() to individual constants in simple expressions
568         after splitting on spaces.
569         (_apply_lit): Rename replaced version, and use it to
570         apply to what appears to be a token.
572         * math/libm-test.inc: Fix many, many issues with
573         spacing.
575 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
577         * math/math.h: Move comment about <bits/mathdef.h> definitions
578         above inclusion of <bits/mathdef.h>.  Do not mention
579         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
581 2016-08-05  Torvald Riegel  <triegel@redhat.com>
583         * include/atomic.h (atomic_exchange_relaxed): New.
585 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
587         * math/e_scalb.c: Do not include <fenv.h>.
588         (invalid_fn): Do calculation resulting in NaN instead of raising
589         FE_INVALID and returning a NaN explicitly.
590         * math/e_scalbf.c: Do not include <fenv.h>.
591         (invalid_fn): Do calculation resulting in NaN instead of raising
592         FE_INVALID and returning a NaN explicitly.
593         * math/e_scalbl.c: Do not include <fenv.h>.
594         (invalid_fn): Do calculation resulting in NaN instead of raising
595         FE_INVALID and returning a NaN explicitly.
597 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
599         * po/de.po: Updated from Translation Project.
600         * po/fi.po: Likewise.
601         * po/sv.po: Likewise.
603 2016-08-04  Florian Weimer  <fweimer@redhat.com>
605         [BZ #20452]
606         Use sysdep.o from libc.a in static libraries.
607         * sysdeps/unix/sysv/linux/i386/Makefile
608         (libpthread-shared-only-routines): Add sysdep.
609         (librt-shared-only-routines): Likewise.
611 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
613         * math/tgmath.h (nextdown): Define if
614         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
615         (nextup): Likewise.
617         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
618         macro.
619         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
620         Document.
621         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
622         Document macro.
623         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
624         (exp10f): Likewise.
625         (exp10l): Likewise.
626         * math/bits/mathcalls.h (exp10): Declare if
627         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
629         * manual/arith.texi (nextup): Fix typo in last change.
631 2016-08-03  Zack Weinberg  <zackw@panix.com>
633         [BZ #19239]
634         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
635         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
636         define major, minor, and makedev to issue deprecation warnings on use.
637         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
638         previously-activated deprecation warnings for these macros and prevent
639         subsequent inclusions of this header from having any effect.
640         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
641         including <sys/sysmacros.h>, and undefine it again afterward.
643 2016-08-03  Zack Weinberg  <zackw@panix.com>
645         * sysdeps/generic/sys/sysmacros.h: Delete file.
646         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
647         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
648         * bits/sysmacros.h: ... here; this encoding is now the generic
649         encoding.  Now defines only the following macros:
650         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
651         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
652         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
654         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
655         bits/sysmacros.h and the above new macros to generate the
656         public implementations of major, minor, and makedev.
657         * misc/tst-makedev.c: New test.
658         * include/sys/sysmacros.h: New wrapper.
660         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
661         (routines): Add makedev.
662         (tests): Add tst-makedev.
663         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
664         gnu_dev_makedev.
665         * posix/Makefile (headers): Remove sys/sysmacros.h.
666         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
668         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
669         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
670         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
671         * sysdeps/unix/sysv/linux/alpha/libc.abilist
672         * sysdeps/unix/sysv/linux/arm/libc.abilist
673         * sysdeps/unix/sysv/linux/hppa/libc.abilist
674         * sysdeps/unix/sysv/linux/i386/libc.abilist
675         * sysdeps/unix/sysv/linux/ia64/libc.abilist
676         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
677         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
678         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
679         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
680         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
681         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
682         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
683         * sysdeps/unix/sysv/linux/nios2/libc.abilist
684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
688         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
689         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
690         * sysdeps/unix/sysv/linux/sh/libc.abilist
691         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
696         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
697         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
698         Add GLIBC_2.25.
700         * include/features.h (__glibc_clang_prereq): New macro.
701         * misc/sys/cdefs.h (__glibc_clang_has_extension)
702         (__attribute_deprecated_msg__): New macros.
704 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
706         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
707         macro.
708         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
709         * manual/arith.texi (issignaling): Document as ISO from TS
710         18661-1:2014.
711         (nextup): Likewise.
712         (nextupf): Likewise.
713         (nextupl): Likewise.
714         (nextdown): Likewise.
715         (nextdownf): Likewise.
716         (nextdownl): Likewise.
717         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
718         macro.
719         * math/math.h: Define
720         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
721         <bits/libc-header-start.h> instead of including <features.h>.
722         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
723         [__USE_GNU].
724         * math/bits/mathcalls.h (nextdown): Declare if
725         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
726         (nextup): Likewise.
727         (__issignaling): Likewise.
729 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
731         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
732         check, and remove __glibc_likely hint
733         from FP_INFINITE check.
734         * s_csinhf.c (__csinhf): Likewise.
736         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
737         hint from FP_INFINITE check.
738         * s_csinhl.c (__csinhl): Likewise.
740 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
742         * math/Makefile (libm-calls): Insert F placeholder into
743         object names.  Move w_lgamma_compat* routines into
744         (libm-compat-calls): New variable.
745         (libm-compat-calls-ldouble-yes): New variable.
746         (calls): Insert F placeholder.
747         (generated): Redefine using new type-foreach macro call.
748         (routines): Likewise.
750         (types): New variable to hold a list of symbolic names
751         for each type supported by the target machine.
752         (libm-routines): Redefine using new types variable.
753         (type-foreach): macro to replace fooF with the
754         appropriately suffixed foo for each types.
756         (type-ldouble-suffix): New variable.
757         (type-ldouble-routines): Likewise.
758         (type-ldouble-yes): Likewise.
759         (type-double-suffix): Likewise.
760         (type-double-routines): Likewise.
761         (type-float-suffix): Likewise.
762         (type-float-routines): Likewise.
764         (dbl-only-routines): Remove.
765         (long-c-yes): Likewise.
766         (long-m-routines): Likewise.
767         (long-m-support): Likewise.
768         (long-m-yes): Likewise.
769         (test-longdouble-yes): Likewise.
771         (test-float.o): Simplify by increasing the scope of the
772         recipe which adds libm-test.stmp to the vector types.
773         (test-ifloat.o): Likewise.
774         (test-float-finite.o): Likewise.
775         (test-double.o): Likewise
776         (test-idouble.o): Likewise.
777         (test-double-finite.o): Likewise.
778         (test-ldouble.o): Likewise
779         (test-ildoubl.o): Likewise.
780         (test-ldouble-finite.o): Likewise.
782         (libm-tests): Redefine type tests using foreach and the
783         list of types in types.
785         (CPPFLAGS-test-ildoubl.c): Rename to
786         (CPPFLAGS-test-ildouble.c): New variable
788         * math/test-ildoubl.c: Rename to
789         * math/test-ildouble.c: New file.
791 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
793         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
794         Use fabsl instead of fabs.
795         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
796         Likewise.
797         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
798         Add long double suffix to constant to ensure proper
799         promotion to long double.
801 2016-08-03  Tom Tromey  <tom@tromey.com>
803         [BZ #20311]
804         * nptl_db/Makefile (headers): Add proc_service.h.
805         * nptl_db/proc_service.h: Add include guard.  Use
806         __BEGIN/__END_DECLS.
807         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
808         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
809         arguments.
812 2016-08-03  Florian Weimer  <fweimer@redhat.com>
814         [BZ #17730]
815         Avoid using memalign for TCB allocations.
816         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
817         (_dl_allocate_tls_storage): Use malloc and manual alignment.
818         Avoid alignment gap in the TLS_DTV_AT_TP case.
819         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
820         determine the pointer to free.
821         * nptl/tst-tls3-malloc.c: New test.
822         * nptl/Makefile (tests): Add it.
823         (tst-tls3-malloc): Link with libdl, libpthread.
824         (LDFLAGS-tst-tls3-malloc): Set.
825         (tst-tls3-malloc.out): Depend on DSO used in test.
827 2016-08-03  Florian Weimer  <fweimer@redhat.com>
829         [BZ #17730]
830         Avoid using memalign for TLS allocations.
831         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
832         is_static member with to_free member.
833         (union dtv): Use struct dtv_pointer.
834         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
835         dtv_pointer instead of is_static.
836         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
837         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
838         instead of val.
839         (allocate_dtv_entry): New function.
840         (allocate_and_init): Return struct dtv_pointer.  Call
841         allocate_dtv_entry instead of __libc_memalign.
842         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
843         instead of val.
844         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
845         instead of is_static.  Adjust call to allocate_and_init.
846         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
847         struct dtv_pointer instead of val.
849 2016-08-03  Florian Weimer  <fweimer@redhat.com>
851         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
852         (MALLOC_ALIGN_MASK): Move ...
853         * malloc/malloc-internal.h: ... to here.
854         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
856 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
858         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
859         (UDP_ENCAP_GTP1U): Likewise.
861         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
862         (PF_MAX): Update value.
863         (AF_QIPCRTR): New macro.
865 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
867         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
868         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
869         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
871         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
872         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
873         s_truncf-vis3, s_trunc-vis3.
874         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
875         (CFLAGS-s_ceil-vis3.c): Likewise.
876         (CFLAGS-s_floorf-vis3.c): Likewise.
877         (CFLAGS-s_floor-vis3.c): Likewise.
878         (CFLAGS-s_truncf-vis3.c): Likewise.
879         (CFLAGS-s_trunc-vis3.c): Likewise.
880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
888         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
889         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
890         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
891         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
893 2016-08-02  David S. Miller  <davem@davemloft.net>
895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
896         (__nearbyint_vis3): Don't check for sNaN before float register is
897         loaded with the incoming argument.
898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
899         (__nearbyintf_vis3): Likewise.
900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
901         Likewise.
902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
903         Likewise.
905         * string/test-strncmp.c (do_test_limit): Make sure the test data
906         stream is aligned as required for the type "CHAR".
907         (do_test): Likewise.
909 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
911         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
912         by beq instructions jumping to the end of the function.
913         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
914         clobber list. Use "i" constraint instead of "X".
915         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
916         of "X".
918 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
920         * bits/libc-header-start.h: New file.
921         * Makefile (headers): Add bits/libc-header-start.h.
922         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
923         (__GLIBC_USE): New macro.
924         * libio/stdio.h: Define
925         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
926         <bits/libc-header-start.h> instead of including <features.h>.
927         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
928         (open_memstream): Likewise.
929         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
930         (__asprintf): Likewise.
931         (asprintf): Likewise.
932         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
933         (getdelim): Likewise.
934         (getline): Likewise.
935         * string/string.h: Define
936         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
937         <bits/libc-header-start.h> instead of including <features.h>.
938         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
939         (strndup): Likewise.
940         * wcsmbs/wchar.h: Define
941         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
942         <bits/libc-header-start.h> instead of including <features.h>.
943         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
944         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
946 2016-08-02  Florian Weimer  <fweimer@redhat.com>
948         Support linking against compatibility symbols, for use in tests.
949         * include/libc-symbols.h (symbol_version_reference): New macro.
950         (symbol_version): Use it.
951         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
952         (compat_symbol): Use compat_symbol_reference.
953         (compat_symbol_1, compat_symbol_2): Remove.
954         (compat_symbol_reference, compat_symbol_reference_1)
955         (compat_symbol_reference_2): New macro.  Use
956         symbol_version_reference.
958 2016-08-02  Florian Weimer  <fweimer@redhat.com>
960         [BZ #19469]
961         * malloc/Makefile (CPPFLAGS): Compile tests with
962         -DTEST_NO_MALLOPT.
963         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
965 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
967         [BZ #20033]
968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
969         finite version.
970         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
971         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
972         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
973         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
974         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
976         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
977         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
978         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
979         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
980         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
981         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
982         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
983         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
987         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
988         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
989         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
990         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
991         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
992         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
993         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
994         in zero power.
996 2016-08-02  Florian Weimer  <fweimer@redhat.com>
998         [BZ #20370]
999         * malloc/arena.c (get_free_list): Update comment.  Assert that
1000         arenas on the free list have no attached threads.
1001         (remove_from_free_list): New function.
1002         (reused_arena): Call it.
1004 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1006         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1007         when it is a NaN.
1008         [_IEEE_FP_INEXACT] Remove.
1009         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1010         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1011         when it is a NaN.
1012         [_IEEE_FP_INEXACT] Remove.
1013         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1014         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1015         when it is a NaN.
1016         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1017         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1018         when its absolute value is greater than 0x1.0p52.
1019         [_IEEE_FP_INEXACT] Remove.
1020         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1021         when its absolute value is greater than 0x1.0p23.
1022         [_IEEE_FP_INEXACT] Remove.
1024 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1026         * version.h (RELEASE): Set to "development"
1027         (VERSION): Set to 2.24.90.
1028         * NEWS: Add 2.25 section.
1030         * version.h (RELEASE): Set to "stable"
1031         (VERSION): Set to 2.24.
1032         * include/features.h (__GLIBC_MINOR__): Set to 24.
1034         * NEWS: Add 2.24 fixed bugs.
1035         * po/libc.pot: Regenerate.
1037 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1040         [$(subdir) = math] (libm-sysdep_routines): Remove.
1041         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1042         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1043         s_truncf-vis3, s_trunc-vis3.
1044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1046         file.
1047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1073         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1075         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1080         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1081         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1082         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1083         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1084         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1085         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1086         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1087         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1088         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1089         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1091 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1093         [BZ #20384]
1094         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1095         test-double-libmvec-sincos-avx-main.o,
1096         test-double-libmvec-sincos-avx2-main.o,
1097         test-double-libmvec-sincos-main.o,
1098         test-float-libmvec-sincosf-avx-main.o,
1099         test-float-libmvec-sincosf-avx2-main.o and
1100         test-float-libmvec-sincosf-main.o.
1101         test-float-libmvec-sincosf-avx512-main.o.
1102         ($(objpfx)test-double-libmvec-sincos): Also link with
1103         $(objpfx)test-double-libmvec-sincos-main.o.
1104         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1105         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1106         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1107         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1108         ($(objpfx)test-float-libmvec-sincosf): Also link with
1109         $(objpfx)test-float-libmvec-sincosf-main.o.
1110         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1111         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1112         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1113         test-double-libmvec-sincos-avx512-main.o and
1114         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1115         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1116         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1117         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1118         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1119         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1120         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1121         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1122         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1123         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1124         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1125         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1126         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1127         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1128         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1129         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1130         -DREQUIRE_AVX2.
1131         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1132         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1133         -DREQUIRE_AVX512F.
1134         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1135         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1136         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1137         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1138         file.
1139         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1140         Likewise.
1141         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1142         Likewise.
1143         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1144         Likewise.
1145         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1146         Likewise.
1147         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1148         Likewise.
1149         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1150         Likewise.
1151         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1152         Likewise.
1154 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1156         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1158 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1160         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1161         and typo in a comment about AT_HWCAP entry.
1163 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1165         * sysdeps/aarch64/libm-test-ulps: Updated.
1167 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1169         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1170         of r13 as it is not restored in mvcle case.
1172 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1174         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1175         Rename "ret" to "__ret".
1176         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1177         inline_syscall5, inline_syscall6): Likewise.
1179 2016-07-19   Will Newton  <will.newton@gmail.com>
1181         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1182         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1183         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1184         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1185         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1187 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1189         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1190         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1191         -mfpmath=387 with $(rtld-CFLAGS).
1192         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1193         $(rtld-CFLAGS).
1195 2016-07-18   Ross Burton  <ross.burton@intel.com>
1196              Khem Raj  <raj.khem@gmail.com>
1198         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1199         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1200         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1201         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1202         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1203         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1204         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1205         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1206         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1207         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1208         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1209         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1210         R_METAG_TLS_DTPOFF): New.
1212 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1213             Matt Clay  <mclay@lycos.com>
1215         [BZ #20357]
1216         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1217         to call __mpsin/__mpcos and to negate values.
1218         * math/auto-libm-test-in: Add test.
1219         * math/auto-libm-test-out: Regenerate.
1221 2016-07-18  Zack Weinberg  <zackw@panix.com>
1223         * grp/Makefile: Don't install the internal header grp-merge.h.
1225 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1227         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1229 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1231         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1233 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1235         [BZ #15368]
1236         * sysdeps/unix/sysv/linux/nptl-signals.h
1237         (__nptl_clear_internal_signals): New function.
1238         (__libc_signal_block_all): Likewise.
1239         (__libc_signal_block_app): Likewise.
1240         (__libc_signal_restore_set): Likewise.
1241         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1242         implementation.
1243         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1244         the cached pid/tid value in pthread structure.
1246 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1248         [BZ #20347]
1249         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1251 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1253         [BZ #20348]
1254         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1255         preadv64, pwrite64 and pwritev64.
1257 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1259         [BZ #20350]
1260         * posix/tst-preadwrite.c: Renamed to ...
1261         * posix/tst-preadwrite-common.c: This.
1262         (PREAD): Removed.
1263         (PWRITE): Likewise.
1264         (STRINGIFY): Likewise.
1265         (STRINGIFY2): Likewise.
1266         (do_prepare): Make it static and remove function arguments.
1267         (do_test): Likewise.
1268         (PREPARE): Updated.
1269         (TEST_FUNCTION): New.
1270         (name): Make it static.
1271         (fd): Likewise.
1272         (do_prepare): Use create_temp_file.
1273         (do_test): Renamed to ...
1274         (do_test_with_offset): This.  Make it static and accept offset.
1275         Properly check return value of PWRITE and PREAD.  Return bytes
1276         read.  Don't close fd nor unlink name.
1277         * posix/tst-preadwrite.c: Rewrite.
1278         * posix/tst-preadwrite64.c: Likewise.
1280 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1282         [BZ #20309]
1283         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1284         -mtls-dialect=gnu2 works.
1285         * configure: Regenerated.
1286         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1287         (tests): Add tst-gnu2-tls1.
1288         (modules-names): Add tst-gnu2-tls1mod.
1289         ($(objpfx)tst-gnu2-tls1): New.
1290         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1291         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1292         * elf/tst-gnu2-tls1.c: New file.
1293         * elf/tst-gnu2-tls1mod.c: Likewise.
1294         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1295         bytes for push in the PLT entry to align the stack.
1297 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1299         [BZ #20349]
1300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1302 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1304         [BZ #18707]
1305         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1306         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1308 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1310         * sysdeps/unix/sysv/linux/sysdep.h
1311         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1312         guards.
1313         * misc/tst-preadvwritev-common.c: New file.
1314         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1315         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1316         a check for files larger than 2GB.
1318         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1319         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1320         * sysdeps/unix/sysv/linux/pread.c
1321         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1322         __OFF_T_MATCHES_OFF64_T.
1323         * sysdeps/unix/sysv/linux/pread64.c
1324         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1325         * sysdeps/unix/sysv/linux/preadv.c
1326         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1327         * sysdeps/unix/sysv/linux/preadv64.c
1328         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1329         * sysdeps/unix/sysv/linux/pwrite.c
1330         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1331         * sysdeps/unix/sysv/linux/pwrite64.c
1332         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1333         * sysdeps/unix/sysv/linux/pwritev.c
1334         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1335         * sysdeps/unix/sysv/linux/pwritev64.c
1336         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1338 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1340         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1341         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1343 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1345         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1347 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1349         [BZ #20240]
1350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1351         (CFLAGS-s_modf-ppc32.c): New variable.
1352         (CFLAGS-s_modff-ppc32.c): Likewise.
1353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1354         (CFLAGS-s_modf-ppc64.c): Likewise.
1355         (CFLAGS-s_modff-ppc64.c): Likewise.
1357 2016-07-07  Andreas Schwab  <schwab@suse.de>
1359         [BZ #20263]
1360         * nptl/tst-robust10.c: New test.
1361         * nptl/Makefile (tests): Add tst-robust10.
1363 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1365         [BZ #20263]
1366         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1368 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1370         * sysdeps/s390/linkmap.h (struct link_map_machine):
1371         Remove member gotplt and add member jmprel.
1372         * sysdeps/s390/s390-32/dl-machine.h
1373         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1374         instead of gotplt with &got[3].
1375         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1376         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1378 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1380         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1382 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1384         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1385         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1386         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1387         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1388         * libio/vtables.c (_IO_vtable_check)
1389         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1390         * libio/libioP.h (IO_set_accept_foreign_vtables)
1391         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1393 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1395         [BZ #20314]
1396         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1397         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1398         $(common-objpfx)cmath.
1399         ($(common-objpfx)cstdlib): New target.
1400         ($(common-objpfx)cmath): Likewise.
1402 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1404         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1406 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1408         [BZ #20327]
1409         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1410         are not part of the string.
1412 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1414         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1415         * nptl/tst-cancel4-common.h (fifoname): New variable.
1416         (fifofd): Likewise.
1417         (cl_fifo): New function.
1418         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1419         SIGINT.
1420         (tf_open): Add early cancel test.
1422 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1424         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1426 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1428         * sysdeps/generic/ldsodefs.h
1429         (dl_symbol_visibility_binds_local_p): New inline function.
1430         * elf/dl-addr.c (determine_info): Treat hidden and internal
1431         symbols as local.
1432         * elf/dl-lookup.c (do_lookup_x): Likewise.
1433         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1435 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1437         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1438         invalid exception for a sNaN input.
1439         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1440         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1441         (__nearbyint_vis3): Likewise
1442         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1443         (__nearbyintf_vis3): Likewise
1444         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1445         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1446         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1447         Likewise.
1448         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1449         Likewise.
1451 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1453         [BZ #20139]
1454         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1455         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1456         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1457         2.24 or above.
1458         (HAVE_AVX512_ASM_SUPPORT): Removed.
1459         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1460         * sysdeps/x86_64/configure: Regenerated.
1461         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1462         check unconditional.
1463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1464         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1466         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1467         Likewise.
1468         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1469         Likewise.
1470         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1471         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1472         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1473         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1474         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1475         Likewise.
1476         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1477         Likewise.
1478         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1479         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1480         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1481         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1482         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1483         Likewise.
1484         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1485         Likewise.
1486         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1487         Likewise.
1488         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1489         Likewise.
1490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1491         Likewise.
1492         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1493         Likewise.
1494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1495         Likewise.
1496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1497         Likewise.
1498         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1499         Likewise.
1500         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1501         Likewise.
1502         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1503         Likewise.
1505 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1507         [BZ #20024]
1508         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1509         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1510         of this implementation of vector function.
1511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1514         Likewise.
1515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1517         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1518         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1519         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1520         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1521         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1522         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1523         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1524         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1525         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1526         for testing vector sincos with fixed ABI.
1527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1528         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1529         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1530         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1531         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1533         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1534         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1535         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1536         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1537         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1538         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1539         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1540         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1541         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1542         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1544 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1546         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1548 2016-06-30  Anton Blanchard  <anton@samba.org>
1550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1551         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1552         s_sinf-ppc64.
1553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1556         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1558 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1562         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1563         e_expf-ppc64.
1564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1565         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1566         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1567         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1569 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1571         [BZ #20277]
1572         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1573         when SHARED is defined.
1575 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1577         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1578         (index_arch_Prefer_ERMS): Likewise.
1579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1580         __memcpy_erms for Prefer_ERMS.
1581         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1582         (__memmove_erms): Enabled for libc.a.
1583         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1584         __memmove_erms or Prefer_ERMS.
1585         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1586         __mempcpy_erms for Prefer_ERMS.
1587         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1588         __memset_erms for Prefer_ERMS.
1590 2016-06-30  Andreas Schwab  <schwab@suse.de>
1592         [BZ #20262]
1593         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1594         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1595         of memory.
1597 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1599         [BZ #18645]
1600         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1601         (test-extras): Add tst-cleanupx4aux.
1602         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1603         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1604         tst-cleanupx4aux.o.
1605         * nptl/tst-cleanupx4aux.c: New file.
1607 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1609         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1611 2016-06-29  Andreas Schwab  <schwab@suse.de>
1613         [BZ #20260]
1614         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1615         address before the beginning of the string as an integer to avoid
1616         array-bounds warning.
1618 2016-06-28  Richard Henderson  <rth@redhat.com>
1620         * elf/elf.h (EM_BPF): New.
1621         (EM_NUM): Update.
1622         (R_BPF_NONE, R_BPF_MAP_FD): New.
1624         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1625         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1626         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1627         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1628         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1629         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1630         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1631         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1632         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1633         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1634         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1635         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1636         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1637         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1638         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1639         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1640         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1641         (EM_NUM): Update.
1643 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1645         [BZ #18960]
1646         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1647         Set _nl_current_LC_CATEGORY_used to two instead of one.
1649 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1651         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1652         (do_test): ... this.
1653         (TEST_FUNCTION): New macro.
1654          Include test-skeleton.c.
1655         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1656         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1658 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1660         [BZ #15479]
1661         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1662         floating-point environment rather than just control word.
1663         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1664         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1665         floating-point environment, with "invalid" exceptions merged in,
1666         rather than just control word.
1667         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1668         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1669         "inexact" exceptions.
1671         [BZ #15479]
1672         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1673         floating-point environment rather than just control word.
1674         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1675         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1676         floating-point environment, with "invalid" exceptions merged in,
1677         rather than just control word.
1678         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1679         * math/libm-test.inc (floor_test_data): Do not allow spurious
1680         "inexact" exceptions.
1682         [BZ #15479]
1683         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1684         floating-point environment rather than just control word.
1685         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1686         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1687         floating-point environment, with "invalid" exceptions merged in,
1688         rather than just control word.
1689         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1690         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1691         "inexact" exceptions.
1693 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1695         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1696         __libc_vfork.
1697         (__vfork) [IS_IN (libc)]: Remove alias.
1698         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1699         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1700         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1702 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1704         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1705         of atomic_compare_and_exchange_bool_rel.
1706         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1707         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1708         catomic_compare_and_exchange_bool_rel): Remove.
1709         * sysdeps/aarch64/atomic-machine.h
1710         (atomic_compare_and_exchange_bool_rel): Likewise.
1711         * sysdeps/alpha/atomic-machine.h
1712         (atomic_compare_and_exchange_bool_rel): Likewise.
1713         * sysdeps/arm/atomic-machine.h
1714         (atomic_compare_and_exchange_bool_rel): Likewise.
1715         * sysdeps/mips/atomic-machine.h
1716         (atomic_compare_and_exchange_bool_rel): Likewise.
1717         * sysdeps/microblaze/atomic-machine.h
1718         ( __arch_compare_and_exchange_bool_8_rel,
1719         __arch_compare_and_exchange_bool_16_rel): Likewise.
1720         * sysdeps/powerpc/atomic-machine.h
1721         ( __arch_compare_and_exchange_bool_8_rel,
1722         __arch_compare_and_exchange_bool_16_rel): Likewise.
1723         * sysdeps/powerpc/powerpc32/atomic-machine.h
1724         ( __arch_compare_and_exchange_bool_32_rel,
1725         __arch_compare_and_exchange_bool_64_rel): Likewise.
1726         * sysdeps/powerpc/powerpc64/atomic-machine.h
1727         ( __arch_compare_and_exchange_bool_32_rel,
1728         __arch_compare_and_exchange_bool_64_rel): Likewise.
1729         * sysdeps/tile/atomic-machine.h
1730         (atomic_compare_and_exchange_bool_rel): Likewise.
1732 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #20296]
1735         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1736         when either argument is a NaN.
1737         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1738         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1740         * math/libm-test.inc (snan_value_ld): New macro.
1741         (isgreater_test_data): Add sNaN tests.
1742         (isgreaterequal_test_data): Likewise.
1743         (isless_test_data): Likewise.
1744         (islessequal_test_data): Likewise.
1745         (islessgreater_test_data): Likewise.
1746         (isunordered_test_data): Likewise.
1747         (nextafter_test_data): Likewise.
1748         (nexttoward_test_data): Likewise.
1749         (remainder_test_data): Likewise.
1750         (remquo_test_data): Likewise.
1751         (significand_test_data): Likewise.
1752         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1754 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1756         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1757         environment macros are defined.
1758         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1760 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1762         [BZ #20191]
1763         Implement vtable verification in libio.
1764         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1765         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1766         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1767         _IO_new_file_init_internal instead of _IO_file_init.
1768         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1769         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1770         * libio/Makefile (routines): Add vtables.
1771         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1772         (_IO_init): Remove, not for internal use.
1773         (_IO_init_internal): Declare, internal replacement for _IO_init.
1774         (_IO_file_init): Remove, not for internal use.
1775         (_IO_new_file_init): Remove, not for internal use.
1776         (_IO_new_file_init_internal): Declare, internal replacement for
1777         _IO_new_file_init.
1778         (_IO_old_file_init): Remove, not for internal use.
1779         (_IO_old_file_init_internal): Declare, internal replacement for
1780         _IO_old_file_init.
1781         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1782         internal use.
1783         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1784         Declare.
1785         (libio_vtable): New macro.
1786         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1787         functions.
1788         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1789         _IO_new_file_init.
1790         (_IO_new_file_init): New externally visible wrapper which disables
1791         vtable verification.
1792         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1793         Define as vtables.
1794         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1795         (_IO_init): New externally visible wrapper which disables
1796         vtable verification.
1797         * libio/iofdopen.c (_IO_new_fdopen): Call
1798         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1799         comment.
1800         * libio/iofopen.c (__fopen_internal): Call
1801         _IO_new_file_init_internal instead of _IO_file_init.
1802         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1803         Define as vtables.
1804         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1805         _IO_new_file_init_internal instead of _IO_file_init.
1806         * libio/iopopen.c (_IO_new_popen): Likewise.
1807         (_IO_proc_jumps): Define as vtable.
1808         * libio/iovdprintf.c (_IO_vdprintf): Call
1809         _IO_new_file_init_internal instead of _IO_file_init.
1810         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1811         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1812         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1813         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1814         _IO_old_file_init.
1815         (_IO_old_file_init): New externally visible wrapper which disables
1816         vtable verification.
1817         (_IO_old_file_jumps): Define as vtable.
1818         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1819         _IO_old_file_init_internal instead of _IO_old_file_init.
1820         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1821         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1822         (_IO_old_proc_jumps): Define as vtable.
1823         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1824         Define as vtables.
1825         * libio/vtables.c: New file.
1826         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1827         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1828         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1829         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1830         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1831         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1832         instead of _IO_init.
1834 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1836         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1838 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1840         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1841         potentially unused.
1843 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1845         * test-skeleton.c (write_message): New function.
1846         * malloc/tst-mallocfork2.c (write_message): Remove.
1847         * debug/tst-longjmp_chk2.c (write_indented): New function.
1848         (write_message): Remove.
1849         (stackoverflow_handler): Call write_indented.
1851 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1853         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1854         "inexact" exceptions after fnstenv.
1855         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1856         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1857         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1859 2015-06-22  Zack Weinberg  <zackw@panix.com>
1861         * sysdeps/generic/bits/hwcap.h: Moved to ...
1862         * bits/hwcap.h: Here.
1864 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1866         * sysdeps/aarch64/memcpy.S (memcpy):
1867         Further tuning for performance.
1869 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1871         [BZ #20284]
1872         * malloc/arena.c (reused_arena): Do not return NULL if we start
1873         out with a non-corrupted arena.
1875 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1877         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1878         * misc/tst-preadvwritev.c: New file.
1879         * misc/tst-preadvwritev64.c: Likewise.
1880         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1881         usage.
1882         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1883         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1884         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1885         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1887 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1889         [BZ #19654]
1890         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1891         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1892         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1893         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1894         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1895         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1896         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1897         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1898         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1899         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1900         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1901         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1902         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1903         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1904         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1905         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1906         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1907         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1908         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1909         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1910         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1911         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1912         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1913         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1914         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1915         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1917 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1919         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1920         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1922 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1924         * sysdeps/aarch64/memcpy.S (memcpy):
1925         Rewrite of optimized memcpy and memmove.
1926         * sysdeps/aarch64/memmove.S (memmove): Remove
1927         memmove code (merged into memcpy.S).
1929 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1931         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1932         * sysdeps/generic/dl-dtv.h: New file.
1933         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1934         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1935         (dtv_t): Remove.
1936         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1937         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1938         (dtv_t): Remove.
1939         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1940         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1941         (dtv_t): Remove.
1942         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1943         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1944         (dtv_t): Remove.
1945         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1946         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1947         (dtv_t): Remove.
1948         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1949         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1950         (dtv_t): Remove.
1951         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1952         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1953         (dtv_t): Remove.
1954         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1955         (dtv_t): Remove.
1956         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1957         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1958         (dtv_t): Remove.
1959         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1960         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1961         (dtv_t): Remove.
1962         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1963         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1964         (dtv_t): Remove.
1965         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1966         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1967         (dtv_t): Remove.
1968         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1969         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1970         (dtv_t): Remove.
1971         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1972         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1973         (dtv_t): Remove.
1974         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1975         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1976         (dtv_t): Remove.
1977         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1978         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1979         (dtv_t): Remove.
1981 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1983         Revert symbol poisoning of  __malloc_initialize_hook.
1984         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1985         poisoning.
1986         * malloc/Makefile: Remove un-poisoning.
1987         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1988         instead of old__malloc_initialize_hook.
1989         * malloc/malloc-hooks.h: Likewise.
1990         * malloc/malloc.c: Likewise.
1991         * malloc/mcheck-init.c: Likewise.
1993 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1995         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1997 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1999         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2000         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2001         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2002         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2004 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2006         * NEWS: Mention addition of nextup and nextdown.
2007         * manual/arith.texi: Document nextup and nextdown.
2008         * manual/libm-err-tab.pl: Add nextup and nextdown.
2009         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2010         * math/Versions (libm): Add GLIBC_2.24.
2011         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2012         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2013         Add new test.
2014         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2015         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2016         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2017         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2018         (nextup_test_data): Likewise.
2019         (nextdown_test_data): Likewise.
2020         * math/s_nextdown.c: New file.
2021         * math/s_nextdownf.c: Likewise.
2022         * math/s_nextdownl.c: Likewise.
2023         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2024         F(nextup): New function.
2025         F(nextdown): Likewise.
2026         * math/tgmath.h: Add nextup and nextdown.
2027         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2028         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2029         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2030         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2031         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2033         Add nextup and nextdown.
2034         (CFLAGS-nldbl-nextup.c): New variable.
2035         (CFLAGS-nldbl-nextdown.c): Likewise.
2036         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2037         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2038         * sysdeps/nacl/libm.abilist: Update.
2039         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2040         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2041         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2042         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2043         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2044         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2045         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2046         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2047         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2048         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2049         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2050         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2053         Likewise.
2054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2056         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2057         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2058         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2059         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2065         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2066         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2068 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2070         * manual/pattern.texi: Fix typos & grammar errors.
2072 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2074         * manual/search.texi: Fix typos & grammar errors.
2076 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2078         * manual/message.texi: Fix typos & grammar errors.
2080 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2082         * manual/contrib.texi: Fix spelling typos.
2083         * manual/crypt.texi: Likewise.
2084         * manual/filesys.texi: Likewise.
2085         * manual/locale.texi: Likewise.
2086         * manual/message.texi: Likewise.
2087         * manual/nss.texi: Likewise.
2088         * manual/string.texi: Likewise.
2090 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2092         * manual/locale.texi: Fix typos & grammar errors.
2094 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2096         * manual/charset.texi: Fix typos & grammar errors.
2098 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2100         * manual/string.texi: Fix typos.
2102 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2104         * manual/ctype.texi: Fix typos.
2106 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2108         * manual/memory.texi: Fix various typos & grammar errors.
2110 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2112         [BZ #20255]
2113         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2114         * math/libm-test.inc (fdim_test_data): Add another test.
2116         [BZ #6796]
2117         [BZ #20255]
2118         [BZ #20256]
2119         * math/s_fdim.c: Include <math_private.h>.
2120         (__fdim): Use math_narrow_eval on result.
2121         * math/s_fdimf.c: Include <math_private.h>.
2122         (__fdimf): Use math_narrow_eval on result.
2123         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2124         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2125         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2126         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2127         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2128         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2129         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2130         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2131         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2132         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2133         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2134         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2135         overflow.  Add sNaN tests.
2137         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2138         fpclassify.
2139         * math/s_fdimf.c (__fdimf): Likewise.
2140         * math/s_fdiml.c (__fdiml): Likewise.
2142 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2144         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2145         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2147         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2148         ifunc'ed strcasecmp/strncasecmp.
2149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2150         [EALIGN]: Removed.
2151         [END]: Likewise.
2152         [__strcasecmp]: Define instead of the above to control symbol name.
2153         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2154         for __strcasecmp_power8.
2155         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2156         for __strncasecmp_power8.
2157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2159         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2160         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2161         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2162         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2164 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2166         [BZ #20252]
2167         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2168         arguments when second argument is a NaN.
2169         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2170         qNaN tests.
2172         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2173         (conj_test_data): Likewise.
2174         (copysign_test_data): Likewise.
2175         (creal_test_data): Likewise.
2176         (fma_test_data): Likewise.
2177         (fmod_test_data): Likewise.
2179         [BZ #20250]
2180         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2181         itself.
2182         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2183         zero input to itself.
2184         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2185         Likewise.
2186         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2187         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2188         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2189         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2190         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2192 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2194         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2195         * nptl/tst-cancel4-common.c: New file.
2196         * nptl/tst-cancel4-common.h: Likewise.
2197         * nptl/tst-cancel4.c: Move common definitions to
2198         tst-cancel4-common.{c,h} file.
2199         * nptl/tst-cancel4_1.c: New test.
2200         * nptl/tst-cancel4_2.c: New test.
2202 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2204         [BZ #20248]
2205         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2206         (write_message): New function.
2207         (stackoverflow_handler): Call it instead of printf, to avoid
2208         excessive stack usage by printf.
2209         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2211 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2213         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2214         (prio_inherit_missing): Remove define.
2215         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2216         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2220         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2221         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2222         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2223         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2224         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2226 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2228         [BZ #19670]
2229         [BZ #19672]
2231         * io/test-lfs.c (do_prepare): Use xmalloc.
2232         * io/tst-fcntl.c (do_prepare): Likewise.
2233         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2234         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2235         * login/tst-utmp.c (do_prepare): Likewise.
2236         * posix/tst-exec.c (do_prepare): Likewise.
2237         * posix/tst-pathconf.c (prepare): Likewise.
2238         * posix/tst-spawn.c (do_prepare): Likewise.
2239         * posix/tst-truncate.c (do_prepare): Likewise.
2240         * rt/tst-aio.c (do_prepare): Likewise.
2241         * rt/tst-aio64.c (do_prepare): Likewise.
2243 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2245         [BZ #20237]
2246         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2247         (get*ent): Set entidx to NULL during initialization.  If entidx is
2248         NULL, start iteration from the beginning.
2250 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2252         * malloc/malloc.c (musable): Return correct size for dumped fake
2253         mmapped chunk.
2255 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2257         [BZ #20222]
2258         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2259         (_IO_cookie_write): Likewise.
2260         (_IO_cookie_seek): Likewise.
2261         (_IO_cookie_close): Likewise.
2262         (_IO_old_cookie_seek): Likewise.
2263         (set_callbacks): New function.
2264         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2266 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2268         * locale/programs/localedef.c (oldstyle_tables): Remove.
2269         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2271 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2273         [BZ #20240]
2274         * math/Makefile (CFLAGS-s_modf.c): New variable.
2275         (CFLAGS-s_modff.c): Likewise.
2276         (CFLAGS-s_modfl.c): Likewise.
2277         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2279 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2281         [BZ #20215]
2282         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2283         [!__GNUC_PREREQ (3,2)]: Likewise.
2285 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2287         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2288         (msghdr.msg_controllen): Likewise.
2289         (cmsghdr.cmsg_len): Likewise.
2290         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2291         ptw-oldsendmsg.
2292         (CFLAGS-oldrecvmsg.c): Remove rule.
2293         (CFLAGS-oldsendmsg.c): Likewise.
2294         (CFLAGS-recvmsg.c): Add rule.
2295         (CFLAGS-sendmsg.c): Likewise.
2296         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2297         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2298         (CFLAGS-recvmsg.c): Remove rule.
2299         (CFLAGS-sendmsg.c): Likewise.
2300         (CFLAGS-oldrecvmsg.c): Likewise.
2301         (CFLAGS-oldsendmsg.c): Likewise.
2302         (CFLAGS-recvmmsg.c): Likewise.
2303         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2304         to kernel defined interfaces.
2305         (msghdr.msg_controllen): Likewise.
2306         (cmsghdr.cmsg_len): Likewise.
2307         (msghdr.__glibc_reserved1): Remove member.
2308         (msghdr.__glibc_reserved2): Likewise.
2309         (cmsghdr.__glibc_reserved1): Likewise.
2310         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2311         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2312         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2313         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2314         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2315         version.
2316         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2317         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2318         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2319         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2320         Remove recvmsg and sendmsg.
2321         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2322         Likewise.
2323         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2324         Likewise.
2325         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2326         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2327         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2328         Likewise.
2329         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2330         Likewise.
2331         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2332         [libc] (GLIBC_2.24): Likewise.
2333         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2334         Likewise.
2335         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2336         Likewise.
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2338         [libc] (GLIBC_2.24): Likewise.
2339         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2340         Likewise.
2341         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2342         Likewise.
2343         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2344         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2345         Likewise.
2346         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2347         Likewise.
2348         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2349         Likewise.
2350         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2351         Likewise.
2352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2353         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2354         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2355         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2356         version for {recv,send,recm,sendm}msg.
2357         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2360         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2361         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2362         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2363         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2365         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2366         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2367         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2368         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2370         Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2372         Likewise.
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2375         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2376         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2378         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2379         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2380         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2383         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2384         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2385         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2387 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2389         [BZ #19564]
2390         Remove __malloc_initialize_hook from the API.
2391         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2392         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2393         #pragma GCC poison.
2394         * malloc/malloc-hooks.h: New file.
2395         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2396         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2397         (old__malloc_initialize_hook): Rename from
2398         __malloc_initialize_hook to evade poisoning.  Turn into compat
2399         symbol.
2400         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2401         __malloc_initialize_hook.
2402         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2403         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2404         * manual/memory.texi (Hooks for Malloc): Remove
2405         __malloc_initialize_hook.  Adjust hook example.
2407 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2409         [BZ #20235]
2410         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2411         itself.
2412         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2413         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2415         [BZ #20234]
2416         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2417         infinity or NaN input to itself.
2419         [BZ #20233]
2420         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2421         to itself.
2423         [BZ #20232]
2424         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2425         itself.
2427 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2429         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2430         __libc_start_main via GOT.
2432 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2434         * sysdeps/x86_64/memcopy.h: New file.
2435         * sysdeps/x86_64/wordcopy.c: Likewise.
2437 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2439         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2440         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2441         <cstdlib>.
2442         (optimization_barrier): New.
2443         (do_test): Use it.  Call quick_exit in the global namespace.
2444         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2445         instead of <cstdlib>, <thread>.
2446         (optimization_barrier): New.
2447         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2448         Call quick_exit in the global namespace.
2449         (do_test): Call optimization_barrier.  Use pthread_create,
2450         pthread_join instead of std::thread.
2452 2016-06-09  Andreas Schwab  <schwab@suse.de>
2454         [BZ #19755]
2455         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2456         new entries in auto-propagate mode.
2457         * nscd/grpcache.c (cache_addgr): Likewise.
2459 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2461         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2462         New functions.
2463         (add_temp_file): Use them.
2465 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2467         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2469 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2471         [BZ #20229]
2472         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2473         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2474         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2476         [BZ #20228]
2477         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2478         itself.
2479         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2480         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2482         [BZ #20227]
2483         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2484         itself.
2485         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2486         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2487         * math/libm-test.inc (log_test_data): Add sNaN tests.
2489         [BZ #20226]
2490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2491         itself.
2492         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2493         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2494         (exp10_test_data): Likewise.
2495         (expm1_test_data): Likewise.
2497         [BZ #20225]
2498         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2499         itself.
2500         * math/s_ldexpf.c (__ldexpf): Likewise.
2501         * math/s_ldexpl.c (__ldexpl): Likewise.
2502         * math/w_scalbln.c (__w_scalbln): Likewise.
2503         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2504         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2505         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2506         (scalbln_test_data): Likewise.
2508         [BZ #20224]
2509         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2510         argument to itself.
2511         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2513 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2515         [BZ #19776]
2516         * sysdeps/x86_64/memcpy.S: Make it dummy.
2517         * sysdeps/x86_64/mempcpy.S: Likewise.
2518         * sysdeps/x86_64/memmove.S: New file.
2519         * sysdeps/x86_64/memmove_chk.S: Likewise.
2520         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2521         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2522         * sysdeps/x86_64/memmove.c: Removed.
2523         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2524         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2525         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2526         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2527         Likewise.
2528         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2529         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2531         memcpy-sse2-unaligned, memmove-avx-unaligned,
2532         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2534         (__libc_ifunc_impl_list): Replace
2535         __memmove_chk_avx512_unaligned_2 with
2536         __memmove_chk_avx512_unaligned.  Remove
2537         __memmove_chk_avx_unaligned_2.  Replace
2538         __memmove_chk_sse2_unaligned_2 with
2539         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2540         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2541         with __memmove_avx512_unaligned.  Replace
2542         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2543         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2544         with __memcpy_chk_avx512_unaligned.  Remove
2545         __memcpy_chk_avx_unaligned_2.  Replace
2546         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2547         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2548         Replace __memcpy_avx512_unaligned_2 with
2549         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2550         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2551         with __mempcpy_chk_avx512_unaligned.  Remove
2552         __mempcpy_chk_avx_unaligned_2.  Replace
2553         __mempcpy_chk_sse2_unaligned_2 with
2554         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2555         Replace __mempcpy_avx512_unaligned_2 with
2556         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2557         Replace __mempcpy_sse2_unaligned_2 with
2558         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2559         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2560         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2561         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2562         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2563         (ENTRY): Removed.
2564         (END): Likewise.
2565         (ENTRY_CHK): Likewise.
2566         (libc_hidden_builtin_def): Likewise.
2567         Don't include ../memcpy.S.
2568         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2569         __memcpy_chk_avx512_unaligned_erms and
2570         __memcpy_chk_avx512_unaligned.  Use
2571         __memcpy_chk_avx_unaligned_erms and
2572         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2573         Default to __memcpy_chk_sse2_unaligned.
2574         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2575         Change function suffix from unaligned_2 to unaligned.
2576         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2577         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2578         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2579         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2580         (ENTRY): Removed.
2581         (END): Likewise.
2582         (ENTRY_CHK): Likewise.
2583         (libc_hidden_builtin_def): Likewise.
2584         Don't include ../mempcpy.S.
2585         (mempcpy): New.  Add a weak alias.
2586         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2587         __mempcpy_chk_avx512_unaligned_erms and
2588         __mempcpy_chk_avx512_unaligned.  Use
2589         __mempcpy_chk_avx_unaligned_erms and
2590         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2591         Default to __mempcpy_chk_sse2_unaligned.
2593 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2595         [BZ #19881]
2596         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2597         into ...
2598         * sysdeps/x86_64/memset.S: This.
2599         (__bzero): Removed.
2600         (__memset_tail): Likewise.
2601         (__memset_chk): Likewise.
2602         (memset): Likewise.
2603         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2604         defined.
2605         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2606         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2607         (__memset_zero_constant_len_parameter): Check SHARED instead of
2608         PIC.
2609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2610         memset-avx2 and memset-sse2-unaligned-erms.
2611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2612         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2613         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2614         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2615         (__bzero): Enabled.
2616         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2617         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2618         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2619         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2620         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2621         (memset): Removed.
2622         (__memset_chk): Likewise.
2623         (MEMSET_SYMBOL): New.
2624         (libc_hidden_builtin_def): Replace __memset_sse2 with
2625         __memset_sse2_unaligned.
2626         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2627         __memset_chk_sse2 and __memset_chk_avx2 with
2628         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2629         Use __memset_chk_sse2_unaligned_erms or
2630         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2631         __memset_chk_avx512_unaligned_erms and
2632         __memset_chk_avx512_unaligned.
2634 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2636         * math/gen-auto-libm-test.c (fp_format_desc): remove
2637         suffix member.
2638         (output_generic_value): Remove usage of suffix member,
2639         and the resulting unuse of the fp_format argument.
2640         (output_for_one_input_case): Remove unused fp_format
2641         parameter.
2643         * math/auto-libm-test-out: Regenerate.
2645         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2646         usage with TEST_COND_ibm128.
2647         (TEST_COND_flt_32): Remove.
2648         (TEST_COND_dbl_64): Remove.
2649         (TEST_COND_ldbl_96_intel): Remove.
2650         (TEST_COND_ldbl_96_m68k): Remove.
2651         (TEST_COND_ldbl_128): Remove.
2653 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2655         * auto-libm-test-in:
2656         Replace flt-32 usage with binary32.
2657         Replace dbl-64 usage with binary64.
2658         Replace ldbl-intel-96 usage with intel96.
2659         Replace ldbl-m68k-96 usage with m68k96.
2660         Replace ldbl-128ibm usage with ibm128.
2661         Replace ldbl-128 usage with binary128.
2663         * auto-libm-test-out: Regenerate.
2665 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2667         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2668         (parse_ulps): Dynamically generate type name matching
2669         string from all_floats.
2670         (get_ulps): Generate the ulps as an array instead.
2671         (output_ulps): Dynamically compose the type based
2672         on the number of supported formats, and print
2673         the indices as type specific helper macros.
2675         * math/libm-test.inc: Remove comment about CHOOSE.
2676         (ulp_data): Generate the type in libm-test-ulps.h.
2677         (ULP_IDX): New macro.
2678         (find_ulps): Update usage of max_ulp.
2680         * math/test-double-vlen2.h (CHOOSE): Remove.
2681         * math/test-double-vlen4.h (CHOOSE): Likewise.
2682         * math/test-double-vlen8.h (CHOOSE): Likewise.
2683         * math/test-float.c (CHOOSE): Likewise.
2684         * math/test-float-finite.c (CHOOSE): Likewise.
2685         * math/test-double.c (CHOOSE): Likewise.
2686         * math/test-double-finite.c (CHOOSE): Likewise.
2687         * math/test-idouble.c (CHOOSE): Likewise.
2688         * math/test-ifloat.c (CHOOSE): Likewise.
2689         * math/test-ildoubl.c (CHOOSE): Likewise.
2690         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2691         * math/test-ldouble.c (CHOOSE): Likewise.
2693         * math/test-float.h (TEST_FLOAT): Remove.
2694         * math/test-double.h (TEST_DOUBLE): Likewise.
2695         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2697 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2699         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2700         (parse_args): Strip C suffix from floating point literals
2701         typed with 'f' and wrap them with LIT().
2703         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2704         (test_ff_f_data_nexttoward): Rename to
2705         (test_fj_f_data): New struct.
2706         (nexttoward_test_data): Relabel tests as
2707         TEST_fj_f instead of TEST_ff_f.
2709 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2711         Emacs bug 23726.
2712         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2713         (__libc_realloc): Correct size computation for dumped fake mmapped
2714         chunks.
2716 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2718         [BZ #20219]
2719         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2720         to itself.
2721         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2723         [BZ #20218]
2724         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2725         to itself.
2726         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2728 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2730         [BZ #20195]
2731         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2732         check to ...
2733         (init_cpu_features): Here.
2735 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2737         [BZ #20214]
2738         * sysdeps/unix/sysv/linux/bits/in.h
2739         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2740          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2741         Define to 1.
2742         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2743          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2744         Define to 0.
2745         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2746         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2748 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2750         [BZ #20198]
2751         * stdlib/Makefile (tests): Add tst-quick_exit, and
2752         tst-thread-quick_exit.
2753         [ifeq ($(have-cxx-thread_local),yes)]
2754         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2755         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2756         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2757         (LDLIBS-tst-thread-quick_exit): Likewise.
2758         [ifneq ($(have-cxx-thread_local),yes)]
2759         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2760         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2761         If run_dtors is true call __call_tls_dtors.
2762         (exit): Call __run_exit_handlers with run_dtors set to true.
2763         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2764         definition.
2765         * stdlib/quick_exit.c (quick_exit): Remove function.
2766         (__new_quick_exit): New function.
2767         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2768         function.
2769         * stdlib/tst-quick_exit.cc: New file.
2770         * stdlib/tst-thread-quick_exit.cc: New file.
2771         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2772         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2773         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2774         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2775         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2776         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2777         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2778         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2779         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2780         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2781         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2782         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2783         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2784         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2785         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2786         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2791         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2792         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2793         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2794         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2795         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2799         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2800         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2802 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2804         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2805         a typo in comments.
2807 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2809         [BZ #20213]
2810         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2811         argument to itself.
2812         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2814 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2816         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2817         required flags.
2818         (CFLAGS-pwritev64.c): Likewise.
2819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2821         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2822         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2823         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2824         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2825         syscall from auto-generation.
2826         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2827         [WORDSIZE == 64] (pwritev64): Remove macro.
2828         [!PWRITEV] (PWRITEV): Likewise.
2829         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2830         [!PWRITEV] (PWRITE): Likewise.
2831         [!PWRITEV] (OFF_T): Likewise.
2832         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2833         (LO_HI_LONG): Remove macro.
2834         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2835         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2836         (PWRITEV): Remove macro.
2837         (PWRITEV_REPLACEMENTE): Likewise.
2838         (PWRITE): Likewise.
2839         (OFF_T): Likewise.
2840         (pwritev64): New function.
2841         * nptl/tst-cancel4.c (tf_writev): Add test.
2843         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2844         required flags.
2845         (CFLAGS-preadv64.c): Likewise.
2846         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2847         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2848         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2849         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2850         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2851         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2852         syscall from auto-generation.
2853         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2854         [WORDSIZE == 64] (preadv64): Remove macro.
2855         [!PREADV] (PREADV): Likewise.
2856         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2857         [!PREADV] (PREAD): Likewise.
2858         [!PREADV] (OFF_T): Likewise.
2859         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2860         (LO_HI_LONG): Remove macro.
2861         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2862         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2863         (PREADV): Remove macro.
2864         (PREADV_REPLACEMENTE): Likewise.
2865         (PREAD): Likewise.
2866         (OFF_T): Likewise.
2867         (preadv64): New function.
2868         * nptl/tst-cancel4.c (tf_preadv): Add test.
2870 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2872         [BZ #20212]
2873         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2874         argument to itself.
2875         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2877 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2879         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2880         New symbol defined as libc_hidden_def.
2881         (strcasestr): Became a weak alias to __strcasestr.
2882         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2883         according to multi-arch support.  Move __stpncpy hidden
2884         definition from here to...
2885         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2886         symbol stpncpy.
2887         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2888         libc_hidden_builtin_def.
2889         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2890         memset symbol to use when multi-arch support is available.
2892 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2894         * dlfcn/tst-rec-dlopen.c: Include string.h.
2896 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2898         * manual/install.texi: Remove mention of --without-tls
2899         * INSTALL: Regenerate.
2901 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2903         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2904         Remove.
2905         (call_function, interposed_malloc_called): New variables.
2906         (malloc): New function.
2907         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2908         and clear call_function as needed.
2910 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2912         * include/wchar.h (__wmemset): Use __typeof.
2914 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2916         * include/wchar.h (__wmemset): Declare function without typeof.
2918 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2920         [BZ #20205]
2921         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2922         exponent when incrementing negative subnormal with low mantissa
2923         word zero.
2924         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2925         Add another test.
2927 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2929         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2930         __wmemset instead of wmemset.
2932 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2934         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2935         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2936         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2937         __USE_KERNEL_IPV6_DEFS to 0.
2938         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2939         Update comment.
2941 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2943         [BZ #19861]
2944         Do not use IFUNC resolver with potentially unrelocated symbol.
2945         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2946         (DEFINE_FORK): Remove macro and inline definition.
2947         (fork_alias): Renamed from fork_ifunc.
2948         (__fork_alias): Renamed from __fork_ifunc.
2950 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2952         [BZ 19653]
2953         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2954         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2956 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2958         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2959         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2960         i386-linux-gnu).
2961         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2962         Set to no.
2963         * sysdeps/mach/hurd/configure: Refresh.
2965 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2967         [BZ #20178]
2968         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2969         on failure instead of exit.
2971 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2973         [BZ #3629]
2974         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2975         of POSIX.1-2008.
2977 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2979         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2980           Use PLT entry for calling _hurd_self_sigstate.
2982 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2984         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2985         available logical processors with SMT level type sharing L2
2986         cache for Intel processors.
2988 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #20160]
2991         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2992         argument to itself before returning the result.
2993         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2994         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2995         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2997         Likewise.
2998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2999         Likewise.
3000         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3001         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3002         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3003         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3004         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3005         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3007         [BZ #20160]
3008         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3009         argument to itself before returning the result.
3010         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3011         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3012         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3013         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3014         Likewise.
3015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3016         Likewise.
3017         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3018         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3019         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3020         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3021         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3022         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3024 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3026         * libm-test.inc: Replace usage of M_El with
3027         (lit_e): New macro.
3029 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3031         * libm-test.inc: Replace usage of M_PI_4l with
3032         (lit_pi_4_d): New macro.
3034 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3036         * libm-test.inc: Replace usage of M_PIl with
3037         (lit_pi): New macro.
3039 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3041         * libm-test.inc: Replace usage of M_PI2l with
3042         (lit_pi_2_d): New macro.
3044         * math/test-double.h (LITM): New macro.
3045         * math/test-float.h (LITM): Likewise.
3046         * math/test-ldouble.h (LITM): Likewise.
3048 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3050         * libm-test.inc (M_PI_34l): Rename to
3051         (lit_pi_3_m_4_d): New Macro.
3052         (M_PI_34_LOG10El): Rename to
3053         (lit_pi_3_m_4_ln10_m_d): New Macro.
3054         (M_PI2_LOG10El): Rename to
3055         (lit_pi_2_ln10_m_d):  New Macro.
3056         (M_PI4_LOG10El): Rename to
3057         (lit_pi_4_ln10_m_d):  New Macro.
3058         (M_PI_LOG10El): Rename to
3059         (lit_pi_ln10_d):  New Macro.
3061 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3063         [BZ #20157]
3064         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3065         determine whether to negate low half if [_ARCH_PPCGR], and integer
3066         comparison otherwise.
3067         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3068         determine whether to negate low half.
3070         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3071         (NO_TEST_INLINE_DOUBLE): Likewise.
3072         (TEST_COND_x86_64): Likewise.
3073         (TEST_COND_x86): Likewise.
3074         (M_PI_6l): Likewise.
3076 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3078         * math/libm-test.inc:
3079         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3080         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3081         (TEST_LDOUBLE): Update usage to evaluate as true if
3082         the guarded tests match the property being tested.
3083         (LDBL_MAX_EXP): Change to MAX_EXP.
3084         (LDBL_MIN_EXP): Change to MIN_EXP.
3085         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3086         nexttoward tests.
3088 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3090         * math/libm-test.inc:
3091         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3092         (TYPE_MIN): Likewise.
3093         (TYPE_TRUE_MIN): Likewise.
3094         (TYPE_MAX): Likewise.
3095         (MIN_EXP): Likewise.
3096         (MAX_EXP): Likewise.
3097         (MANT_DIG): Likewise.
3099         (FSTR_MAX): New macro.
3100         (__CONCATX): Likewise.
3101         (QTYPE_STR): Likewise.
3102         (TEST_COND_binary32): Likewise.
3103         (TEST_COND_binary64): Likewise.
3104         (TEST_COND_binary128): Likewise.
3105         (TEST_COND_ibm128): Likewise.
3106         (TEST_COND_intel96): Likewise.
3107         (TEST_COND_m68k96): Likewise.
3109         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3110         (TEST_COND_dbl_64): Likewise.
3111         (TEST_COND_ldbl_96_intel): Likewise.
3112         (TEST_COND_ldbl_96_m68k): Likewise.
3113         (TEST_COND_ldbl_128): Likewise.
3114         (TEST_COND_ldbl_128ibm): Likewise.
3116         (plus_zero): Redefine using LIT macro.
3117         (minus_zero): Likewise.
3118         (plus_infty): Redefine as (INF).
3119         (minux_infty): Redefine as (-INF).
3120         (max_value): Redefine as TYPE_MAX.
3121         (min_value): Redefine as TYPE_MIN.
3122         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3124         (print_float): Refactor to use snprintf to convert FLOAT values
3125         to string. This brings it closer to dropin replacement of strtof
3126         for the TS 18661 defined types.
3127         (update_stats): Likewise.
3128         (print_complex_function_ulps): Likewise.
3129         (print_max_error): Likewise.
3130         (print_complex_max_error): Likewise.
3131         (check_float_internal): Likewise.
3133         * math/test-float.h (PREFIX): New macro.
3134         (LIT): Likewise.
3135         (TYPE_STR): Likewise.
3136         (FTOSTR): Likewise.
3138         * math/test-double.h (PREFIX): New macro.
3139         (LIT): Likewise.
3140         (TYPE_STR): Likewise.
3141         (FTOSTR): Likewise.
3143         * math/test-ldouble.h (PREFIX): New macro.
3144         (LIT): Likewise.
3145         (TYPE_STR): Likewise.
3146         (FTOSTR): Likewise.
3148 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3150         [BZ #20156]
3151         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3152         to itself when zero or not finite.
3153         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3154         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3155         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3156         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3158 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3160         [BZ #20153]
3161         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3162         x * x + x for infinities and NaNs.
3164         [BZ #20151]
3165         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3166         argument to itself before returning result.
3167         (__ieee754_y0l): Likewise.
3168         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3169         (__ieee754_y1l).
3171         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3172         (atan_test_data): Likewise.
3173         (ceil_test_data): Likewise.
3174         (cos_test_data): Likewise.
3175         (cosh_test_data): Likewise.
3176         (erf_test_data): Likewise.
3177         (exp2_test_data): Likewise.
3178         (fabs_test_data): Likewise.
3179         (floor_test_data): Likewise.
3180         (ilogb_test_data): Likewise.
3181         (j0_test_data): Likewise.
3182         (j1_test_data): Likewise.
3183         (jn_test_data): Likewise.
3184         (lgamma_test_data): Likewise.
3185         (lrint_test_data): Likewise.
3186         (llrint_test_data): Likewise.
3187         (logb_test_data): Likewise.
3188         (lround_test_data): Likewise.
3189         (llround_test_data): Likewise.
3190         (nearbyint_test_data): Likewise.
3191         (rint_test_data): Likewise.
3192         (round_test_data): Likewise.
3193         (sin_test_data): Likewise.
3194         (sincos_test_data): Likewise.
3195         (sinh_test_data): Likewise.
3196         (sqrt_test_data): Likewise.
3197         (tan_test_data): Likewise.
3198         (tanh_test_data): Likewise.
3199         (tgamma_test_data): Likewise.
3200         (trunc_test_data): Likewise.
3201         (y0_test_data): Likewise.
3202         (y1_test_data): Likewise.
3203         (yn_test_data): Likewise.
3205         * math/libm-test.inc: Update comment about NaN testing.
3206         (TEST_SNAN): New macro.
3207         (snan_value): Likewise.
3208         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3209         (fpclassify_test_data): Add sNaN tests.
3210         (isfinite_test_data): Likewise.
3211         (isinf_test_data): Likewise.
3212         (isnan_test_data): Likewise.
3213         (isnormal_test_data): Likewise.
3214         (issignaling_test_data): Likewise.
3215         (signbit_test_data): Likewise.
3216         * math/gen-libm-test.pl (%beautify): Add snan_value.
3217         (show_exceptions): Add argument $test_snan.
3218         (parse_args): Handle snan_value as non-finite.  Update call to
3219         show_exceptions.
3220         * math/Makefile (libm-test-no-inline-cflags): Add
3221         -fsignaling-nans.
3223 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3225         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3226         (CFLAGS-oldsendmsg.c): Add rule.
3227         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3228         Correct recvmsg symbol name.
3229         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3230         Likewise.
3232 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3234         * sysdeps/unix/sysv/linux/Makefile
3235         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3236         oldsendmmsg.
3237         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3238         sendmmsg.
3239         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3240         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3241         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3242         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3244         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3245         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3247         Likewise.
3248         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3249         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3250         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3251         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3252         iovlen and controllen fields to adjust to POSIX specification.
3253         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3255         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3256         and change to correct expected type.
3257         (msghdr.msg_controllen): Likewise.
3258         (cmsghdr.cmsg_len): Likewise.
3259         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3260         expected POSIX assumption about the size.
3261         (msghdr.msg_controllen): Likewise.
3262         (msghdr.__glibc_reserved1): Likewise.
3263         (msghdr.__glibc_reserved2): Likewise.
3264         (cmsghdr.cmsg_len): Likewise.
3265         (cmsghdr.__glibc_reserved1): Likewise.
3266         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3267         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3268         (CFLAGS-sendmsg.c): Remove rule.
3269         (CFLAGS-recvmsg.c): Likewise.
3270         (CFLAGS-oldsendmsg.c): Add rule.
3271         (CFLAGS-oldrecvmsg.c): Likewise.
3272         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3273         recvmsg and sendmsg.
3274         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3275         Likewise.
3276         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3277         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3278         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3279         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3280         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3281         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3282         Likewise.
3283         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3284         Likewise.
3285         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3286         Likewise.
3287         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3288         Likewise.
3289         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3290         Likewise.
3291         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3292         Likewise.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3294         (GLIBC_2.24): Likewise.
3295         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3296         Likewise.
3297         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3298         Likewise.
3299         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3300         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3301         Likewise.
3302         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3303         Likewise.
3304         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3305         Likewise.
3306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3307         (GLIBC_2.24): Likewise.
3308         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3309         Likewise.
3310         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3311         Likewise.
3312         * sysdeps/unix/sysv/linux/Makefile
3313         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3314         (CFLAGS-sendmsg.c): Add rule.
3315         (CFLAGS-recvmsg.c): Likewise.
3316         (CFLAGS-oldsendmsg.c): Likewise.
3317         (CFLAGS-oldrecvmsg.c): Likewise.
3318         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3319         initialization.
3320         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3321         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3322         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3323         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3324         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3325         iovlen and controllen fields to adjust to POSIX specification.
3326         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3327         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3328         added recvmsg and sendmsg.
3329         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3330         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3331         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3332         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3333         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3334         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3335         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3336         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3339         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3340         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3342         Likewise.
3343         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3345         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3346         Likewise.
3347         Likewise.
3348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3349         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3350         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3351         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3352         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3353         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3355         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3357         Likewise.
3358         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3359         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3361         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3362         from auto-generation.
3363         (sendmsg): Likewise.
3364         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3365         (sendmsg): Likewise.
3366         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3367         (sendmsg): Likewise.
3368         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3369         (sendmsg): Likewise.
3370         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3371         (sendmsg): Likewise.
3372         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3373         (sendmsg): Likewise.
3374         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3375         Likewise.
3376         (sendmsg): Likewise.
3377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3378         (sendmsg): Likewise.
3379         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3381         Remove.
3382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3383         Likewise.
3384         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3385         Undefine.
3386         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/kernel-features.h
3389         (__ASSUME_SENDMSG_SYSCALL): Define.
3390         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3393         Remove.
3394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3395         Likewise.
3396         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3397         Undefine.
3398         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3399         Likewise.
3400         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3401         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3402         Remove.
3403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3404         Likewise.
3405         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3406         Undefine.
3407         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3408         Likewise.
3409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3410         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3411         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3412         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3413         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3414         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3415         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3416         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3417         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3419 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3421         * stdlib/gen-tst-strtod-round.c: Add backslash to
3422         compile command in comment.
3423         (printfp): Remove the literal suffix, and define an infinite
3424         value as INF to avoid expansion clash with INFINITY.
3425         (round_str): Remove the literal suffix.
3426         (round_for_all): Likewise, remove the now duplicate ldbl-64
3427         entry, and remove some magic constants.
3429         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3430         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3431         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3432         (_CONCAT): New macro.
3433         (CONCAT): Likewise.
3434         (CHOOSE_ld): Likewise.
3435         (CHOOSE_f): Likewise.
3436         (CHOOSE_d): Likewise.
3437         (FTYPE_MEMBER): Likewise.
3438         (BOOL_MEMBER): Likewise.
3439         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3440         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3441         (_XNTRY): Likewise.
3442         (XNTRY): Likewise.
3443         (_ENTRY): Likewise.
3444         (ENTRY): Likewise.
3445         (test_exactness): Generate members via macro.
3446         (test_results): Likewise.
3447         (test): Update members.
3448         (TEST): Redefine using new macros.
3449         (INF): New macro.
3450         (fetestmodes): New structure.
3451         (do_test): Refactor to be type generic.
3452         (test_in_one_mode): Refactor duplicate code into
3453         (GEN_ONE_TEST): New macro.
3455         * stdlib/tst-strtod-round-data.h: Regenerate.
3457         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3458         Extend to pass additional arbitrary parameters to
3459         generators.
3461 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3463         [BZ #15479]
3464         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3465         floating-point state after first floating-point operation on
3466         input.  Restore full floating-point state instead of just rounding
3467         mode.
3468         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3469         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3470         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3471         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3472         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3474         [BZ #15479]
3475         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3476         floating-point state after first floating-point operation on
3477         input.  Restore full floating-point state instead of just rounding
3478         mode.
3479         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3480         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3481         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3482         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3483         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3485 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3487         [BZ #19727]
3488         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3489         valid high surrogate.
3490         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3491         of an utf16 surrogate.
3492         * iconv/gconv_simple.c (BODY): Likewise.
3493         * iconvdata/bug-iconv12.c: New file.
3494         * iconvdata/Makefile (tests): Add bug-iconv12.
3496 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3498         [BZ #19726]
3499         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3500         outptrp in case of an illegal input.
3501         * iconv/tst-iconv6.c: New file.
3502         * iconv/Makefile (tests): Add tst-iconv6.
3504 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3506         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3507         an error in case of a value in range of an utf16 low surrogate.
3509 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3511         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3512         an error in case of a value in range of an utf16 low surrogate.
3514 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3516         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3517         Move to ...
3518         * sysdeps/s390/Makefile: ... here.
3519         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3520         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3521         (BRANCH_ON_COUNT): New define.
3522         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3523         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3524         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3525         run on s390-32, too.
3526         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3527         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3528         run on s390-32, too.
3529         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3530         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3531         run on s390-32, too.
3533 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3535         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3536         etf3eh or new vector loop-variant.
3538 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3540         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3541         etf3eh or new vector loop-variant.
3543 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3545         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3546         or new vector loop-variant.
3548 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3550         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3551         Rename to TR_LOOP and usage of tr instead of troo instruction.
3553 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3555         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3558 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3560         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3561         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3562         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3563         New override define.
3564         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3566 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3568         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3569         * sysdeps/s390/configure.ac: Add test for S390 vector register
3570         support in gcc.
3571         * sysdeps/s390/configure: Regenerated.
3573 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3575         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3576         Install file from $(objpfx)gconv-modules.
3577         ($(objpfx)gconv-modules): Concatenate architecture specific file
3578         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3579         * sysdeps/s390/gconv-modules: New file.
3580         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3581         Deleted.
3582         ($(objpfx)gconv-modules-s390): Deleted.
3583         (sysdeps-gconv-modules): New variable.
3585 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3587         [BZ #15479]
3588         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3589         of immediate operand to rounding instruction.
3590         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3591         Likewise.
3592         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3593         Likewise.
3594         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3595         Likewise.
3597 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3599         * math/libm-test.inc (MIN_EXP): Directly define as
3600         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3602 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3604         * math/libm-test.inc (MANT_DIG): Directly define as
3605         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3607 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3609         * stdlib/gen-tst-strtod-round.c (main):
3610           Change usage to more closely match the generated
3611           output.  Add usage and compilation instructions.
3612           (string_to_fp): Add and use FILE* parameter as
3613           output target.
3614           (print_fp): Likewise.
3615           (round_str): Likewise.
3616           (round_for_all): Likewise.
3617         * stdlib/tst-strtod-round.c (tests): Move into
3618         * stdlib/tst-strtod-round-data.h: New file.
3620 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3622         [BZ #15479]
3623         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3624         (__round): Do not force "inexact" exception.
3625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3626         variable.
3627         (__round): Do not force "inexact" exception.
3628         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3629         (__roundf): Do not force "inexact" exception.
3630         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3631         (__roundl): Do not force "inexact" exception.
3632         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3633         (__roundl): Do not force "inexact" exception.
3634         * math/libm-test.inc (round_test_data): Do not allow spurious
3635         "inexact" exceptions.
3637         [BZ #15479]
3638         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3639         exception in comment.
3640         (huge): Remove variable.
3641         (__floor): Do not force "inexact" exception.
3642         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3643         "inexact" exception in comment.
3644         (huge): Remove variable.
3645         (__floor): Do not force "inexact" exception.
3646         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3647         exception in comment.
3648         (huge): Remove variable.
3649         (__floorf): Do not force "inexact" exception.
3650         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3651         exception in comment.
3652         (huge): Remove variable.
3653         (__floorl): Do not force "inexact" exception.
3655         [BZ #15479]
3656         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3657         exception in comment.
3658         (huge): Remove variable.
3659         (__ceil): Do not force "inexact" exception.
3660         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3661         "inexact" exception in comment.
3662         (huge): Remove variable.
3663         (__ceil): Do not force "inexact" exception.
3664         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3665         (__ceilf): Do not force "inexact" exception.
3666         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3667         exception in comment.
3668         (huge): Remove variable.
3669         (__ceill): Do not force "inexact" exception.
3671 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3673         * config.h.in (BIND_NOW): New.
3674         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3675         * configure: Regenerated.
3676         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3677         indirect branch via the GOT slot.
3679 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3681         [BZ #19765]
3682         * sysdeps/s390/mempcpy.S: New File.
3683         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3685         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3686         Add mempcpy variants.
3687         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3688         (memcpy): Adjust to be usable from mempcpy entry point.
3689         (__memcpy_mvcle): Likewise.
3690         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3691         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3692         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3693         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3694         (__memcpy_z10): Likewise.
3695         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3697 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3699         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3700         Remove __GI_ symbol.
3701         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3702         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3703         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3704         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3705         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3706         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3708 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3710         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3711         Use cghi instead of chi to compare 64bit value.
3713 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3715         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3716         Jump to 1MB check before executing mvc-loop.
3718 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3720         [BZ #6527]
3721         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3722         unconditionally.
3723         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3725 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3727         * stdlib/tst-strtod6.c (do_test): Use new type generic
3728         invocation of the test function.
3729         (test): Refactor into ...
3730         (TEST_STRTOD): New macro base function.
3732 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3734         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3735         (TEST_STRTOD): New macro.
3736         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3738 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3740         * stdlib/tst-strtod6.c (do_test): Use new type generic
3741         invocation of the test function.
3742         (test): Refactor into ...
3743         (TEST_STRTOD): New macro base function.
3745 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3747         CVE-2016-4429
3748         [BZ #20112]
3749         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3750         payload.
3752 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3754         [BZ #20111]
3755         * bits/sockaddr.h (_SS_SIZE): Define.
3756         * bits/socket.h (_SS_SIZE): Remove.
3757         (_SS_PADSIZE): Adjust to account for all padding.
3758         (struct sockaddr_storage): Update comment.  Avoid implicit
3759         padding.
3760         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3761         (_SS_PADSIZE): Adjust to account for all padding.
3762         (struct sockaddr_storage): Update comment.  Avoid implicit
3763         padding.
3764         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3765         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3766         (_SS_PADSIZE): Adjust to account for all padding.
3767         (struct sockaddr_storage): Update comment.  Avoid implicit
3768         padding.
3769         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3770         __SS_SIZE is 126 in this version.
3771         * inet/tst-sockaddr.c: New file.
3772         * inet/Makefile (tests): Add tst-sockaddr.c
3773         (tst-sockaddr.c): Compile with non-strict aliasing.
3775 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3777         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3778         [XPG3 || XPG4].
3779         (NL_ARGMAX): Also expect for [XPG3].
3780         (NL_LANGMAX): Likewise.
3781         (NL_MSGMAX): Likewise.
3782         (NL_NMAX): Likewise.
3783         (NL_SETMAX): Likewise.
3784         (NL_TEXTMAX): Likewise.
3785         (NZERO): Likewise.
3786         (TMP_MAX): Likewise.
3787         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3788         variable.
3790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3791         (PF_MAX): Update value.
3792         (AF_KCM): New macro.
3793         (SOL_NETBEUI): Likewise.
3794         (SOL_LLC): Likewise.
3795         (SOL_DCCP): Likewise.
3796         (SOL_NETLINK): Likewise.
3797         (SOL_TIPC): Likewise.
3798         (SOL_RXRPC): Likewise.
3799         (SOL_PPPOL2TP): Likewise.
3800         (SOL_BLUETOOTH): Likewise.
3801         (SOL_PNPIPE): Likewise.
3802         (SOL_RDS): Likewise.
3803         (SOL_IUCV): Likewise.
3804         (SOL_CAIF): Likewise.
3805         (SOL_ALG): Likewise.
3806         (SOL_NFC): Likewise.
3807         (SOL_KCM): Likewise.
3808         (MSG_BATCH): New enum value and macro.
3810 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3812         [BZ #18185]
3813         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3814         sharing L2 cache to 2 for Knights Landing.
3816 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3818         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3819         (FTW_DP): Do not expect for [XPG3 || XPG4].
3820         (FTW_SL): Do not expect for [XPG3].
3821         (FTW_SLN): Likewise.
3822         (FTW_PHYS): Likewise.
3823         (FTW_MOUNT): Likewise.
3824         (FTW_DEPTH): Likewise.
3825         (FTW_CHDIR): Likewise.
3826         (nftw): Likewise.
3827         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3828         variable.
3830 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3832         * manual/errno.texi: Fix various typos & grammar errors.
3834 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3836         * manual/intro.texi: Fix duplicated typo.
3838 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3840         [BZ #13304]
3841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3842         <float.h>, <math_private.h> and <stdlib.h>.
3843         (add_split): New function.
3844         (mul_split): Likewise.
3845         (ext_val): New typedef.
3846         (store_ext_val): New function.
3847         (mul_ext_val): New function.
3848         (compare): New function.
3849         (add_split_ext): New function.
3850         (__fmal): After checking for Inf, NaN and zero, compute result as
3851         an exact sum of scaled double values in round-to-nearest before
3852         adding those up and adjusting for other rounding modes.
3853         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3854         tests of fma.
3855         * math/auto-libm-test-out: Regenerated.
3857 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3859         [BZ #20119]
3860         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3861         processor level type mask for CPUID with EAX == 11.
3863 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3865         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3866         logical threads if the HTT bit is 0.
3867         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3868         (index_cpu_HTT): Likewise.
3869         (reg_HTT): Likewise.
3871 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3873         [BZ #20115]
3874         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3875         Remove alignments on jump targets.
3877 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3879         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3880         (getpwent): Likewise.
3881         (setpwent): Likewise.
3882         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3883         variable.
3885         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3886         (remque): Likewise.
3887         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3888         variable.
3890 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3892         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3893         not being tested.
3895 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3898         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3899         call.
3900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3901         (__condvar_cleanup1): Likewise.
3903 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3905         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3906         New
3907         (__pthread_unwind): Renamed to ...
3908         (PTHREAD_UNWIND): This.
3909         (__pthread_enable_asynccancel): Replace
3910         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3912 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3914         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3915         (CLONE_NEWCGROUP): New macro.
3917         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3918         (Q_GETNEXTQUOTA): New macro.
3920 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3922         [BZ #19907]
3923         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3924         buffer updated by the previous run.
3925         * string/test-memcpy.c (do_one_test): Likewise.
3926         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3927         * string/test-memmove.c (do_one_test): Likewise.
3929 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3931         [BZ #20094]
3932         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3933         not [__USE_XOPEN].
3934         (unlockpt): Likewise.
3935         (ptsname): Likewise.
3936         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3937         variable.
3939         [BZ #20076]
3940         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3941         instead of [__USE_UNIX98].
3942         (S_ISSOCK): Likewise.
3943         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3944         variable.
3946         [BZ #20074]
3947         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3948         [__USE_POSIX].
3949         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3950         variable.
3952         [BZ #20051]
3953         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3954         (ttyslot): Do not declare.
3955         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3956         (ttyslot): New prototype.
3957         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3958         variable.
3959         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3961 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3963         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3965 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3967         Fix race condition in tst-mallocfork2, use fewer resources.
3968         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3969         to current process group.
3970         (signal_sender): Yield in the non-sleeping case.
3972 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3974         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3975         (ecvt): Likewise.
3976         (fcvt): Likewise.
3977         (gcvt): Likewise.
3978         (getsubopt): Likewise.
3979         (grantpt): Likewise.
3980         (initstate): Likewise.
3981         (l64a): Likewise.
3982         (mktemp): Likewise.
3983         (mkstemp): Likewise.
3984         (ptsname): Likewise.
3985         (random): Likewise.
3986         (realpath): Likewise.
3987         (setstate): Likewise.
3988         (srandom): Likewise.
3989         (ttyslot): Likewise.
3990         (unlockpt): Likewise.
3991         (valloc): Likewise.
3993         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3994         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3995         variable.
3997 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3999         [BZ #20072]
4000         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4001         init_cpu_features only if SHARED is defined.
4002         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4004 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4006         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4007         non-inclusive caches on Intel processors.
4009 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4011         * malloc/malloc.c (dumped_main_arena_start)
4012         (dumped_main_arena_end): New variables.
4013         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4014         (do_check_chunk): Skip dumped fake mmapped chunks.
4015         (munmap_chunk): Likewise.
4016         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4017         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4018         mmapped chunks.
4019         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4020         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4021         and dumped_main_arena_end to cover the dumped heap.
4023 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4025         * conform/data/time.h-data (getdate_err): Do not expect for
4026         [XPG3].
4027         (getdate): Likewise.
4028         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4029         variable.
4031         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4032         (F_ULOCK): Likewise.
4033         (F_TEST): Likewise.
4034         (F_TLOCK): Likewise.
4035         (useconds_t): Likewise.
4036         (intptr_t): Do not expect for [XPG3] or [XPG4].
4037         (brk): Do not expect for [XPG3]
4038         (fchown): Likewise.
4039         (fchdir): Likewise.
4040         (ftruncate): Likewise.
4041         (getdtablesize): Likewise.
4042         (gethostid): Likewise.
4043         (getpagesize): Likewise.
4044         (getpgid): Likewise.
4045         (getsid): Likewise.
4046         (getwd): Likewise.
4047         (lchown): Likewise.
4048         (lockf): Likewise.
4049         (readlink): Likewise.
4050         (sbrk): Likewise.
4051         (setpgrp): Likewise.
4052         (setregid): Likewise.
4053         (setreuid): Likewise.
4054         (symlink): Likewise.
4055         (sync): Likewise.
4056         (truncate): Likewise.
4057         (ualarm): Likewise.
4058         (usleep): Likewise.
4059         (vfork): Likewise.
4060         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4061         variable.
4063         [BZ #20054]
4064         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4065         not [__USE_UNIX98].
4066         * conform/data/unistd.h-data (gethostname): Do not expect for
4067         [XPG3].
4069         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4070         [!POSIX] (S_IFBLK): Likewise.
4071         [!POSIX] (S_IFCHR): Likewise.
4072         [!POSIX] (S_IFIFO): Likewise.
4073         [!POSIX] (S_IFREG): Likewise.
4074         [!POSIX] (S_IFDIR): Likewise.
4075         [!POSIX] (S_IFLNK): Likewise.
4076         [!POSIX] (S_IFSOCK): Likewise.
4077         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4078         variable.
4079         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4081 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4083         * sysdeps/aarch64/memset.S (__memset):
4084         Rewrite of optimized memset.
4086 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4088         [BZ #19703]
4089         Partially async-signal-safe fork for single-threaded processes.
4090         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4091         variable.  Do not acquire and reset/release malloc and libio locks
4092         in single-threaded processes.
4093         * malloc/tst-mallocfork2.c: New file.
4094         * malloc/Makefile (tests): Add it.
4096 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4098         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4099         argument.  Use scratch buffer instead of extend_alloca.
4100         (gethosts): Use scratch buffer instead of extend_alloca.
4101         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4102         extend_alloca.
4103         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4105 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4107         [BZ #20055]
4108         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4109         instead of [__USE_UNIX98].
4110         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4111         [__USE_UNIX98].
4112         * conform/data/termios.h-data (tcgetsid): Do not expect for
4113         [XPG3].
4114         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4115         variable.
4116         (test-xfail-XPG4/termios.h/conform): Likewise.
4118 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4120         Do not use mcheck in localedef.
4121         * locale/programs/localedef.c (turn_on_mcheck)
4122         (__malloc_initialize_hook): Remove.
4124 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4126         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4127         * sysdeps/s390/s390-64/Makefile: Likewise.
4129 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4131         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4132         Remove ifunc-defines.sym.
4133         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4134         Likewise.
4135         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4136         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4137         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4138         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4139         rtld-global-offsets.sym.
4140         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4141         * sysdeps/x86/cpu-features-offsets.sym: This.
4142         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4143         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4145 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4147         [BZ #20073]
4148         * io/sys/stat.h (fchmod): Declare for
4149         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4150         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4151         variable.
4153         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4154         [XPG3] (S_IFSOCK): Likewise.
4155         [XPG3] (S_ISVTX): Likewise.
4156         [XPG3] (S_ISLNK): Likewise.
4157         [XPG3] (S_ISSOCK): Likewise.
4158         [XPG3] (fchmod): Likewise.
4159         [XPG3] (lstat): Likewise.
4160         [XPG3] (mknod): Likewise.
4162         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4163         [XPG3].  Expect type long and XFAIL for [XPG4].
4164         (st_blocks): Likewise.
4166         [BZ #20044]
4167         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4168         (pthread_atfork): New prototype.
4169         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4170         variable.
4172         [BZ #20043]
4173         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4174         prototype.
4176 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4178         [BZ #20017]
4179         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4180         gmtime.
4182 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4184         [BZ #19994]
4185         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4186         flag in _res.options.
4188 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4190         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4191         [XPG3 || XPG4].
4192         (blksize_t): Likewise.
4193         (clockid_t): Likewise.
4194         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4195         variable.
4196         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4198 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4200         * sysdeps/unix/sysv/linux/s390/init-first.c:
4201         Add VDSO_SYMBOL(getcpu).
4202         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4203         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4204         Add VDSO_SYMBOL(getcpu).
4205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4206         New define HAVE_GETCPU_VSYSCALL.
4207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4209 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4211         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4212         instead of <sysdeps/x86_64/cacheinfo.c>.
4213         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4214         * sysdeps/x86/cacheinfo.c: Here.
4216 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4218         * malloc/malloc-internal.h: Adjust header file guard.
4220 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4222         [BZ #19787]
4223         * inet/getnameinfo.c (check_sprintf_result): New function.
4224         (CHECKED_SNPRINTF): New macro.
4225         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4226         to the host buffer.
4227         (gni_host_local): Use checked_copy to copy the host name.
4228         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4229         (gni_serv_local): Use checked_copy to copy the service name.
4230         (getnameinfo): Remove unnecessary truncation of result buffers.
4232 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4234         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4235         in case of inet_ntop failure.
4237 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4239         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4240         avoid long lines.
4241         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4242         variables.
4243         (gni_host_inet, gni_host_local): Add comment.
4244         (gni_host): Add comment.  Use temporary to avoid long lines.
4246 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4248         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4249         registers specifiers where general purpose registers specifiers should
4250         have been used.
4252 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4254         [BZ #19779]
4255         CVE-2016-1234
4256         Avoid copying names of directory entries.
4257         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4258         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4259         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4260         (struct readdir_result): New type.
4261         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4262         (GL_READDIR): New macros.
4263         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4264         (convert_dirent, convert_dirent64): New functions.
4265         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4266         convert_dirent64.  Adjust references to the readdir result.
4267         * sysdeps/unix/sysv/linux/i386/glob64.c:
4268         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4269         * posix/bug-glob2.c (LONG_NAME): Define.
4270         (filesystem): Add LONG_NAME.
4271         (my_DIR): Increase the size of room_for_dirent.
4273 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4275         [BZ #20041]
4276         * misc/sys/select.h (__need_timespec): Only define if
4277         [__USE_XOPEN2K].
4278         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4279         variable.
4280         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4281         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4282         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4284 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4285             Segher Boessenkool  <segher@gcc.gnu.org>
4287         [BZ #20004]
4288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4289         (__novec_swapcontext): Add missing load.
4291 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4293         [BZ #20023]
4294         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4295         <time.h>.
4296         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4297         variable.
4298         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4300 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4303         flags CLONE_VM compare.
4305 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4307         [BZ #20031]
4308         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4309         completely empty.
4311 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4313         [BZ #19573]
4314         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4315         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4316         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4317         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4318         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4319         (hesiod_free_list): Mark as hidden.
4320         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4321         res_set, res_get.
4322         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4323         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4324         (hesiod_init): Remove obsolete res_ninit call.
4325         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4326         (hesiod_bind): Do not call init.
4327         (get_txt_records): Use res_mkquery, res_send instead of
4328         res_nmkquery, res_nsend.
4329         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4330         instead of _nss_hesiod_init.
4331         (_nss_hesiod_initgroups_dyn): Likewise.
4332         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4333         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4334         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4336 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4338         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4339         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4341 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4343         * hesiod/hesiod.h: Remove RCS keyword.
4344         * hesiod/hesiod_p.h: Likewise.
4346         * hesiod/hesiod.c: Likewise.
4348 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4350         [BZ #12450]
4351         * locale/iso-639.def: Add Samogitian/sgs.
4353 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4355         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4357         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4359 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4360             Carlos O'Donell  <carlos@redhat.com>
4362         [BZ #19072]
4363         * grp/Makefile (headers): Add grp-merge.h
4364         (routines): Add grp-merge.
4365         * grp/getgrgid_r.c: Include grp-merge.h.
4366         (DEEPCOPY_FN): Define.
4367         (MERGE_FN): Define.
4368         * grp/getgrname_r.c: Include grp-merge.h.
4369         (DEEPCOPY_FN): Define.
4370         (MERGE_FN): Define.
4371         * grp/grp-merge.c: New file.
4372         * grp/grp-merge.h: New file.
4373         * include/grp-merge.h: New file.
4374         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4375         __copy_grp@GLIBC_PRIVATE.
4376         * manual/nss.texi (Actions in the NSS configuration): Describe
4377         return, continue, and merge.
4378         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4379         (DEEPCOPY_FN): Define.
4380         (MERGE_FN): Define.
4381         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4382         (DEEPCOPY_FN): Define.
4383         (MERGE_FN): Define.
4384         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4385         [!MERGE_FN]: Define __merge_einval.
4386         (CHECK_MERGE): Define.
4387         (REENTRANT_NAME): Process merge if do_merge is true.
4388         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4389         (__nss_getent_r): Likewise.
4390         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4391         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4393 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4395         [BZ #20012]
4396         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4397         length to calculate the buffer to read.
4398         (fmemopen_write): Set the buffer position based on bytes written.
4399         (fmemopen_seek): Return EINVAL for invalid whence modes.
4401         [BZ #19957]
4402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4403         tst-getpid2.
4404         (test): Add tst-clone2.
4405         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4406         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4407         pid/tid fields for CLONE_VM.
4408         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4409         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4410         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4411         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4412         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4413         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4414         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4415         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4419         Likewise.
4420         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4421         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4422         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4423         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4425         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4426         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4427         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4429 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4431         [BZ #19642]
4432         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4433         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4434         (gni_serv_local, gni_serv): New functions extracted from
4435         getnameinfo.
4436         (getnameinfo): Call gni_host and gni_serv to perform the
4437         processing.  Always free scratch buffer.
4439 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4441         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4442         remaining bytes in the dest string, with zeros.
4444 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4446         [BZ #20010]
4447         CVE-2016-3706
4448         * sysdeps/posix/getaddrinfo.c
4449         (convert_hostent_to_gaih_addrtuple): New function.
4450         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4451         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4452         AF_INET data.
4454 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4456         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4457         callback function gl_readdir.
4458         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4459         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4460         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4461         memcpy to copy the name.
4462         * manual/pattern.texi (Calling Glob): Document requirements for
4463         implementations of the gl_readdir callback function.
4464         * manual/examples/mkdirent.c: New example.
4465         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4466         per the manual guidance.
4467         * posix/tst-gnuglob.c (my_readdir): Likewise.
4469 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4471         [BZ #20014]
4472         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4473         not [__USE_POSIX].
4474         (getchar_unlocked): Likewise.
4475         (putc_unlocked): Likewise.
4476         (putchar_unlocked): Likewise.
4477         (flockfile): Likewise.
4478         (ftrylockfile): Likewise.
4479         (funlockfile): Likewise.
4480         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4481         variable.
4482         (test-xfail-XPG4/stdio.h/conform): Likewise.
4484         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4485         Expect constant.
4486         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4487         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4488         variable.
4489         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4490         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4492         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4493         [__USE_LARGEFILE64] (off64_t): Likewise.
4494         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4495         variable.
4497 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4499         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4501 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4503         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4504         * resolv/res_init.c: Likewise.
4505         * resolv/res_mkquery.c: Likewise.
4507 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4509         * resolv/res_init.c (isascii): Do not define.  Use definition in
4510         <ctype.h>.
4511         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4512         (LOG_AUTH): Remove.
4513         (SPRINTF): Remove, adjust caller.
4514         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4516 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4518         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4519         SUNSECURITY conditional.
4520         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4522 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4524         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4525         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4526         Remove BSD-related preprocessor conditionals.
4527         * conf/portability.h: Remove.
4529 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4531         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4532         * resolv/res_data.c: Likewise.
4534 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4536         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4537         * resolv/res_data.c: Remove code conditional on ultrix.
4539 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4541         * resolv/res_init.c (RFC1535): Do not define.  Remove
4542         RFC1535 preprocessor conditionals.
4543         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4544         because there configuration options which make the resolver
4545         behavior different.
4547 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4549         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4550         RESOLVSORT preprocessor conditionals.
4551         * resolv/nss_dns/dns-host.c: Likewise.
4552         * resolv/res_init.c: Likewise.
4554 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4556         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4557         is never defined.
4559 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4561         * inet/inet_lnaof.c: Remove SCSS keyword.
4562         * inet/inet_mkadr.c: Likewise.
4563         * inet/inet_net.c: Likewise.
4564         * inet/inet_netof.c: Likewise.
4565         * inet/rcmd.c: Likewise.
4566         * inet/rexec.c: Likewise.
4567         * inet/ruserpass.c: Likewise.
4569 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4571         * resolv/inet_addr.c: Remove _LIBC conditionals.
4572         * resolv/res_data.c: Likewise.
4573         * resolv/res_init.c: Likewise.
4574         * resolv/res_mkquery.c: Likewise.
4575         * resolv/res_libc.c: Update comment.
4576         * resolv/README: Update.
4578 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4580         * resolv/gethnamaddr.c: Remove SCSS keyword.
4581         * resolv/herror.c: Likewise.
4582         * resolv/inet_addr.c: Likewise.
4583         * resolv/inet_net_ntop.c: Likewise.
4584         * resolv/inet_net_pton.c: Likewise.
4585         * resolv/inet_neta.c: Likewise.
4586         * resolv/inet_ntop.c: Likewise.
4587         * resolv/inet_pton.c: Likewise.
4588         * resolv/ns_date.c: Remove RCS keyword.
4589         * resolv/ns_name.c: Likewise.
4590         * resolv/ns_netint.c: Likewise.
4591         * resolv/ns_parse.c: Likewise.
4592         * resolv/ns_print.c: Likewise.
4593         * resolv/ns_samedomain.c: Likewise.
4594         * resolv/ns_ttl.c: Likewise.
4595         * resolv/nsap_addr.c: Likewise.
4596         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4597         * resolv/res_data.c: Remove RCS keyword.
4598         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4599         * resolv/res_init.c: Likewise.
4600         * resolv/res_mkquery.c: Likewise.
4601         * resolv/res_query.c: Likewise.
4602         * resolv/res_send.c: Likewise.
4604 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4606         * conform/data/stdio.h-data (fdopen): Expect also for
4607         [XPG3 || XPG4].
4609         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4610         (fseeko): Likewise.
4611         (ftello): Likewise.
4612         (ftrylockfile): Likewise.
4613         (funlockfile): Likewise.
4614         (getc_unlocked): Likewise.
4615         (getchar_unlocked): Likewise.
4616         (putc_unlocked): Likewise.
4617         (putchar_unlocked): Likewise.
4619 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4621         [BZ #19868]
4622         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4623         DNS packet syntax checks (which were not needed before).  Skip
4624         over non-PTR records.
4626 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4628         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4629         definition.  Include <stddef.h> instead.
4631 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4633         [BZ #19831]
4634         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4635         function.
4636         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4637         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4639 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4641         [BZ #19862]
4642         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4643         (getanswer_r): Do not call syslog.
4644         (gaih_getanswer_slice): Likewise.
4645         * resolv/gethnamaddr.c (AskedForGot): Remove.
4646         (getanswer): Do not call syslog.
4647         (gethostbyaddr): Likewise.
4649 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4651         * conform/data/signal.h-data (union sigval): Expect also if
4652         [XOPEN2K].
4653         (struct sigevent): Likewise.
4654         (SIGEV_NONE): Likewise.
4655         (SIGEV_SIGNAL): Likewise.
4656         (SIGEV_THREAD): Likewise.
4657         (SIGRTMIN): Likewise.
4658         (SIGRTMAX): Likewise.
4659         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4660         variable.
4661         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4663 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4665         [BZ #19830]
4666         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4667         (gaih_getanswer_slice): Likewise.
4668         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4669         Also check for availability of RR metadata.
4671 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4673         [BZ #19825]
4674         * resolv/res_send.c (send_vc): Remove early *resplen2
4675         initialization.  Set *resplen2 on socket error.  Call
4676         close_and_return_error for other errors.
4678 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4680         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4681         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4682         (SCM_IUCV_TRGCLS): New define.
4684 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4686         [BZ #20005]
4687         * libio/fmemopen.c (fmemopen_write): Update internal position after
4688         write.
4689         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4690         * stdio-common/tst-fmemopen4.c: New file..
4692 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4694         [BZ #19996]
4695         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4696         not [__USE_XOPEN2K].
4697         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4698         variable.
4700         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4701         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4702         variable.
4704         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4705         [__USE_XOPEN2K8].
4706         [__USE_LARGEFILE64] (off64_t): Likewise.
4707         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4708         variable.
4710 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #19989]
4713         * libio/stdio.h (cuserid): Do not declare if
4714         [__USE_XOPEN2K && !__USE_GNU].
4715         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4716         variable.
4718 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4720         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4721         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4723         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4724         ifunc'ed strcspn.
4725         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4726         [EALIGN]: Removed.
4727         [END]: Likewise
4728         [STRSPN]: Define instead of the above to control symbol name.
4729         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4730         New file.
4731         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4732         Likewise.
4733         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4734         Likewise.
4735         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4736         Likewise.
4737         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4738         [INITIAL_MASK]: New macro.
4739         [STRCSPN]: Likewise.
4740         [UPDATE_MASK]: Likewise.
4741         [USE_AS_STRCSPN]: Lisewise.
4743 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4745         [BZ #19931]
4746         * stdio-common/tst-vfprintf-width-prec.c: New file.
4747         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4748         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4749         (generated): Add mtrace-related files.
4750         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4751         (tst-%-mem.out): New pattern rule, replaces
4752         tst-printf-bz18872-mem.out.
4753         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4754         specifier, deallocate any previously allocated work buffer.
4756 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4758         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4759         Add nop before __startcontext, add explaining comments.
4761 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4763         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4764         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4765         completely different API.
4767         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4768         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4769         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4770         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4771         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4772         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4773         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4774         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4775         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4776         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4778 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4780         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4782 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4784         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4785         when it is the default of 0.
4787 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4789         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4790         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4791         (sysdep_routines): Add new strcasestr targets.
4792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4793         (__libc_ifunc_impl_list): Likewise.
4794         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4795         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4796         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4797         * sysdeps/powerpc/powerpc64/power8/Makefile:
4798         New file to add strcasestr-ppc64 to sysdep_routines.
4799         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4800         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4802 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4804         * benchtests/Makefile (wcsmbs-benchset): Include only for
4805         native builds and runs.
4806         (LOCALES): Likewise.
4807         (bench-build): Build timing-type here instead of the bench
4808         target.  Generate locale only for native builds.
4809         * benchtests/README: Add note for cross-building.
4811         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4813         * benchtests/README: Update README to include instructions on
4814         using bench-build.
4816         * Makefile.in (bench-build): New target.
4817         * Rules (PHONY): Add bench-build target.
4818         * benchtests/Makefile (bench): Depend on bench-build.
4819         (bench-build): New target.
4821 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4823         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4824         profil_reply_port.
4825         (profile_waiter): Do not initialize profil_reply_port.
4826         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4827         frequency instead of tick length in us.
4829 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4831         [BZ #18712]
4832         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4833         (__old_mempcpy_small): Likewise.
4834         (__old_strcpy_small): Likewise.
4835         (__old_stpcpy_small): Likewise.
4836         (__old_strpbrk_c2): Fix compat symbol name.
4837         (__old_strpbrk_c3): Likewise.
4838         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4839         (__mempcpy_small): Remove.
4840         (__strcpy_small): Remove.
4841         (__stpcpy_small): Remove.
4843 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4845         [BZ #19400]
4846         * locale/iso-639.def: Add the Talossan/tzl language.
4848 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4850         [BZ #16983]
4851         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4852         comment.  Add "ln" to strchr check on postal_fmt.
4854 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4856         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4857         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4858         tel_dom_fmt.
4860 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4862         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4863         (sysdep_routines): Added __strlen_power8.
4864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4865         __strlen_power8 entry.
4866         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4867         Implementation for POWER8.
4868         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4869         for __strlen_power8.
4870         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4871         Implementation for POWER8.
4873 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4875         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4877 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4879         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4880         Goldmont and Airmont processors.
4882 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4884         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4885         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4886         (__STRING2_SMALL_GET32): Remove.
4887         (memset): Remove.
4888         (__memset_1): Remove.
4889         (__memset_gc): Remove.
4890         (__mempcpy): Remove.
4891         (mempcpy): Remove.
4892         (__mempcpy_args): Remove.
4893         (strchr): Remove.
4894         (strcpy): Remove.
4895         (strcpy_args): Remove.
4896         (__stpcpy_args): Remove.
4897         (__strcmp_cc): Remove.
4898         (__strcmp_gc): Remove.
4899         (strstr): Remove.
4901 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4903         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4904         * nis/nis_call.c (nis_server_cache_add): Likewise.
4906 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4908         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4910 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4912         * malloc/arena.c (__malloc_fork_lock_parent)
4913         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4914         internal_function attribute.
4916 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4918         * stdio-common/printf_fp.c (__printf_fp_l):
4919         Rename ___printf_fp_l to __printf_fp_l and
4920         remove strong alias. Use libc_hidden_def instead
4921         of ldbl_hidden_def macro.
4923 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4925         Remove malloc hooks from fork handler.  They are no longer needed
4926         because malloc runs right before fork, and no malloc calls from
4927         other fork handlers are not possible anymore.
4928         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4929         declarations.
4930         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4931         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4932         (atfork_recursive_cntr): Remove.
4933         (__malloc_fork_lock_parent): Do not override malloc hooks and
4934         thread_arena.
4935         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4936         thread_arena.
4937         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4938         thread_arena instead of save_arena.
4940 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4942         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4943         (thread_atfork, thread_atfork_static): Remove.
4944         * sysdeps/mach/hurd/malloc-machine.h:
4945         (thread_atfork, thread_atfork_static): Remove.
4947 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4949         [BZ #19431]
4950         Run the malloc fork handler as late as possible to avoid deadlocks.
4951         * malloc/malloc-internal.h: New file.
4952         * malloc/malloc.c: Include it.
4953         * malloc/arena.c (ATFORK_MEM): Remove.
4954         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4955         Update comment.
4956         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4957         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4958         Remove outdated comment.
4959         (ptmalloc_init): Do not call thread_atfork.  Remove
4960         thread_atfork_static.
4961         * malloc/tst-malloc-fork-deadlock.c: New file.
4962         * Makefile (tests): Add tst-malloc-fork-deadlock.
4963         (tst-malloc-fork-deadlock): Link against libpthread.
4964         * manual/memory.texi (Aligned Memory Blocks): Update safety
4965         annotation comments.
4966         * sysdeps/nptl/fork.c (__libc_fork): Call
4967         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4968         __malloc_fork_unlock_child.
4969         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4971 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4973         [BZ #19613]
4974         Remove union wait.
4975         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4976         (w_stopsig, w_stopval): Remove.
4977         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4978         stat_loc argument.
4979         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4980         (__WAIT_STATUS_DEFN): Remove.
4981         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4982         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4983         (wait, wait3, wait4): Use int * for the stat_loc argument.
4984         * posix/wait.c (__wait): Likewise.
4985         * posix/wait3.c (__wait3): Likewise.
4986         * posix/wait4.c (__wait4): Likewise.
4987         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4988         (__WAIT_STATUS_DEFN): Remove.
4989         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4990         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4991         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4992         argument.
4993         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4994         * sysdeps/posix/wait3.c (__wait3): Likewise.
4995         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4996         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4997         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4998         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4999         stat_loc argument.
5000         * manual/process.texi (BSD Wait Functions): Remove union wait.
5002 2016-04-13  Andreas Schwab  <schwab@suse.de>
5004         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5005         (test-extras): Add tst-tlsalign-vars.
5006         * math/Makefile: Wrap long lines.
5007         (libm-vec-test-wrappers): Define.
5008         (test-extras): Add $(libm-vec-test-wrappers).
5009         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5010         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5011         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5012         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5013         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5014         (extra-test-objs): Add corresponding objects.
5016 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5018         [BZ #19928]
5019         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5020         New.
5021         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5022         times of shared cache size.
5023         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5024         (VMOVNT): New.
5025         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5026         (VMOVNT): Likewise.
5027         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5028         (VMOVNT): Likewise.
5029         (VMOVU): Changed to movups for smaller code sizes.
5030         (VMOVA): Changed to movaps for smaller code sizes.
5031         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5032         comments.
5033         (PREFETCH): New.
5034         (PREFETCH_SIZE): Likewise.
5035         (PREFETCHED_LOAD_SIZE): Likewise.
5036         (PREFETCH_ONE_SET): Likewise.
5037         Rewrite to use forward and backward loops, which move 4 vector
5038         registers at a time, to support overlapping addresses and use
5039         non temporal store if size is above the threshold and there is
5040         no overlap between destination and source.
5042 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5044         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5045         Include dl-vdso.
5046         * sysdeps/unix/sysv/linux/mips/Versions: Add
5047         __vdso_clock_gettime.
5048         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5049         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5050         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5051         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5052         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5053         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5054         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5055         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5056         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5058 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5060         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5061         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5064         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5065         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5068         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5070         syscalls generation.
5071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5072         [__NR_pwrite64] (__NR_write): Remove define.
5073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5074         [__NR_pwrite64] (__NR_write): Remove define.
5075         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5076         Remove define.
5077         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5078         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5079         Remove define.
5080         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5081         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5082         Linux implementation as base.
5083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5085         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5086         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5088         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5091         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5093         syscall generation.
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5095         [__NR_pread64] (__NR_pread): Remove define.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5097         [__NR_pread64] (__NR_pread): Likewise.
5098         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5099         define.
5100         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5101         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5102         Remove define.
5103         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5104         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5105         Linux implementation as base.
5106         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5107         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5108         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5110         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5111         definition.
5112         (__ALIGNMENT_COUNT): Likewise.
5113         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5114         (__ALIGNMENT_COUNT): Likewise.
5115         (SYSCALL_LL): New define.
5116         (SYSCALL_LL64): Likewise.
5117         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5118         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5119         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5120         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5123         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5124         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5125         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5126         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5127         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5129 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5131         [BZ #19865]
5132         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5133         original buffer before retry.
5135 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5137         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5138         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5139         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5140         GLRO(dl_auxv) list.
5141         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5142         including <ldsodefs.h>.
5143         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5145 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5147         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5148         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5149         $(CPPFLAGS).
5151 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5153         [BZ #17950]
5154         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5155         Add -mfpmath=387.
5157 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5159         * sysdeps/i386/configure.ac: Change == to = when calling test.
5160         * sysdeps/x86_64/configure.ac: Likewise.
5161         * sysdeps/i386/configure: Regenerated.
5162         * sysdeps/x86_64/configure: Likewise.
5164 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5166         [BZ #16137]
5167         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5168         * benchtests/bench-strcoll.c (input_files): Likewise.
5169         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5170         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5171         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5173 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5175         [BZ #19929]
5176         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5177         [__USE_XOPEN2K8 && !__USE_GNU].
5178         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5179         variable.
5181         [BZ #19925]
5182         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5183         define if [!__USE_MISC && __USE_XOPEN2K].
5184         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5185         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5186         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5187         Likewise.
5188         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5189         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5190         variable.
5191         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5193 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5195         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5196         (sysdep_routines): Add new strspn targets.
5197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5198         (__libc_ifunc_impl_list): Add strspn.
5199         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5200         New file.
5201         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5202         Likewise.
5203         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5204         Likewise.
5205         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5206         Likewise.
5208 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5210         * misc/hsearch_r.c: Include <limits.h>.
5212 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5214         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5216 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5218         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5219         (MEMCPY_SYMBOL): New.
5220         (MEMPCPY_SYMBOL): Likewise.
5221         (MEMMOVE_CHK_SYMBOL): Likewise.
5222         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5223         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5224         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5225         Provide alias for memcpy in libc.a and ld.so.
5227 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5229         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5230         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5231         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5232         Disabled fro now.
5233         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5234         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5236 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5238         * benchtests/Makefile (string-benchset): Add memcpy-large,
5239         memmove-large and memset-large.
5240         * benchtests/bench-memcpy-large.c: New file.
5241         * benchtests/bench-memmove-large.c: Likewise.
5242         * benchtests/bench-memmove-large.c: Likewise.
5243         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5245 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5247         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5248         32-bit displacement to avoid long nop between instructions.
5250 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5252         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5253         a comment on VMOVU and VMOVA.
5255 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5257         [BZ #19633]
5258         Use specified locale for number formatting in strfmon_l.
5259         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5260         (__nl_lookup_word): New inline functions.
5261         * include/printf.h (__print_fp_l): Declare.
5262         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5263         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5264         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5265         (___printf_fp): New function.
5266         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5267         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5268         * stdlib/tst-strfmon_l.c (do_test): New test.
5269         * stdlib/Makefile (tests): Add kt.
5270         (LOCALES): Build additional locales.
5271         (tst-strfmon_l.out): Require locales.
5273 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5275         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5276         if not in libc.
5277         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5278         Likewise.
5279         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5280         Likewise.
5281         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5282         Likewise.
5284 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5286         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5287         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5288         with unaligned_erms.
5289         (__memmove_erms): Skip if source == destination.
5290         (__memmove_unaligned_erms): Don't check source == destination
5291         first.
5293 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5295         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5296         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5298 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5300         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5301         * string/strspn.c (strspn): Likewise.
5303 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5305         * benchtests/bench-memset.c (do_test): Support 64-byte
5306         alignment.
5307         (test_main): Test 64-byte alignment.
5309 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5311         * benchtests/bench-memmove.c (test_main): Test 64-byte
5312         alignment.
5314 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5316         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5318 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5320         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5321         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5322         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5324         * string/strpbrk.c (strpbrk): Rewrite function.
5325         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5326         (__strpbrk_c2): Likewise.
5327         (__strpbrk_c3): Likewise.
5328         * string/string-inlines.c
5329         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5330         Likewise.
5331         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5332         Likewise.
5334         * string/strspn.c (strcspn): Rewrite function.
5335         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5336         (__strspn_c1): Remove inline function.
5337         (__strspn_c2): Likewise.
5338         (__strspn_c3): Likewise.
5339         * string/string-inlines.c
5340         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5341         compatibility symbol.
5342         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5343         Likewise.
5344         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5345         Likewise.
5346         * string/string-inlines.c: Include generic version.
5348 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5349             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5351         * string/Version (libc): Add GLIBC_2.24.
5352         * string/strcspn.c (strcspn): Rewrite function.
5353         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5354         (__strcspn_c1): Remove inline function.
5355         (__strcspn_c2): Likewise.
5356         (__strcspn_c3): Likewise.
5357         * string/string-inline.c
5358         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5359         compatibility symbol.
5360         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5361         Likewise.
5362         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5363         Likewise.
5364         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5366 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5368         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5369         Use ahi instead of aghi to adjust stack pointer.
5371 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5373         [BZ #19853]
5374         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5375         TEST to take significant digits as second parameter.
5376         [TEST]: Redefine in terms of TEST_N taking 30
5377         significant digits.
5378         (do_test): Add test case to demonstrate precision
5379         failure in the ldbl-128ibm printf.
5380         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5381         (__mpn_extract_long_double): Carry 7 extra intermediate
5382         bits of precision to aide computing difference when
5383         signs differ.
5385 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5387         [BZ #19881]
5388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5389         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5390         memset-avx512-unaligned-erms.
5391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5392         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5393         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5394         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5395         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5396         __memset_sse2_unaligned_erms, __memset_erms,
5397         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5398         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5399         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5400         file.
5401         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5402         Likewise.
5403         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5404         Likewise.
5405         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5406         Likewise.
5408 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5410         [BZ #19776]
5411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5412         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5413         memmove-avx512-unaligned-erms.
5414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5415         (__libc_ifunc_impl_list): Test
5416         __memmove_chk_avx512_unaligned_2,
5417         __memmove_chk_avx512_unaligned_erms,
5418         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5419         __memmove_chk_sse2_unaligned_2,
5420         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5421         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5422         __memmove_avx512_unaligned_erms, __memmove_erms,
5423         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5424         __memcpy_chk_avx512_unaligned_2,
5425         __memcpy_chk_avx512_unaligned_erms,
5426         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5427         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5428         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5429         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5430         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5431         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5432         __mempcpy_chk_avx512_unaligned_erms,
5433         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5434         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5435         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5436         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5437         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5438         __mempcpy_erms.
5439         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5440         file.
5441         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5442         Likwise.
5443         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5444         Likwise.
5445         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5446         Likwise.
5448 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5450         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5451         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5452         (La_s390_64_regs): Likewise.
5453         (La_s390_32_retval): Append vector register lrv_v24.
5454         (La_s390_64_retval): Likeweise.
5455         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5456         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5457         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5458         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5460 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5462         [BZ #19916]
5463         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5464         to create a non-vector/vector version for _dl_runtime_resolve and
5465         _dl_runtime_profile. Move implementation to ...
5466         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5467         (_dl_runtime_resolve) Save and restore fpr/vrs.
5468         (_dl_runtime_profile) Save and restore vrs and fix some issues
5469         if _dl_call_pltexit is called.
5470         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5471         Choose the correct resolver function if running on a machine with vx.
5472         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5473         to create a non-vector/vector version for _dl_runtime_resolve and
5474         _dl_runtime_profile. Move implementation to ...
5475         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5476         (_dl_runtime_resolve) Save and restore fpr/vrs.
5477         (_dl_runtime_profile) Save and restore vrs and fix some issues
5478         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5479         Choose the correct resolver function if running on a machine with vx.
5481 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5483         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5485 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5487         [BZ #19509]
5488         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5489         skip_map != NULL.
5490         * elf/tst-dlsym-error.c: New file.
5491         * elf/Makefile (tests): Add tst-dlsym-error.
5492         (tst-dlsym-error): Link against libdl.
5494 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5497         (__ASSUME_FUTIMESAT): Remove macro.
5498         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5500 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5502         [BZ #19879]
5503         CVE-2016-3075
5504         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5505         copy name.
5507 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5509         [BZ #19837]
5510         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5511         error if parse_line fails.
5513 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5515         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5516         (index_cpu_ERMS): Likewise.
5517         (reg_ERMS): Likewise.
5519 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5521         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5522         PER_LINUX_FDPIC): Add.
5524 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5527         memcpy-avx512-no-vzeroupper.
5528         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5529         to ...
5530         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5531         (MEMCPY): Don't define.
5532         (MEMCPY_CHK): Likewise.
5533         (MEMPCPY): Likewise.
5534         (MEMPCPY_CHK): Likewise.
5535         (MEMPCPY_CHK): Renamed to ...
5536         (__mempcpy_chk_avx512_no_vzeroupper): This.
5537         (MEMPCPY_CHK): Renamed to ...
5538         (__mempcpy_chk_avx512_no_vzeroupper): This.
5539         (MEMCPY_CHK): Renamed to ...
5540         (__memmove_chk_avx512_no_vzeroupper): This.
5541         (MEMCPY): Renamed to ...
5542         (__memmove_avx512_no_vzeroupper): This.
5543         (__memcpy_avx512_no_vzeroupper): New alias.
5544         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5546 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5548         [BZ #18858]
5549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5550         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5551         and mempcpy-avx512-no-vzeroupper.
5552         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5553         New.
5554         (MEMPCPY): Likewise.
5555         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5556         (MEMPCPY_CHK): New.
5557         (MEMPCPY): Likewise.
5558         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5559         (MEMPCPY): Likewise.
5560         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5561         (MEMPCPY): Likewise.
5562         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5563         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5564         Likewise.
5565         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5566         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5568 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5569              Amit Pawar  <Amit.Pawar@amd.com>
5571         [BZ #19583]
5572         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5573         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5574         processors.  Set Fast_Copy_Backward for AMD Excavator
5575         processors.
5576         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5577         New.
5578         (index_arch_Fast_Unaligned_Copy): Likewise.
5579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5580         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5582 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5584         [BZ #19791]
5585         * resolv/res_send.c (close_and_return_error): New function.
5586         (send_dg): Initialize *resplen2 after reopen failure.  Call
5587         close_and_return_error for error returns.  On error paths without
5588         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5589         successful return.
5591 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5593         [BZ# 19860]
5594         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5595         zero if the compiler does not provide the AVX512F bit.
5597 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5599         [BZ #19848]
5600         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5601         from 8 to 4.
5602         (__ieee754_powl): Compare integer exponent against 4 not 8.
5603         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5604         from 8 to 4.
5605         (__ieee754_powl): Compare integer exponent against 4 not 8.
5606         * math/auto-libm-test-in: Add more tests of pow.
5607         * math/auto-libm-test-out: Regenerated.
5608         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5611 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5613         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5614         Make code unconditional.
5615         [!__NR_utimensat]: Remove conditional code.
5616         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5617         Make code unconditional.
5618         [!__NR_utimensat]: Remove conditional code.
5619         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5620         Make code unconditional.
5621         [!__NR_utimensat]: Remove conditional code.
5623 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5625         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5626         Make code unconditional.
5628 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5630         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5631         call-clobbered %eax on retry path.
5632         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5634 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5636         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5637         Don't set %rcx twice before "rep movsb".
5639 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5641         [BZ #19583]
5642         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5643         inline.  Check family before setting family, model and
5644         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5645         bits here.
5646         (init_cpu_features): Replace HAS_CPU_FEATURE and
5647         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5648         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5649         for Intel processors with usable AVX2.  Call get_common_indeces
5650         for other processors with family == NULL.
5651         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5652         (CPU_FEATURES_ARCH_P): Likewise.
5653         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5654         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5656 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5658         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5659         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5660         $(shared-thread-library) instead of hardcoding the path to libpthread.
5662 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5664         * sysdeps/unix/sysv/linux/kernel-features.h
5665         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5666         * sysdeps/unix/sysv/linux/getdents.c
5667         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5668         [!have_no_getdents64_defined]: Likewise.
5669         (__GETDENTS): Remove __have_no_getdents64 conditional.
5671 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5673         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5674         Remove macro.
5675         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5676         <kernel-features.h>.
5677         (signalfd) [__NR_signalfd4]: Make code unconditional.
5678         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5680 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5682         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5683         style.
5685 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5687         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5688         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5689         __pthread_unwind.
5690         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5691         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5693         (__condvar_cleanup1): Likewise.
5695 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5697         [BZ #19822]
5698         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5699         move it to the final $@ location.
5701 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5703         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5704         access where posix_spawn success and pid argument is null.
5705         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5706         success case.
5708 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5710         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5712         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5714         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5715         and __fcntl.
5716         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5717         __fcntl only.
5718         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5719         adding attribute_hidden to __open and __fcntl.
5721         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5722         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5723         depend on libc-modules.h,
5724         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5726 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5728         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5729         Remove macro.
5730         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5731         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5732         entry.
5734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5735         Remove macro.
5736         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5737         include <kernel-features.h>.
5738         [!__ASSUME_FALLOCATE]: Remove conditional code.
5739         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5741 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5743         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5744         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5745         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5746         (_ZGVdN4v_cos_avx2): Likewise.
5747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5748         (_ZGVdN4v_cos): Likewise.
5749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5750         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5752         (_ZGVdN4v_exp_avx2): Likewise.
5753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5754         (_ZGVdN4v_exp): Likewise.
5755         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5756         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5757         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5758         (_ZGVdN4v_log_avx2): Likewise.
5759         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5760         (_ZGVdN4v_log): Likewise.
5761         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5762         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5764         (_ZGVdN4vv_pow_avx2): Likewise.
5765         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5766         (_ZGVdN4vv_pow): Likewise.
5767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5768         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5769         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5770         (_ZGVdN4v_sin_avx2): Likewise.
5771         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5772         (_ZGVdN4v_sin): Likewise.
5773         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5774         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5775         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5776         (_ZGVdN4vvv_sincos_avx2): Likewise.
5777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5778         (_ZGVdN4vvv_sincos): Likewise.
5779         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5780         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5781         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5782         (_ZGVbN4v_cosf_sse4): Likewise.
5783         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5784         (_ZGVdN8v_cosf_avx2): Likewise.
5785         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5786         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5787         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5788         (_ZGVbN4v_expf_sse4): Likewise.
5789         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5790         (_ZGVdN8v_expf_avx2): Likewise.
5791         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5792         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5794         (_ZGVbN4v_logf_sse4): Likewise.
5795         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5796         (_ZGVdN8v_logf_avx2): Likewise.
5797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5798         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5800         (_ZGVbN4vv_powf_sse4): Likewise.
5801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5802         (_ZGVdN8vv_powf_avx2): Likewise.
5803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5804         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5806         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5807         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5808         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5810         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5811         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5812         (_ZGVbN4v_sinf_sse4): Likewise.
5813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5814         (_ZGVdN8v_sinf_avx2): Likewise.
5815         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5816         Use JUMPTARGET to call callee.
5817         (WRAPPER_IMPL_SSE2_ff): Likewise.
5818         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5819         (WRAPPER_IMPL_AVX): Likewise.
5820         (WRAPPER_IMPL_AVX_ff): Likewise.
5821         (WRAPPER_IMPL_AVX_fFF): Likewise.
5822         (WRAPPER_IMPL_AVX512): Likewise.
5823         (WRAPPER_IMPL_AVX512_ff): Likewise.
5824         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5825         Likewise.
5826         (WRAPPER_IMPL_SSE2_ff): Likewise.
5827         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5828         (WRAPPER_IMPL_AVX): Likewise.
5829         (WRAPPER_IMPL_AVX_ff): Likewise.
5830         (WRAPPER_IMPL_AVX_fFF): Likewise.
5831         (WRAPPER_IMPL_AVX512): Likewise.
5832         (WRAPPER_IMPL_AVX512_ff): Likewise.
5833         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5835 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5837         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5838         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5839         qualifier.
5840         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5841         internal_function qualifiers.
5843 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5845         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5846         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5847         * math/atest-exp.c (exp_mpn): Mark chk unused.
5848         * math/atest-exp2.c (exp_mpn): Likwise.
5849         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5850         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5852 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5855         Remove macro.
5856         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5857         <kernel-features.h>.
5858         [__NR_ppoll]: Make code unconditional.
5859         [!__ASSUME_PPOLL]: Remove conditional code.
5861         * sysdeps/unix/sysv/linux/kernel-features.h
5862         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5863         (__ASSUME_ACCEPT4): Likewise.
5864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5865         Define.
5866         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5867         Likewise.
5868         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5869         Likewise.
5870         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5871         Likewise.
5872         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5873         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5875         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5876         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5877         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5879         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5880         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5881         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5882         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5883         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5884         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5886         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5887         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5888         Likewise.
5889         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5890         Likewise.
5891         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5892         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5893         0x040300].
5894         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5895         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5896         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5897         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5898         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5899         0x030300].
5900         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5902         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5903         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5904         0x040300].
5905         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5906         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5908         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5909         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5910         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5911         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5912         0x030300].
5913         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5914         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5915         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5917         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5918         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5919         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5921         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5922         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5923         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5924         0x040300].
5925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5927         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5928         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5929         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5931         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5932         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5936         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5938         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5939         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5940         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5941         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5942         Likewise.
5943         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5944         Likewise.
5946 2016-03-15  Andreas Schwab  <schwab@suse.de>
5948         [BZ #19257]
5949         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5950         statp->_u._ext.nscount as loop count.
5952 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5954         * math/test-signgam-finite-c99.c: Also #undef
5955         __LIBC_INTERNAL_MATH_INLINES.
5956         * math/test-signgam-main.c: Likewise.
5958 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5960         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5961         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5962         (MADV_FREE): Likewise.
5963         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5964         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5965         EPOLLEXCLUSIVE.
5967 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5969         * timezone/README: Remove mention of checktab.awk. Mention wiki
5970         SharedSourceFiles.
5972 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5974         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5975         WUNTRACED.
5977 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5979         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5980         order to match the type of p when calling atomic_exchange_acq().
5982 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5984         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5985         cfi_offset calls.
5986         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5987         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5988         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5989         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5990         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5992 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5994         * timezone/checktab.awk: Removed.
5996 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5998         * manual/math.texi (Errors in Math Functions): Document relaxed
5999         accuracy goals for IBM long double.
6000         * math/libm-test.inc (test_exceptions): Always allow spurious
6001         "underflow" and "inexact" exceptions for IBM long double.
6003 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6005         [BZ #19762]
6006         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6007         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6008         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6009         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6010         (bit_arch_*): This for feature array.
6011         (bit_*): Renamed to ...
6012         (bit_cpu_*): This for cpu array.
6013         (index_*): Renamed to ...
6014         (index_arch_*): This for feature array.
6015         (index_*): Renamed to ...
6016         (index_cpu_*): This for cpu array.
6017         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6018         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6019         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6020         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6021         bit_##name with index_cpu_##name and bit_cpu_##name.
6022         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6023         bit_##name with index_arch_##name and bit_arch_##name.
6025 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6027         [BZ #19792]
6028         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6029         Terminate FDE before return label.
6031 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6033         [BZ #19790]
6034         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6035         (rintl): Define as macro.
6036         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6037         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6038         of fesetround.  Ensure results are evaluated before end of scope.
6039         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6040         USE_AS_NEARBYINTL and include s_rintl.c.
6041         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6042         Disable exception traps in new environment.
6043         (libc_feholdsetround_ppc_ctx): Likewise.
6045 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6047         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6048         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6049         (tst_audit10_aux) [__AVX512F__]: ... here.
6051 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6053         * include/sys/auxv.h: New file.
6055 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6057         [BZ #19759]
6058         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6060 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6062         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6063         operand modifier.
6064         (feclearexcept): Likewise.
6066 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6068         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6069         to reflect the entire 32-bit HWCAP.
6070         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6071         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6073 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6075         [BZ #19783]
6076         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6077         $(test-via-rtld-prefix).
6078         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6080 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6082         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6083         union wait.  Report any non-zero exit status as error.
6085 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6087         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6088         configured with --enable-hardcoded-path-in-tests.
6090 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6092         [BZ #19677]
6093         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6094         (__ieee754_remainderl): Put zero low parts in canonical form.
6095         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6096         file.  Based on
6097         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6098         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6099         with wrapper round test-fmodrem-ldbl-128ibm.c.
6100         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6101         file.
6102         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6103         Likewise.
6104         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6105         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6107 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6109         [BZ #19610]
6110         * elf/ldconfig.c (opt_link): Update comment.
6111         (options): Update help string for option -X.
6112         (search_dir): Unlink stale symbolic link only if updating symbolic
6113         links.
6114         * elf/tst-ldconfig-X.sh: New file.
6115         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6116         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6118 2016-03-07  Andreas Schwab  <schwab@suse.de>
6120         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6121         needed arguments.
6123 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6125         [BZ #15333]
6126         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6127         to lstat64.
6129 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6131         * libio/filedoalloc.c (isatty): Remove.
6132         (local_isatty): Add comment.  Call __isatty directly.
6133         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6134         * libio/wfiledoalloc.c (isatty): Remove.
6135         (_IO_wfile_doallocate): Update comment.
6137 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6139         [BZ #19269]
6140         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6141         tst-audit4-aux.o.
6142         (tst-audit10): Depend on tst-audit10-aux.o.
6143         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6144         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6145         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6146         instead of inline AVX code.
6147         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6148         instead of inline AVX512 code.
6149         * sysdeps/x86_64/tst-audit4-aux.c: New file
6150         * sysdeps/x86_64/tst-audit10-aux.c: New file
6152         [BZ #19648]
6153         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6155 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6157         [BZ #14750]
6158         [BZ #10354]
6159         [BZ #18433]
6160         * include/sched.h (__clone): Add hidden prototype.
6161         (__clone2): Likewise.
6162         * include/unistd.h (__dup): Likewise.
6163         * posix/Makefile (tests): Add tst-spawn2.
6164         * posix/tst-spawn2.c: New file.
6165         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6166         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6167         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6168         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6169         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6170         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6171         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6172         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6173         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6174         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6175         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6177         Likewise.
6178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6179         Likewise.
6180         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6181         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6182         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6183         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6184         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6185         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6186         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6187         * sysdeps/unix/sysv/linux/nptl-signals.h
6188         (____nptl_is_internal_signal): New function.
6189         * sysdeps/unix/sysv/linux/spawni.c: New file.
6191         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6192         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6193         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6194         * posix/tst-execvp2.c (do_test): Likewise.
6195         * posix/tst-execvp3.c (do_test): Likewise.
6196         * posix/tst-execvp4.c (do_test): Likewise.
6197         * posix/tst-execvpe1.c: New file.
6198         * posix/tst-execvpe2.c: Likewise.
6199         * posix/tst-execvpe3.c: Likewise.
6200         * posix/tst-execvpe4.c: Likewise.
6201         * posix/tst-execvpe5.c: Likewise.
6202         * posix/tst-execvpe6.c: Likewise.
6204         [BZ #19534]
6205         * posix/execl.c (execl): Remove dynamic memory allocation.
6206         * posix/execle.c (execle): Likewise.
6207         * posix/execlp.c (execlp): Likewise.
6209 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6211         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6212         Replace .text with .text.avx512.
6213         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6214         Likewise.
6216 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6218         * sysdeps/generic/libnsl.abilist: New file.
6219         * sysdeps/generic/libutil.abilist: New file.
6221 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6223         [BZ #19762]
6224         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6225         HAS_ARCH_FEATURE with Fast_Rep_String.
6226         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6227         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6228         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6229         Likewise.
6230         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6231         Likewise.
6232         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6233         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6234         Likewise.
6235         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6236         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6237         Likewise.
6239 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6241         [BZ #19745]
6242         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6243         with *%rax in call.
6245 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6247         [BZ #19745]
6248         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6249         with *__libc_start_main@GOTPCREL(%rip) in call.
6251 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6253         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6254         inside conditional for nonempty $(CXX).
6256         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6257         nonempty.
6259         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6260         to test for empty $(CXX) rather than $(CXX) of "no".
6262 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6264         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6266 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6267             H.J. Lu  <hongjiu.lu@intel.com>
6269         [BZ #18880]
6270         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6271         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6272         enable __memcpy_ssse3_back.
6274 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6276         [BZ #19758]
6277         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6278         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6280 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6282         [BZ #19490]
6283         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6284         (__fentry__): Likewise.
6286 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6288         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6289         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6291 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6293         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6294         __mcount_internal directly.
6295         (C_LABEL(__fentry__)): Likewise.
6296         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6297         directly.
6299 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6301         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6302         (__start_context): Call __setcontext directly.
6304 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6307         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6308         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6309         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6311         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6312         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6313         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6314         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6315         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6316         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6317         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6319         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6320         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6321         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6322         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6324         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6325         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6326         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6327         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6328         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6329         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6330         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6331         Remove conditional code.
6332         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6333         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6334         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6335         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6336         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6337         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6338         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6339         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6340         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6341         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6342         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6343         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6345 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6347         * NEWS (2.23): Fix typo in bug 19048 text.
6349 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6351         [BZ #14259]
6352         * Makeconfig: Rename msgcatdir to localedir.
6353         Rename inst_msgcatdir to inst_localedir.
6354         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6355         * config.make.in: Add localedir.
6356         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6357         (ldd-rewrite): Likewise.
6358         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6359         (install-others): Use inst_localedir.
6360         (CPPFLAGS): Use localedir.
6361         * locale/Makefile (locale-CPPFLAGS): Likewise.
6362         * po/Makefile (mo-installed): Use inst_localedir.
6364         [BZ #19575]
6365         * localedata/charmaps/GB18030: Update comments regarding PAU to
6366         non-PUA mappings.
6368 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6370         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6371         test for header.
6372         * sysdeps/unix/sysv/linux/configure: Regenerated.
6373         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6374         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6375         Remove conditional code.
6376         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6378         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6379         Define to 3.2.0.
6380         (arch_minimum_kernel): Likewise.
6381         * sysdeps/unix/sysv/linux/configure: Regenerated.
6382         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6383         Define to 2.6.32.
6384         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6385         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6386         (arch_minimum_kernel): Define to 2.6.32.
6387         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6388         * README: Document Linux 3.2 requirement.
6389         * manual/install.texi (Linux): Document Linux 3.2 headers
6390         requirement.
6391         * INSTALL: Regenerated.
6393 2016-02-24  Andreas Schwab  <schwab@suse.de>
6395         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6396         if !NO_LONG_DOUBLE.
6398 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6400         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6401         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6403 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6405         [BZ #19512]
6406         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6408 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6410         * posix/tst-dir.c: Include libc-internal.h.
6412 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6414         [BZ #19056]
6415         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6416         * manual/filesys.texi (Reading/Closing Directory): Mention
6417         deprecaion.
6418         * posix/tst-dir.c (main): Disable deprecation warning in test.
6420 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6422         [BZ #19679]
6423         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6424         Renamed to ...
6425         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6426         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6427         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6428         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6429         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6430         * sysdeps/x86_64/dl-trampoline.h
6431         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6432         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6434 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6436         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6438 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6440         * elf/elf.h (R_386_GOT32X): New.
6441         (R_386_NUM): Update.
6442         (R_X86_64_GOTPCRELX: New.
6443         (R_X86_64_REX_GOTPCRELX): New.
6444         (R_X86_64_NUM): Update.
6446 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6448         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6450 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6452         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6453         assign attr->stackaddr to it, and adjust it down when
6454         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6455         [_STACK_GROWS_UP]: Delete assert.
6456         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6457         Implement stack grows up logic.
6458         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6459         stack grows up logic.
6461 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6463         * NEWS: Update with 2.24 template.
6465 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6467         [BZ #19678]
6468         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6469         Ensure +0.0 is returned when taking the next value below the least
6470         positive value.
6472 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6474         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6475         available.  Do not define NO_THREADS.
6476         * malloc/malloc.c: Do not check NO_THREADS.
6477         * malloc/arena.c: Likewise.
6479 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6481         * malloc/malloc.c (__libc_mallinfo): Update comment.
6482         (struct malloc_par): Remove max_total_mem member, it was always 0.
6483         (int_mallinfo): Store 0 into usmblks (no functional change).
6484         * malloc/hooks.c (struct malloc_state): Document that
6485         max_total_mem is always 0.
6486         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6487         always 0.
6488         * manual/memory.texi (Statistics of Malloc): Likewise.
6490 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6492         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6493         * malloc/arena.c (arena_max): Remove.
6494         (heap_trim, _int_new_arena): Do not update arena_max.
6496 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6498         * resolv/res_init.c (res_ninit): Update comment.
6500 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6502         [BZ #19505]
6503         * posix/spawn_int.h: Add headers and include guard.
6504         (__spawn_valid_fd): New function.
6505         * posix/spawn_faction_addopen.c
6506         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6507         * posix/spawn_faction_addclose.c
6508         (posix_spawn_file_actions_addclose): Likewise.
6509         * posix/spawn_faction_adddup2.c
6510         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6511         second file descriptor.
6512         * posix/spawn_valid_fd.c: New file.
6513         * posix/tst-posix_spawn-fd.c: New file.
6514         * posix/Makefile (routines): Add spawn_valid_fd.
6515         (tests): Add tst-posix_spawn-fd.
6517 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6519         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6520         (do_test): Limit the number of arenas, so that we can use fewer
6521         outer threads.  Limit timeout to 3 seconds, in preparation for a
6522         larger TIMEOUT value.
6524 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6526         [BZ #19674]
6527         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6528         sign in overflowing and underflowing results when overflow or
6529         underflow is detected early.  Include sign in result before rather
6530         than after scaling.
6532         [BZ #19603]
6533         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6534         (__ieee754_remainderl): Adjust sign of integer version of low part
6535         when taking absolute value of high part.
6536         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6537         * math/libm-test.inc (remainder_test_data): Add another test.
6538         (remquo_test_data): Likewise.
6540 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6542         [BZ #19602]
6543         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6544         equal high parts and both low parts zero specially.
6545         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6546         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6547         Add test-fmodl-ldbl-128ibm.
6549         [BZ #19595]
6550         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6551         common logic for all cases of shifting subnormal results.  Do not
6552         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6553         exponent to ldbl_insert_mantissa in subnormal case.
6555         [BZ #19594]
6556         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6557         on high and low parts then adjust result and use
6558         ldbl_canonicalize_int if needed.
6560         [BZ #19593]
6561         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6562         on high part and __floor or __ceil on low part then use
6563         ldbl_canonicalize_int if needed.
6565         [BZ #19592]
6566         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6567         high and low parts then use ldbl_canonicalize_int if needed.
6569         [BZ #17899]
6570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6571         New function.
6572         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6573         on high and low parts then use ldbl_canonicalize_int if needed.
6575 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6577         * configure: Regenerated.
6579         * po/libc.pot: Regenerated.
6581         * po/be.po: Updated translation.
6582         * po/bg.po: Likewise.
6583         * po/ca.po: Likewise.
6584         * po/cs.po: Likewise.
6585         * po/da.po: Likewise.
6586         * po/el.po: Likewise.
6587         * po/eo.po: Likewise.
6588         * po/es.po: Likewise.
6589         * po/fi.po: Likewise.
6590         * po/fr.po: Likewise.
6591         * po/gl.po: Likewise.
6592         * po/hr.po: Likewise.
6593         * po/hu.po: Likewise.
6594         * po/ia.po: Likewise.
6595         * po/id.po: Likewise.
6596         * po/it.po: Likewise.
6597         * po/ja.po: Likewise.
6598         * po/lt.po: Likewise.
6599         * po/nb.po: Likewise.
6600         * po/nl.po: Likewise.
6601         * po/pt_BR.po: Likewise.
6602         * po/rw.po: Likewise.
6603         * po/sk.po: Likewise.
6604         * po/sl.po: Likewise.
6605         * po/sv.po: Likewise.
6606         * po/tr.po: Likewise.
6607         * po/zh_CN.po: Likewise.
6608         * po/zh_TW.po: Likewise.
6610         * version.h (RELEAES): Set to "development".
6611         (VERSION): Set to 2.23.90.
6613         * version.h (RELEASE): Set to "stable".
6614         (VERSION): Set to 2.23.
6615         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6617         * NEWS: Updated fixed bugs.
6619 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6620             Wilco Dijkstra  <wdijkstr@arm.com>
6622         [BZ #19462]
6623         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6624         (_STRING_INLINE_unaligned): This.
6625         * include/string.h: Include <string_private.h>.
6626         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6627         _STRING_INLINE_unaligned.
6628         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6629         (_STRING_INLINE_unaligned): New.
6630         * sysdeps/aarch64/string_private.h: New file.
6631         * sysdeps/generic/string_private.h: Likewise.
6632         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6633         * sysdeps/s390/string_private.h: Likewise.
6634         * sysdeps/x86/string_private.h: Likewise.
6635         * sysdeps/m68k/m680x0/m68020/bits/string.h
6636         (_STRING_ARCH_unaligned): Renamed to ...
6637         (_STRING_INLINE_unaligned): This.
6638         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6639         to ...
6640         (_STRING_INLINE_unaligned): This.
6641         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6642         to ...
6643         (_STRING_INLINE_unaligned): This.
6644         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6645         to ...
6646         (_STRING_INLINE_unaligned): This.
6648 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6649             H.J. Lu  <hongjiu.lu@intel.com>
6651         [BZ #19590]
6652         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6653         relocation.
6655 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6657         [BZ #18665]
6658         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6659         *herrno_p.
6660         (gaih_getanswer): Document functional behviour. Return tryagain
6661         if any result is tryagain.
6662         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6663         when freed.
6664         * resolv/res_send.c: Add copyright text.
6665         (__libc_res_nsend): Document that MAXPACKET is expected.
6666         (send_vc): Document. Remove buffer reuse.
6667         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6668         size of the buffer. Add Dprint for truncated UDP buffer.
6670 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6672         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6673         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6674         * INSTALL: Regenerate.
6676 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6677             Jonathan Wakely  <jwakely@redhat.com>
6678             Carlos O'Donell  <carlos@redhat.com>
6680         [BZ 19439]
6681         * math/Makefile (tests): Add test-math-isinff.
6682         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6683         * math/bits/mathcalls.h [__USE_MISC]: Use
6684         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6685         functions not in C++11 and which don't conflict e.g. isinff,
6686         isinfl etc.
6687         * math/test-math-isinff.cc: New file.
6689 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6691         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6693 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6695         [BZ #19529]
6696         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6698 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6700         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6702 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6704         [BZ #19550]
6705         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6706         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6707         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6708         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6709         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6710         New syscall entry.
6711         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6712         New syscall entry.
6713         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6714         syscall entry.
6716 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6718         [BZ #18240]
6719         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6720         unsigned int wraparound.
6722 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6724         [BZ #18240]
6725         * misc/bug18240.c: New test.
6726         * misc/Makefile (tests): Add it.
6728 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6729             Joseph Myers  <joseph@codesourcery.com>
6731         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6732         load in branch delay slot when less than a word of input left.
6734 2016-01-27  Andreas Schwab  <schwab@suse.de>
6736         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6737         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6738         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6739         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6741 2016-01-26  David S. Miller  <davem@davemloft.net>
6743         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6745 2016-01-25  David S. Miller  <davem@davemloft.net>
6747         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6748         __sqrtl_finite.
6749         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6750         instead using versioned_symbol.
6751         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6752         of entries.
6754         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6755         __sqrtl_finite to GLIBC_2.23
6757 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6759         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6761 2016-01-25  Andreas Schwab  <schwab@suse.de>
6763         [BZ #17514]
6764         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6765         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6766         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6767         * nptl/tst-mutex-errorcheck.c: New file.
6769 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6771         [BZ #18560]
6772         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6773         (IPCOP_semop): Likewise.
6774         (IPCOP_semget): Likewise.
6775         (IPCOP_semctl): Likewise.
6776         (IPCOP_msgsnd): Likewise.
6777         (IPCOP_msgrcv): Likewise.
6778         (IPCOP_msgget): Likewise.
6779         (IPCOP_msgctl): Likewise.
6780         (IPCOP_shmat): Likewise.
6781         (IPCOP_shmdt): Likewise.
6782         (IPCOP_shmget): Likewise.
6783         (IPCOP_shmctl): Likewise.
6785 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6787         * string/tst-endian.c: Include <libc-internal.h>.
6788         (do_test): Ignore tautological-compare warnings around
6789         "htobeXX (beXXtoh (i)) != i" and
6790         "htoleXX (leXXtoh (i)) != i" if-statements.
6792 2016-01-24  David S. Miller  <davem@davemloft.net>
6794         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6795         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6796         alias.
6797         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6798         __sqrtl_finite.
6800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6802 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6804         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6805         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6806         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6808 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6810         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6811         (thread_func): Use new function to simplify barrier check.
6812         (do_test): Use new function to simplify checking barrier exit
6813         code, and actually join the child thread.
6815 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6817         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6818         semicolon.
6819         (__libc_tend): Likewise.
6820         (__libc_tabort): Likewise.
6822 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6824         * sysdeps/nios2/libm-test-ulps: Update.
6825         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6826         (__gtsf2): Likewise.
6827         (__unorddf2): Likewise.
6828         (__unordsf2): Likewise.
6829         (__ledf2): Likewise.
6831 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6833         * nis/nis_table.c (__follow_path): Disable diagnostic for
6834         uninitialized variable that is a false positive for gcc 4.7.
6835         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6837 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6839         * sysdeps/nacl/lowlevellock-futex.h
6840         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6841         Always evaluate PRIVATE argument.
6843 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6845         [BZ #19490]
6846         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6847         (pthread_cond_broadcast): Use ENTRY/END
6848         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6849         (pthread_cond_signal): Likewise.
6850         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6851         Likewise.
6852         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6853         Likewise.
6854         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6855         Likewise.
6857 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6859         * sysdeps/ieee754/dbl-64/s_finite.c
6860         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6861         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6862         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6863         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6864         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6867         (__gtsf2): Add as optional for libc.so.
6868         (__unordsf2): Likewise.
6869         (__signbit): Remove for libc.so.
6870         (__signbitl): Likewise.
6872 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6874         * iconvdata/bug-iconv11.c (test_ibm93x):
6875         Use %zu printf format specifier for size_t argument.
6877 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6879         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6880         already-recorded ulps.
6881         * sysdeps/arm/libm-test-ulps: Regenerated.
6882         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6883         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6884         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6886 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6887             Paul Pluzhnikov  <ppluzhnikov@google.com>
6889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6890         assembler not supporting AVX-512.
6892 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6894         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6896 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6898         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6899         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6901         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6903         * sysdeps/arm/libm-test-ulps: Regenerated.
6905 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6907         [BZ #19451]
6908         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6910 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6912         [BZ #19486]
6913         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6914         * sysdeps/generic/fix-fp-int-convert-overflow.h
6915         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6916         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6917         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6918         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6919         Likewise.
6920         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6921         Avoid conversions to long int where inexact exceptions
6922         could be raised.
6923         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6924         Likewise.
6925         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6926         Avoid conversions to long long int where inexact exceptions
6927         could be raised.
6928         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6929         Likewise.
6931 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6933         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6934         * configure: Regenerated.
6936 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6938         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6940 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6942         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6943         outside of comment.
6945 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6947         * nptl/tst-barrier1.c: Add description on first line.
6948         * nptl/tst-barrier2.c: Likewise.
6949         * nptl/tst-barrier3.c: Likewise.
6950         * nptl/tst-barrier4.c: Likewise.
6951         * nptl/tst-barrier5.c: Likewise.
6953 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6955         [BZ #18868]
6956         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6958 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6962         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6963         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6964         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6965         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6966         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6967         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6968         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6969         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6970         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6972 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6974         [BZ #13065]
6975         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6976         new implementation.
6977         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6978         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6979         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6980         (BARRIER_IN_THRESHOLD): New macro.
6981         * nptl/pthread_barrierattr_setpshared.c
6982         (pthread_barrierattr_setpshared): Clean up.
6983         * nptl/tst-barrier4.c: Correct comment.
6984         * nptl/tst-barrier5.c: New file.
6985         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6986         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6987         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6988         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6989         * nptl/lowlevelbarrier.sym: Remove.
6990         * nptl/DESIGN-barrier.txt: Remove.
6991         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6992         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6993         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6994         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6995         error.
6996         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6997         implementation.
6999 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7001         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7002         (do_child): Mask SIGRTMIN while thr is running.
7004 2016-01-15  Martin Sebor  <msebor@redhat.com>
7006         [BZ #19432]
7007         * iconvdata/Makefile: Add bug-iconv11.
7008         * iconvdata/bug-iconv11.c: New test.
7009         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7010         * iconvdata/ibm933.c: Same.
7011         * iconvdata/ibm935.c: Same.
7012         * iconvdata/ibm937.c: Same.
7013         * iconvdata/ibm939.c: Same.
7015 2016-01-15  Martin Sebor  <msebor@redhat.com>
7017         [BZ #19443]
7018         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7019         [DEBUG] (_ufc_set_bits): Declare used.
7020         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7021         [DEBUG] (print_all): Declare used.
7022         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7023         operands of the ternary ?: expression to target type.
7024         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7025         calling the undeclared abort.
7026         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7028 2016-01-15  Martin Sebor  <msebor@redhat.com>
7030         [BZ #18755]
7031         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7032         warnings.
7033         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7034         (__gai_create_helper_thread): Same.
7035         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7036         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7037         to suppress -Wmaybe-uninitialized warnings.
7039 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7041         [BZ #19465]
7042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7043         inside if.
7044         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7045         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7048 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7050         [BZ #19466]
7051         * time/tst-mktime2.c (time_t_max): Removed.
7052         (time_t_min): Likewise.
7053         (TYPE_SIGNED): New.
7054         (TYPE_MINIMUM): Likewise.
7055         (TYPE_MAXIMUM): Likewise.
7056         (TIME_T_MIN): Likewise.
7057         (TIME_T_MAX): Likewise.
7058         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7059         and TIME_T_MIN.
7060         (do_test): Likewise.
7062 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7064         [BZ #19467]
7065         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7066         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7068 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7070         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7072 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7074         * benchtests/Makefile (PYTHON): Define.
7075         (bench-func): Use $(PYTHON) to run python scripts.
7076         ($(objpfx)bench-%.c): Likewise.
7078 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7080         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7081         leading slash when `file_name' is "/".
7083 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7085         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7086         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7087         Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7089         Likewise.
7090         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7091         Likewise.
7092         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7093         enum constant and macro.
7094         (PTRACE_SETSIGMASK): Likewise.
7095         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7096         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7097         (PTRACE_GETSIGMASK): Likewise.
7098         (PTRACE_SETSIGMASK): Likewise.
7099         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7100         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7101         Likewise.
7102         (PTRACE_SETSIGMASK): Likewise.
7103         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7104         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7105         (PTRACE_GETSIGMASK): Likewise.
7106         (PTRACE_SETSIGMASK): Likewise.
7107         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7109         Likewise.
7110         (PTRACE_SETSIGMASK): Likewise.
7111         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7112         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7113         Likewise.
7114         (PTRACE_SETSIGMASK): Likewise.
7115         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7116         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7117         Likewise.
7118         (PTRACE_SETSIGMASK): Likewise.
7119         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7121 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7122             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7124         [BZ #19439]
7125         * math/bits/mathcalls.h
7126         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7127         prototype.
7128         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7130 2016-01-11  Andreas Schwab  <schwab@suse.de>
7132         [BZ #19253]
7133         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7134         cache when TZDEFRULES was used.
7135         * time/tst-tzname.c: New file.
7136         * time/Makefile (test): Add tst-tzname.
7137         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7138         * timezone/Makefile (test-zones): Add $(posixrules-file).
7139         ($(testdata)/$(posixrules-file)): New rule.
7141 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7143         Fix doc quoting problems with Texinfo 5
7144         Without this change, in the info file output, Texinfo 5 quotes code
7145         in text with undirected single quotes 'like this' and generates
7146         code examples that with many PDF readers cannot be cut out of PDFs
7147         and pasted into code.
7148         * manual/libc.texinfo: Configure the libc manual like the GNU
7149         Emacs manual, by using @documentencoding and setting
7150         txicodequoteundirected and txicodequotebacktick.  This way,
7151         Texinfo 5 quotes code in text with directed single quotes ‘like
7152         this’ and produces examples that can be cut out of PDFs.  This
7153         change causes Texinfo 5 to generate info files that contain UTF-8
7154         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7155         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7157 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7159         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7160         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7161         barriers to their respective compiler built-ins.
7162         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7163         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7164         * sysdeps/powerpc/sysdep.h: Likewise.
7165         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7166         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7167         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7169 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7171         * scripts/config.guess: Revert previous shebang change.
7172         * scripts/config.sub: Likewise.
7173         * scripts/mkinstalldirs: Likewise.
7175 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7177         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7178         PPC_FEATURE2_HAS_IEEE128.
7179         * sysdeps/powerpc/dl-procinfo.c:
7180         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7182 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7184         [BZ #19415]
7185         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7186         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7187         (_dl_lookup_address): Rewrite using function resolver trampoline.
7188         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7189         two bits in address.
7191 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7193         * longlong.h: Change !__SHMEDIA__ to
7194         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7195         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7197 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7198             Joseph Myers  <joseph@codesourcery.com>
7199             Mark Shinwell  <shinwell@codesourcery.com>
7200             Andrew Stubbs  <ams@codesourcery.com>
7201             Rich Felker <dalias@libc.org>
7203         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7205 2016-01-07  Richard Henderson  <rth@redhat.com>
7207         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7209 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7211         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7212         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7214         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7215         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7217 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7218             Joseph Myers  <joseph@codesourcery.com>
7220         * timezone/private.h: Update from tzcode 2015g.
7221         * timezone/tzfile.h: Likewise.
7222         * timezone/tzselect.ksh: Likewise.
7223         * timezone/zdump.c: Likewise.
7224         * timezone/zic.c: Likewise.
7225         * timezone/ialloc.c: Remove file.
7226         * timezone/scheck.c: Likewise.
7227         * timezone/Makefile (extra-objs): Remove variable.
7228         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7229         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7230         -Wno-maybe-uninitialized.
7231         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7232         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7233         (CFLAGS-ialloc.c): Remove variable.
7234         (CFLAGS-scheck.c): Likewise.
7235         * timezone/README: Update list of files from tzcode.
7237 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7239         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7240         instead of __fxprintf when _LIBC is undefined.
7242 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7244         * catgets/test-gencat.sh: Remove space after shebang.
7245         * conform/GlibcConform.pm: Likewise.
7246         * conform/check-header-lists.sh: Likewise.
7247         * conform/conformtest.pl: Likewise.
7248         * conform/linknamespace.pl: Likewise.
7249         * conform/list-header-symbols.pl: Likewise.
7250         * debug/catchsegv.sh: Likewise.
7251         * elf/genrtldtbl.awk: Likewise.
7252         * elf/tst-pathopt.sh: Likewise.
7253         * elf/tst-rtld-load-self.sh: Likewise.
7254         * grp/tst_fgetgrent.sh: Likewise.
7255         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7256         * iconvdata/gen-8bit-gap.sh: Likewise.
7257         * iconvdata/gen-8bit.sh: Likewise.
7258         * iconvdata/run-iconv-test.sh: Likewise.
7259         * intl/tst-gettext.sh: Likewise.
7260         * intl/tst-gettext2.sh: Likewise.
7261         * intl/tst-gettext4.sh: Likewise.
7262         * intl/tst-gettext6.sh: Likewise.
7263         * intl/tst-translit.sh: Likewise.
7264         * io/ftwtest-sh: Likewise.
7265         * libio/test-freopen.sh: Likewise.
7266         * locale/gen-translit.pl: Likewise.
7267         * malloc/tst-mtrace.sh: Likewise.
7268         * manual/check-safety.sh: Likewise.
7269         * manual/libc-texinfo.sh: Likewise.
7270         * manual/tsort.awk: Likewise.
7271         * manual/xtract-typefun.awk: Likewise.
7272         * nptl/tst-cancel-wrappers.sh: Likewise.
7273         * nptl/tst-tls6.sh: Likewise.
7274         * posix/globtest.sh: Likewise.
7275         * posix/tst-getconf.sh: Likewise.
7276         * posix/wordexp-tst.sh: Likewise.
7277         * scripts/check-c++-types.sh: Likewise.
7278         * scripts/check-local-headers.sh: Likewise.
7279         * scripts/config.guess: Likewise.
7280         * scripts/config.sub: Likewise.
7281         * scripts/cpp: Likewise.
7282         * scripts/cross-test-ssh.sh: Likewise.
7283         * scripts/documented.sh: Likewise.
7284         * scripts/evaluate-test.sh: Likewise.
7285         * scripts/gen-libc-abis: Likewise.
7286         * scripts/gen-sorted.awk: Likewise.
7287         * scripts/list-fixed-bugs.py: Likewise.
7288         * scripts/merge-test-results.sh: Likewise.
7289         * scripts/mkinstalldirs: Likewise.
7290         * scripts/rellns-sh: Likewise.
7291         * scripts/test-installation.pl: Likewise.
7292         * scripts/update-copyrights: Likewise.
7293         * stdio-common/tst-printf.sh: Likewise.
7294         * stdio-common/tst-unbputc.sh: Likewise.
7295         * stdlib/tst-fmtmsg.sh: Likewise.
7296         * stdlib/tst-setcontext3.sh: Likewise.
7297         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7298         * sysdeps/unix/make-syscalls.sh: Likewise.
7300 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7302         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7303         asm stw with atomic_exchange_rel.  Add explanatory comment.
7304         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7305         Likewise.
7307 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7309         [BZ #19122]
7310         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7311         * sysdeps/generic/dl-unistd.h: New file.
7312         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7314 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7316          [BZ #19122]
7317          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7318          * sysdeps/generic/dl-mman.h: New file.
7319          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7321 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7323         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7324         trailing whitespace removed.
7325         * scripts/config.guess: Update to version 2016-01-01.
7326         * scripts/config.sub: Update to version 2016-01-01.
7327         * scripts/move-if-change: Update from gnulib.
7329 2016-01-04  Anton Blanchard  <anton@samba.org>
7331         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7332         for array indices.
7333         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7335 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7337         * NEWS: Update copyright dates.
7338         * catgets/gencat.c (print_version): Likewise.
7339         * csu/version.c (banner): Likewise.
7340         * debug/catchsegv.sh: Likewise.
7341         * debug/pcprofiledump.c (print_version): Likewise.
7342         * debug/xtrace.sh (do_version): Likewise.
7343         * elf/ldconfig.c (print_version): Likewise.
7344         * elf/ldd.bash.in: Likewise.
7345         * elf/pldd.c (print_version): Likewise.
7346         * elf/sotruss.sh: Likewise.
7347         * elf/sprof.c (print_version): Likewise.
7348         * iconv/iconv_prog.c (print_version): Likewise.
7349         * iconv/iconvconfig.c (print_version): Likewise.
7350         * locale/programs/locale.c (print_version): Likewise.
7351         * locale/programs/localedef.c (print_version): Likewise.
7352         * login/programs/pt_chown.c (print_version): Likewise.
7353         * malloc/memusage.sh (do_version): Likewise.
7354         * malloc/memusagestat.c (print_version): Likewise.
7355         * malloc/mtrace.pl: Likewise.
7356         * manual/libc.texinfo: Likewise.
7357         * nptl/version.c (banner): Likewise.
7358         * nscd/nscd.c (print_version): Likewise.
7359         * nss/getent.c (print_version): Likewise.
7360         * nss/makedb.c (print_version): Likewise.
7361         * posix/getconf.c (main): Likewise.
7362         * scripts/test-installation.pl: Likewise.
7363         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7365         * All files with FSF copyright notices: Update copyright dates
7366         using scripts/update-copyrights.
7367         * intl/plural.c: Regenerated.
7368         * locale/programs/charmap-kw.h: Likewise.
7369         * locale/programs/locfile-kw.h: Likewise.
7371 2016-01-02  Helge Deller  <deller@gmx.de>
7373         [BZ #19285]
7374         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7375         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7376         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7377         (MADV_xxK_PAGES): Remove.
7379 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7381         [BZ #15421]
7382         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7383         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7384         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7385         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7387 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7389         [BZ #19408]
7390         * sysdeps/unix/sysv/linux/personality.c: New file.
7391         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7392         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7393         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7394         (sysdep_routines): Add personality.
7395         (tests): Add tst-personality.
7396         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7398         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7399         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7400         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7401         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7402         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7403         Likewise.
7404         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7405         Likewise.
7406         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7407         Likewise.
7408         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7409         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7410         Likewise.
7412 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7414         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7415         (PATH_ARM_SYSTYPE): Remove.
7416         (PATH_CPUINFO): Likewise.
7417         (IO_BASE_FOOTBRIDGE): Likewise.
7418         (IO_SHIFT_FOOTBRIDGE): Likewise.
7419         (struct platform): Likewise.
7420         (init_iosys): Remove compatibility code for 2.4 kernels.
7421         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7423 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7425         * malloc/tst-malloc-thread-fail.c: New file.
7426         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7427         (tst-malloc-thread-fail): Link against libpthread.
7429 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7431         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7432         (get_parser): New function.
7433         (main): New function.
7435 2015-12-29  Rob Wu  <rob@robwu.nl>
7437         [BZ #19369]
7438         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7440 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7442         [BZ #19270]
7443         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7445 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7447         [BZ #15421]
7448         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7450 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7452         [BZ #13690]
7453         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7454         after releasing it.
7455         (__lll_robust_unlock): Likewise.
7456         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7458         (lll_robust_unlock): Likewise.
7459         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7460         Prevent warnings in callers.
7462 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7464         * malloc/arena.c (list_lock): Update comment.
7466 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7468         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7469         __parse_hwcap_and_convert_at_platform to libc.a.
7471 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7473         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7474         platform and feature support for POWER9.
7475         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7476         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7477         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7478         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7479         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7480         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7481         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7482         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7484 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7486         Harmonize generic stdio-lock support with nptl
7488         This fixes build when _IO_funlockfile is a macro, fixes build where
7489         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7490         stack unwind.
7492         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7493         _IO_release_lock ): Use cleanup attribute on new
7494         _IO_acquire_lock_file variable instead of assuming that
7495         _IO_release_lock will be called.
7496         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7497         _IO_acquire_lock_needs_exceptions_enabled.
7498         (_IO_acquire_lock_clear_flags2): New macro.
7500 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7502         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7504 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7506         [BZ #19182]
7507         * malloc/arena.c (list_lock): Document lock ordering requirements.
7508         (free_list_lock): New lock.
7509         (ptmalloc_lock_all): Comment on free_list_lock.
7510         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7511         (detach_arena): Update comment.  free_list_lock is now needed.
7512         (_int_new_arena): Use free_list_lock around detach_arena call.
7513         Acquire arena lock after list_lock.  Add comment, including FIXME
7514         about incorrect synchronization.
7515         (get_free_list): Switch to free_list_lock.
7516         (reused_arena): Acquire free_list_lock around detach_arena call
7517         and attached threads counter update.  Add two FIXMEs about
7518         incorrect synchronization.
7519         (arena_thread_freeres): Switch to free_list_lock.
7520         * malloc/malloc.c (struct malloc_state): Update comments to
7521         mention free_list_lock.
7523 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7525         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7526         Remove functions.
7527         (sloww, sloww1): Accept argument to offset quadrant.
7528         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7529         quadrant.
7530         (__sin, __cos): Consolidate common code into new functions.
7531         (reduce_sincos_1, do_sincos_1): New functions.
7532         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7535         code to new functions.
7536         (reduce_sincos_2, do_sincos_2): New functions.
7537         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7540         common code for sincos.
7541         (__cos) [!IN_SINCOS]: Likewise.
7542         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7543         New function.
7544         (__sincos): Use it.
7546 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7548         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7549         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7550         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7552 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7554         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7557         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7558         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7559         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7560         index_Prefer_No_VZEROUPPER): New feature.
7561         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7562         Prefer_No_VZEROUPPER for Knights Landing.
7564 015-12-18  Torvald Riegel  <triegel@redhat.com>
7566         * math/atest-exp2.c (mp_exp_m1): Remove.
7568 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7570         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7571         syscalls.
7572         (__SYSCALL0): New macro.
7573         (__SYSCALL1): Likewise.
7574         (__SYSCALL2): Likewise.
7575         (__SYSCALL3): Likewise.
7576         (__SYSCALL4): Likewise.
7577         (__SYSCALL5): Likewise.
7578         (__SYSCALL6): Likewise.
7579         (__SYSCALL_CONCAT_X): Likewise.
7580         (__SYSCALL_CONCAT): Likewise.
7581         (__SYSCALL_DIST): Likewise.
7582         (__SYSCALL_CALL): Likewise.
7584 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7586         [BZ #19363]
7587         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7589 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7591         [BZ #19375]
7592         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7593         negative subnormals.
7595 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7598         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7599         (INTERNAL_SYSCALL_NCS): Use it.
7600         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7602 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7604         [BZ #19243]
7605         * malloc/arena.c (get_free_list): Remove assert and adjust
7606         reference count handling.  Add comment about reused_arena
7607         interaction.
7608         (reused_arena): Add comments abount get_free_list interaction.
7609         * malloc/tst-malloc-thread-exit.c: New file.
7610         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7611         (tst-malloc-thread-exit): Link against libpthread.
7613 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7615         [BZ #19367]
7616         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7617         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7618         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7619         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7620         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7622 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7624         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7625         Silvermont optimizations for Knights Landing.
7627 2015-12-15  Andreas Schwab  <schwab@suse.de>
7629         [BZ #17197]
7630         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7631         immediately after emitting SI.
7632         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7633         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7634         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7635         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7636         * iconvdata/bug-iconv10.c: New file.
7637         * iconvdata/Makefile (tests): Add bug-iconv10.
7638         ($(objpfx)bug-iconv10.out): New rule.
7640 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7642         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7643         aliasing violation.
7645 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7647         [BZ #18472]
7648         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7649         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7650         conditionals for them.
7651         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7652         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7654         sys/kdaemon.h.
7655         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7656         compat-only syscall, obsoleted in glibc 2.23.
7657         (create_module): Likewise.
7658         (get_kernel_syms): Likewise.
7659         (query_module): Likewise.
7660         (uselib): Likewise.
7661         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7663 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7665         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7666         <linux/version.h>.
7667         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7668         conditional code.
7669         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7670         and ioshift_name initialization.
7672 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7674         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7675         Fix indentation.
7677 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7679         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7681 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7683         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7685 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7686             Jakub Wilk  <jwilk@debian.org>
7688         [BZ #19347]
7689         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7690         to change the group of the device to the tty group.
7692 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7694         Split large string section; add truncation advice
7695         * manual/examples/strncat.c: Remove.
7696         This example was misleading, as the code would have undefined
7697         behavior if "hello" was longer than SIZE.  Anyway, the manual
7698         shouldn't encourage strncpy+strncat for this sort of thing.
7699         * manual/string.texi (Copying Strings and Arrays): Split into
7700         three sections Copying Strings and Arrays, Concatenating Strings,
7701         and Truncating Strings, as this section was way too long.  All
7702         cross-referenced changed.  Add advice about string-truncation
7703         functions.  Remove misleading strncat example.
7705 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7707         * manual/nss.texi (NSS Modules Interface): Document
7708         NSS_STATUS_NOTFOUND and SUCCESS.
7710 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7712         [BZ 18568]
7713         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7714         201505L, for Unicode 8.
7716 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7718         * locale/C-translit.h: Regenerate.
7720 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7722         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7723         and U+0153.
7725 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #19351]
7728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7729         expanding log(1+z), compare z rather than its square with epsilon
7730         to determine when to avoid evaluating the expansion.
7732         [BZ #19350]
7733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7734         Increase overflow threshold.
7736         [BZ #19349]
7737         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7738         when small.
7740         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7741         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7742         New macro.
7743         [__LINUX_KERNEL_VERSION >= 0x040300]
7744         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7745         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7746         Likewise.
7747         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7748         Likewise.
7749         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7750         Likewise.
7751         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7752         Likewise.
7753         [__LINUX_KERNEL_VERSION >= 0x040300]
7754         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7755         [__LINUX_KERNEL_VERSION >= 0x040300]
7756         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7757         [__LINUX_KERNEL_VERSION >= 0x040300]
7758         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7759         [__LINUX_KERNEL_VERSION >= 0x040300]
7760         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7761         [__LINUX_KERNEL_VERSION >= 0x040300]
7762         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7764         Likewise.
7765         [__LINUX_KERNEL_VERSION >= 0x040300]
7766         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7768         Likewise.
7769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7770         Likewise.
7771         [__LINUX_KERNEL_VERSION >= 0x040300]
7772         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7773         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7774         Likewise.
7775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7776         Likewise.
7777         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7779         Likewise.
7780         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7781         Likewise.
7782         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7783         Likewise.
7784         [__LINUX_KERNEL_VERSION >= 0x040300]
7785         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7787         Likewise.
7788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7789         Likewise.
7790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7791         Likewise.
7792         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7793         Likewise.
7794         [__LINUX_KERNEL_VERSION >= 0x040300]
7795         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7796         [__LINUX_KERNEL_VERSION >= 0x040300]
7797         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7798         [__LINUX_KERNEL_VERSION >= 0x040300]
7799         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7800         [__LINUX_KERNEL_VERSION >= 0x040300]
7801         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7802         [__LINUX_KERNEL_VERSION >= 0x040300]
7803         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7805         Likewise.
7806         [__LINUX_KERNEL_VERSION >= 0x040300]
7807         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7808         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7809         Likewise.
7810         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7811         Likewise.
7812         [__LINUX_KERNEL_VERSION >= 0x040300]
7813         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7815         Likewise.
7816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7817         Likewise.
7818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7819         (__ASSUME_SOCKET_SYSCALL): Likewise.
7820         (__ASSUME_BIND_SYSCALL): Likewise.
7821         (__ASSUME_CONNECT_SYSCALL): Likewise.
7822         (__ASSUME_LISTEN_SYSCALL): Likewise.
7823         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7824         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7825         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7826         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7827         (__ASSUME_SEND_SYSCALL): Likewise.
7828         (__ASSUME_SENDTO_SYSCALL): Likewise.
7829         (__ASSUME_RECV_SYSCALL): Likewise.
7830         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7831         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7832         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7833         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7834         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7835         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7836         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7837         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7838         Likewise.
7839         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7840         Likewise.
7841         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7842         Likewise.
7843         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7844         Likewise.
7845         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7846         Likewise.
7847         [__LINUX_KERNEL_VERSION >= 0x020625]
7848         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7849         [__LINUX_KERNEL_VERSION >= 0x020625]
7850         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7851         [__LINUX_KERNEL_VERSION >= 0x020625]
7852         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7853         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7854         Likewise.
7855         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7856         Likewise.
7857         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7858         Likewise.
7859         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7860         Likewise.
7861         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7862         Likewise.
7863         [__LINUX_KERNEL_VERSION >= 0x020625]
7864         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7865         [__LINUX_KERNEL_VERSION >= 0x020625]
7866         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7867         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7868         Likewise.
7869         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7870         Likewise.
7872 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7874         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7875         record the current if the current ABI and CPU support the FP64
7876         extension.
7877         (has-modd-spreg): Define to record the current if the current ABI and
7878         CPU support 32-bit floating point values in odd FPU registers.
7879         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7880         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7881         $(has-modd-spreg) equals yes.
7882         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7883         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7884         $(has-modd-spreg) equal yes.
7886 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7888         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7889         basename.
7891 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7893         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7894         (bench-string): ... here.
7895         (bench): Add bench-string.
7896         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7897         to *-benchset to reflect what they are.
7898         (benchset): Adjust.
7900         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7901         cos-inputs.
7903 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7905         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7906         __attribute__ ((__simd__)) for vector math function declarations.
7908 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7910         Fix typo in strncat, wcsncat manual entries
7911         * manual/string.texi (Copying and Concatenation): Fix typos in
7912         sample implementations of strncat and wcsncat, by having them use
7913         the old value of the destination length, not the new one.
7915 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7917         [BZ #16961]
7918         [BZ #16962]
7919         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7920         string on the stack for strtod.
7921         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7922         a string on the stack for strtof.
7923         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7924         constructing a string on the stack for strtold.
7925         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7926         __strtold_nan to GLIBC_PRIVATE.
7927         * math/test-nan-overflow.c: New file.
7928         * math/test-nan-payload.c: Likewise.
7929         * math/Makefile (tests): Add test-nan-overflow and
7930         test-nan-payload.
7932 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7934         Consistency about byte vs character in string.texi
7935         * manual/string.texi (String and Array Utilities):
7936         Distinguish more carefully among bytes, multibyte characters,
7937         and wide characters.  Use "byte" when talking about C 'char',
7938         to distinguish it more clearly from multibyte characters.
7939         Say "wide character" or "multibyte character" instead of
7940         "character", when a wide or multibyte character is intended.
7941         Similarly for "multibyte string" versus "string".
7942         Define these terms more carefully.
7944 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7946         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7947         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7948         Likewise.
7949         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7950         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7951         * sysdeps/sh/math_private.h: New file.
7952         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7953         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7954         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7955         long double function name.
7956         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7957         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7958         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7960         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7962         Remove __finitel, __isinfl, and __isnanl.
7963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7964         Likewise.
7965         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7967         Remove __finitel.
7968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7969         Likewise.
7970         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7972 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7974         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7975         installed libmvec_nonshared.a.
7977 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7979         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7980         (sysdep_routines): Likewise.
7981         (sysdep-rtld-routines): Likewise.
7982         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7983         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7984         * sysdeps/powerpc/Versions: Added new
7985         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7986         * sysdeps/powerpc/hwcapinfo.c: New file.
7987         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7988         and parse hwcap, hwcap2 and platform number information.
7989         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7990         to store HWCAP+HWCAP2 and platform number.
7991         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7992         for HWCAP+HWCAP2 and platform number in the TCB.
7993         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7994         the HWCAP, HWCAP2 and platform number in the TCB.
7995         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7996         (TLS_INIT_TP): Included calls to add the hwcap and
7997         at_platform values in the TCB in TP initialization.
7998         (TLS_DEFINE_INIT_TP): Likewise.
7999         (THREAD_GET_HWCAP): New macro.
8000         (THREAD_SET_HWCAP): Likewise.
8001         (THREAD_GET_AT_PLATFORM): Likewise.
8002         (THREAD_SET_AT_PLATFORM): Likewise.
8003         * sysdeps/powerpc/powerpc32/dl-machine.h:
8004         (dl_platform_init): New function that calls
8005         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8006         powerpc32.
8007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8008         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8009         this functionality, static linking case.
8010         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8011         linking case.
8012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8013         __parse_hwcap_and_convert_at_platform for the static linking case.
8014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8015         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8016         ABI list for GLIBC 2.23.
8017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8018         Likewise.
8019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8020         Likewise.
8022 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8024         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8025         * configure: Regenerate.
8026         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8027         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8029 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8031         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8032         * iconvdata/ibm933.c: Likewise.
8033         * iconvdata/ibm935.c: Likewise.
8034         * iconvdata/ibm937.c: Likewise.
8035         * iconvdata/ibm939.c: Likewise.
8037 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8039         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8040         pthread_join.
8041         * nptl/tst-cancel21.c (tf): Likewise.
8043 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8045         [BZ #19313]
8046         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8047         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8048         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8049         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8050         Likewise.
8051         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8052         Likewise.
8053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8054         Likewise.
8055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8058         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8059         unsigned long int with __CPU_MASK_TYPE.
8061 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8063         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8065 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8068         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8069         t512.x.
8070         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8072 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8074         [BZ #19214]
8075         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8076         argument to return extended model.  Update family and model
8077         with extended family and model when family == 0x0f.
8078         (init_cpu_features): Updated.
8080 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8082         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8083         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8085         * sysdeps/mach/hurd/mmap64.c: New file.
8087 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8089         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8090         rights for its main user thread in NEWTASK.
8092 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8094         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8095         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8097 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8099         [BZ #14259]
8100         * Makeconfig: Rename localedir to complocaledir.
8101         Rename inst_localedir to inst_complocaledir.
8102         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8103         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8104         * configure.ac: Use libc_cv_complocaledir.
8105         * configure: Regenerate.
8106         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8107         -DCOMPLOCALEDIR.
8108         * locale/findlocale.c: Use COMPLOCALEDIR.
8109         * locale/loadarchive.c: Likewise.
8110         * locale/programs/locale.c: Likewise.
8111         * locale/programs/localedef.c: Likewise.
8112         * locale/programs/locarchive.c: Likewise.
8113         * localedata/Makefile: Use inst_complocaledir.
8114         * sysdeps/gnu/configure: Regenerate.
8115         * sysdeps/hppa/configure: Regenerate.
8116         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8117         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8119         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8120         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8121         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8122         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8124 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8126         [BZ #19058]
8127         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8128         AS_NEEDED.
8129         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8130         workaround.
8131         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8132         libmvec-static-only-routines): Added new file.
8133         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8135 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8137         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8138         of interrupted RPC instead of restoring it.
8140         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8141         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8142         libc_hidden_def.
8143         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8144         into initialized data instead of common. Define rtld_hidden_data_def.
8145         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8146         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8147         libc_hidden_def.
8148         (if_freenameindex): Add libc_hidden_weak.
8149         (if_nameindex): Add libc_hidden_weak.
8150         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8151         __open64.
8152         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8153         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8154         * sysdeps/mach/nanosleep.c: Include <time.h>
8155         (__nanosleep): Rename to __libc_nanosleep.
8156         (__nanosleep): Add weak_alias.
8157         (nanosleep): Update alias.
8159 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8161         * stdlib/strtod_nan.c: New file.
8162         * stdlib/strtod_nan_double.h: Likewise.
8163         * stdlib/strtod_nan_float.h: Likewise.
8164         * stdlib/strtod_nan_main.c: Likewise.
8165         * stdlib/strtod_nan_narrow.h: Likewise.
8166         * stdlib/strtod_nan_wide.h: Likewise.
8167         * stdlib/strtof_nan.c: Likewise.
8168         * stdlib/strtold_nan.c: Likewise.
8169         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8170         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8171         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8172         * wcsmbs/wcstod_nan.c: Likewise.
8173         * wcsmbs/wcstof_nan.c: Likewise.
8174         * wcsmbs/wcstold_nan.c: Likewise.
8175         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8176         strtold_nan.
8177         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8178         wcstof_nan.
8179         * include/stdlib.h (__strtof_nan): Declare and use
8180         libc_hidden_proto.
8181         (__strtod_nan): Likewise.
8182         (__strtold_nan): Likewise.
8183         (__wcstof_nan): Likewise.
8184         (__wcstod_nan): Likewise.
8185         (__wcstold_nan): Likewise.
8186         * include/wchar.h (____wcstoull_l_internal): Declare.
8187         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8188         (____strtoull_l_internal): Remove declaration.
8189         (STRTOF_NAN): Define macro.
8190         (SET_MANTISSA): Remove macro.
8191         (STRTOULL): Likewise.
8192         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8193         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8194         (STRTOF_NAN): Define macro.
8195         (SET_MANTISSA): Remove macro.
8196         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8197         (SET_MANTISSA): Remove macro.
8198         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8199         macro.
8200         (SET_MANTISSA): Remove macro.
8201         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8202         macro.
8203         (SET_MANTISSA): Remove macro.
8204         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8205         (SET_MANTISSA): Remove macro.
8206         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8207         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8208         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8210         [BZ #19266]
8211         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8212         upper case and lower case letters inside NAN(), not using TOLOWER.
8213         * stdlib/tst-strtod-nan-locale-main.c: New file.
8214         * stdlib/tst-strtod-nan-locale.c: Likewise.
8215         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8216         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8217         Depend on $(gen-locales).
8218         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8219         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8220         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8221         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8222         Depend on $(gen-locales).
8223         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8225 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8227         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8229         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8231         __finitel, __isinfl, and __isnanl.
8232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8236         __finitel.
8237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8238         Likewise.
8239         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8241 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8243         * malloc/memusage.c (me): Remove redundant getenv call.
8245 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8247         [BZ #19143]
8248         [BZ #19164]
8249         * nptl/check-cpuset.h: Remove.
8250         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8251         Remove CPU set size check.
8252         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8253         Likewise.
8254         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8255         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8256         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8257         (__pthread_setaffinity_new): Remove CPU set size check.
8258         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8259         (__kernel_cpumask_size): Remove.
8260         (__sched_setaffinity_new): Remove CPU set size check.
8261         * manual/threads.texi (Default Thread Attributes): Remove stale
8262         reference to check_cpuset_attr, determine_cpumask_size in comment.
8263         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8264         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8265         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8266         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8267         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8268         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8269         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8270         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8271         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8272         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8273         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8274         skeleton test file.
8275         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8276         tst-affinity-pid.
8278 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8280         * scripts/update-abilist.sh: New file.
8281         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8282         * Makerules (update-all-abi-%, update-all-abi)
8283         (subdir_update-all-abi): New targets.
8284         * elf/Makefile (update-all-abi): New target.
8286 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8288         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8289         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8290         (__libc_lock_define_initialized): Use it.
8291         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8292         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8293         * malloc/malloc.c (main_arena): Likewise.
8294         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8295         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8297 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8299         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8300         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8301         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8302         (PTRACE_O_MASK): Update value.
8303         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8304         New value in enum __ptrace_setoptions.
8305         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8306         (PTRACE_O_MASK): Update value.
8307         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8308         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8309         (PTRACE_O_MASK): Update value.
8310         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8311         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8312         (PTRACE_O_MASK): Update value.
8313         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8314         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8315         (PTRACE_O_MASK): Update value.
8316         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8317         New value in enum __ptrace_setoptions.
8318         (PTRACE_O_MASK): Update value.
8319         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8320         New value in enum __ptrace_setoptions.
8321         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8322         (PTRACE_O_MASK): Update value.
8324         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8325         New macro.
8326         (PACKET_AUXDATA): Likewise.
8327         (PACKET_ORIGDEV): Likewise.
8328         (PACKET_VERSION): Likewise.
8329         (PACKET_HDRLEN): Likewise.
8330         (PACKET_RESERVE): Likewise.
8331         (PACKET_TX_RING): Likewise.
8332         (PACKET_LOSS): Likewise.
8333         (PACKET_VNET_HDR): Likewise.
8334         (PACKET_TX_TIMESTAMP): Likewise.
8335         (PACKET_TIMESTAMP): Likewise.
8336         (PACKET_FANOUT): Likewise.
8337         (PACKET_TX_HAS_OFF): Likewise.
8338         (PACKET_QDISC_BYPASS): Likewise.
8339         (PACKET_ROLLOVER_STATS): Likewise.
8340         (PACKET_FANOUT_DATA): Likewise.
8341         (PACKET_MR_UNICAST): Likewise.
8343         [BZ #19242]
8344         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8345         (TOUPPER): Likewise.
8346         * stdlib/tst-strtol-locale-main.c: New file.
8347         * stdlib/tst-strtol-locale.c: Likewise.
8348         * stdlib/Makefile (tests): Add tst-strtol-locale.
8349         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8350         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8351         Depend on $(gen-locales).
8352         * wcsmbs/tst-wcstol-locale.c: New file.
8353         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8354         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8355         tr_TR.ISO-8859-9.
8356         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8357         Depend on $(gen-locales).
8359 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8361         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8362         __glibc_likely instead of __builtin_expect.  After falling back to
8363         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8364         system interface to register the code pages as occupied.
8366 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8368         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8369         [!ARM_MATH_PRIVATE_H].
8370         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8371         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8372         [!HPPA_MATH_PRIVATE_H].
8373         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8374         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8375         to [!I386_MATH_PRIVATE_H].
8376         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8377         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8378         Change guard to [!M68K_MATH_PRIVATE_H].
8379         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8380         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8381         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8382         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8383         macro.
8384         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8385         [!MIPS_MATH_PRIVATE_H].
8386         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8387         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8388         [!NIO2_MATH_PRIVATE_H].
8389         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8390         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8391         [!TILE_MATH_PRIVATE_H].
8392         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8394         [BZ #15421]
8395         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8396         initialize with 0 and define as weak alias of __signgam.
8397         * include/math.h [!_ISOMAC] (__signgam): Declare.
8398         * math/Makefile (libm-calls): Add w_lgamma_compat.
8399         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8400         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8401         test-signgam-ullong-init.
8402         (tests-static): Add test-signgam-uchar-static,
8403         test-signgam-uchar-init-static, test-signgam-uint-static,
8404         test-signgam-uint-init-static, test-signgam-ullong-static and
8405         test-signgam-ullong-init-static.
8406         (CFLAGS-test-signgam-uchar.c): New variable.
8407         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8408         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8409         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8410         (CFLAGS-test-signgam-uint.c): Likewise.
8411         (CFLAGS-test-signgam-uint-init.c): Likewise.
8412         (CFLAGS-test-signgam-uint-static.c): Likewise.
8413         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8414         (CFLAGS-test-signgam-ullong.c): Likewise.
8415         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8416         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8417         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8418         * math/Versions (libm): Add GLIBC_2.23.
8419         * math/lgamma-compat.h: New file.
8420         * math/test-signgam-main.c: Likewise.
8421         * math/test-signgam-uchar-init-static.c: Likewise.
8422         * math/test-signgam-uchar-init.c: Likewise.
8423         * math/test-signgam-uchar-static.c: Likewise.
8424         * math/test-signgam-uchar.c: Likewise.
8425         * math/test-signgam-uint-init-static.c: Likewise.
8426         * math/test-signgam-uint-init.c: Likewise.
8427         * math/test-signgam-uint-static.c: Likewise.
8428         * math/test-signgam-uint.c: Likewise.
8429         * math/test-signgam-ullong-init-static.c: Likewise.
8430         * math/test-signgam-ullong-init.c: Likewise.
8431         * math/test-signgam-ullong-static.c: Likewise.
8432         * math/test-signgam-ullong.c: Likewise.
8433         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8434         wrapper of w_lgamma_main.c.
8435         * math/w_lgamma_compat.c: New file.
8436         * math/w_lgamma_compatf.c: Likewise.
8437         * math/w_lgamma_compatl.c: Likewise.
8438         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8439         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8440         defining compatibility symbols.
8441         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8442         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8443         wrapper of w_lgammaf_main.c.
8444         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8445         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8446         defining compatibility symbols.
8447         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8448         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8449         wrapper of w_lgammal_main.c.
8450         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8451         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8452         defining compatibility symbols.
8453         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8454         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8455         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8456         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8457         <lgamma-compat.h>.
8458         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8459         (__ieee754_gamma): Define as alias.
8460         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8461         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8462         <lgamma-compat.h>.
8463         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8464         (__ieee754_gammaf): Define as alias.
8465         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8466         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8467         <lgamma-compat.h>.
8468         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8469         (__ieee754_gammal): Define as alias.
8470         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8471         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8472         <math/w_lgamma_compat.c>.
8473         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8474         Define as alias of __lgamma_compat and use in defining lgammal.
8475         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8476         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8477         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8478         (USE_AS_COMPAT): New macro.
8479         (LGAMMA_OLD_VER): Undefine and redefine.
8480         (lgammal): Do not define here.
8481         (gammal): Only define here if [GAMMA_ALIAS].
8482         * conform/linknamespace.pl (@whitelist): Remove signgam.
8483         * sysdeps/nacl/libm.abilist: Update.
8484         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8485         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8486         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8487         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8488         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8489         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8490         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8491         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8492         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8493         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8494         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8495         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8497         Likewise.
8498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8499         Likewise.
8500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8501         Likewise.
8502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8503         Likewise.
8504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8505         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8508         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8510         Likewise.
8511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8512         Likewise.
8513         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8514         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8515         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8517 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8519         [BZ #16364]
8520         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8521         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8523 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8525         * sysdeps/s390/fpu/bits/mathinline.h:
8526         Use __asm__ [__volatile__] instead of asm [volatile].
8527         * sysdeps/s390/abort-instr.h: Likewise.
8528         * sysdeps/s390/atomic-machine.h: Likewise.
8529         * sysdeps/s390/bits/string.h: Likewise.
8530         * sysdeps/s390/dl-tls.h: Likewise.
8531         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8532         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8533         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8534         * sysdeps/s390/fpu/fesetround.c: Likewise.
8535         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8536         * sysdeps/s390/fpu/s_fma.c: Likewise.
8537         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8538         * sysdeps/s390/memusage.h: Likewise.
8539         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8540         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8541         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8542         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8543         * sysdeps/s390/nptl/tls.h: Likewise.
8544         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8545         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8546         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8547         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8548         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8549         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8550         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8551         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8552         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8553         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8554         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8555         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8556         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8557         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8558         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8559         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8560         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8561         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8564         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8566         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8568 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8569             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8571         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8572         Add lwarx hint, and use macro for acquire instruction.
8573         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8574         Likewise.
8575         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8576         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8577         update to use new atomic macros.
8579 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8581         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8582         (__lll_trylock_elision): Fix setting of adapt_count.
8583         * sysdeps/unix/sysv/linux/powerpc/htm.h
8584         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8585         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8586         (_ABORT_SYSCALL): Renumber, and clarify definition.
8587         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8589 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8591         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8592         after system headers to prevent MIN/MAX redefinition.  Define
8593         HAVE_ALLOCA to preserve builtin alloca usage.
8595 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8598         static and don't set or restore rounding.
8599         (__cos)[IN_SINCOS]: Likewise.
8600         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8601         (__sincos): Set and restore rounding mode.  Remove check for infinite
8602         or NaN input.
8604         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8606         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8607         as used.
8609 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8611         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8613 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8615         * config.make.in (have-glob-dat-reloc): New.
8616         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8617         target supports GLOB_DAT relocaton. AC_SUBST.
8618         * configure: Regenerated.
8619         * elf/Makefile (tests): Add tst-prelink.
8620         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8621         (tst-prelink-ENV): New.
8622         ($(objpfx)tst-prelink-conflict.out): Likewise.
8623         ($(objpfx)tst-prelink-cmp.out): Likewise.
8624         * sysdeps/x86/tst-prelink.c: Moved to ...
8625         * elf/tst-prelink.c: Here.
8626         * sysdeps/x86/tst-prelink.exp: Moved to ...
8627         * elf/tst-prelink.exp: Here.
8628         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8629         (tst-prelink-ENV): Removed.
8630         ($(objpfx)tst-prelink-conflict.out): Likewise.
8631         ($(objpfx)tst-prelink-cmp.out): Likewise.
8632         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8634 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8636         [BZ #14551]
8637         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8638         (__mpn_construct_long_double): If high part overflows to infinity,
8639         set errno and recompute overflowed result of the correct sign.
8640         * sysdeps/ieee754/ldbl-128ibm/Makefile
8641         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8642         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8643         $(libm).
8644         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8646 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8648         [BZ #15479]
8649         [BZ #19238]
8650         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8651         floating-point state after first operation on input.  Restore full
8652         state rather than just rounding mode.
8653         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8654         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8655         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8657         [BZ #19235]
8658         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8659         add 0.5 to integer arguments.
8660         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8661         Likewise.
8662         (.LC2): New object.
8664 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8666         * scripts/pylintrc (reports): Set to no.
8668 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8670         * elf/dl-load.c (open_verify): Take new argument FD.
8671         Skip __open call if passed FD is not -1.
8672         (_dl_map_object, open_path): Update callers.
8673         * elf/dl-sysdep-open.h: New file.
8674         * elf/dl-load.c: Include it.
8675         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8676         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8677         * sysdeps/nacl/dl-sysdep-open.h: New file.
8678         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8679         from libc to rtld.
8681 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8683         [BZ #19228]
8684         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8685         and restore full floating-point state.
8686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8687         Likewise.
8688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8689         Likewise.
8690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8691         Likewise.
8692         * math/test-nearbyint-except-2.c: New file.
8693         * math/Makefile (tests): Add test-nearbyint-except-2.
8695 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8697         [BZ #19178]
8698         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8699         (tst-prelink-ENV): New.
8700         ($(objpfx)tst-prelink-conflict.out): Likewise.
8701         ($(objpfx)tst-prelink-cmp.out): Likewise.
8702         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8703         * sysdeps/x86/tst-prelink.c: New file.
8704         * sysdeps/x86/tst-prelink.exp: Likewise.
8706 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8708         * math/auto-libm-test-in: Add another test of pow.
8709         * math/auto-libm-test-out: Regenerated.
8710         * math/libm-test.inc (pow_test_data): Add another test.
8712 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8714         [BZ #19219]
8715         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8716         weak_alias to nearbyintl.
8718 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8720         * sysdeps/aarch64/bits/string.h: New file.
8721         (_STRING_ARCH_unaligned): Define.
8723 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8725         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8726         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8727         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8728         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8731 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8733         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8734         for original name of the DSO.  Add it to the name list of the DSO
8735         if it is actually given.
8736         (_dl_map_object): Keep track of whether an audit module rewrote
8737         the file name.  If yes, pass the original name to
8738         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8739         debugging is enabled, log the change of the file name.
8740         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8741         _dl_map_object_from_fd.
8742         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8743         * elf/tst-audit11.c: New file
8744         * elf/tst-auditmod11.c: New file.
8745         * elf/tst-audit11mod1.c: New file.
8746         * elf/tst-audit11mod2.c: New file.
8747         * elf/tst-audit11mod2.map: New file.
8748         * elf/tst-audit12.c: New file
8749         * elf/tst-auditmod12.c: New file.
8750         * elf/tst-audit12mod1.c: New file.
8751         * elf/tst-audit12mod2.c: New file.
8752         * elf/tst-audit12mod2.map: New file.
8753         * elf/tst-audit12mod3.c: New file.
8755 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8757         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8758         Don't create weak aliases,
8759         because versioned symbols are created later.
8760         * sysdeps/s390/s390-32/setjmp.S
8761         (setjmp, _setjmp): Remove weak and rename to an unique name
8762         in SHARED case due to existing versioned symbols.
8763         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8764         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8765         (getcontext): Create weak alias only in non SHARED case.
8766         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8768 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8770         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8771         (__ASSUME_*_SYSCALL) Define new macros.
8772         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8773         Remove socketcall syscalls.
8774         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8775         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8776         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8777         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8778         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8779         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8781 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8783         [BZ #12926]
8784         Terminate process on invalid netlink response.
8785         * sysdeps/unix/sysv/linux/netlinkaccess.h
8786         (__netlink_assert_response): Declare.
8787         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8788         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8789         (sysdep_routines): Add netlink_assert_response.
8790         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8791         __netlink_assert_response.
8792         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8793         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8794         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8795         __netlink_assert_response.
8797 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8799         [BZ #19178]
8800         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8801         (RTYPE_CLASS_PLT): Likewise.
8802         (RTYPE_CLASS_COPY): Likewise.
8803         (RTYPE_CLASS_TLS): Likewise.
8804         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8805         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8806         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8807         DL_DEBUG_PRELINK.
8809 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8811         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8812         calls with argument -0.5.
8813         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8815         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8816         (libc_cv_z_nodlopen): Likewise.
8817         (libc_cv_z_initfirst): Likewise.
8818         * configure: Regenerated.
8820 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8822         Simplify abilist format to be line-based.
8823         * scripts/abilist.awk: Collect descriptors in the descs variable.
8824         (emit): Write descs variable and sort it
8825         externally, with sort.
8826         * sysdeps/**/*.abilist: Convert to new format.
8828 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8830         [BZ #11460]
8831         * io/Makefile (routines): Add fts64.
8832         (tests): Add tst-fts and tst-fts-lfs.
8833         (CFLAGS-fts64.c): New.
8834         * io/Versions (GLIBC_2.23): New.
8835         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8836         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8837         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8838         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8839         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8840         (FTSENT64): Likewise.
8841         (fts64_children): Likewise.
8842         (fts64_close): Likewise.
8843         (fts64_open): Likewise.
8844         (fts64_read): Likewise.
8845         (fts64_set): Likewise.
8846         * io/fts64.c: New file.
8847         * io/tst-fts.c: New test.
8848         * io/tst-fts-lfs.c: Likewise.
8849         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8850         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8851         fts64_set.
8852         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8853         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8854         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8855         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8857         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8858         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8859         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8860         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8862         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8863         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8864         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8866         Likewise.
8867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8868         Likewise.
8869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8871         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8872         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8873         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8878         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8879         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8881         * sysdeps/wordsize-64/fts.c: New file.
8882         * sysdeps/wordsize-64/fts64.c: Likewise.
8883         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8884         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8885         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8886         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8888 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8890         * math/libm-test.inc (NON_FINITE): New macro.
8891         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8892         * math/gen-libm-test.pl (show_exceptions): Add argument
8893         $non_finite.
8894         (parse_args): Update call to show_exceptions.
8895         * math/test-math-finite.h: New file.
8896         * math/test-math-no-finite.h: Likewise.
8897         * math/test-double-finite.c: Likewise.
8898         * math/test-float-finite.c: Likewise.
8899         * math/test-ldouble-finite.c: Likewise.
8900         * math/test-double.c: Include "test-math-no-finite.h".
8901         * math/test-float.c: Include "test-math-no-finite.h".
8902         * math/test-ldouble.c: Include "test-math-no-finite.h".
8903         * math/test-math-inline.h (TEST_FINITE): New macro.
8904         * math/test-math-vector.h (TEST_FINITE): Likewise.
8905         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8906         (libm-tests): Add test-float-finite and test-double-finite.
8907         ($(objpfx)test-float-finite.o): New dependency on
8908         $(objpfx)libm-test.stmp.
8909         ($(objpfx)test-double-finite.o): Likewise.
8910         ($(objpfx)test-ldouble-finite.o): Likewise.
8911         (libm-test-no-inline-cflags): New variable.
8912         (libm-test-finite-cflags): Likewise.
8913         (CFLAGS-test-float-finite.c): Likewise.
8914         (CFLAGS-test-double-finite.c): Likewise.
8915         (CFLAGS-test-ldouble-finite.c): Likewise.
8916         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8917         (CFLAGS-test-double.c): Likewise.
8918         (CFLAGS-test-ldouble.c): Likewise.
8920 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8922         * io/fcntl.c (__fcntl): Add ... to prototype.
8923         * misc/ioctl.c (__ioctl): Likewise.
8924         * misc/syscall.c (syscall): Likewise.
8926 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8928         * scripts/list-fixed-bugs.py: New file.
8930         [BZ #19213]
8931         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8932         returned for argument 1.
8933         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8934         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8935         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8936         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8937         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8938         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8940         [BZ #19211]
8941         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8942         __USE_XOPEN], not if [!__USE_ISOC99].
8943         (lgammaf): Likewise.
8944         (lgammal): Likewise.
8945         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8946         (gammaf): Likewise.
8947         (gammal): Likewise.
8948         * math/test-signgam-finite-c11.c: New file.
8949         * math/test-signgam-finite-c99.c: Likewise.
8950         * math/test-signgam-finite.c: Likewise.
8951         * math/Makefile (tests): Add test-signgam-finite,
8952         test-signgam-finite-c99 and test-signgam-finite-c11.
8953         (CFLAGS-test-signgam-finite.c): New variable.
8954         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8955         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8957         [BZ #19212]
8958         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8959         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8960         500].
8961         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8962         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8963         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8964         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8965         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8966         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8967         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8968         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8969         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8970         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8972         [BZ #19209]
8973         * math/bits/math-finite.h (ldexp): Remove declaration.
8974         (ldexpf): Likewise.
8975         (ldexpl): Likewise.
8977         [BZ #19205]
8978         * math/bits/math-finite.h (acosf): Condition declaration on
8979         [__USE_ISOC99].
8980         (acosl): Likewise.
8981         (acoshf): Likewise.
8982         (acoshl): Likewise.
8983         (asinf): Likewise.
8984         (asinl): Likewise.
8985         (atan2f): Likewise.
8986         (atan2l): Likewise.
8987         (atanhf): Likewise.
8988         (atanhl): Likewise.
8989         (coshf): Likewise.
8990         (coshl): Likewise.
8991         (expf): Likewise.
8992         (expl): Likewise.
8993         (fmodf): Likewise.
8994         (fmodl): Likewise.
8995         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8996         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8997         (j0l): Likewise.
8998         (y0f): Likewise.
8999         (y0l): Likewise.
9000         (j1f): Likewise.
9001         (j1l): Likewise.
9002         (y1f): Likewise.
9003         (y1l): Likewise.
9004         (jnf): Likewise.
9005         (jnl): Likewise.
9006         (ynf): Likewise.
9007         (ynl): Likewise.
9008         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9009         (lgammal_r): Likewise.
9010         (__lgamma_r_finite): New declaration.
9011         (__lgammaf_r_finite): Likewise.
9012         (__lgammal_r_finite): Likewise.
9013         (lgamma): Use __lgamma_r_finite.
9014         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9015         __lgammaf_r_finite.
9016         (lgammal): Condition definition on [__USE_ISOC99].  Use
9017         __lgammal_r_finite.
9018         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9019         __lgamma_r_finite.
9020         (gammaf): Condition definition on [__USE_ISOC99].  Use
9021         __lgammaf_r_finite.
9022         (gammal): Condition definition on [__USE_ISOC99].  Use
9023         __lgammal_r_finite.
9024         (logf): Condition declaration on [__USE_ISOC99].
9025         (logl): Likewise.
9026         (log10f): Likewise.
9027         (log10l): Likewise.
9028         (ldexpf): Likewise.
9029         (ldexpl): Likewise.
9030         (powf): Likewise.
9031         (powl): Likewise.
9032         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9033         __USE_ISOC99].
9034         (remainderf): Condition declaration on [__USE_ISOC99].
9035         (remainderl): Likewise.
9036         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9037         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9038         (scalbl): Likewise.
9039         (sinhf): Condition declaration on [__USE_ISOC99].
9040         (sinhl): Likewise.
9041         (sqrtf): Likewise.
9042         (sqrtl): Likewise.
9044 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9046         * sysdeps/arm/atomic-machine.h
9047         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9048         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9049         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9050         Remove conditional code.
9051         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9052         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9053         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9054         Change conditional to [__ASSEMBLER__].
9055         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9056         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9057         [!__ASSEMBLER__].
9058         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9059         code.
9060         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9061         conditional macro definitions.
9062         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9063         (__arch_compare_and_exchange_val_16_acq): Likewise.
9064         (__arch_compare_and_exchange_val_32_acq): Likewise.
9065         (atomic_exchange_and_add): Likewise.
9066         (atomic_add): Likewise.
9067         (atomic_add_negative): Likewise.
9068         (atomic_add_zero): Likewise.
9069         (atomic_bit_set): Likewise.
9070         (atomic_bit_test_set): Likewise.
9071         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9072         code unconditional.
9073         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9075         * math/test-math-errno.h: New file.
9076         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9077         empty.
9078         (TEST_ERRNO): New macro.
9079         (TEST_EXCEPTIONS): Likewise.
9080         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9081         (TEST_EXCEPTIONS): Likewise.
9082         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9083         * math/test-double.c: Include "test-math-errno.h".
9084         * math/test-float.c: Likewise.
9085         * math/test-ldouble.c: Likewise.
9086         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9087         code unconditional.
9088         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9089         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9090         unconditional.
9091         (test_errno): Only run code if TEST_ERRNO.
9092         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9094 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9096         * nptl/tst-once5.cc: Remove attribution.
9098 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9100         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9101         sqrt, tan, tanh, y0, y1 and yn.
9102         * math/auto-libm-test-out: Regenerated.
9103         * math/libm-test.inc (scalb_test_data): Add more tests.
9104         (scalbn_test_data): Likewise.
9105         (scalbln_test_data): Likewise.
9106         (signbit_test_data): Likewise.
9107         (sin_test_data): Likewise.
9108         (sincos_test_data): Likewise.
9109         (sinh_test_data): Likewise.
9110         (sqrt_test_data): Likewise.
9111         (tan_test_data): Likewise.
9112         (tanh_test_data): Likewise.
9113         (tgamma_test_data): Likewise.
9114         (y0_test_data): Likewise.
9115         (y1_test_data): Likewise.
9116         (yn_test_data): Likewise.
9117         (significand_test_data): Likewise.
9118         * sysdeps/i386/fpu/libm-test-ulps: Update.
9120 2015-11-03  David Kastrup  <dak@gnu.org>
9122         [BZ #18604]
9123         * assert/assert.h (assert): Don't macro-expand failed assertion
9124         expression in error message.
9125         * malloc/malloc.c (assert): Likewise.
9127 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9129         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9130         test.
9131         * configure: Regenerated.
9133 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9135         * math/libm-test.inc (modf_test_data): Add more tests.
9136         (nearbyint_test_data): Likewise.
9137         (nextafter_test_data): Likewise.
9138         (nexttoward_test_data): Likewise.
9139         (pow_test_data): Likewise.
9140         (remainder_test_data): Likewise.
9141         (remquo_test_data): Likewise.
9142         (rint_test_data): Likewise.
9144         [BZ #19201]
9145         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9146         Check for zero remainder in case of large exponents and ensure
9147         correct sign of result in that case.
9148         * math/libm-test.inc (remainder_test_data): Add more tests.
9150         [BZ #6799]
9151         * math/s_nextafter.c: Include <errno.h>.
9152         (__nextafter): Set errno on overflow and underflow.
9153         * math/s_nexttowardf.c: Include <errno.h>.
9154         (__nexttowardf): Set errno on overflow and underflow.
9155         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9156         (__nextafterl): Set errno on overflow and underflow.
9157         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9158         (__nexttoward): Set errno on overflow and underflow.
9159         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9160         (__nexttowardf): Set errno on overflow and underflow.
9161         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9162         (__nextafterf): Set errno on overflow and underflow.
9163         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9164         (__nextafterl): Set errno on overflow and underflow.
9165         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9166         (__nexttoward): Set errno on overflow and underflow.
9167         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9168         (__nexttowardf): Set errno on overflow and underflow.
9169         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9170         (__nextafterl): Set errno on overflow and underflow.
9171         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9172         (__nexttoward): Set errno on overflow and underflow.
9173         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9174         (__nexttowardf): Set errno on overflow and underflow.
9175         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9176         (__nexttoward): Set errno on overflow and underflow.
9177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9178         (__nexttowardf): Set errno on overflow and underflow.
9179         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9180         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9181         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9182         (__nextafterl): Set errno on overflow and underflow.
9183         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9184         setting to be missing on overflow.  Add more tests.
9185         (nexttoward_test_data): Likewise.
9187         * configure.ac (libc_cv_initfini_array): Remove configure test.
9188         * configure: Regenerated.
9190 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9192         [BZ #19189]
9193         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9194         non-finite argument handle arguments with negative sign.
9196         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9197         result from infinite argument.
9198         (j1_test_data): Likewise.
9199         (jn_test_data): Likewise.
9200         (y0_test_data): Likewise.
9201         (y1_test_data): Likewise.
9202         (yn_test_data): Likewise.
9204         [BZ #16171]
9205         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9206         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9207         * math/w_remainderf.c (dremf): Define as weak alias of
9208         __remainderf.
9209         * math/w_remainderl.c (dreml): Define as weak alias of
9210         __remainderl.
9211         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9212         __remainder.
9213         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9214         __remainderf.
9215         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9216         __remainderl.
9217         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9218         weak alias of remainderl.
9219         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9220         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9221         alias of __remainder.
9222         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9223         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9224         strong alias of __remainderl.
9225         (dreml): Use long_double_symbol.
9226         * math/Makefile (libm-calls): Remove w_drem.
9227         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9228         (CFLAGS-nldbl-drem.c): Remove variable.
9229         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9230         * math/w_drem.c: Remove file.
9231         * math/w_dremf.c: Likewise.
9232         * math/w_dreml.c: Likewise.
9233         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9234         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9235         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9237         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9238         * sysdeps/i386/configure: Regenerated.
9239         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9240         * sysdeps/x86_64/configure: Regenerated.
9242         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9243         test.
9244         (libc_cv_visibility_attribute): Likewise.
9245         (libc_cv_protected_data): Test unconditionally.
9246         (libc_cv_broken_visibility_attribute): Remove configure test.
9247         (libc_cv_have_sdata_section): Test unconditionally.
9248         * configure: Regenerated.
9250         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9251         * include/scratch_buffer.h: Include <stddef.h> instead of
9252         <libc-internal.h>.
9253         (struct scratch_buffer): Use max_align_t instead of
9254         libc_max_align_t.
9256 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9258         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9259         instead of extend_alloca.  Change control flow to avoid a goto.
9260         Remove assert which is trivially always true.
9262 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9264         [BZ #16068]
9265         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9266         (FE_ALL_EXCEPT_X86): New macro.
9267         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9268         FE_ALL_EXCEPT.  Ensure precision control is included in
9269         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9270         handle "denormal operand exception" and clear FZ and DAZ bits.
9271         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9272         (FE_ALL_EXCEPT_X86): New macro.
9273         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9274         FE_ALL_EXCEPT.  Ensure precision control is included in
9275         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9276         handle "denormal operand exception" and clear FZ and DAZ bits.
9277         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9278         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9279         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9280         test-fenv-x87 and test-fenv-sse-2.
9281         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9283         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9284         * math/test-double.h (BUILD_COMPLEX): New macro.
9285         * math/test-float.h (BUILD_COMPLEX): Likewise.
9286         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9288         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9289         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9290         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9292         instead of DBL_DENORM_MIN in comment.
9293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9294         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9295         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9296         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9298         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9300 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9302         [BZ# 19048]
9303         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9304         attached_threads member.
9305         (main_arena): Initialize attached_threads.
9306         * malloc/arena.c (list_lock): Update comment.
9307         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9308         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9309         (deattach_arena): New function.
9310         (_int_new_arena): Initialize arena reference count and deattach
9311         replaced arena.
9312         (get_free_list, reused_arena): Update reference count and deattach
9313         replaced arena.
9314         (arena_thread_freeres): Update arena reference count and only put
9315         unreferenced arenas on the free list.
9317 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9319         [BZ #19181]
9320         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9321         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9322         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9323         * math/test-fenv-clear-main.c: New file.
9324         * math/test-fenv-clear.c: Likewise.
9325         * math/Makefile (tests): Add test-fenv-clear.
9326         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9327         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9328         test-fenv-clear-sse.
9329         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9331         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9332         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9333         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9335 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9337         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9338         static libc.
9340 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9342         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9343         test.
9344         * sysdeps/i386/configure: Regenerated.
9345         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9346         test.
9347         * sysdeps/x86_64/configure: Regenerated.
9348         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9350         memset-avx2 unconditionally instead of conditionally on
9351         [$(config-cflags-avx2) = yes].
9352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9353         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9354         unconditional.
9355         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9356         * sysdeps/x86_64/multiarch/memset_chk.S
9357         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9358         to [IS_IN (libc) && SHARED].
9360 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9362         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9363         configure test.
9364         * sysdeps/arm/configure: Regenerated.
9365         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9366         Define variable if not already defined.
9368         [BZ #17404]
9369         * sysdeps/mips/atomic-machine.h
9370         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9371         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9372         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9374         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9375         unconditional.
9376         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9377         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9378         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9379         unconditional.
9380         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9381         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9382         unconditional.
9383         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9384         * stdlib/setenv.c
9385         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9386         code unconditional.
9387         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9388         Remove conditional code.
9389         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9390         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9391         unconditional.
9392         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9393         code.
9394         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9395         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9396         unconditional.
9397         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9398         code.
9399         * sysdeps/ieee754/ldbl-128/k_tanl.c
9400         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9401         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9402         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9403         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9404         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9405         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9406         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9407         unconditional.
9408         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9409         code.
9410         * sysdeps/ieee754/ldbl-96/k_tanl.c
9411         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9412         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9414         * nptl/tst-initializers1-c11.c: New file.
9415         * nptl/tst-initializers1-gnu11.c: Likewise.
9416         * nptl/Makefile (tests): Add these new tests.
9417         (CFLAGS-tst-initializers1-c11.c): New variable.
9418         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9420         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9421         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9422         instead of -std=gnu99.
9423         * configure.ac (systemtap): Test with -std=gnu11 instead of
9424         -std=gnu99.
9425         * configure: Regenerated.
9426         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9427         in compilation command in comment.
9429         * sysdeps/nptl/configure.ac: Remove file.
9430         * sysdeps/nptl/configure: Remove generated file.
9431         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9432         * configure: Regenerated.
9433         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9434         * config.make.in (have-forced-unwind): Remove variable.
9435         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9436         unconditional.
9437         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9438         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9439         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9440         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9441         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9442         unconditional.
9444 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9446         [BZ #19174]
9447         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9448         .skip_lock_out_of_tbegin_retries.
9449         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9450         (__lll_lock_elision): Likewise, and respect a value of
9451         try_tbegin <= 0.
9453 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9455         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9456         statement.
9458 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9460         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9461         variable.
9462         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9463         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9465         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9466         of -std=c1x -D_ISOC11_SOURCE.
9468         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9469         * configure: Regenerated.
9470         * manual/install.texi (Tools for Compilation): Document
9471         requirement for GCC 4.7 or later.
9472         * INSTALL: Regenerated.
9474 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9476         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9477         on CNT to a conditional jump to 'puntdata'.
9479 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9481         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9482         (libc_cv_gcc_tls_model_attr): Likewise.
9483         * configure: Regenerated.
9485         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9486         * configure: Regenerated.
9487         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9489 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9491         * configure.ac (old_glibc_headers): Remove configure test.
9492         * configure: Regenerated.
9493         * config.make.in (old-glibc-headers): Remove variable.
9494         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9495         (install): Remove dependency on remove-old-headers.
9496         (headers2_0): Remove variable.
9497         (remove-old-headers): Remove rule.
9499         * configure.ac (libc_cv_dot_text): Remove configure test.
9500         (libc_cv_asm_set_directive): Use .text instead of
9501         ${libc_cv_dot_text} in configure test.
9502         * configure: Regenerated.
9504 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9506         [BZ #19168]
9507         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9509 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9511         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9512         not support static linking.
9513         * configure: Regenerate.
9515 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9517         * math/libm-test.inc (check_float_internal): Do not special-case
9518         errors up to 0.5 ulp.
9520         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9521         log2.
9522         * math/auto-libm-test-out: Regenerated.
9523         * math/libm-test.inc (MAX_EXP): New macro.
9524         (ilogb_test_data): Add more tests.
9525         (isfinite_test_data): Likewise.
9526         (isgreater_test_data): Likewise.
9527         (isgreaterequal_test_data): Likewise.
9528         (isinf_test_data): Likewise.
9529         (isless_test_data): Likewise.
9530         (islessequal_test_data): Likewise.
9531         (islessgreater_test_data): Likewise.
9532         (isnan_test_data): Likewise.
9533         (isnormal_test_data): Likewise.
9534         (issignaling_test_data): Likewise.
9535         (isunordered_test_data): Likewise.
9536         (j0_test_data): Likewise.
9537         (j1_test_data): Likewise.
9538         (jn_test_data): Likewise.
9539         (lgamma_test_data): Likewise.
9540         (log_test_data): Likewise.
9541         (log10_test_data): Likewise.
9542         (log1p_test_data): Likewise.
9543         (log2_test_data): Likewise.
9544         (logb_test_data): Likewise.
9545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9547         [BZ #18611]
9548         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9549         avoid excess range and precision on underflow.
9550         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9551         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9552         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9553         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9554         underflow.
9555         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9557         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9559         * math/auto-libm-test-in: Do not allow missing errno setting for
9560         tests of j1 and jn.
9561         * math/auto-libm-test-out: Regenerated.
9563 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9565         [BZ #15491]
9566         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9567         floating-point environment instead of clearing all exceptions.
9568         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9569         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9570         merging in "invalid" exceptions from frndint.
9571         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9572         * math/test-nearbyint-except.c: New file.
9573         * math/Makefile (tests): Add test-nearbyint-except.
9575 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9577         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9579         * sysdeps/tile/libm-test-ulps: Regenerated.
9581 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9584         (__NR_sync_file_range2): Assume it is always defined.
9585         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9586         (__NR_sync_file_range): Assume it is always defined.
9588 2015-10-22  Andreas Schwab  <schwab@suse.de>
9590         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9591         INTERNAL_SYSCALL_ERRNO.
9592         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9593         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9594         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9595         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9596         Likewise.
9597         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9599 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9601         * io/tst-fcntl.c (fd): New static variable.
9602         (do_prepare): Open temporary file here....
9603         (do_test): ...not here.
9605         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9607 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9609         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9610         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9611         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9612         Moved before "#ifdef __ASSEMBLER__".
9614 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9616         [BZ #19156]
9617         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9618         arguments very close to 0.
9620 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9622         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9623         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9625 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9627         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9628         New.  Defined for GCC 5 and above when not compiling for
9629         profiling.
9630         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9632         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9633         Renamed to ...
9634         (CFLAGS-epoll_pwait.o): This.
9635         (CFLAGS-mmap.c): Renamed to ...
9636         (CFLAGS-mmap.o): This.
9637         (CFLAGS-mmap64.c): Renamed to ...
9638         (CFLAGS-mmap64.o): This.
9639         (CFLAGS-epoll_pwait.os): New.
9640         (CFLAGS-mmap.os): Likewise.
9641         (CFLAGS-mmap64.os): Likewise.
9642         (CFLAGS-semtimedop.os): Likewise.
9643         (CFLAGS-semtimedop.c): Renamed to ...
9644         (CFLAGS-semtimedop.o): This.
9646 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9648         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9649         warning message.
9651 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9653         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9654         * Makefile ($(objpfx)c++-types-check.out): Filter out
9655         $(+gccwarn-c) instead of -Wstrict-prototypes.
9657         * io/fts.c (fts_open): Convert to prototype-style function
9658         definition.
9659         * malloc/mcheck.c (mcheck): Likewise.
9660         (mcheck_pedantic): Likewise.
9661         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9662         internal_function.
9663         (re_search_internal): Likewise.
9664         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9665         prototype-style function definition.
9666         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9667         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9668         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9669         (xdr_utmpptr): Likewise.
9670         (xdr_utmparr): Likewise.
9671         (xdr_utmpidle): Likewise.
9672         (xdr_utmpidleptr): Likewise.
9673         (xdr_utmpidlearr): Likewise.
9675         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9676         log, log10 and log2.
9677         * math/auto-libm-test-out: Regenerated.
9678         * math/libm-test.inc (fmod_test_data): Add more tests.
9679         (fpclassify_test_data): Likewise.
9680         (frexp_test_data): Likewise.
9681         (hypot_test_data): Likewise.
9682         (ilogb_test_data): Likewise.
9684 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9686         * debug/fortify_fail.c (__fortify_fail): Convert to
9687         prototype-style function definition.  Use internal_function.
9688         * libio/genops.c (save_for_backup): Convert to prototype-style
9689         function definition.
9690         * libio/wgenops.c (save_for_wbackup): Likewise.
9691         * login/grantpt.c (grantpt): Likewise.
9692         * login/ptsname.c (ptsname): Likewise.
9693         (__ptsname_r): Likewise.
9694         * login/unlockpt.c (unlockpt): Likewise.
9695         * mach/msgserver.c (__mach_msg_server): Likewise.
9696         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9697         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9698         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9699         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9700         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9701         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9702         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9703         Likewise.
9704         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9705         internal_function.
9706         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9707         prototype-style function definition.
9708         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9709         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9710         (__pthread_create_2_0): Likewise.
9711         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9712         * nptl/register-atfork.c (__register_atfork): Likewise.
9713         * posix/glob.c (glob): Likewise.
9714         * posix/regcomp.c (re_comp): Likewise.
9715         * posix/regexec.c (re_exec): Likewise.
9716         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9717         [!__STDC__]: Remove conditional code.
9718         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9719         [!__STDC__]: Remove conditional code.
9720         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9721         [!__STDC__]: Remove conditional code.
9722         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9723         [!__STDC__]: Remove conditional code.
9724         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9725         [!__STDC__]: Remove conditional code.
9726         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9727         [!__STDC__]: Remove conditional code.
9728         * stdlib/mul.c [__STDC__]: Make code unconditional.
9729         [!__STDC__]: Remove conditional code.
9730         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9731         [!__STDC__]: Remove conditional code.
9732         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9733         [!__STDC__]: Remove conditional code.
9734         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9735         function definition.
9736         (STRTOF): Likewise.
9737         * stdlib/strtod_l.c (__STRTOF): Likewise.
9738         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9739         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9740         (__strtol_l): Likewise.
9741         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9742         [!__STDC__]: Remove conditional code.
9743         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9744         definition.
9745         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9746         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9747         type.
9748         (__strcasecmp): Convert to prototype-style function definition.
9749         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9750         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9751         type.
9752         (__strncasecmp): Convert to prototype-style function definition.
9753         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9754         * sunrpc/xdr.c (xdr_union): Likewise.
9755         * sunrpc/xdr_array.c (xdr_array): Likewise.
9756         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9757         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9758         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9759         Likewise.
9760         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9761         Likewise.
9762         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9763         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9764         Likewise.
9765         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9766         (LOCALE_PARAM_PROTO): Likewise.
9767         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9768         argument type.
9769         (ut_argument_spec): Remove macro.
9770         (ut_argument_spec_iso): Rename to ut_argument_spec.
9771         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9772         prototype-style function definition.
9773         (memcpy_uppcase): Likewise.
9774         (__strftime_internal): Likewise.
9775         (my_strftime): Likewise.
9776         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9777         (LOCALE_PARAM_DECL): Likewise.
9778         [_LIBC] (LOCALE_PARAM): Include argument type.
9779         (__strptime_internal): Convert to prototype-style function
9780         definition.
9781         (strptime): Likewise.
9782         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9783         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9784         type.
9785         (__wcscasecmp): Convert to prototype-style function definition.
9786         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9787         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9788         type.
9789         (__wcsncasecmp): Convert to prototype-style function definition.
9791         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9792         function definition.
9793         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9794         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9795         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9796         * elf/dl-minimal.c (_itoa): Likewise.
9797         * hurd/hurdmalloc.c (malloc): Likewise.
9798         (free): Likewise.
9799         (realloc): Likewise.
9800         * inet/inet6_option.c (inet6_option_space): Likewise.
9801         (inet6_option_init): Likewise.
9802         (inet6_option_append): Likewise.
9803         (inet6_option_alloc): Likewise.
9804         (inet6_option_next): Likewise.
9805         (inet6_option_find): Likewise.
9806         * io/ftw.c (FTW_NAME): Likewise.
9807         (NFTW_NAME): Likewise.
9808         (NFTW_NEW_NAME): Likewise.
9809         (NFTW_OLD_NAME): Likewise.
9810         * libio/iofwide.c (_IO_fwide): Likewise.
9811         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9812         (_IO_str_init_static): Likewise.
9813         (_IO_str_init_readonly): Likewise.
9814         (_IO_str_overflow): Likewise.
9815         (_IO_str_underflow): Likewise.
9816         (_IO_str_count): Likewise.
9817         (_IO_str_seekoff): Likewise.
9818         (_IO_str_pbackfail): Likewise.
9819         (_IO_str_finish): Likewise.
9820         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9821         (_IO_wstr_overflow): Likewise.
9822         (_IO_wstr_underflow): Likewise.
9823         (_IO_wstr_count): Likewise.
9824         (_IO_wstr_seekoff): Likewise.
9825         (_IO_wstr_pbackfail): Likewise.
9826         (_IO_wstr_finish): Likewise.
9827         * locale/programs/localedef.c (normalize_codeset): Likewise.
9828         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9829         (add_locales_to_archive): Likewise.
9830         (delete_locales_from_archive): Likewise.
9831         * malloc/malloc.c (__libc_mallinfo): Likewise.
9832         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9833         * misc/tsearch.c (__tfind): Likewise.
9834         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9835         * nptl/pthread_attr_getdetachstate.c
9836         (__pthread_attr_getdetachstate): Likewise.
9837         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9838         Likewise.
9839         * nptl/pthread_attr_getinheritsched.c
9840         (__pthread_attr_getinheritsched): Likewise.
9841         * nptl/pthread_attr_getschedparam.c
9842         (__pthread_attr_getschedparam): Likewise.
9843         * nptl/pthread_attr_getschedpolicy.c
9844         (__pthread_attr_getschedpolicy): Likewise.
9845         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9846         Likewise.
9847         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9848         Likewise.
9849         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9850         Likewise.
9851         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9852         Likewise.
9853         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9854         (__pthread_attr_init_2_0): Likewise.
9855         * nptl/pthread_attr_setdetachstate.c
9856         (__pthread_attr_setdetachstate): Likewise.
9857         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9858         Likewise.
9859         * nptl/pthread_attr_setinheritsched.c
9860         (__pthread_attr_setinheritsched): Likewise.
9861         * nptl/pthread_attr_setschedparam.c
9862         (__pthread_attr_setschedparam): Likewise.
9863         * nptl/pthread_attr_setschedpolicy.c
9864         (__pthread_attr_setschedpolicy): Likewise.
9865         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9866         Likewise.
9867         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9868         Likewise.
9869         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9870         Likewise.
9871         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9872         Likewise.
9873         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9874         Likewise.
9875         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9876         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9877         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9878         use internal_function.
9879         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9880         prototype-style function definition.
9881         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9882         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9883         internal_function.
9884         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9885         Convert to prototype-style function definition.
9886         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9887         Likewise.
9888         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9889         Likewise.
9890         (__pthread_mutex_unlock): Likewise.
9891         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9892         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9893         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9894         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9895         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9896         * nss/makedb.c (process_input): Likewise.
9897         * posix/fnmatch.c (__strchrnul): Likewise.
9898         (__wcschrnul): Likewise.
9899         (fnmatch): Likewise.
9900         * posix/fnmatch_loop.c (FCT): Likewise.
9901         * posix/glob.c (globfree): Likewise.
9902         (__glob_pattern_type): Likewise.
9903         (__glob_pattern_p): Likewise.
9904         * posix/regcomp.c (re_compile_pattern): Likewise.
9905         (re_set_syntax): Likewise.
9906         (re_compile_fastmap): Likewise.
9907         (regcomp): Likewise.
9908         (regerror): Likewise.
9909         (regfree): Likewise.
9910         * posix/regexec.c (regexec): Likewise.
9911         (re_match): Likewise.
9912         (re_search): Likewise.
9913         (re_match_2): Likewise.
9914         (re_search_2): Likewise.
9915         (re_search_stub): Likewise.  Use internal_function
9916         (re_copy_regs): Likewise.
9917         (re_set_registers): Convert to prototype-style function
9918         definition.
9919         (prune_impossible_nodes): Likewise.  Use internal_function.
9920         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9921         prototype-style function definition.
9922         (inet_net_pton_ipv4): Likewise.
9923         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9924         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9925         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9926         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9927         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9928         Make variadic.
9929         * time/strptime_l.c (localtime_r): Convert to prototype-style
9930         function definition.
9931         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9932         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9933         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9934         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9936         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9937         definition.
9938         (_ufc_doit_r): Likewise.
9939         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9940         (_ufc_output_conversion_r): Likewise.
9941         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9942         * inet/rcmd.c (rcmd_af): Likewise.
9943         (rcmd): Likewise.
9944         (ruserok_af): Likewise.
9945         (ruserok): Likewise.
9946         (ruserok2_sa): Likewise.
9947         (ruserok_sa): Likewise.
9948         (iruserok_af): Likewise.
9949         (iruserok): Likewise.
9950         (__ivaliduser): Likewise.
9951         (__validuser2_sa): Likewise.
9952         * inet/rexec.c (rexec_af): Likewise.
9953         (rexec): Likewise.
9954         * inet/ruserpass.c (ruserpass): Likewise.
9955         * locale/programs/xmalloc.c (xcalloc): Likewise.
9956         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9957         * math/w_drem.c (__drem): Likewise.
9958         * math/w_dremf.c (__dremf): Likewise.
9959         * math/w_dreml.c (__dreml): Likewise.
9960         * misc/daemon.c (daemon): Likewise.
9961         * resolv/res_debug.c (p_fqnname): Likewise.
9962         * stdlib/div.c (div): Likewise.
9963         * string/memcmp.c (memcmp_bytes): Likewise.
9964         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9965         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9967         * crypt/cert.c (main): Convert to prototype-style function
9968         definition.
9969         * io/pipe.c (__pipe): Likewise.
9970         * io/pipe2.c (__pipe2): Likewise.
9971         * misc/futimesat.c (futimesat): Likewise.
9972         * misc/utimes.c (__utimes): Likewise.
9973         * posix/execve.c (__execve): Likewise.
9974         * posix/execvp.c (execvp): Likewise.
9975         * posix/execvpe.c (__execvpe): Likewise.
9976         * posix/fexecve.c (fexecve): Likewise.
9977         * socket/socketpair.c (socketpair): Likewise.
9978         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9979         * stdlib/erand48.c (erand48): Likewise.
9980         * stdlib/erand48_r.c (__erand48_r): Likewise.
9981         * stdlib/jrand48.c (jrand48): Likewise.
9982         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9983         * stdlib/lcong48.c (lcong48): Likewise.
9984         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9985         * stdlib/nrand48.c (nrand48): Likewise.
9986         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9987         * stdlib/seed48.c (seed48): Likewise.
9988         * stdlib/seed48_r.c (__seed48_r): Likewise.
9989         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9990         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9991         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9993 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9995         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9996         * configure: Regenerated.
9997         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9998         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9999         unconditional.
10000         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10001         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10002         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10003         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10004         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10005         unconditional.
10006         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10008         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10009         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10011         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10012         function definition.
10013         * crypt/crypt_util.c (__encrypt_r): Likewise.
10014         * libio/genops.c (_IO_no_init): Likewise.
10015         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10016         (_IO_old_fopencookie): Likewise.
10017         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10018         * libio/iogetline.c (_IO_getline): Likewise.
10019         (_IO_getline_info): Likewise.
10020         * libio/iogetwline.c (_IO_getwline): Likewise.
10021         (_IO_getwline_info): Likewise.
10022         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10023         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10024         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10025         (find_entry): Likewise.
10026         (iterate_table): Likewise.
10027         (lookup): Likewise.
10028         * login/forkpty.c (forkpty): Likewise.
10029         * misc/hsearch_r.c (__hsearch_r): Likewise.
10030         * misc/select.c (__select): Likewise.
10031         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10032         Likewise.
10033         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10034         Likewise.
10035         * nptl/old_pthread_cond_timedwait.c
10036         (__pthread_cond_timedwait_2_0): Likewise.
10037         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10038         * nptl/pthread_barrierattr_getpshared.c
10039         (pthread_barrierattr_getpshared): Likewise.
10040         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10041         Likewise.
10042         * nptl/pthread_mutex_setprioceiling.c
10043         (pthread_mutex_setprioceiling): Likewise.
10044         * nptl/pthread_mutexattr_getprioceiling.c
10045         (pthread_mutexattr_getprioceiling): Likewise.
10046         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10047         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10048         Likewise.
10049         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10050         Likewise.
10051         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10052         Likewise.
10053         * socket/recvfrom.c (__recvfrom): Likewise.
10054         * socket/sendto.c (__sendto): Likewise.
10055         * socket/setsockopt.c (__setsockopt): Likewise.
10056         * stdio-common/_itoa.c (_itoa): Likewise.
10057         * stdio-common/_itowa.c (_itowa): Likewise.
10058         * stdio-common/reg-printf.c (__register_printf_specifier):
10059         Likewise.
10060         (__register_printf_function): Likewise.
10061         * stdio-common/tempname.c (__path_search): Likewise.
10062         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10063         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10064         * stdlib/random_r.c (__initstate_r): Likewise.
10065         * stdlib/setenv.c (__add_to_environ): Likewise.
10066         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10067         * streams/getpmsg.c (getpmsg): Likewise.
10068         * streams/putmsg.c (putmsg): Likewise.
10069         * streams/putpmsg.c (putpmsg): Likewise.
10070         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10071         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10072         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10073         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10074         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10075         * sunrpc/svc_udp.c (cache_get): Likewise.
10076         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10077         * sysdeps/mach/hurd/getcwd.c
10078         (__canonicalize_directory_name_internal): Likewise.
10079         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10080         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10081         * sysdeps/mach/hurd/select.c (__select): Likewise.
10082         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10083         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10084         * sysdeps/sparc/nptl/pthread_barrier_init.c
10085         (__pthread_barrier_init): Likewise.
10086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10087         (__pthread_cond_timedwait): Likewise.
10088         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10089         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10090         Likewise.
10091         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10092         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10093         Likewise.
10094         * sysvipc/semtimedop.c (semtimedop): Likewise.
10095         * time/setitimer.c (__setitimer): Likewise.
10096         * time/strftime_l.c (emacs_strftime): Likewise.
10098 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10100         * config.make.in (have-ssp): Delete.
10101         (stack-protector): New variable.
10102         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10103         cache test for -fstack-protector-strong.  Export stack_protector to
10104         the best ssp flag.
10105         * configure: Regenerated.
10106         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10107         * nscd/Makefile (CFLAGS-nscd): Likewise.
10108         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10110 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10112         [BZ #19122]
10113         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10114         attribute_hidden.
10116 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10118         [BZ #18743]
10119         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10120         code to...
10121         (ELIDE_LOCK): ...here.
10122         (__get_new_count): New function with part of the code from
10123         __elide_lock that updates the value of adapt_count after a
10124         transaction abort.
10125         (__elided_trylock): Moved this code to...
10126         (ELIDE_TRYLOCK): ...here.
10128 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10130         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10131         * configure: Regenerate.
10132         * INSTALL: Regenerate.
10133         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10134         and tweak grammar.
10136 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10138         * login/programs/pt_chown.c: Include signal.h
10139         (main): Clear any signal mask from the parent process.
10141 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10143         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10144         * configure: Regenerated.
10145         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10146         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10147         $(gnu89-inline-CFLAGS).
10149         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10150         test.
10151         (libc_cv_asm_weakext_directive): Likewise.
10152         * configure: Regenerated.
10153         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10154         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10155         * include/libc-symbols.h
10156         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10157         #error.
10158         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10159         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10161         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10162         prototype-style function definition.
10163         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10164         * sysdeps/i386/ffs.c (__ffs): Likewise.
10165         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10166         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10167         Likewise.
10168         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10169         Likewise.
10170         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10171         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10172         Likewise.
10173         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10174         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10175         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10176         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10177         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10178         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10179         * sysdeps/mach/hurd/access.c (__access): Likewise.
10180         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10181         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10182         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10183         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10184         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10185         (cthread_getspecific): Likewise.
10186         (cthread_setspecific): Likewise.
10187         (__libc_getspecific): Likewise.
10188         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10189         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10190         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10191         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10192         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10193         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10194         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10195         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10196         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10197         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10198         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10199         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10200         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10201         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10202         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10203         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10204         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10205         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10206         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10207         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10208         * sysdeps/mach/hurd/link.c (__link): Likewise.
10209         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10210         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10211         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10212         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10213         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10214         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10215         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10216         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10217         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10218         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10219         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10220         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10221         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10222         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10223         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10224         * sysdeps/mach/hurd/send.c (__send): Likewise.
10225         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10226         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10227         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10228         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10229         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10230         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10231         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10232         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10233         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10234         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10235         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10236         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10237         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10238         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10239         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10240         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10241         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10242         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10243         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10244         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10245         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10246         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10247         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10248         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10249         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10250         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10251         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10252         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10253         * sysdeps/posix/alarm.c (alarm): Likewise.
10254         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10255         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10256         * sysdeps/posix/dup.c (__dup): Likewise.
10257         * sysdeps/posix/dup2.c (__dup2): Likewise.
10258         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10259         (main): Likewise.
10260         * sysdeps/posix/flock.c (__flock): Likewise.
10261         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10262         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10263         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10264         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10265         * sysdeps/posix/isatty.c (__isatty): Likewise.
10266         * sysdeps/posix/killpg.c (killpg): Likewise.
10267         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10268         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10269         * sysdeps/posix/raise.c (raise): Likewise.
10270         * sysdeps/posix/remove.c (remove): Likewise.
10271         * sysdeps/posix/rename.c (rename): Likewise.
10272         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10273         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10274         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10275         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10276         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10277         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10278         * sysdeps/posix/sigset.c (sigset): Likewise.
10279         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10280         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10281         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10282         * sysdeps/posix/time.c (time): Likewise.
10283         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10284         (ttyname): Likewise.
10285         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10286         * sysdeps/posix/utime.c (utime): Likewise.
10287         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10288         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10289         Likewise.
10290         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10291         (pthread_spin_trylock): Likewise.
10292         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10293         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10294         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10295         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10296         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10297         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10298         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10299         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10300         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10301         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10302         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10303         * sysdeps/s390/ffs.c (__ffs): Likewise.
10304         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10305         Likewise.
10306         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10307         Likewise.
10308         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10309         Likewise.
10310         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10311         (pthread_barrier_destroy): Likewise.
10312         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10313         (__pthread_barrier_wait): Likewise.
10314         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10315         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10316         (__pthread_barrier_wait): Likewise.
10317         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10318         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10319         (memcmp_not_common_alignment): Likewise.
10320         (MEMCMP): Likewise.
10321         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10322         (_wordcopy_fwd_dest_aligned): Likewise.
10323         (_wordcopy_bwd_aligned): Likewise.
10324         (_wordcopy_bwd_dest_aligned): Likewise.
10325         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10326         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10327         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10328         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10329         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10330         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10331         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10332         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10333         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10334         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10335         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10336         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10337         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10338         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10339         * sysdeps/unix/stime.c (stime): Likewise.
10340         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10341         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10342         Likewise.  Use internal_function.
10343         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10344         Convert to prototype-style function definition.
10345         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10346         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10347         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10348         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10349         Likewise.  Use internal_function.
10350         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10351         prototype-style function definition
10352         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10353         Likewise.
10354         (__getlogin_r): Likewise.
10355         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10356         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10357         (__pthread_cond_broadcast): Likewise.
10358         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10359         (__pthread_cond_destroy): Likewise.
10360         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10361         (__pthread_cond_init): Likewise.
10362         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10363         (__pthread_cond_signal): Likewise.
10364         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10365         (__pthread_cond_wait): Likewise.
10366         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10367         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10368         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10369         Likewise.
10370         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10371         Likewise.
10372         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10373         Likewise.
10374         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10375         Likewise.
10376         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10378         (__ftruncate64): Likewise.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10380         (truncate64): Likewise.
10381         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10382         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10383         (pthread_getcpuclockid): Likewise.
10384         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10385         Likewise.
10386         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10389         Likewise.
10390         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10391         Likewise.
10392         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10393         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10394         (__libc_sigaction): Likewise.
10395         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10398         (__sigprocmask): Likewise.
10399         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10400         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10401         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10402         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10403         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10404         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10405         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10406         Likewise.
10407         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10408         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10409         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10410         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10411         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10412         Likewise.
10413         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10414         (__sigprocmask): Likewise.
10415         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10416         (cfgetispeed): Likewise.
10417         (cfsetospeed): Likewise.
10418         (cfsetispeed): Likewise.
10419         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10420         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10421         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10422         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10423         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10424         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10425         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10426         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10427         Likewise.
10428         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10429         Likewise.
10430         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10431         Likewise.
10432         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10433         Likewise.
10434         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10436 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10438         sunrpc: Rewrite with explicit TLS access using __thread.
10439         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10440         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10441         directly.
10442         (__rpc_thread_variables): Access thread_rpc_vars directly.
10443         Eliminate redundant assignment of the tvp variable.
10445 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10447         malloc: Rewrite with explicit TLS access using __thread.
10448         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10449         (tsd_setspecific, tsd_getspecific): Remove.
10450         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10451         (tsd_setspecific, tsd_getspecific): Likewise.
10452         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10453         (tsd_setspecific, tsd_getspecific): Likewise.
10454         * malloc/arena.c (thread_arena): New TLS variable.
10455         (arena_key): Remove variable.
10456         (arena_get): Use thread_arena.
10457         (arena_lookup): Remove macro.
10458         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10459         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10460         (_int_new_arena, get_free_list, reused_arena)
10461         (arena_thread_freeres): Use thread_arena.
10462         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10463         tsd_getspecific, tsd_setspecific from safety annotations.
10464         (Allocating Cleared Space): Remove arena_lookup from safety
10465         annotations.
10467 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10469         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10470         struct scratch_buffer instead of extend_alloca.
10472 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10474         * sysdeps/unix/sysv/linux/kernel-features.h
10475         (__ASSUME_SOCK_CLOEXEC): Remove.
10476         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10477         (__have_paccept): Remove unused macro.
10478         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10479         * misc/syslog.c (openlog_internal): Remove fallback code for
10480         !__ASSUME_SOCK_CLOEXEC.
10481         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10482         missing SOCK_CLOEXEC.
10483         * nscd/connections.c (have_sock_cloexec): Remove definition.
10484         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10485         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10486         !__ASSUME_SOCK_CLOEXEC.
10487         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10488         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10489         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10490         definition.
10491         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10492         code for !__ASSUME_SOCK_CLOEXEC.
10494 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10496         [BZ #18982]
10497         * manual/stdio.texi (Variable Arguments Output): Add portability
10498         note, explaining that vfprintf clobbers the va_list pointer.
10500 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10502         * math/libm-test.inc (fabs_test_data): Add more tests.
10503         (fdim_test_data): Likewise.
10504         (fma_test_data): Likewise.
10505         (fmax_test_data): Likewise.
10506         (fmin_test_data): Likewise.
10507         (fmod_test_data): Likewise.
10509 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10511         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10512         data.
10514 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10516         * math/libm-test.inc (ceil_test_data): Add more tests and more
10517         expectations for "inexact".
10518         (floor_test_data): Add more tests.
10519         (round_test_data): Likewise.
10520         (trunc_test_data): Likewise.
10522         * crypt/cert.c (good_bye): Convert to prototype-style function
10523         definition.
10524         (get8): Likewise.
10525         (put8): Likewise.
10526         * crypt/crypt-entry.c (crypt): Likewise.
10527         (__fcrypt): Likewise.
10528         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10529         (_ufc_set_bits): Likewise.
10530         (_ufc_clearmem): Likewise.
10531         (__init_des_r): Likewise.
10532         (shuffle_sb): Likewise.
10533         (shuffle_sb): Likewise.
10534         (_ufc_setup_salt_r): Likewise.
10535         (_ufc_mk_keytab_r): Likewise.
10536         (_ufc_dofinalperm_r): Likewise.
10537         (encrypt): Likewise.
10538         (__setkey_r): Likewise.
10539         (setkey): Likewise.
10540         * crypt/md5.c (md5_init_ctx): Likewise.
10541         (md5_read_ctx): Likewise.
10542         (md5_finish_ctx): Likewise.
10543         (md5_stream): Likewise.
10544         (md5_buffer): Likewise.
10545         (md5_process_bytes): Likewise.
10546         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10547         (__sha256_finish_ctx): Likewise.
10548         (__sha256_process_bytes): Likewise.
10549         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10550         (__sha512_finish_ctx): Likewise.
10551         (__sha512_process_bytes): Likewise.
10552         * ctype/isctype.c (__isctype): Likewise.
10553         * debug/backtrace.c (__backtrace): Likewise.
10554         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10555         * debug/fgets_chk.c (__fgets_chk): Likewise.
10556         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10557         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10558         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10559         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10560         * debug/memset_chk.c (__memset_chk): Likewise.
10561         * debug/strcat_chk.c (__strcat_chk): Likewise.
10562         * debug/strncat_chk.c (__strncat_chk): Likewise.
10563         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10564         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10565         * dirent/dirfd.c (dirfd): Likewise.
10566         * dirent/getdents.c (__getdirentries): Likewise.
10567         * dirent/getdents64.c (getdirentries64): Likewise.
10568         * dirent/rewinddir.c (__rewinddir): Likewise.
10569         * dirent/seekdir.c (seekdir): Likewise.
10570         * dirent/telldir.c (telldir): Likewise.
10571         * elf/sln.c (makesymlinks): Likewise.
10572         (makesymlink): Likewise.
10573         * gmon/gmon.c (__moncontrol): Likewise.
10574         (__monstartup): Likewise.
10575         (write_hist): Likewise.
10576         (write_call_graph): Likewise.
10577         (write_bb_counts): Likewise.
10578         * grp/setgroups.c (setgroups): Likewise.
10579         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10580         * inet/inet_net.c (inet_network): Likewise.
10581         * inet/inet_netof.c (inet_netof): Likewise.
10582         * inet/rcmd.c (rresvport_af): Likewise.
10583         (rresvport): Likewise.
10584         * io/access.c (__access): Likewise.
10585         * io/chdir.c (__chdir): Likewise.
10586         * io/chmod.c (__chmod): Likewise.
10587         * io/chown.c (__chown): Likewise.
10588         * io/close.c (__close): Likewise.
10589         * io/creat.c (creat): Likewise.
10590         * io/creat64.c (creat64): Likewise.
10591         * io/dup.c (__dup): Likewise.
10592         * io/dup2.c (__dup2): Likewise.
10593         * io/dup3.c (__dup3): Likewise.
10594         * io/euidaccess.c (__euidaccess): Likewise.
10595         * io/faccessat.c (faccessat): Likewise.
10596         * io/fchmod.c (__fchmod): Likewise.
10597         * io/fchmodat.c (fchmodat): Likewise.
10598         * io/fchown.c (__fchown): Likewise.
10599         * io/fchownat.c (fchownat): Likewise.
10600         * io/fcntl.c (__fcntl): Likewise.
10601         * io/flock.c (__flock): Likewise.
10602         * io/fts.c (fts_load): Likewise.
10603         (fts_close): Likewise.
10604         (fts_read): Likewise.
10605         (fts_set): Likewise.
10606         (fts_children): Likewise.
10607         (fts_build): Likewise.
10608         (fts_stat): Likewise.
10609         (fts_sort): Likewise.
10610         (fts_alloc): Likewise.
10611         (fts_lfree): Likewise.
10612         (fts_palloc): Likewise.
10613         (fts_padjust): Likewise.
10614         (fts_maxarglen): Likewise.
10615         (fts_safe_changedir): Likewise.
10616         * io/getwd.c (getwd): Likewise.
10617         * io/isatty.c (__isatty): Likewise.
10618         * io/lchown.c (__lchown): Likewise.
10619         * io/link.c (__link): Likewise.
10620         * io/linkat.c (linkat): Likewise.
10621         * io/lseek.c (__libc_lseek): Likewise.
10622         * io/mkdir.c (__mkdir): Likewise.
10623         * io/mkdirat.c (mkdirat): Likewise.
10624         * io/mkfifo.c (mkfifo): Likewise.
10625         * io/mkfifoat.c (mkfifoat): Likewise.
10626         * io/open.c (__libc_open): Likewise.
10627         * io/open64.c (__libc_open64): Likewise.
10628         * io/readlink.c (__readlink): Likewise.
10629         * io/readlinkat.c (readlinkat): Likewise.
10630         * io/rmdir.c (__rmdir): Likewise.
10631         * io/symlink.c (__symlink): Likewise.
10632         * io/symlinkat.c (symlinkat): Likewise.
10633         * io/ttyname.c (ttyname): Likewise.
10634         * io/ttyname_r.c (__ttyname_r): Likewise.
10635         * io/umask.c (__umask): Likewise.
10636         * io/unlink.c (__unlink): Likewise.
10637         * io/unlinkat.c (unlinkat): Likewise.
10638         * io/utime.c (utime): Likewise.
10639         * libio/clearerr.c (clearerr): Likewise.
10640         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10641         * libio/feof.c (_IO_feof): Likewise.
10642         * libio/feof_u.c (feof_unlocked): Likewise.
10643         * libio/ferror.c (_IO_ferror): Likewise.
10644         * libio/ferror_u.c (ferror_unlocked): Likewise.
10645         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10646         * libio/fileno.c (__fileno): Likewise.
10647         * libio/fputc.c (fputc): Likewise.
10648         * libio/fputc_u.c (fputc_unlocked): Likewise.
10649         * libio/fputwc.c (fputwc): Likewise.
10650         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10651         * libio/freopen.c (freopen): Likewise.
10652         * libio/freopen64.c (freopen64): Likewise.
10653         * libio/fseek.c (fseek): Likewise.
10654         * libio/fseeko.c (fseeko): Likewise.
10655         * libio/fseeko64.c (fseeko64): Likewise.
10656         * libio/ftello.c (__ftello): Likewise.
10657         * libio/ftello64.c (ftello64): Likewise.
10658         * libio/fwide.c (fwide): Likewise.
10659         * libio/genops.c (_IO_un_link): Likewise.
10660         (_IO_link_in): Likewise.
10661         (_IO_least_marker): Likewise.
10662         (_IO_switch_to_main_get_area): Likewise.
10663         (_IO_switch_to_backup_area): Likewise.
10664         (_IO_switch_to_get_mode): Likewise.
10665         (_IO_free_backup_area): Likewise.
10666         (_IO_switch_to_put_mode): Likewise.
10667         (__overflow): Likewise.
10668         (__underflow): Likewise.
10669         (__uflow): Likewise.
10670         (_IO_setb): Likewise.
10671         (_IO_doallocbuf): Likewise.
10672         (_IO_default_underflow): Likewise.
10673         (_IO_default_uflow): Likewise.
10674         (_IO_default_xsputn): Likewise.
10675         (_IO_sgetn): Likewise.
10676         (_IO_default_xsgetn): Likewise.
10677         (_IO_sync): Likewise.
10678         (_IO_default_setbuf): Likewise.
10679         (_IO_default_seekpos): Likewise.
10680         (_IO_default_doallocate): Likewise.
10681         (_IO_init): Likewise.
10682         (_IO_old_init): Likewise.
10683         (_IO_default_sync): Likewise.
10684         (_IO_default_finish): Likewise.
10685         (_IO_default_seekoff): Likewise.
10686         (_IO_sputbackc): Likewise.
10687         (_IO_sungetc): Likewise.
10688         (_IO_set_column): Likewise.
10689         (_IO_set_column): Likewise.
10690         (_IO_adjust_column): Likewise.
10691         (_IO_get_column): Likewise.
10692         (_IO_init_marker): Likewise.
10693         (_IO_remove_marker): Likewise.
10694         (_IO_marker_difference): Likewise.
10695         (_IO_marker_delta): Likewise.
10696         (_IO_seekmark): Likewise.
10697         (_IO_unsave_markers): Likewise.
10698         (_IO_nobackup_pbackfail): Likewise.
10699         (_IO_default_pbackfail): Likewise.
10700         (_IO_default_seek): Likewise.
10701         (_IO_default_stat): Likewise.
10702         (_IO_default_read): Likewise.
10703         (_IO_default_write): Likewise.
10704         (_IO_default_showmanyc): Likewise.
10705         (_IO_default_imbue): Likewise.
10706         (_IO_iter_next): Likewise.
10707         (_IO_iter_file): Likewise.
10708         * libio/getc.c (_IO_getc): Likewise.
10709         * libio/getwc.c (_IO_getwc): Likewise.
10710         * libio/iofclose.c (_IO_new_fclose): Likewise.
10711         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10712         * libio/iofflush.c (_IO_fflush): Likewise.
10713         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10714         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10715         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10716         * libio/iofgets.c (_IO_fgets): Likewise.
10717         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10718         * libio/iofgetws.c (fgetws): Likewise.
10719         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10720         * libio/iofopen64.c (_IO_fopen64): Likewise.
10721         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10722         (_IO_cookie_write): Likewise.
10723         (_IO_cookie_seek): Likewise.
10724         (_IO_cookie_close): Likewise.
10725         (_IO_cookie_seekoff): Likewise.
10726         (_IO_old_cookie_seek): Likewise.
10727         * libio/iofputs.c (_IO_fputs): Likewise.
10728         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10729         * libio/iofputws.c (fputws): Likewise.
10730         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10731         * libio/iofread.c (_IO_fread): Likewise.
10732         * libio/iofread_u.c (__fread_unlocked): Likewise.
10733         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10734         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10735         * libio/ioftell.c (_IO_ftell): Likewise.
10736         * libio/iofwrite.c (_IO_fwrite): Likewise.
10737         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10738         * libio/iogets.c (_IO_gets): Likewise.
10739         * libio/iopadn.c (_IO_padn): Likewise.
10740         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10741         (_IO_new_popen): Likewise.
10742         (_IO_new_proc_close): Likewise.
10743         * libio/ioputs.c (_IO_puts): Likewise.
10744         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10745         (_IO_seekoff): Likewise.
10746         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10747         (_IO_seekpos): Likewise.
10748         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10749         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10750         * libio/ioungetc.c (_IO_ungetc): Likewise.
10751         * libio/ioungetwc.c (ungetwc): Likewise.
10752         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10753         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10754         * libio/iowpadn.c (_IO_wpadn): Likewise.
10755         * libio/libc_fatal.c (__libc_fatal): Likewise.
10756         * libio/memstream.c (__open_memstream): Likewise.
10757         (_IO_mem_sync): Likewise.
10758         (_IO_mem_finish): Likewise.
10759         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10760         (_IO_old_file_close_it): Likewise.
10761         (_IO_old_file_finish): Likewise.
10762         (_IO_old_file_fopen): Likewise.
10763         (_IO_old_file_attach): Likewise.
10764         (_IO_old_file_setbuf): Likewise.
10765         (_IO_old_do_write): Likewise.
10766         (old_do_write): Likewise.
10767         (_IO_old_file_underflow): Likewise.
10768         (_IO_old_file_overflow): Likewise.
10769         (_IO_old_file_sync): Likewise.
10770         (_IO_old_file_seekoff): Likewise.
10771         (_IO_old_file_write): Likewise.
10772         (_IO_old_file_xsputn): Likewise.
10773         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10774         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10775         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10776         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10777         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10778         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10779         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10780         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10781         (_IO_old_popen): Likewise.
10782         (_IO_old_proc_close): Likewise.
10783         * libio/oldpclose.c (__old_pclose): Likewise.
10784         * libio/pclose.c (__new_pclose): Likewise.
10785         * libio/peekc.c (_IO_peekc_locked): Likewise.
10786         * libio/putc.c (_IO_putc): Likewise.
10787         * libio/putc_u.c (putc_unlocked): Likewise.
10788         * libio/putchar.c (putchar): Likewise.
10789         * libio/putchar_u.c (putchar_unlocked): Likewise.
10790         * libio/putwc.c (putwc): Likewise.
10791         * libio/putwc_u.c (putwc_unlocked): Likewise.
10792         * libio/putwchar.c (putwchar): Likewise.
10793         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10794         * libio/rewind.c (rewind): Likewise.
10795         * libio/setbuf.c (setbuf): Likewise.
10796         * libio/setlinebuf.c (setlinebuf): Likewise.
10797         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10798         * libio/vscanf.c (_IO_vscanf): Likewise.
10799         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10800         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10801         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10802         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10803         (_IO_switch_to_main_wget_area): Likewise.
10804         (_IO_switch_to_wbackup_area): Likewise.
10805         (_IO_wsetb): Likewise.
10806         (_IO_wdefault_pbackfail): Likewise.
10807         (_IO_wdefault_finish): Likewise.
10808         (_IO_wdefault_uflow): Likewise.
10809         (__woverflow): Likewise.
10810         (__wuflow): Likewise.
10811         (__wunderflow): Likewise.
10812         (_IO_wdefault_xsputn): Likewise.
10813         (_IO_wdefault_xsgetn): Likewise.
10814         (_IO_wdoallocbuf): Likewise.
10815         (_IO_wdefault_doallocate): Likewise.
10816         (_IO_switch_to_wget_mode): Likewise.
10817         (_IO_free_wbackup_area): Likewise.
10818         (_IO_switch_to_wput_mode): Likewise.
10819         (_IO_sputbackwc): Likewise.
10820         (_IO_sungetwc): Likewise.
10821         (_IO_adjust_wcolumn): Likewise.
10822         (_IO_init_wmarker): Likewise.
10823         (_IO_wmarker_delta): Likewise.
10824         (_IO_seekwmark): Likewise.
10825         (_IO_unsave_wmarkers): Likewise.
10826         * libio/wmemstream.c (open_wmemstream): Likewise.
10827         (_IO_wmem_sync): Likewise.
10828         (_IO_wmem_finish): Likewise.
10829         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10830         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10831         * locale/programs/simple-hash.c (init_hash): Likewise.
10832         (delete_hash): Likewise.
10833         (insert_entry): Likewise.
10834         (set_entry): Likewise.
10835         (next_prime): Likewise.
10836         (is_prime): Likewise.
10837         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10838         (xmalloc): Likewise.
10839         (xrealloc): Likewise.
10840         * locale/programs/xstrdup.c (xstrdup): Likewise.
10841         * localedata/collate-test.c (xstrcoll): Likewise.
10842         * localedata/xfrm-test.c (xstrcmp): Likewise.
10843         * login/getlogin_r.c (__getlogin_r): Likewise.
10844         * login/getpt.c (__posix_openpt): Likewise.
10845         * login/login_tty.c (login_tty): Likewise.
10846         * login/setlogin.c (setlogin): Likewise.
10847         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10848         (mach_msg_destroy_port): Likewise.
10849         (mach_msg_destroy_memory): Likewise.
10850         * malloc/mcheck.c (flood): Likewise.
10851         * misc/acct.c (acct): Likewise.
10852         * misc/brk.c (__brk): Likewise.
10853         * misc/chflags.c (chflags): Likewise.
10854         * misc/chroot.c (chroot): Likewise.
10855         * misc/fchflags.c (fchflags): Likewise.
10856         * misc/fstab.c (getfsspec): Likewise.
10857         (getfsfile): Likewise.
10858         * misc/fsync.c (fsync): Likewise.
10859         * misc/ftruncate.c (__ftruncate): Likewise.
10860         * misc/ftruncate64.c (__ftruncate64): Likewise.
10861         * misc/getdomain.c (getdomainname): Likewise.
10862         (getdomainname): Likewise.
10863         * misc/gethostname.c (__gethostname): Likewise.
10864         * misc/getpass.c (getpass): Likewise.
10865         * misc/getttyent.c (skip): Likewise.
10866         (value): Likewise.
10867         * misc/gtty.c (gtty): Likewise.
10868         * misc/hsearch.c (hsearch): Likewise.
10869         (hcreate): Likewise.
10870         * misc/hsearch_r.c (__hcreate_r): Likewise.
10871         (__hdestroy_r): Likewise.
10872         * misc/ioctl.c (__ioctl): Likewise.
10873         * misc/mkdtemp.c (mkdtemp): Likewise.
10874         * misc/mkostemp.c (mkostemp): Likewise.
10875         * misc/mkostemp64.c (mkostemp64): Likewise.
10876         * misc/mkostemps.c (mkostemps): Likewise.
10877         * misc/mkostemps64.c (mkostemps64): Likewise.
10878         * misc/mkstemp.c (mkstemp): Likewise.
10879         * misc/mkstemp64.c (mkstemp64): Likewise.
10880         * misc/mkstemps.c (mkstemps): Likewise.
10881         * misc/mkstemps64.c (mkstemps64): Likewise.
10882         * misc/mktemp.c (__mktemp): Likewise.
10883         * misc/preadv.c (preadv): Likewise.
10884         * misc/preadv64.c (preadv64): Likewise.
10885         * misc/pwritev.c (pwritev): Likewise.
10886         * misc/pwritev64.c (pwritev64): Likewise.
10887         * misc/readv.c (__readv): Likewise.
10888         * misc/revoke.c (revoke): Likewise.
10889         * misc/setdomain.c (setdomainname): Likewise.
10890         * misc/setegid.c (setegid): Likewise.
10891         * misc/seteuid.c (seteuid): Likewise.
10892         * misc/sethostid.c (sethostid): Likewise.
10893         * misc/sethostname.c (sethostname): Likewise.
10894         * misc/setregid.c (__setregid): Likewise.
10895         * misc/setreuid.c (__setreuid): Likewise.
10896         * misc/sstk.c (sstk): Likewise.
10897         * misc/stty.c (stty): Likewise.
10898         * misc/syscall.c (syscall): Likewise.
10899         * misc/syslog.c (setlogmask): Likewise.
10900         * misc/truncate.c (__truncate): Likewise.
10901         * misc/truncate64.c (truncate64): Likewise.
10902         * misc/ualarm.c (ualarm): Likewise.
10903         * misc/usleep.c (usleep): Likewise.
10904         * misc/ustat.c (ustat): Likewise.
10905         * misc/writev.c (__writev): Likewise.
10906         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10907         * nptl/old_pthread_cond_broadcast.c
10908         (__pthread_cond_broadcast_2_0): Likewise.
10909         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10910         Likewise.
10911         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10912         Likewise.
10913         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10914         Likewise.
10915         * nptl/pt-raise.c (raise): Likewise.
10916         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10917         Likewise.
10918         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10919         * nptl/pthread_barrierattr_destroy.c
10920         (pthread_barrierattr_destroy): Likewise.
10921         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10922         Likewise.
10923         * nptl/pthread_barrierattr_setpshared.c
10924         (pthread_barrierattr_setpshared): Likewise.
10925         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10926         Likewise.
10927         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10928         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10929         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10930         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10931         Likewise.
10932         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10933         Likewise.
10934         * nptl/pthread_condattr_getpshared.c
10935         (pthread_condattr_getpshared): Likewise.
10936         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10937         Likewise.
10938         * nptl/pthread_condattr_setpshared.c
10939         (pthread_condattr_setpshared): Likewise.
10940         * nptl/pthread_detach.c (pthread_detach): Likewise.
10941         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10942         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10943         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10944         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10945         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10946         Likewise.
10947         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10948         Likewise.
10949         * nptl/pthread_mutex_getprioceiling.c
10950         (pthread_mutex_getprioceiling): Likewise.
10951         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10952         Likewise.
10953         * nptl/pthread_mutexattr_getprotocol.c
10954         (pthread_mutexattr_getprotocol): Likewise.
10955         * nptl/pthread_mutexattr_getpshared.c
10956         (pthread_mutexattr_getpshared): Likewise.
10957         * nptl/pthread_mutexattr_getrobust.c
10958         (pthread_mutexattr_getrobust): Likewise.
10959         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10960         Likewise.
10961         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10962         Likewise.
10963         * nptl/pthread_mutexattr_setprioceiling.c
10964         (pthread_mutexattr_setprioceiling): Likewise.
10965         * nptl/pthread_mutexattr_setprotocol.c
10966         (pthread_mutexattr_setprotocol): Likewise.
10967         * nptl/pthread_mutexattr_setpshared.c
10968         (pthread_mutexattr_setpshared): Likewise.
10969         * nptl/pthread_mutexattr_setrobust.c
10970         (pthread_mutexattr_setrobust): Likewise.
10971         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10972         Likewise.
10973         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10974         Likewise.
10975         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10976         Likewise.
10977         * nptl/pthread_rwlockattr_getkind_np.c
10978         (pthread_rwlockattr_getkind_np): Likewise.
10979         * nptl/pthread_rwlockattr_getpshared.c
10980         (pthread_rwlockattr_getpshared): Likewise.
10981         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10982         Likewise.
10983         * nptl/pthread_rwlockattr_setkind_np.c
10984         (pthread_rwlockattr_setkind_np): Likewise.
10985         * nptl/pthread_rwlockattr_setpshared.c
10986         (pthread_rwlockattr_setpshared): Likewise.
10987         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10988         Likewise.
10989         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10990         Likewise.
10991         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10992         Likewise.
10993         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10994         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10995         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10996         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10997         * nptl/sem_close.c (sem_close): Likewise.
10998         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10999         * nptl/sem_init.c (__old_sem_init): Likewise.
11000         * nptl/sigaction.c (__sigaction): Likewise.
11001         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11002         * posix/_exit.c (_exit): Likewise.
11003         * posix/alarm.c (alarm): Likewise.
11004         * posix/confstr.c (confstr): Likewise.
11005         * posix/fpathconf.c (__fpathconf): Likewise.
11006         * posix/getgroups.c (__getgroups): Likewise.
11007         * posix/getpgid.c (__getpgid): Likewise.
11008         * posix/group_member.c (__group_member): Likewise.
11009         * posix/pathconf.c (__pathconf): Likewise.
11010         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11011         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11012         * posix/setgid.c (__setgid): Likewise.
11013         * posix/setpgid.c (__setpgid): Likewise.
11014         * posix/setuid.c (__setuid): Likewise.
11015         * posix/sleep.c (__sleep): Likewise.
11016         * posix/sysconf.c (__sysconf): Likewise.
11017         * posix/times.c (__times): Likewise.
11018         * posix/uname.c (__uname): Likewise.
11019         * posix/waitid.c (__waitid): Likewise.
11020         * pwd/getpw.c (__getpw): Likewise.
11021         * resolv/base64.c (b64_pton): Likewise.
11022         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11023         * resolv/gethnamaddr.c (Dprintf): Likewise.
11024         (gethostbyname): Likewise.
11025         (gethostbyname2): Likewise.
11026         (gethostbyaddr): Likewise.
11027         (_sethtent): Likewise.
11028         (_gethtbyname): Likewise.
11029         (_gethtbyname2): Likewise.
11030         (_gethtbyaddr): Likewise.
11031         (map_v4v6_address): Likewise.
11032         (map_v4v6_hostent): Likewise.
11033         (addrsort): Likewise.
11034         (ht_sethostent): Likewise.
11035         (ht_gethostbyname): Likewise.
11036         (ht_gethostbyaddr): Likewise.
11037         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11038         (inet_net_ntop_ipv4): Likewise.
11039         * resolv/inet_neta.c (inet_neta): Likewise.
11040         * resolv/inet_ntop.c (inet_ntop): Likewise.
11041         (inet_ntop4): Likewise.
11042         (inet_ntop6): Likewise.
11043         * resolv/inet_pton.c (__inet_pton): Likewise.
11044         (inet_pton4): Likewise.
11045         (inet_pton6): Likewise.
11046         * resolv/res_debug.c (loc_aton): Likewise.
11047         (loc_ntoa): Likewise.
11048         * resource/getpriority.c (__getpriority): Likewise.
11049         * resource/getrusage.c (__getrusage): Likewise.
11050         * resource/nice.c (nice): Likewise.
11051         * resource/setpriority.c (__setpriority): Likewise.
11052         * resource/setrlimit64.c (setrlimit64): Likewise.
11053         * resource/vlimit.c (vlimit): Likewise.
11054         * resource/vtimes.c (vtimes): Likewise.
11055         * rt/aio_error.c (aio_error): Likewise.
11056         * rt/aio_return.c (aio_return): Likewise.
11057         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11058         * signal/kill.c (__kill): Likewise.
11059         * signal/killpg.c (killpg): Likewise.
11060         * signal/raise.c (raise): Likewise.
11061         * signal/sigaction.c (__sigaction): Likewise.
11062         * signal/sigaddset.c (sigaddset): Likewise.
11063         * signal/sigaltstack.c (sigaltstack): Likewise.
11064         * signal/sigandset.c (sigandset): Likewise.
11065         * signal/sigblock.c (__sigblock): Likewise.
11066         * signal/sigdelset.c (sigdelset): Likewise.
11067         * signal/sigempty.c (sigemptyset): Likewise.
11068         * signal/sigfillset.c (sigfillset): Likewise.
11069         * signal/sighold.c (sighold): Likewise.
11070         * signal/sigignore.c (sigignore): Likewise.
11071         * signal/sigintr.c (siginterrupt): Likewise.
11072         * signal/sigisempty.c (sigisemptyset): Likewise.
11073         * signal/sigismem.c (sigismember): Likewise.
11074         * signal/signal.c (signal): Likewise.
11075         * signal/sigorset.c (sigorset): Likewise.
11076         * signal/sigpause.c (__sigpause): Likewise.
11077         * signal/sigpending.c (sigpending): Likewise.
11078         * signal/sigprocmask.c (__sigprocmask): Likewise.
11079         * signal/sigrelse.c (sigrelse): Likewise.
11080         * signal/sigreturn.c (__sigreturn): Likewise.
11081         * signal/sigset.c (sigset): Likewise.
11082         * signal/sigsetmask.c (__sigsetmask): Likewise.
11083         * signal/sigstack.c (sigstack): Likewise.
11084         * signal/sigsuspend.c (__sigsuspend): Likewise.
11085         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11086         * signal/sysv_signal.c (__sysv_signal): Likewise.
11087         * socket/accept.c (accept): Likewise.
11088         * socket/accept4.c (__libc_accept4): Likewise.
11089         * socket/bind.c (__bind): Likewise.
11090         * socket/connect.c (__connect): Likewise.
11091         * socket/getpeername.c (getpeername): Likewise.
11092         * socket/getsockname.c (__getsockname): Likewise.
11093         * socket/getsockopt.c (getsockopt): Likewise.
11094         * socket/listen.c (__listen): Likewise.
11095         * socket/recv.c (__recv): Likewise.
11096         * socket/recvmsg.c (__recvmsg): Likewise.
11097         * socket/send.c (__send): Likewise.
11098         * socket/sendmsg.c (__sendmsg): Likewise.
11099         * socket/shutdown.c (shutdown): Likewise.
11100         * socket/sockatmark.c (sockatmark): Likewise.
11101         * socket/socket.c (__socket): Likewise.
11102         * stdio-common/ctermid.c (ctermid): Likewise.
11103         * stdio-common/cuserid.c (cuserid): Likewise.
11104         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11105         * stdio-common/remove.c (remove): Likewise.
11106         * stdio-common/rename.c (rename): Likewise.
11107         * stdio-common/renameat.c (renameat): Likewise.
11108         * stdio-common/tempname.c (__gen_tempname): Likewise.
11109         * stdio-common/xbug.c (InitBuffer): Likewise.
11110         (AppendToBuffer): Likewise.
11111         (ReadFile): Likewise.
11112         * stdlib/a64l.c (a64l): Likewise.
11113         * stdlib/drand48_r.c (drand48_r): Likewise.
11114         * stdlib/getcontext.c (getcontext): Likewise.
11115         * stdlib/getenv.c (getenv): Likewise.
11116         * stdlib/l64a.c (l64a): Likewise.
11117         * stdlib/llabs.c (llabs): Likewise.
11118         * stdlib/lldiv.c (lldiv): Likewise.
11119         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11120         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11121         * stdlib/putenv.c (putenv): Likewise.
11122         * stdlib/random.c (__srandom): Likewise.
11123         (__initstate): Likewise.
11124         (__setstate): Likewise.
11125         * stdlib/random_r.c (__srandom_r): Likewise.
11126         (__setstate_r): Likewise.
11127         (__random_r): Likewise.
11128         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11129         * stdlib/setcontext.c (setcontext): Likewise.
11130         * stdlib/setenv.c (setenv): Likewise.
11131         (unsetenv): Likewise.
11132         * stdlib/srand48.c (srand48): Likewise.
11133         * stdlib/srand48_r.c (__srand48_r): Likewise.
11134         * stdlib/swapcontext.c (swapcontext): Likewise.
11135         * stdlib/system.c (__libc_system): Likewise.
11136         * stdlib/tst-strtod.c (expand): Likewise.
11137         * stdlib/tst-strtol.c (expand): Likewise.
11138         * stdlib/tst-strtoll.c (expand): Likewise.
11139         * streams/fattach.c (fattach): Likewise.
11140         * streams/fdetach.c (fdetach): Likewise.
11141         * streams/getmsg.c (getmsg): Likewise.
11142         * streams/isastream.c (isastream): Likewise.
11143         * string/ffs.c (__ffs): Likewise.
11144         * string/ffsll.c (ffsll): Likewise.
11145         * string/memcmp.c (memcmp_common_alignment): Likewise.
11146         (memcmp_not_common_alignment): Likewise.
11147         (MEMCMP): Likewise.
11148         * string/memcpy.c (memcpy): Likewise.
11149         * string/memmove.c (MEMMOVE): Likewise.
11150         * string/memset.c (memset): Likewise.
11151         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11152         * string/strchrnul.c (STRCHRNUL): Likewise.
11153         * string/strerror.c (strerror): Likewise.
11154         * string/strndup.c (__strndup): Likewise.
11155         * string/strverscmp.c (__strverscmp): Likewise.
11156         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11157         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11158         (clnttcp_freeres): Likewise.
11159         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11160         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11161         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11162         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11163         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11164         (xdr_callhdr): Likewise.
11165         * sunrpc/rpcinfo.c (udpping): Likewise.
11166         (tcpping): Likewise.
11167         (pstatus): Likewise.
11168         (pmapdump): Likewise.
11169         (brdcst): Likewise.
11170         (deletereg): Likewise.
11171         (getprognum): Likewise.
11172         (getvers): Likewise.
11173         (get_inet_address): Likewise.
11174         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11175         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11176         (svcudp_stat): Likewise.
11177         (svcudp_recv): Likewise.
11178         (svcudp_reply): Likewise.
11179         (svcudp_getargs): Likewise.
11180         (svcudp_freeargs): Likewise.
11181         (svcudp_destroy): Likewise.
11182         * sunrpc/xdr.c (xdr_bytes): Likewise.
11183         (xdr_netobj): Likewise.
11184         (xdr_string): Likewise.
11185         (xdr_wrapstring): Likewise.
11186         * sunrpc/xdr_float.c (xdr_float): Likewise.
11187         (xdr_double): Likewise.
11188         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11189         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11190         * sysvipc/ftok.c (ftok): Likewise.
11191         * sysvipc/msgctl.c (msgctl): Likewise.
11192         * sysvipc/msgget.c (msgget): Likewise.
11193         * sysvipc/msgrcv.c (msgrcv): Likewise.
11194         * sysvipc/msgsnd.c (msgsnd): Likewise.
11195         * sysvipc/semget.c (semget): Likewise.
11196         * sysvipc/semop.c (semop): Likewise.
11197         * sysvipc/shmat.c (shmat): Likewise.
11198         * sysvipc/shmctl.c (shmctl): Likewise.
11199         * sysvipc/shmdt.c (shmdt): Likewise.
11200         * sysvipc/shmget.c (shmget): Likewise.
11201         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11202         * termios/speed.c (cfgetospeed): Likewise.
11203         (cfgetispeed): Likewise.
11204         (cfsetospeed): Likewise.
11205         (cfsetispeed): Likewise.
11206         * termios/tcflow.c (tcflow): Likewise.
11207         * termios/tcflush.c (tcflush): Likewise.
11208         * termios/tcgetattr.c (__tcgetattr): Likewise.
11209         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11210         * termios/tcgetsid.c (tcgetsid): Likewise.
11211         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11212         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11213         * time/adjtime.c (__adjtime): Likewise.
11214         * time/dysize.c (dysize): Likewise.
11215         * time/ftime.c (ftime): Likewise.
11216         * time/getitimer.c (__getitimer): Likewise.
11217         * time/gettimeofday.c (__gettimeofday): Likewise.
11218         * time/gmtime.c (__gmtime_r): Likewise.
11219         (gmtime): Likewise.
11220         * time/localtime.c (__localtime_r): Likewise.
11221         (localtime): Likewise.
11222         * time/offtime.c (__offtime): Likewise.
11223         * time/settimeofday.c (__settimeofday): Likewise.
11224         * time/stime.c (stime): Likewise.
11225         * time/strftime_l.c (tm_diff): Likewise.
11226         (iso_week_days): Likewise.
11227         * time/strptime.c (strptime): Likewise.
11228         * time/time.c (time): Likewise.
11229         * time/timespec_get.c (timespec_get): Likewise.
11230         * time/tzset.c (tzset_internal): Likewise.
11231         (compute_change): Likewise.
11232         (__tz_compute): Likewise.
11233         * wcsmbs/btowc.c (__btowc): Likewise.
11234         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11235         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11236         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11237         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11238         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11239         * wcsmbs/wcscat.c (__wcscat): Likewise.
11240         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11241         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11242         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11243         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11244         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11245         * wcsmbs/wcslen.c (__wcslen): Likewise.
11246         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11247         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11248         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11249         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11250         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11251         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11252         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11253         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11254         * wcsmbs/wcstok.c (wcstok): Likewise.
11255         * wcsmbs/wctob.c (wctob): Likewise.
11256         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11257         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11258         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11259         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11260         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11261         * wcsmbs/wmemset.c (__wmemset): Likewise.
11262         * wctype/wcfuncs.c (__towlower): Likewise.
11263         (__towupper): Likewise.
11265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11266         (lll_unlock_elision): Add adapt_count parameter.
11268 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11270         * sysdeps/nptl/configure.ac: Do not give errors based on the
11271         results of top-level configure tests.
11272         * sysdeps/nptl/configure: Regenerated.
11274         * configure.ac (libc_cv_Bgroup): Remove configure test.
11275         * configure: Regenerated.
11276         * config.make.in (have-Bgroup): Remove variable.
11278         * configure.ac (sizeof_long_double): Remove configure test.
11279         * configure: Regenerated.
11280         * config.make.in (sizeof-long-double): Remove variable.
11282         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11283         * configure: Regenerated.
11284         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11285         variable.
11286         (exceptions): Likewise.
11287         * sysdeps/arm/configure: Regenerated.
11288         * config.make.in (exceptions): Remove variable.
11289         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11290         $(exceptions).
11291         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11292         (CFLAGS-vdprintf_chk.c): Likewise.
11293         (CFLAGS-printf_chk.c): Likewise.
11294         (CFLAGS-fprintf_chk.c): Likewise.
11295         (CFLAGS-vprintf_chk.c): Likewise.
11296         (CFLAGS-vfprintf_chk.c): Likewise.
11297         (CFLAGS-gets_chk.c): Likewise.
11298         (CFLAGS-fgets_chk.c): Likewise.
11299         (CFLAGS-fgets_u_chk.c): Likewise.
11300         (CFLAGS-fread_chk.c): Likewise.
11301         (CFLAGS-fread_u_chk.c): Likewise.
11302         (CFLAGS-wprintf_chk.c): Likewise.
11303         (CFLAGS-fwprintf_chk.c): Likewise.
11304         (CFLAGS-vwprintf_chk.c): Likewise.
11305         (CFLAGS-vfwprintf_chk.c): Likewise.
11306         (CFLAGS-fgetws_chk.c): Likewise.
11307         (CFLAGS-fgetws_u_chk.c): Likewise.
11308         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11309         (CFLAGS-fputc.c): Likewise.
11310         (CFLAGS-fputwc.c): Likewise.
11311         (CFLAGS-freopen64.c): Likewise.
11312         (CFLAGS-freopen.c): Likewise.
11313         (CFLAGS-fseek.c): Likewise.
11314         (CFLAGS-fseeko64.c): Likewise.
11315         (CFLAGS-fseeko.c): Likewise.
11316         (CFLAGS-ftello64.c): Likewise.
11317         (CFLAGS-ftello.c): Likewise.
11318         (CFLAGS-fwide.c): Likewise.
11319         (CFLAGS-genops.c): Likewise.
11320         (CFLAGS-getc.c): Likewise.
11321         (CFLAGS-getchar.c): Likewise.
11322         (CFLAGS-getwc.c): Likewise.
11323         (CFLAGS-getwchar.c): Likewise.
11324         (CFLAGS-iofclose.c): Likewise.
11325         (CFLAGS-iofflush.c): Likewise.
11326         (CFLAGS-iofgetpos64.c): Likewise.
11327         (CFLAGS-iofgetpos.c): Likewise.
11328         (CFLAGS-iofgets.c): Likewise.
11329         (CFLAGS-iofgetws.c): Likewise.
11330         (CFLAGS-iofputs.c): Likewise.
11331         (CFLAGS-iofputws.c): Likewise.
11332         (CFLAGS-iofread.c): Likewise.
11333         (CFLAGS-iofsetpos64.c): Likewise.
11334         (CFLAGS-iofsetpos.c): Likewise.
11335         (CFLAGS-ioftell.c): Likewise.
11336         (CFLAGS-iofwrite.c): Likewise.
11337         (CFLAGS-iogetdelim.c): Likewise.
11338         (CFLAGS-iogetline.c): Likewise.
11339         (CFLAGS-iogets.c): Likewise.
11340         (CFLAGS-iogetwline.c): Likewise.
11341         (CFLAGS-ioputs.c): Likewise.
11342         (CFLAGS-ioseekoff.c): Likewise.
11343         (CFLAGS-ioseekpos.c): Likewise.
11344         (CFLAGS-iosetbuffer.c): Likewise.
11345         (CFLAGS-iosetvbuf.c): Likewise.
11346         (CFLAGS-ioungetc.c): Likewise.
11347         (CFLAGS-ioungetwc.c): Likewise.
11348         (CFLAGS-oldfileops.c): Likewise.
11349         (CFLAGS-oldiofclose.c): Likewise.
11350         (CFLAGS-oldiofgetpos64.c): Likewise.
11351         (CFLAGS-oldiofgetpos.c): Likewise.
11352         (CFLAGS-oldiofsetpos64.c): Likewise.
11353         (CFLAGS-oldiofsetpos.c): Likewise.
11354         (CFLAGS-peekc.c): Likewise.
11355         (CFLAGS-putc.c): Likewise.
11356         (CFLAGS-putchar.c): Likewise.
11357         (CFLAGS-putwc.c): Likewise.
11358         (CFLAGS-putwchar.c): Likewise.
11359         (CFLAGS-rewind.c): Likewise.
11360         (CFLAGS-wfileops.c): Likewise.
11361         (CFLAGS-wgenops.c): Likewise.
11362         (CFLAGS-oldiofopen.c): Likewise.
11363         (CFLAGS-iofopen.c): Likewise.
11364         (CFLAGS-iofopen64.c): Likewise.
11365         (CFLAGS-oldtmpfile.c): Likewise.
11366         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11367         (CFLAGS-fprintf.c): Likewise.
11368         (CFLAGS-printf.c): Likewise.
11369         (CFLAGS-vfwprintf.c): Likewise.
11370         (CFLAGS-vfscanf.c): Likewise.
11371         (CFLAGS-vfwscanf.c): Likewise.
11372         (CFLAGS-fscanf.c): Likewise.
11373         (CFLAGS-scanf.c): Likewise.
11374         (CFLAGS-isoc99_vfscanf.c): Likewise.
11375         (CFLAGS-isoc99_vscanf.c): Likewise.
11376         (CFLAGS-isoc99_fscanf.c): Likewise.
11377         (CFLAGS-isoc99_scanf.c): Likewise.
11378         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11379         (CFLAGS-isoc99_fwscanf.c): Likewise.
11380         (CFLAGS-isoc99_vwscanf.c): Likewise.
11381         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11383         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11384         after mkstemp64.
11385         * login/tst-utmp.c (do_prepare): Likewise.
11386         * rt/tst-aio.c (do_prepare): Likewise.
11387         * rt/tst-aio64.c (do_prepare): Likewise.
11389 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11391         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11392         (__lll_lock_elision): Remove adapt_count decrement...
11393         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11394         (__lll_trylock_elision): Likewise.
11395         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11396         (__lll_unlock_elision): ... to here. And utilize
11397         new adapt_count parameter.
11398         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11399         (__lll_unlock_elision): Update to include adapt_count
11400         parameter.
11401         (lll_unlock_elision): Pass pointer to adapt_count
11402         variable.
11404 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11406         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11407         Add elision adapt_count parameter to list of arguments.
11408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11409         (lll_unlock_elision): Update with new parameter list
11410         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11411         (lll_unlock_elision): Likewise.
11412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11413         (lll_unlock_elision): Likewise.
11415 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11417         [BZ #19122]
11418         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11419         attribute_hidden.
11421         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11422         attribute_hidden.
11423         [IS_IN (rtld)] (__strdup): Likewise.
11424         [IS_IN (rtld)] (__strerror_r): Likewise.
11425         [IS_IN (rtld)] (__strsep_g): Likewise.
11426         [IS_IN (rtld)] (memchr): Likewise.
11427         [IS_IN (rtld)] (memcmp): Likewise.
11428         [IS_IN (rtld)] (memcpy): Likewise.
11429         [IS_IN (rtld)] (memmove): Likewise.
11430         [IS_IN (rtld)] (memset): Likewise.
11431         [IS_IN (rtld)] (rawmemchr): Likewise.
11432         [IS_IN (rtld)] (stpcpy): Likewise.
11433         [IS_IN (rtld)] (strchr): Likewise.
11434         [IS_IN (rtld)] (strcmp): Likewise.
11435         [IS_IN (rtld)] (strlen): Likewise.
11436         [IS_IN (rtld)] (strnlen): Likewise.
11437         [IS_IN (rtld)] (strsep): Likewise.
11439         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11440         attribute_hidden.
11441         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11443         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11444         attribute_hidden.
11445         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11447         * include/setjmp.h (__longjmp): Add attribute_hidden.
11448         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11450         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11451         Add attribute_hidden.
11453         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11454         [IS_IN (rtld)] (__open): Likewise.
11455         [IS_IN (rtld)] (__fcntl): Likewise.
11457         * include/dirent.h (__opendirat): Add attribute_hidden.
11458         (__getdents): Likewise.
11459         (__getdents64): Likewise.
11460         (__alloc_dir): Likewise.
11461         [IS_IN (rtld)] (__closedir): Likewise.
11462         [IS_IN (rtld)] (__fdopendir): Likewise.
11463         [IS_IN (rtld)] (__readdir): Likewise.
11464         [IS_IN (rtld)] (__readdir64): Likewise.
11465         [IS_IN (rtld)] (__rewinddir): Likewise.
11467         * include/dlfcn.h (_dl_catch_error): Moved to ...
11468         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11469         attribute_hidden.
11471         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11472         (_itoa_word): Likewise.
11474         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11475         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11476         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11477         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11478         (_dl_higher_prime_number): Likewise.
11479         (_dl_debug_printf_c): Likewise.
11480         (_dl_signal_cerror): Likewise.
11481         (_dl_receive_error): Likewise.
11482         (_dl_reloc_bad_type): Likewise.
11483         (_dl_resolve_conflicts): Likewise.
11484         (_dl_check_all_versions): Likewise.
11485         (_dl_check_map_versions): Likewise.
11486         (_dl_sort_fini): Likewise.
11487         (_dl_debug_initialize): Likewise.
11488         (_dl_init_paths): Likewise.
11489         (_dl_show_auxv): Likewise.
11490         (_dl_next_ld_env_entry): Likewise.
11491         (_dl_important_hwcaps): Likewise.
11492         (_dl_load_cache_lookup): Likewise.
11493         (_dl_update_slotinfo): Likewise.
11494         (_dl_show_scope): Likewise.
11496         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11497         attribute_hidden.
11498         (_wordcopy_fwd_dest_aligned): Likewise.
11499         (_wordcopy_bwd_aligned): Likewise.
11500         (_wordcopy_bwd_dest_aligned): Likewise.
11502         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11503         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11504         Likewise.
11505         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11506         Likewise.
11507         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11509 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11512         GCC 5 requirement.
11514 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11516         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11517         test.
11518         * sysdeps/i386/configure: Regenerated.
11519         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11520         code unconditional.
11522         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11523         test.
11524         (libc_cv_asm_popsection_directive): Likewise.
11525         * configure: Regenerated.
11526         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11527         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11528         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11529         (__make_section_unallocated): Make definition unconditional.
11530         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11531         Remove conditional definition.
11532         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11533         (__make_section_unallocated): Likewise.
11535         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11536         * configure: Regenerated.
11537         * config.make.in (static-libgcc): Remove variable.
11538         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11539         $(static-libgcc).
11540         (build-module-helper): Likewise.
11542         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11543         * configure: Regenerated.
11545 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11547         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11548         (struct char_buffer): New type.
11549         (char_buffer_start, char_buffer_size, char_buffer_error)
11550         (char_buffer_rewind, char_buffer_add): New functions.
11551         (ADDW): Remove macro, replaced by the char_buffer_add function.
11552         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11553         of extend_alloca.  Make control flow more explicit.
11555 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11557         [BZ #19137]
11558         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11559         Add -fomit-frame-pointer.
11560         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11562 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11564         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11565         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11566         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11567         only if !__GNUC_PREREQ (5,0).
11568         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11569         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11570         (INTERNAL_SYSCALL_NCS): Likewise.
11571         (LOADREGS_0): New macro for GCC 5.
11572         (ASMARGS_0): Likewise.
11573         (LOADREGS_1): Likewise.
11574         (ASMARGS_1): Likewise.
11575         (LOADREGS_2): Likewise.
11576         (ASMARGS_2): Likewise.
11577         (LOADREGS_3): Likewise.
11578         (ASMARGS_3): Likewise.
11579         (LOADREGS_4): Likewise.
11580         (ASMARGS_4): Likewise.
11581         (LOADREGS_5): Likewise.
11582         (ASMARGS_5): Likewise.
11583         (LOADREGS_6): Likewise.
11584         (ASMARGS_6): Likewise.
11586 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11588         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11589         -fomit-frame-pointer.
11590         (CFLAGS-mmap64.c): Likewise.
11591         (CFLAGS-semtimedop.c): Likewise.
11592         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11593         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11594         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11595         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11597 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11599         [BZ #18928]
11600         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11601         _dl_pointer_guard member.
11602         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11603         initializer.
11604         (security_init): Always set up pointer guard.
11605         (process_envvars): Do not process LD_POINTER_GUARD.
11607 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11609         [BZ #19134]
11610         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11611         (.LC2): Likewise.
11612         (.LC3): Likewise.
11613         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11615 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11617         [BZ #19129]
11618         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11619         r0 and r1.
11621 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11623         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11625 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11627         * include/stap-probe.h: Fix macro definition formatting.
11629 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11631         [BZ #19074]
11632         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11633         load and store num_ifs.
11635 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11637         [BZ #18822]
11638         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11639         (__sched_getaffinity_new): Add libc_hidden_proto and
11640         libc_hidden_def.
11642 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11644         [BZ #19007]
11645         * scripts/localplt.awk: Also allow GOT references.
11646         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11647         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11648         with "+ REL R_386_GLOB_DAT".
11649         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11650         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11652 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11654         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11655         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11656         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11657         Likewise.
11658         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11659         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11660         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11661         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11662         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11663         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11664         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11665         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11666         Likewise.
11667         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11669 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11671         [BZ #19125]
11672         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11673         <math_private.h> and <stdint.h>.
11674         (__llround): Avoid conversions to and from long long int, and
11675         subtractions, where those might raise spurious exceptions.
11676         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11677         <math_private.h> and <stdint.h>.
11678         (__llroundf): Avoid conversions to and from long long int, and
11679         subtractions, where those might raise spurious exceptions.
11681 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11683         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11684         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11685         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11686         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11687         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11688         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11689         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11690         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11691         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11692         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11693         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11694         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11695         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11696         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11697         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11698         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11699         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11700         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11701         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11702         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11703         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11704         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11705         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11706         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11707         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11708         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11709         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11710         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11711         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11712         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11713         (__xstat64_conv): Likewise.
11714         (__xstat32_conv): Likewise.
11716 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11718         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11719         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11720         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11721         <sysdeps/unix/sysv/linux/sysdep.h>.
11722         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11723         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11724         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11725         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11726         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11727         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11728         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11729         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11730         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11735         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11736         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11738         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11739         (sysdep-dl-routines): Add sysdep.
11740         [$(subdir) == nptl] (libpthread-routines): Likewise.
11741         [$(subdir) == rt] (librt-routines): Likewise.
11742         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11743         PIC when branching to SYSCALL_ERROR_LABEL.
11744         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11745         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11746         <sysdeps/unix/sysv/linux/sysdep.h>.
11747         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11748         (SYSCALL_ERROR_ERRNO): Removed.
11749         (SYSCALL_ERROR_HANDLER): Changed to empty.
11750         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11751         (__syscall_error): New prototype.
11752         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11753         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11755 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11757         [BZ #19124]
11758         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11759         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11760         _dl_runtime_resolve_avx.
11761         (_dl_runtime_profile_avx512): Make it a hidden alias of
11762         _dl_runtime_profile_avx.
11764 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11766         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11767         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11768         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11769         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11771         [BZ #16422]
11772         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11773         New configure test.
11774         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11775         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11776         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11777         <math_private.h> and <stdint.h>.
11778         (__llrint): Avoid conversions to long long int where those might
11779         raise spurious exceptions.
11780         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11781         <math_private.h> and <stdint.h>.
11782         (__llrintf): Avoid conversions to long long int where those might
11783         raise spurious exceptions.
11785 2015-10-12  Andreas Schwab  <schwab@suse.de>
11787         [BZ #18969]
11788         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11789         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11790         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11791         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11792         $(gen-locales).
11793         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11794         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11795         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11796         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11797         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11798         $(gen-locales).
11799         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11800         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11801         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11802         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11803         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11804         ($(objpfx)tst-ftell-active-handler.out)
11805         ($(objpfx)tst-ftell-append.out)
11806         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11807         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11808         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11809         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11810         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11811         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11812         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11813         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11814         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11815         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11816         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11817         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11818         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11819         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11820         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11821         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11822         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11823         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11824         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11825         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11826         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11827         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11828         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11829         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11830         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11831         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11832         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11833         $(gen-locales).
11834         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11835         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11836         $(gen-locales).
11837         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11838         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11839         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11840         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11841         $(gen-locales).
11842         * libio/tst_wprintf2.c (main): Use explicit locale.
11843         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11845 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11847         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11848         __msg_sig_post.
11849         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11851 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11853         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11854         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11856         * sysdeps/arm/libm-test-ulps: Regenerated.
11858         [BZ #15470]
11859         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11861         [BZ #16399]
11862         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11863         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11864         and <fix-fp-int-convert-overflow.h>.
11865         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11866         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11867         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11868         and <fix-fp-int-convert-overflow.h>.
11869         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11870         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11871         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11872         <fix-fp-int-convert-overflow.h>.
11873         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11874         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11875         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11876         <fix-fp-int-convert-overflow.h>.
11877         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11878         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11879         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11880         and <fix-fp-int-convert-overflow.h>.
11881         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11882         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11883         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11884         <limits.h> and <fix-fp-int-convert-overflow.h>.
11885         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11886         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11887         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11888         and <fix-fp-int-convert-overflow.h>.
11889         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11890         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11891         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11892         and <fix-fp-int-convert-overflow.h>.
11893         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11894         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11895         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11897 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11899         [BZ #18589]
11900         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11901         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11902         $(gen-locales).
11904 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11905             Phil Blundell <pb@pbcl.net>
11907         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11908         * nptl/tst-cancel26.c: New file.
11909         * nptl/tst-cancel27.c: Likewise.
11911 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11913         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11914         __ILP32__ isn't defined.
11915         (lrint): Likewise.
11916         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11917         (lrintf): Likewise.
11918         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11919         (lrintl): Likewise.
11920         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11921         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11922         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11924 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11926         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11927         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11929         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11930         file.
11931         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11932         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11934 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11936         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11937         configure test.
11938         * sysdeps/i386/configure: Regenerated.
11939         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11940         configure test.
11941         * sysdeps/x86_64/configure: Regenerated.
11942         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11943         Make code unconditional.
11945         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11946         test.
11947         * sysdeps/i386/configure: Regenerated.
11948         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11949         test.
11950         * sysdeps/x86_64/configure: Regenerated.
11951         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11952         Make code unconditional.
11953         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11954         Likewise.
11955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11956         Likewise.
11957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11958         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11959         code unconditional.
11960         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11961         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11962         code unconditional.
11963         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11964         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11965         code unconditional.
11966         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11967         code unconditional.
11968         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11969         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11970         code unconditional.
11971         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11972         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11973         code unconditional.
11974         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11975         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11976         code unconditional.
11977         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11978         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11979         code unconditional.
11980         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11981         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11983         [BZ #19095]
11984         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11985         mantissa to long int before shifting left.
11987 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11989         [BZ #19094]
11990         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11991         <limits.h>.
11992         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11993         when result overflows but exception would not result from cast.
11994         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11995         <limits.h>.
11996         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11997         when result overflows but exception would not result from cast.
11998         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11999         <limits.h>.
12000         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12001         when result overflows but exception would not result from cast.
12002         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12003         <limits.h>.
12004         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12005         when result overflows but exception would not result from cast.
12006         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12007         <limits.h>.
12008         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12009         when result overflows but exception would not result from cast.
12010         * math/libm-test.inc (lrint_test_data): Add more tests.
12011         (llrint_test_data): Likewise.
12013 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12015         [BZ #18872]
12016         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12017         Move out from under [$(run-built-tests) = yes] conditional.
12018         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12019         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12021 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12023         [BZ #18589]
12024         * string/Makefile (tests): Add bug-strcoll2.
12025         (LOCALES): Add cs_CZ.UTF-8.
12026         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12028         [BZ #18589]
12029         * string/bug-strcoll2.c: New file.
12030         * locale/categories.def: Revert commit
12031         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12032         * locale/langinfo.h: Likewise.
12033         * locale/localeinfo.h: Likewise.
12034         * locale/C-collate.c: Likewise.
12035         * locale/programs/ld-collate.c (collate_output): Likewise.
12036         * string/strcoll_l.c (STRDIFF): Likewise.
12037         (STRCOLL): Likewise.
12038         * wcsmbs/wcscoll_l.c: Likewise.
12040 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12042         * math/libm-test.inc (lround_test_data): Do not expect the absence
12043         of "inexact" for some tests with non-integer arguments.
12044         (llround_test_data): Likewise.
12046         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12047         test.
12048         (libc_cv_cc_sse2avx): Likewise.
12049         * sysdeps/i386/configure: Regenerated.
12050         * sysdeps/i386/i686/multiarch/Makefile
12051         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12052         [$(subdir) = math].
12053         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12054         code unconditional.
12055         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12056         Likewise.
12057         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12058         Likewise.
12059         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12060         Likewise.
12061         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12062         test.
12063         (libc_cv_cc_sse2avx): Likewise.
12064         * sysdeps/x86_64/configure: Regenerated.
12065         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12066         unconditional.
12067         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12068         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12069         unconditional.
12070         (_dl_runtime_profile)
12071         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12072         conditional code.
12073         * sysdeps/x86_64/fpu/multiarch/Makefile
12074         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12075         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12076         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12077         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12078         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12079         * sysdeps/x86_64/fpu/multiarch/e_log.c
12080         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12081         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12082         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12083         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12084         Likewise.
12085         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12086         Likewise.
12087         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12088         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12089         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12090         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12091         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12092         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12093         (HAVE_SSE2AVX_SUPPORT): Likewise.
12095 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12097         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12098         instead of #pragma optimize.
12100 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12102         [BZ #17195]
12103         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12104         as is similarly done in systrim and _int_free already.
12106 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12108         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12110 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12112         [BZ #19088]
12113         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12114         <limits.h>.
12115         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12116         overflows but exception would not result from cast.
12117         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12118         and <limits.h>.
12119         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12120         overflows but exception would not result from cast.
12121         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12122         <limits.h>.
12123         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12124         overflows but exception would not result from cast.
12125         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12126         <limits.h>.
12127         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12128         overflows but exception would not result from cast.
12129         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12130         <limits.h>.
12131         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12132         overflows but exception would not result from cast.
12133         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12134         <limits.h>.
12135         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12136         overflows but exception would not result from cast.
12137         * math/libm-test.inc (lround_test_data): Add more tests.
12138         (llround_test_data): Likewise.
12140 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12142         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12143         (CFLAGS-ialloc.c): Ditto.
12144         (CFLAGS-scheck.c): Ditto.
12146 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12148         [BZ #19086]
12149         * manual/filesys.texi (Storage Allocation): Fix argument order for
12150         posix_fallocate64.
12152 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12154         [BZ #19085]
12155         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12156         exponent below 48 inside case for non-overflowing exponent.
12157         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12159 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12161         * iconvdata/cp737.h (from_idx): Add const.
12162         * iconvdata/cp775.h (from_idx): Likewise.
12164 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12166         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12167         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12168         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12170         [BZ #19079]
12171         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12172         file, conditioned on [!_LP64].
12173         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12174         [!_LP64] (__lround): Do not define as function or alias.
12175         [!_LP64] (lround): Likewise.
12176         [!_LP64] (__lroundl): Likewise.
12177         [!_LP64] (lroundl): Likewise.
12178         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12179         macro.
12180         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12181         Likewise.
12183 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12185         * math/libm-test.inc (lrint_test_data): Add more tests.
12186         (llrint_test_data): Likewise.
12187         (lround_test_data): Likewise.
12188         (llround_test_data): Likewise.
12190         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12191         (llrint_test_data): Add tests used for lrint.
12193         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12194         test.
12195         * sysdeps/i386/configure: Regenerated.
12196         * sysdeps/i386/i686/multiarch/Makefile
12197         [$(config-cflags-sse4) = yes]: Make code unconditional.
12198         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12199         Likewise.
12200         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12201         Likewise.
12202         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12203         test.
12204         * sysdeps/x86_64/configure: Regenerated.
12205         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12206         Make code unconditional.
12207         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12208         Likewise.
12209         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12210         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12212         * scripts/rpm2dynsym.sh: Remove file.
12214 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12216         * configure.ac (libc_cv_cxx_thread_local): Define.
12217         * configure: Regenerate.
12218         * config.make.in (have-cxx-thread_local): Define.
12219         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12220         (LDLIBS-tst-thread_local1): Define.
12221         (tests): Add tst-thread_local1.
12222         [have-cxx-thread_local != yes] (tests-unsupported): Add
12223         tst-thread_local1.
12224         * nptl/tst-thread_local1.cc: New file.
12226 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12228         [BZ #19078]
12229         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12230         (u_thres): Likewise.
12231         (__expl): Determine whether to call __kernel_standard_l based on
12232         value of result, not argument.
12234         * math/libm-test.inc (scalb_test_data): Add more expectations for
12235         the "inexact" exception.
12237         [BZ #19077]
12238         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12239         0.0L for argument 1.0L.
12241         [BZ #19076]
12242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12243         constant 0.0L when computing infinite result.
12245 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12247         [BZ #10432]
12248         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12249         malloc_usable_size.
12251 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12253         [BZ #19018]
12254         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12255         Mangle function pointer before storing it.
12256         (__call_tls_dtors): Demangle function pointer before calling it.
12258 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12260         [BZ #19012]
12261         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12262         Clean up on failure.
12264 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12266         [BZ #19071]
12267         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12268         long int variable to store possibly incremented high part of
12269         mantissa.
12270         * math/libm-test.inc (lround_test_data): Add tests used for
12271         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12272         for tests requiring 64-bit long.  Do not condition tests on
12273         [TEST_FLOAT] unnecessarily.
12274         (llround_test_data): Add tests used for lround.  Add another
12275         expectation for the "inexact" exception.  Do not condition tests
12276         on [TEST_FLOAT] unnecessarily.
12278         [BZ #887]
12279         [BZ #19049]
12280         [BZ #19050]
12281         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12282         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12283         <fix-int-fp-convert-zero.h>.
12284         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12285         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12286         <fix-int-fp-convert-zero.h>.
12287         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12288         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12289         <fix-int-fp-convert-zero.h>.
12290         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12291         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12292         <fix-int-fp-convert-zero.h>.
12293         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12294         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12295         <fix-int-fp-convert-zero.h>.
12296         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12297         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12298         <fix-int-fp-convert-zero.h>.
12299         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12300         * sysdeps/ieee754/flt-32/s_erff.c: Include
12301         <fix-int-fp-convert-zero.h>.
12302         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12303         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12304         <fix-int-fp-convert-zero.h>.
12305         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12306         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12307         <fix-int-fp-convert-zero.h>.
12308         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12310         <fix-int-fp-convert-zero.h>.
12311         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12312         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12313         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12314         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12315         file.
12316         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12318 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12322 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12324         [BZ #19059]
12325         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12326         overflowing computation.
12327         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12328         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12329         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12330         Likewise.
12331         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12332         Likewise.
12333         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12334         Likewise.
12335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12336         Likewise.
12337         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12338         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12339         Likewise.
12340         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12341         Likewise.
12342         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12344         * nss/rewrite_field.c (__nss_rewrite_field): Use
12345         internal_function.
12346         * nss/valid_field.c (__nss_valid_field): Likewise.
12347         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12349 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12351         [BZ #18724]
12352         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12353         (__nss_invalid_field_characters, __nss_valid_field)
12354         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12355         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12356         tst-field.c: New file.
12357         * nss/Makefile (routines): Add valid_field, rewrite_field.
12358         (tests-static): Define unconditionally.
12359         (tests): Include tests-static.
12360         [build-static-nss] (tests-static): Use append.
12361         [build-static-nss] (tests): Remove modification.
12362         * nss/getent.c (print_group): Call putgrent.  Report error.
12363         (print_gshadow): Call putsgent.  Report error.
12364         (print_passwd): Call putpwent.  Report error.
12365         (print_shadow): Call putspent.  Report error.
12366         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12367         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12368         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12369         name, password, directory, shell fields for valid syntax.  Rewrite
12370         GECOS field to match syntax.
12371         * pwd/Makefile (tests): Add tst-putpwent.
12372         * pwd/tst-putpwent.c: New file.
12373         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12374         Check grName, grpasswd, gr_mem fields for valid syntax.
12375         Change loop variable i to size_t.
12376         * grp/Makefile (tests): Add tst-putgrent.
12377         * grp/tst-putgrent.c: New file.
12378         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12379         valid syntax.
12380         * shadow/Makefile (tests): Add tst-putspent.
12381         * shadow/tst-putspent.c: New file.
12382         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12383         sg_mem fields for valid syntax.
12384         * gshadow/Makefile (tests): Add tst-putsgent.
12385         * gshadow/tst-putsgent.c: New file.
12387 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12389         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12390         assembly instructions.
12392 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12394         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12395         prefix from operands.
12397 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12399         [BZ #16347]
12400         [BZ #19046]
12401         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12402         <libc-internal.h>.
12403         (MAXLGM): Do not use diagnostic control macros.
12404         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12405         threshold for ldbl-128ibm.
12406         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12407         instead of multiplying by log then subtracting.
12408         * math/auto-libm-test-in: Add more tests of lgamma.
12409         * math/auto-libm-test-out: Regenerated.
12411         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12412         (TYPE_HEX_DIG): Likewise.
12413         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12414         precisions when printing floating-point numbers.
12415         (check_float_internal): Likewise.
12417 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12419         [BZ #16620]
12420         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12421         of log (10) rounded downward to 48 bits.
12422         (log10_low): Use corresponding low part of log (10).
12424         [BZ #19032]
12425         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12426         compute result as (x - x) / (x - x) not as 0 / 0.
12427         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12428         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12430         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12431         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12432         and expm1.
12433         * math/auto-libm-test-out: Regenerated.
12434         * math/libm-test.inc (acos_test_data): Add more tests.
12435         (asin_test_data): Likewise.
12436         (asinh_test_data): Likewise.
12437         (atan_test_data): Likewise.
12438         (atanh_test_data): Likewise.
12439         (atan2_test_data): Likewise.
12440         (cbrt_test_data): Likewise.
12441         (ceil_test_data): Likewise.
12442         (copysign_test_data): Likewise.
12443         (cos_test_data): Likewise.
12444         (cosh_test_data): Likewise.
12445         (erf_test_data): Likewise.
12446         (erfc_test_data): Likewise.
12447         (exp_test_data): Likewise.
12448         (exp10_test_data): Likewise.
12449         (exp2_test_data): Likewise.
12450         (expm1_test_data): Likewise.
12451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12453 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12455         [BZ #19006]
12456         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12457         to ...
12458         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12459         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12460         to ...
12461         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12462         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12463         to ...
12464         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12465         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12466         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12467         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12468         to ...
12469         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12470         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12471         Moved to ...
12472         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12473         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12474         Moved to ...
12475         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12476         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12477         to ...
12478         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12480         Moved to ...
12481         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12482         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12483         to ...
12484         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12485         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12486         Removed.
12487         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12488         Likewise.
12489         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12490         Likewise.
12491         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12492         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12493         Likewise.
12494         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12495         Likewise.
12496         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12497         Likewise.
12498         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12499         Likewise.
12500         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12501         Likewise.
12502         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12503         Likewise.
12504         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12505         Likewise.
12506         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12507         Likewise.
12508         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12509         Likewise.
12510         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12511         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12512         Likewise.
12513         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12514         Likewise.
12515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12516         Likewise.
12517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12518         Likewise.
12519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12520         Likewise.
12521         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12522         Replace ../i486/pthread_cond_timedwait.S with
12523         ../pthread_cond_timedwait.S.
12525 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12527         * math/libm-test.inc (acos_test_data): Refine expectations for
12528         errno and "inexact" exceptions.
12529         (acosh_test_data): Likewise.
12530         (asin_test_data): Likewise.
12531         (asinh_test_data): Likewise.
12532         (atan_test_data): Likewise.
12533         (atanh_test_data): Likewise.
12534         (atan2_test_data): Likewise.
12535         (cbrt_test_data): Likewise.
12536         (ceil_test_data): Likewise.
12537         (copysign_test_data): Likewise.
12538         (cosh_test_data): Likewise.
12539         (erf_test_data): Likewise.
12540         (erfc_test_data): Likewise.
12541         (exp_test_data): Likewise.
12542         (exp10_test_data): Likewise.
12543         (exp2_test_data): Likewise.
12544         (expm1_test_data): Likewise.
12545         (fabs_test_data): Likewise.
12546         (floor_test_data): Likewise.
12547         (fma_test_data): Likewise.
12548         (fmax_test_data): Likewise.
12549         (fmin_test_data): Likewise.
12550         (fmod_test_data): Likewise.
12551         (fpclassify_test_data): Likewise.
12552         (frexp_test_data): Likewise.
12553         (hypot_test_data): Likewise.
12554         (ilogb_test_data): Likewise.
12555         (isgreater_test_data): Likewise.
12556         (isgreaterequal_test_data): Likewise.
12557         (isinf_test_data): Likewise.
12558         (isless_test_data): Likewise.
12559         (islessequal_test_data): Likewise.
12560         (islessgreater_test_data): Likewise.
12561         (isnan_test_data): Likewise.
12562         (isnormal_test_data): Likewise.
12563         (issignaling_test_data): Likewise.
12564         (isunordered_test_data): Likewise.
12565         (j0_test_data): Likewise.
12566         (j1_test_data): Likewise.
12567         (jn_test_data): Likewise.
12568         (lgamma_test_data): Likewise.
12569         (lrint_test_data): Likewise.
12570         (llrint_test_data): Likewise.
12571         (log_test_data): Likewise.
12572         (log10_test_data): Likewise.
12573         (log1p_test_data): Likewise.
12574         (log2_test_data): Likewise.
12575         (logb_test_data): Likewise.
12576         (lround_test_data): Likewise.
12577         (llround_test_data): Likewise.
12578         (modf_test_data): Likewise.
12579         (nearbyint_test_data): Likewise.
12580         (nextafter_test_data): Likewise.
12581         (nexttoward_test_data): Likewise.
12582         (pow_test_data): Likewise.
12583         (remainder_test_data): Likewise.
12584         (remquo_test_data): Likewise.
12585         (rint_test_data): Likewise.
12586         (round_test_data): Likewise.
12587         (signbit_test_data): Likewise.
12588         (sinh_test_data): Likewise.
12589         (sqrt_test_data): Likewise.
12590         (tanh_test_data): Likewise.
12591         (tgamma_test_data): Likewise.
12592         (trunc_test_data): Likewise.
12593         (y0_test_data): Likewise.
12594         (y1_test_data): Likewise.
12595         (yn_test_data): Likewise.
12596         (significand_test_data): Likewise.
12598 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12600         * manual/filesys.texi (Storage Allocation): Document that
12601         posix_fallocate emulation fails when fd is open with O_WRONLY.
12603 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12605         [BZ #19016]
12606         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12607         allow more cases with X^2 + Y^2 >= 0.5.
12608         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12609         normal element in sum instead of special-casing based on values of
12610         arguments.
12611         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12612         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12613         -1 as normal element in sum instead of special-casing based on
12614         values of arguments.
12615         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12616         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12617         (__x2y2m1): Update comment.
12618         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12619         as normal element in sum instead of special-casing based on values
12620         of arguments.
12621         * math/s_clog.c (__clog): Handle more cases using log1p without
12622         hypot.
12623         * math/s_clog10.c (__clog10): Likewise.
12624         * math/s_clog10f.c (__clog10f): Likewise.
12625         * math/s_clog10l.c (__clog10l): Likewise.
12626         * math/s_clogf.c (__clogf): Likewise.
12627         * math/s_clogl.c (__clogl): Likewise.
12628         * math/auto-libm-test-in: Add more tests of clog and clog10.
12629         * math/auto-libm-test-out: Regenerated.
12630         * sysdeps/i386/fpu/libm-test-ulps: Update.
12631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12633 2015-09-28  Martin Sebor  <msebor@redhat.com>
12635         [BZ #18969]
12636         * string/Makefile (LOCALES): Define.
12637         (gen-locales.mk): Include.
12638         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12639         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12640         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12641         on setlocale failure.
12643 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12645         [BZ #18985]
12646         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12647         (__strftime_internal): Likewise.
12648         * time/tst-strftime.c (do_bz18985): New test.
12649         (do_test): Call it.
12651 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12653         [BZ #18956]
12654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12655         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12656         extracting high part.
12657         * math/auto-libm-test-in: Add another test of pow.
12658         * math/auto-libm-test-out: Regenerated.
12659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12661 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #18825]
12664         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12665         New macro.
12666         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12667         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12668         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12669         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12670         DBL_NARROW_EVAL, reloading the PIC register as needed.
12671         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12672         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12673         FLT_NARROW_EVAL.  Use separate return path for case when first
12674         argument is NaN.
12675         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12676         DEFINE_LDBL_MIN.
12677         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12678         PIC register.
12679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12680         math_check_force_underflow_nonneg.
12681         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12682         underflow for subnormal result.
12683         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12684         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12685         math_check_force_underflow_nonneg.
12686         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12687         math_check_force_underflow.
12688         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12689         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12690         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12691         DEFINE_LDBL_MIN.
12692         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12693         * math/auto-libm-test-in: Add more tests of pow.
12694         * math/auto-libm-test-out: Regenerated.
12696 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12698         * nss/bug17079.c (init_test_items): Add diagnostic for
12699         inconsistent entries.
12700         (test_buffer_size): Skip inconsistent entries.
12702 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12704         [BZ #13304]
12705         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12706         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12707         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12709         [BZ #13304]
12710         * sysdeps/microblaze/s_fma.c: New file.
12711         * sysdeps/microblaze/s_fmaf.c: Likewise.
12712         * sysdeps/microblaze/sfp-machine.h: Likewise.
12714 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12716         [BZ #17250]
12717         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12718         member.
12720 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12722         [BZ #18803]
12723         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12724         (MO): New macro.
12725         (__ieee754_hypot) [PIC]: Load PIC register.
12726         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12727         DBL_NARROW_EVAL.
12728         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12729         math_check_force_underflow_nonneg in case where result might be
12730         tiny.
12731         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12732         Likewise.
12733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12734         Likewise.
12735         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12736         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12737         * math/auto-libm-test-in: Add more tests of hypot.
12738         * math/auto-libm-test-out: Regenerated.
12740 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12742         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12744 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12746         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12747         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12748         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12749         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12750         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12751         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12752         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12754         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12755         LOAD_PIC_REG.
12757         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12758         (FLT_CHECK_FORCE_UFLOW): Likewise.
12759         (DBL_CHECK_FORCE_UFLOW): Likewise.
12760         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12761         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12762         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12763         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12764         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12765         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12766         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12767         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12768         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12769         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12770         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12771         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12772         (flt_min): Replace with use of DEFINE_FLT_MIN.
12773         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12774         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12775         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12776         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12777         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12778         (flt_min): Replace with use of DEFINE_FLT_MIN.
12779         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12780         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12781         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12782         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12783         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12784         (flt_min): Replace with use of DEFINE_FLT_MIN.
12785         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12786         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12787         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12788         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12789         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12790         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12791         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12792         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12793         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12794         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12795         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12796         (flt_min): Replace with use of DEFINE_FLT_MIN.
12797         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12798         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12799         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12800         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12801         main computation.
12802         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12803         (flt_min): Replace with use of DEFINE_FLT_MIN.
12804         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12805         main computation.
12806         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12807         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12808         (MO): New macro.
12809         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12810         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12811         (flt_min): Replace with use of DEFINE_FLT_MIN.
12812         (MO): New macro.
12813         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12814         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12815         (__log1pl): Use MO.
12817         [BZ #19003]
12818         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12819         $(config-cflags-nofma).
12821 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12823         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12825 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12827         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12828         (TWO127): Likewise.
12830         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12831         (min_of_type): Likewise.
12832         (math_check_force_underflow): Likewise.
12833         (math_check_force_underflow_nonneg): Likewise.
12834         (math_check_force_underflow_complex): Likewise.
12835         * math/e_exp2l.c (__ieee754_exp2l): Use
12836         math_check_force_underflow_nonneg.
12837         * math/k_casinh.c (__kernel_casinh): Likewise.
12838         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12839         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12840         * math/s_catan.c (__catan): Use
12841         math_check_force_underflow_complex.
12842         * math/s_catanf.c (__catanf): Likewise.
12843         * math/s_catanh.c (__catanh): Likewise.
12844         * math/s_catanhf.c (__catanhf): Likewise.
12845         * math/s_catanhl.c (__catanhl): Likewise.
12846         * math/s_catanl.c (__catanl): Likewise.
12847         * math/s_ccosh.c (__ccosh): Likewise.
12848         * math/s_ccoshf.c (__ccoshf): Likewise.
12849         * math/s_ccoshl.c (__ccoshl): Likewise.
12850         * math/s_cexp.c (__cexp): Likewise.
12851         * math/s_cexpf.c (__cexpf): Likewise.
12852         * math/s_cexpl.c (__cexpl): Likewise.
12853         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12854         * math/s_clog10.c (__clog10): Likewise.
12855         * math/s_clog10f.c (__clog10f): Likewise.
12856         * math/s_clog10l.c (__clog10l): Likewise.
12857         * math/s_clogf.c (__clogf): Likewise.
12858         * math/s_clogl.c (__clogl): Likewise.
12859         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12860         * math/s_csinf.c (__csinf): Likewise.
12861         * math/s_csinh.c (__csinh): Likewise.
12862         * math/s_csinhf.c (__csinhf): Likewise.
12863         * math/s_csinhl.c (__csinhl): Likewise.
12864         * math/s_csinl.c (__csinl): Likewise.
12865         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12866         * math/s_csqrtf.c (__csqrtf): Likewise.
12867         * math/s_csqrtl.c (__csqrtl): Likewise.
12868         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12869         * math/s_ctanf.c (__ctanf): Likewise.
12870         * math/s_ctanh.c (__ctanh): Likewise.
12871         * math/s_ctanhf.c (__ctanhf): Likewise.
12872         * math/s_ctanhl.c (__ctanhl): Likewise.
12873         * math/s_ctanl.c (__ctanl): Likewise.
12874         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12875         instead of volatile.
12876         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12877         math_check_force_underflow.
12878         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12879         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12880         volatile when forcing underflow.
12881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12882         math_check_force_underflow_nonneg.
12883         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12884         Likewise.
12885         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12886         math_check_force_underflow.
12887         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12888         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12889         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12890         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12891         math_check_force_underflow_nonneg.
12892         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12893         math_check_force_underflow.
12894         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12896         instead of volatile.
12897         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12898         math_check_force_underflow.
12899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12901         math_check_force_underflow_nonneg.
12902         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12903         math_check_force_underflow.
12904         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12905         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12906         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12907         math_check_force_underflow_nonneg.
12908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12909         Likewise.
12910         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12911         math_check_force_underflow.
12912         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12913         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12914         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12915         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12916         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12917         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12918         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12919         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12920         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12921         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12922         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12923         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12924         Likewise.
12925         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12926         math_check_force_underflow_nonneg.
12927         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12928         Likewise.
12929         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12930         math_check_force_underflow.
12931         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12932         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12933         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12934         Likewise.
12935         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12936         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12937         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12938         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12939         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12940         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12942         instead of volatile.
12943         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12944         math_check_force_underflow.
12945         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12947         math_check_force_underflow.
12948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12949         Likewise.
12950         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12951         Use math_check_force_underflow_nonneg.
12952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12953         math_check_force_underflow.
12954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12955         Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12957         Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12959         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12960         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12961         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12964         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12965         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12966         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12967         math_check_force_underflow_nonneg.
12968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12969         math_check_force_underflow.
12970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12971         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12972         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12973         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12974         math_check_force_underflow_nonneg.
12975         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12976         math_check_force_underflow.
12977         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12979         instead of volatile.
12980         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12981         math_check_force_underflow.
12983         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12984         * stdlib/strtod_l.c: Include <math_private.h>.
12985         (overflow_value): Use math_narrow_eval.
12986         (underflow_value): Likewise.
12987         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12988         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12989         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12990         (__ieee754_gamma_r): Likewise.
12991         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12992         Likewise.
12993         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12994         Likewise.
12995         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12996         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12997         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12998         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12999         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13000         (__ieee754_gammaf_r): Likewise.
13001         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13002         Likewise.
13003         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13004         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13005         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13006         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13007         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13008         volatile.
13009         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13010         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13011         math_narrow_eval.
13012         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13013         Likewise.
13014         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13015         Likewise.
13016         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13017         Likewise.
13018         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13019         volatile.
13020         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13021         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13022         math_narrow_eval.
13023         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13024         Likewise.
13025         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13026         Likewise.
13028 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13030         * nptl/Versions: Remove ignored symbols.
13032 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13034         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13035         * nss/Makefile (tests): Update.
13037 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13039         * nss/bug18287.c: New file.
13040         * nss/Makefile (tests): Add bug18287.
13042 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13044         * mach/Versions (__mach_host_self_): Add symbol.
13046 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13048         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13049         vm_page_size.
13051 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13053         Really fix sysdeps/i386/fpu/s_scalbn.S build
13055         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13056         (libc: GLIBC_2_22): Remove unused version set.
13058 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13060         * config.make.in (enable-timezone-tools): New variable.
13061         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13062         (enable_timezone_tools): Export to generated files.
13063         * configure: Regenerate.
13064         * INSTALL: Regenerate.
13065         * manual/install.texi (--disable-timezone-tools): Document new flag.
13066         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13067         ifeq ($(enable-timezone-tools),yes) check.
13069 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13071         * timezone/Makefile: Revert previous change.
13073         [BZ #18980]
13074         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13075         (DEFINE_DBL_MIN): Likewise.
13076         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13077         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13078         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13079         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13080         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13081         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13082         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13083         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13084         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13085         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13086         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13087         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13088         (flt_min): Replace with use of DEFINE_FLT_MIN.
13089         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13090         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13091         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13092         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13093         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13094         (flt_min): Replace with use of DEFINE_FLT_MIN.
13095         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13096         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13097         (flt_min): Replace with use of DEFINE_FLT_MIN.
13098         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13099         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13100         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13101         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13102         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13103         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13104         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13105         (__ieee754_pow): Use DBL_NARROW_EVAL.
13106         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13107         (__ieee754_powf): Use FLT_NARROW_EVAL.
13108         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13109         (__ieee754_expf_sse2): Convert double-precision result to single
13110         precision.
13111         * sysdeps/i386/fpu/libm-test-ulps: Update.
13113 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13115         * timezone/Makefile: Ignore unused variable errors due to private.h
13116         (time_t_min) and (time_t_max).
13117         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13118         Likewise.
13120 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13122         [BZ #18981]
13123         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13124         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13125         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13126         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13127         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13128         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13129         (__scalbn): Use DBL_NARROW_EVAL.
13130         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13131         (__scalbnf): Use FLT_NARROW_EVAL.
13133 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13135         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13136         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13137         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13138         * stdio-common/printf_fp.c (___printf_fp):
13139         Use signbit to get the sign. Use isinf macro to allow inlining.
13140         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13141         * stdio-common/printf_size.c (__printf_size): Likewise.
13143 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13145         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13147 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #18980]
13150         * sysdeps/generic/math_private.h: Include <float.h>.
13151         (math_narrow_eval): New macro.
13152         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13153         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13154         math_narrow_eval on overflowing return value.
13155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13156         Likewise.
13157         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13158         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13160         Likewise.
13161         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13163 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13165         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13166         * math/Makefile: Remove isinf_ns.c.
13167         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13168         * math/multc3.c (__multc3): Likewise.
13169         * math/s_casin.c (__casin): Likewise.
13170         * math/s_casinf.c (__casinf): Likewise.
13171         * math/s_casinl.c (__casinl): Likewise.
13172         * math/s_cproj.c (__cproj): Likewise.
13173         * math/s_cprojf.c (__cprojf): Likewise.
13174         * math/s_cprojl.c (__cprofl): Likewise.
13175         * math/s_ctan.c (__ctan): Likewise.
13176         * math/s_ctanf.c (__ctanf): Likewise.
13177         * math/s_ctanh.c (__ctanh): Likewise.
13178         * math/s_ctanhf.c (__ctanhf): Likewise.
13179         * math/s_ctanhl.c (__ctanhl): Likewise.
13180         * math/s_ctanl.c (__ctanl): Likewise.
13181         * math/w_fmod.c (__fmod): Likewise.
13182         * math/w_fmodf.c (__fmodf): Likewise.
13183         * math/w_fmodl.c (_fmodl): Likewise.
13184         * math/w_remainder.c (__remainder): Likewise.
13185         * math/w_remainderf.c (__remainderf): Likewise.
13186         * math/w_remainderl.c (__remainderl): Likewise.
13187         * math/w_scalb.c (__scalb): Likewise.
13188         * math/w_scalbf.c (__scalbf): Likewise.
13189         * math/w_scalbl.c (__scalbl): Likewise.
13190         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13191         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13192         with isinf.
13193         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13194         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13195         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13196         __isinf_nsf with isinf.
13197         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13198         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13199         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13200         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13201         with isinf.
13202         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13203         __isinf_nsl with isinf.
13204         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13205         with isinf.
13206         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13207         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13208         __isinf_nsl with isinf.
13209         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13210         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13211         with isinf.
13213 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13215         * resolv/base64.c (rcsid): Remove unused static.
13216         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13217         static.  (tqpi1): Likewise.
13218         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13219         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13220         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13221         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13222         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13223         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13224         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13225         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13226         Likewise.
13228 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13230         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13231         <nptl/pthreadP.h>.
13232         (_longjmp_unwind): Use __libc_ptf_call.
13233         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13235 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13237         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13238         * sysdeps/arm/__longjmp.S: Likewise.
13240 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13242         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13243         Use __builtin_signbit.
13244         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13245         Use __builtin_signbitf.
13246         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13247         Use __builtin_signbitl.
13248         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13249         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13251 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13253         [BZ #15367]
13254         [BZ #17441]
13256         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13257         * math/math.h (fpclassify): Use __builtin_fpclassify when
13258         available.  (signbit): Use __builtin_signbit(f/l).
13259         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13260         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13261         (isinf): Use __builtin_isinf_sign.
13263 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13265         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13266         * benchtests/bench-math-inlines.c: New benchmark.
13267         * benchtests/bench-util.h: New file.
13268         * benchtests/bench-util.c: New file.
13269         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13271 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13273         * elf/tst-dlmopen1.c: Define TEST_SO.
13274         (do_test): Use TEST_SO.
13276         * elf/dl-load.c: Include libc-internal.h.
13277         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13279 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13281         [BZ #17887]
13282         * time/strptime_l.c (__strptime_internal): Make %z accept
13283         [+-]HH:MM time zones.
13285 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13287         [BZ #17886]
13288         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13289         valid time zone.
13291 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13293         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13294         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13296         (__ASSUME_FDATASYNC): Delete.
13298 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13300         * conform/linknamespace.pl: Require weak undefined symbols to be
13301         in the standard namespace.
13302         (%strong_syms): Rename to %seen_syms.
13303         (%strong_seen): Rename to %seen_where.
13305 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13307         [BZ #18970]
13308         * misc/error.c (error): Replace pthread_setcancelstate with
13309         __pthread_setcancelstate.
13310         (error_at_line): Likewise.
13311         * posix/wordexp.c (parse_comm): Likewise.
13312         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13313         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13314         (__pthread_setcancelstate): This.
13315         (pthread_setcancelstate): Add an alias.
13316         * nptl/nptl-init.c (pthread_functions): Replace
13317         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13318         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13319         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13320         hidden_proto.
13321         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13322         it with hidden_def.
13323         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13324         (pthread_setcancelstate): Renamed to ...
13325         (__pthread_setcancelstate): This.
13326         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13327         __libc_ptf_call with __pthread_setcancelstate.
13329 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13330             Andreas Schwab  <schwab@suse.de>
13332         [BZ #17118]
13333         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13334         result when imaginary part of argument is infinite using sine and
13335         cosine.
13336         * math/s_ctanf.c (__ctanf): Likewise.
13337         * math/s_ctanl.c (__ctanl): Likewise.
13338         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13339         of result when real part of argument is infinite using sine and
13340         cosine.
13341         * math/s_ctanhf.c (__ctanhf): Likewise.
13342         * math/s_ctanhl.c (__ctanhl): Likewise.
13343         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13344         (ctanh_test_data): Add more tests of ctanh.
13346 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13348         [BZ #15384]
13349         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13350         bit-mask as in subtraction.
13351         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13352         Likewise.
13353         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13354         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13355         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13357         [BZ #18951]
13358         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13359         underflow exception for small results.
13360         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13361         Likewise.
13362         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13363         Likewise.
13364         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13365         Likewise.
13366         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13367         Likewise.
13368         * math/auto-libm-test-in: Add more tests of tgamma.
13369         * math/auto-libm-test-out: Regenerated.
13371 2015-09-17  Andreas Schwab  <schwab@suse.de>
13373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13375 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #18977]
13378         * math/bits/mathcalls.h
13379         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13380         not declare.
13381         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13382         Likewise.
13383         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13384         Likewise.
13385         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13386         Likewise.
13387         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13388         Likewise.
13389         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13390         Likewise.
13391         * conform/data/math.h-data
13392         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13393         function.
13394         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13395         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13396         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13397         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13398         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13399         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13400         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13401         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13402         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13403         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13404         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13406         [BZ #6803]
13407         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13408         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13409         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13410         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13411         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13412         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13413         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13414         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13415         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13417         Likewise.
13418         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13419         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13420         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13422         long_double_symbol calls.
13423         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13424         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13425         strong alias of __ldexpl.
13426         (scalbnl): Define using long_double_symbol.
13427         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13428         Remove alias.
13429         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13430         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13431         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13432         (scalbln_test_data): Add more errno expectations.
13434 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13436         Cache the host port like we cache the task port.  This way we do not
13437         need to call the kernel just to get the port.  Furthermore, we no
13438         longer increase the reference count on every invocation of
13439         `mach_host_self'.
13441         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13442         Protect declarations against the macro expansion.
13443         * mach/mach_init.c (__mach_host_self_): New variable.
13444         (mach_init): Initialize `__mach_host_self_'.
13445         * mach/mach_init.h (__mach_host_self_): New declaration.
13446         (__mach_host_self, mach_host_self): New macros.
13447         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13448         Release reference.
13450 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13452         [BZ #4404]
13453         * po/de.po: Update from Translation Project.
13455         [BZ #16415]
13456         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13457         (__expm1l): Remove code to handle positive infinity and overflow.
13458         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13459         variable.
13460         (__expm1l): Remove code to handle positive infinity and overflow.
13462 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13463             Paul Pluzhnikov  <ppluzhnikov@google.com>
13465         [BZ #18872]
13466         * stdio-common/Makefile (tst-printf-bz18872): New test.
13467         (tst-printf-bz18872-mem.out): Likewise.
13468         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13469         * stdio-common/vfprintf.c: Fix memory leaks.
13471 2015-09-16  Andreas Schwab  <schwab@suse.de>
13473         [BZ #17244]
13474         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13475         Remove extra va_start/va_end calls.
13477         [BZ #17243]
13478         * posix/execl.c (execl): Add missing va_end.
13479         * posix/execle.c (execle): Likewise.
13480         * posix/execlp.c (execlp): Likewise.
13482 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13484         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13485         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13487 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13489         [BZ #18967]
13490         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13491         undefine around includes of <bits/mathcalls.h>.
13492         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13493         not declare function.
13494         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13495         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13496         (scalb): Likewise.
13497         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13498         not define macro.
13499         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13500         variable.
13501         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13502         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13503         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13505         [BZ #18857]
13506         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13507         return non-finite argument without doing ordered comparisons on
13508         it.
13510         [BZ #16296]
13511         * math/fenv.h (fegetround): Use __attribute_pure__.
13512         * include/fenv.h (__fegetround): Likewise.
13514         [BZ #18595]
13515         * math/s_ctan.c (__ctan): Force underflow exception for results
13516         whose real or imaginary part has small absolute value.
13517         * math/s_ctanf.c (__ctanf): Likewise.
13518         * math/s_ctanh.c (__ctanh): Likewise.
13519         * math/s_ctanhf.c (__ctanhf): Likewise.
13520         * math/s_ctanhl.c (__ctanhl): Likewise.
13521         * math/s_ctanl.c (__ctanl): Likewise.
13522         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13523         and ctanh.  Add more tests of ctan and ctanh.
13525         [BZ #15918]
13526         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13527         handling of cases where one argument is an infinity.
13529         [BZ #18875]
13530         [BZ #18966]
13531         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13532         (MO): New macro.
13533         (__ieee754_exp10): For small results, force underflow exception
13534         and remove excess range and precision from return value.
13535         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13536         (MO): New macro.
13537         (__ieee754_exp10f): For small results, force underflow exception
13538         and remove excess range and precision from return value.
13539         * math/auto-libm-test-in: Add more tests of exp10.
13540         * math/auto-libm-test-out: Regenerated.
13542 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13544         [BZ #18875]
13545         [BZ #18961]
13546         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13547         (MO): New macro.
13548         (__ieee754_exp): For small results, force underflow exception and
13549         remove excess range and precision from return value.
13550         (__exp_finite): Likewise.
13551         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13552         (MO): New macro.
13553         (__ieee754_expf): For small results, force underflow exception and
13554         remove excess range and precision from return value.
13555         (__expf_finite): Likewise.
13556         * math/auto-libm-test-in: Add more tests of exp.
13557         * math/auto-libm-test-out: Regenerated.
13559         [BZ #16521]
13560         [BZ #18875]
13561         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13562         small results.
13563         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13564         (MO): New macro.
13565         (__ieee754_exp2): For small results, force underflow exception and
13566         remove excess range and precision from return value.
13567         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13568         (MO): New macro.
13569         (__ieee754_exp2f): For small results, force underflow exception
13570         and remove excess range and precision from return value.
13571         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13572         (MO): New macro.
13573         (__ieee754_exp2l): Force underflow exception for small results.
13574         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13575         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13576         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13577         (MO): New macro.
13578         (__ieee754_exp2l): Force underflow exception for small results.
13579         * math/auto-libm-test-in: Add more tests or exp2.
13580         * math/auto-libm-test-out: Regenerated.
13582 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13584         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13586         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13587         /dev/null.
13589 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13591         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13592         io fs process)): Drop spurious backslash.
13594 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13596         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13597         Use sysinfo system call instead of parsing /proc/meminfo.
13598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13599         Likewise.
13601 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13603         [BZ #16985]
13604         * programs/localedef.c (main): Display argv[remaining] when
13605         output_path is NULL.
13607 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13609         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13610         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13611         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13612         tanh.
13613         * math/auto-libm-test-out: Regenerated.
13614         * sysdeps/i386/fpu/libm-test-ulps: Update.
13615         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13616         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13619 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13621         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13622         Use 'override' keyword to freeze the value here, preventing
13623         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13625 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13627         [BZ #14912]
13628         * sysdeps/aarch64/bits/atomic.h: Move to ...
13629         * sysdeps/aarch64/atomic-machine.h: ...here.
13630         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13631         _AARCH64_ATOMIC_MACHINE_H.
13632         * sysdeps/alpha/bits/atomic.h: Move to ...
13633         * sysdeps/alpha/atomic-machine.h: ...here.
13634         * sysdeps/arm/bits/atomic.h: Move to ...
13635         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13636         * bits/atomic.h: Move to ...
13637         * sysdeps/generic/atomic-machine.h: ...here.
13638         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13639         * sysdeps/i386/bits/atomic.h: Move to ...
13640         * sysdeps/i386/atomic-machine.h: ...here.
13641         * sysdeps/ia64/bits/atomic.h: Move to ...
13642         * sysdeps/ia64/atomic-machine.h: ...here.
13643         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13644         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13645         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13646         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13647         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13648         * sysdeps/microblaze/bits/atomic.h: Move to ...
13649         * sysdeps/microblaze/atomic-machine.h: ...here.
13650         * sysdeps/mips/bits/atomic.h: Move to ...
13651         * sysdeps/mips/atomic-machine.h: ...here.
13652         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13653         * sysdeps/powerpc/bits/atomic.h: Move to ...
13654         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13655         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13656         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13657         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13658         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13659         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13660         <atomic-machine.h> instead of <bits/atomic.h>.
13661         * sysdeps/s390/bits/atomic.h: Move to ...
13662         * sysdeps/s390/atomic-machine.h: ...here.
13663         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13664         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13665         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13666         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13667         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13668         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13669         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13670         * sysdeps/tile/bits/atomic.h: Move to ...
13671         * sysdeps/tile/atomic-machine.h: ...here.
13672         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13673         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13674         <sysdeps/tile/atomic-machine.h> instead of
13675         <sysdeps/tile/bits/atomic.h>.
13676         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13677         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13678         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13679         <sysdeps/tile/atomic-machine.h> instead of
13680         <sysdeps/tile/bits/atomic.h>.
13681         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13682         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13683         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13684         <sysdeps/arm/atomic-machine.h> instead of
13685         <sysdeps/arm/bits/atomic.h>.
13686         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13687         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13688         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13689         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13690         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13691         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13692         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13693         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13694         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13695         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13696         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13697         * sysdeps/x86_64/bits/atomic.h: Move to ...
13698         * sysdeps/x86_64/atomic-machine.h: ...here.
13699         * include/atomic.h: Include <atomic-machine.h> instead of
13700         <bits/atomic.h>.
13702         * sysdeps/mips/mips32/libm-test-ulps: Update.
13703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13705         [BZ #18952]
13706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13707         not convert non-integer negative arguments to int to determine the
13708         value of signgam.
13709         * math/auto-libm-test-in: Add more tests of lgamma.
13710         * math/auto-libm-test-out: Regenerated.
13712         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13713         cosh, csqrt, erfc, expm1 and lgamma.
13714         * math/auto-libm-test-out: Regenerated.
13715         * sysdeps/i386/fpu/libm-test-ulps: Update.
13716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13718 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #2542]
13721         [BZ #2543]
13722         [BZ #2558]
13723         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13724         __lgamma_neg for arguments from -28.0 to -2.0.
13725         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13726         __lgamma_negf for arguments from -15.0 to -2.0.
13727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13728         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13729         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13730         Call __lgamma_negl for arguments from -33.0 to -2.0.
13731         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13732         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13733         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13734         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13735         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13736         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13737         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13738         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13739         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13740         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13741         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13742         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13743         (__lgamma_neg): Likewise.
13744         (__lgamma_negl): Likewise.
13745         (__lgamma_product): Likewise.
13746         (__lgamma_productl): Likewise.
13747         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13748         * math/auto-libm-test-in: Add more tests of lgamma.
13749         * math/auto-libm-test-out: Regenerated.
13750         * sysdeps/i386/fpu/libm-test-ulps: Update.
13751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13755         [BZ #18675]
13756         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13758 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13760         [BZ #14912]
13761         * bits/libc-lock.h: Move to ...
13762         * sysdeps/generic/libc-lock.h: ...here.
13763         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13764         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13765         * sysdeps/mach/hurd/libc-lock.h: ...here.
13766         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13767         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13768         * sysdeps/mach/bits/libc-lock.h: Move to ...
13769         * sysdeps/mach/libc-lock.h: ...here.
13770         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13771         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13772         * sysdeps/nptl/libc-lock.h: ...here.
13773         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13774         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13775         * sysdeps/nptl/libc-lockP.h: ...here.
13776         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13777         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13778         <bits/libc-lock.h>.
13779         * dirent/scandir-tail.c: Likewise.
13780         * dlfcn/dlerror.c: Likewise.
13781         * elf/dl-close.c: Likewise.
13782         * elf/dl-iteratephdr.c: Likewise.
13783         * elf/dl-lookup.c: Likewise.
13784         * elf/dl-open.c: Likewise.
13785         * elf/dl-support.c: Likewise.
13786         * elf/dl-writev.h: Likewise.
13787         * elf/rtld.c: Likewise.
13788         * grp/fgetgrent.c: Likewise.
13789         * gshadow/fgetsgent.c: Likewise.
13790         * gshadow/sgetsgent.c: Likewise.
13791         * iconv/gconv_conf.c: Likewise.
13792         * iconv/gconv_db.c: Likewise.
13793         * iconv/gconv_dl.c: Likewise.
13794         * iconv/gconv_int.h: Likewise.
13795         * iconv/gconv_trans.c: Likewise.
13796         * include/link.h: Likewise.
13797         * inet/getnameinfo.c: Likewise.
13798         * inet/getnetgrent.c: Likewise.
13799         * inet/getnetgrent_r.c: Likewise.
13800         * intl/bindtextdom.c: Likewise.
13801         * intl/dcigettext.c: Likewise.
13802         * intl/finddomain.c: Likewise.
13803         * intl/gettextP.h: Likewise.
13804         * intl/loadmsgcat.c: Likewise.
13805         * intl/localealias.c: Likewise.
13806         * intl/textdomain.c: Likewise.
13807         * libidn/idn-stub.c: Likewise.
13808         * libio/libioP.h: Likewise.
13809         * locale/duplocale.c: Likewise.
13810         * locale/freelocale.c: Likewise.
13811         * locale/newlocale.c: Likewise.
13812         * locale/setlocale.c: Likewise.
13813         * login/getutent_r.c: Likewise.
13814         * login/getutid_r.c: Likewise.
13815         * login/getutline_r.c: Likewise.
13816         * login/utmp-private.h: Likewise.
13817         * login/utmpname.c: Likewise.
13818         * malloc/mtrace.c: Likewise.
13819         * misc/efgcvt.c: Likewise.
13820         * misc/error.c: Likewise.
13821         * misc/fstab.c: Likewise.
13822         * misc/getpass.c: Likewise.
13823         * misc/mntent.c: Likewise.
13824         * misc/syslog.c: Likewise.
13825         * nis/nis_call.c: Likewise.
13826         * nis/nis_callback.c: Likewise.
13827         * nis/nss-default.c: Likewise.
13828         * nis/nss_compat/compat-grp.c: Likewise.
13829         * nis/nss_compat/compat-initgroups.c: Likewise.
13830         * nis/nss_compat/compat-pwd.c: Likewise.
13831         * nis/nss_compat/compat-spwd.c: Likewise.
13832         * nis/nss_nis/nis-alias.c: Likewise.
13833         * nis/nss_nis/nis-ethers.c: Likewise.
13834         * nis/nss_nis/nis-grp.c: Likewise.
13835         * nis/nss_nis/nis-hosts.c: Likewise.
13836         * nis/nss_nis/nis-network.c: Likewise.
13837         * nis/nss_nis/nis-proto.c: Likewise.
13838         * nis/nss_nis/nis-pwd.c: Likewise.
13839         * nis/nss_nis/nis-rpc.c: Likewise.
13840         * nis/nss_nis/nis-service.c: Likewise.
13841         * nis/nss_nis/nis-spwd.c: Likewise.
13842         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13843         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13844         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13845         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13846         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13847         * nis/nss_nisplus/nisplus-network.c: Likewise.
13848         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13849         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13850         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13851         * nis/nss_nisplus/nisplus-service.c: Likewise.
13852         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13853         * nis/ypclnt.c: Likewise.
13854         * nptl/libc_pthread_init.c: Likewise.
13855         * nss/getXXbyYY.c: Likewise.
13856         * nss/getXXent.c: Likewise.
13857         * nss/getXXent_r.c: Likewise.
13858         * nss/nss_db/db-XXX.c: Likewise.
13859         * nss/nss_db/db-netgrp.c: Likewise.
13860         * nss/nss_db/nss_db.h: Likewise.
13861         * nss/nss_files/files-XXX.c: Likewise.
13862         * nss/nss_files/files-alias.c: Likewise.
13863         * nss/nsswitch.c: Likewise.
13864         * posix/regex_internal.h: Likewise.
13865         * posix/wordexp.c: Likewise.
13866         * pwd/fgetpwent.c: Likewise.
13867         * resolv/res_hconf.c: Likewise.
13868         * resolv/res_libc.c: Likewise.
13869         * shadow/fgetspent.c: Likewise.
13870         * shadow/lckpwdf.c: Likewise.
13871         * shadow/sgetspent.c: Likewise.
13872         * socket/opensock.c: Likewise.
13873         * stdio-common/reg-modifier.c: Likewise.
13874         * stdio-common/reg-printf.c: Likewise.
13875         * stdio-common/reg-type.c: Likewise.
13876         * stdio-common/vfprintf.c: Likewise.
13877         * stdio-common/vfscanf.c: Likewise.
13878         * stdlib/abort.c: Likewise.
13879         * stdlib/cxa_atexit.c: Likewise.
13880         * stdlib/fmtmsg.c: Likewise.
13881         * stdlib/random.c: Likewise.
13882         * stdlib/setenv.c: Likewise.
13883         * string/strsignal.c: Likewise.
13884         * sunrpc/auth_none.c: Likewise.
13885         * sunrpc/bindrsvprt.c: Likewise.
13886         * sunrpc/create_xid.c: Likewise.
13887         * sunrpc/key_call.c: Likewise.
13888         * sunrpc/rpc_thread.c: Likewise.
13889         * sysdeps/arm/backtrace.c: Likewise.
13890         * sysdeps/generic/ldsodefs.h: Likewise.
13891         * sysdeps/generic/stdio-lock.h: Likewise.
13892         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13893         * sysdeps/i386/backtrace.c: Likewise.
13894         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13895         * sysdeps/m68k/backtrace.c: Likewise.
13896         * sysdeps/mach/hurd/cthreads.c: Likewise.
13897         * sysdeps/mach/hurd/dirstream.h: Likewise.
13898         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13899         * sysdeps/nptl/malloc-machine.h: Likewise.
13900         * sysdeps/nptl/stdio-lock.h: Likewise.
13901         * sysdeps/posix/dirstream.h: Likewise.
13902         * sysdeps/posix/getaddrinfo.c: Likewise.
13903         * sysdeps/posix/system.c: Likewise.
13904         * sysdeps/pthread/aio_suspend.c: Likewise.
13905         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13906         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13907         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13908         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13909         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13910         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13911         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13912         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13913         * sysdeps/unix/sysv/linux/system.c: Likewise.
13914         * sysdeps/x86_64/backtrace.c: Likewise.
13915         * time/alt_digit.c: Likewise.
13916         * time/era.c: Likewise.
13917         * time/tzset.c: Likewise.
13918         * wcsmbs/wcsmbsload.c: Likewise.
13919         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13920         instead of <bits/libc-lock.h> in comment.
13922 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13924         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13925         Only use .set mips2 if the current ISA is below mips2.
13926         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13927         Likewise.
13928         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13929         mips32r2 if the current ISA is below mips32r2.
13930         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13931         (TLS_IE): Updated to use the TLD_RDHWR macro.
13932         (TLS_LE): Likewise.
13933         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13934         __ASSEMBLER__ condition.
13936 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13938         Fix parallel build of before-compile targets.
13940         * sysdeps/mach/Makefile ($(patsubst
13941         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13942         mach-before-compile target.
13943         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13944         io fs process)): Move rule to dedicated hurd-before-compile target.
13946 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13948         Fix rules generating headers in hurd/ and mach/ when initial make call
13949         has subdir= explicitly set.
13951         * sysdeps/mach/Makefile ($(patsubst
13952         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13953         calling $(MAKE).
13954         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13955         io fs process)): Force subdir to hurd when calling $(MAKE).
13956         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13957         subdir to mach when calling $(MAKE).
13959 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13961         Check sysheaders when looking for Mach and Hurd headers
13963         * sysdeps/mach/configure.ac: Add sysheaders check.
13964         * sysdeps/mach/configure: Regenerate.
13965         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13966         * sysdeps/mach/hurd/configure: Regenerate.
13968 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13970         [BZ #18921]
13971         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13972         Fix inverted sense of test of 'o_directory_works' value.
13973         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13974         Bernhard Voelker <mail@bernhard-voelker.de>.
13976 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #14912]
13979         * bits/linkmap.h: Move to ...
13980         * sysdeps/generic/linkmap.h: ...here.
13981         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13982         * sysdeps/aarch64/linkmap.h: ...here.
13983         * sysdeps/arm/bits/linkmap.h: Move to ...
13984         * sysdeps/arm/linkmap.h: ...here.
13985         * sysdeps/hppa/bits/linkmap.h: Move to ...
13986         * sysdeps/hppa/linkmap.h: ...here.
13987         * sysdeps/ia64/bits/linkmap.h: Move to ...
13988         * sysdeps/ia64/linkmap.h: ...here.
13989         * sysdeps/mips/bits/linkmap.h: Move to ...
13990         * sysdeps/mips/linkmap.h: ...here.
13991         * sysdeps/s390/bits/linkmap.h: Move to ...
13992         * sysdeps/s390/linkmap.h: ...here.
13993         * sysdeps/sh/bits/linkmap.h: Move to ...
13994         * sysdeps/sh/linkmap.h: ...here.
13995         * sysdeps/x86/bits/linkmap.h: Move to ...
13996         * sysdeps/x86/linkmap.h: ...here.
13997         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13999 2015-09-04  Andreas Schwab  <schwab@suse.de>
14001         [BZ #18635]
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14003         (__makecontext): Terminate FDE before return label.
14004         (__novec_makecontext): Likewise.
14006 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14008         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14009         first member of struct sv in syscall macro.
14011 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14013         [BZ #14912]
14014         * bits/stdio-lock.h: Move to ...
14015         * sysdeps/generic/stdio-lock.h: ...here.
14016         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14017         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14018         * sysdeps/nptl/stdio-lock.h: ...here.
14019         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14020         * include/libio.h: Include <stdio-lock.h> instead of
14021         <bits/stdio-lock.h>.
14022         * sysdeps/nptl/fork.c: Likewise.
14023         * sysdeps/pthread/flockfile.c: Likewise.
14024         * sysdeps/pthread/ftrylockfile.c: Likewise.
14025         * sysdeps/pthread/funlockfile.c: Likewise.
14027         [BZ #14912]
14028         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14029         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14030         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14031         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14032         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14033         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14034         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14036 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14038         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14039         (test-xfail-tst-protected1b): New variable.
14041 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #14912]
14044         * bits/libc-tsd.h: Move to ...
14045         * sysdeps/generic/libc-tsd.h: ...here.
14046         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14047         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14048         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14049         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14050         * include/ctype.h: Include <libc-tsd.h> instead of
14051         <bits/libc-tsd.h>.
14052         * include/rpc/rpc.h: Likewise.
14053         * locale/localeinfo.h: Likewise.
14054         * sunrpc/rpc_thread.c: Likewise.
14055         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14056         * sysdeps/nptl/malloc-machine.h: Likewise.
14058         * Makefile (headers): Remove bits/libc-lock.h.
14059         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14061         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14062         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14063         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14064         <bits/stdio-lock.h>.
14065         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14066         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14068 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14070         [BZ #18757]
14071         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14072         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14073         BZ #18757.
14075 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14077         * malloc/mtrace.pl: Filter out NULL entries.
14079 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14081         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14082         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14083         macro.
14085         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14086         (TCP_CC_INFO): Likewise.
14087         (TCP_SAVE_SYN): Likewise.
14088         (TCP_SAVED_SYN): Likewise.
14090 2015-08-31  Brett Neumeier <brett@neumeier.us>
14092         [BZ #18870]
14093         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14095 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14097         [BZ #18873]
14098         Fix broken overflow check in posix_fallocate
14099         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14100         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14101         Fix parenthesization typo.
14103 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14105         [BZ #18887]
14106         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14107         tst-mntent-blank-passno.
14108         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14109         * misc/tst-mntent-blank-corrupt.c: New test.
14110         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14111         * misc/tst-mntent.c (do_test): ... here.
14113 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14115         [BZ #4404]
14116         * po/de.po: Fix SIGALRM typo.
14118 2015-08-28  James Perkins  <james@loowit.net>
14120         * time/tst-strptime2.c (tests): Replace short list of test
14121         strings for strptime %z specifier with code which exhaustively
14122         tests every combination of sign and 0 to 5 digits. Tests for
14123         rejection of invalid strings.
14125 2015-08-28  James Perkins  <james@loowit.net>
14127         [BZ #16141]
14128         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14129         calculation, removing incorrect decimal time rounding, so that
14130         all minute values result in a valid seconds value.
14131         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14132         offset range limits to UTC-99:59 through UTC+99:59 to parse
14133         current and historical use cases.
14134         * time/tst-strptime2.c (tests): Modify and add tests for the
14135         strptime %z input field descriptor, specifically conversion of
14136         minutes to seconds and validating an offset range of -9959 to
14137         +9959.
14139 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14140             Dmitry V. Levin  <ldv@altlinux.org>
14142         [BZ #18877]
14143         * posix/Makefile (tests): Add tst-mmap-offset.
14144         * posix/tst-mmap.c: New file.
14145         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14146         offset calculation for negative values.
14148 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14150         * sysdeps/i386/init-arch.h: New file.
14151         * sysdeps/i386/i586/init-arch.h: Likewise.
14152         * sysdeps/i386/i686/init-arch.h: Likewise.
14153         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14154         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14155         * sysdeps/x86/cpu-features.h (bit_I586): New.
14156         (bit_I686): Likewise.
14157         (bit_CX8): Likewise.
14158         (bit_CMOV): Likewise.
14159         (index_CX8): Likewise.
14160         (index_CMOV): Likewise.
14161         (index_I586): Likewise.
14162         (index_I686): Likewise.
14163         (reg_CX8): Likewise.
14164         (reg_CMOV): Likewise.
14165         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14166         available at compile-time.
14167         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14168         available at compile-time.
14169         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14170         (USE_I686): Likewise.
14172 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14174         * sysdeps/i386/bcopy.S: New file.
14175         * sysdeps/i386/bzero.S: Likewise.
14176         * sysdeps/i386/memcpy.S: Likewise.
14177         * sysdeps/i386/memmove.S: Likewise.
14178         * sysdeps/i386/mempcpy.S: Likewise.
14179         * sysdeps/i386/memset.S: Likewise.
14180         * sysdeps/i386/bzero.c: Removed.
14181         * sysdeps/i386/memset.c: Likewise.
14182         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14183         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14184         * sysdeps/i386/i586/memset_chk.S: Likewise.
14185         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14186         * sysdeps/i386/memcpy_chk.S: Here.
14187         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14188         * sysdeps/i386/memmove_chk.S: Here.
14189         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14190         * sysdeps/i386/mempcpy_chk.S: Likewise.
14191         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14192         * sysdeps/i386/memset_chk.S: Likewise.
14194 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14196         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14197         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14198         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14199         * soft-fp/fmadf4.c: Ditto.
14200         * soft-fp/fmatf4.c: Ditto.
14202 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14204         * sysdeps/i386/i586/Implies: Removed.
14205         * sysdeps/i386/i686/Implies: Likewise.
14207 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14209         * sysdeps/i386/i486/strlen.S: Moved to ...
14210         * sysdeps/i386/strlen.S: Here.
14212 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14214         * sysdeps/i386/i486/strcat.S: Moved to ...
14215         * sysdeps/i386/strcat.S: Here.
14217 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14219         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14220         * sysdeps/i386/pthread_spin_trylock.S: Here.
14221         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14222         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14224 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14226         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14227         * sysdeps/i386/string-inlines.c: Here.
14229 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14231         * sysdeps/i386/i486/htonl.S: Moved ...
14232         * sysdeps/i386/htonl.S: here.
14234 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14236         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14237         * sysdeps/i386/bits/atomic.h: Here.
14239 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14241         * sysdeps/i386/i486/Versions: Removed.
14243 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14245         [BZ #2898]
14246         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14247         Based on patch by Aurelien Jarno.
14249 2015-08-26  Stan Shebs  <stanshebs@google.com>
14251         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14252         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14254 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14256         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14257         * sysdeps/powerpc/dl-procinfo.c:
14258         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14259         feature so it shows when LD_SHOW_AUXV=1.
14261 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14263         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14264         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14265         definition.  ISA 2.07B no longer requires full sync.
14267 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14269         [BZ #18863]
14270         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14271         (si_call_addr): Define.
14272         (si_syscall): Define.
14273         (si_arch): Define.
14275 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14277         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14278         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14279         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14280         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14281         (__memset_zero_constant_len_parameter): New.
14282         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14283         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14284         (__memset_zero_constant_len_parameter): Don't define if
14285         __memset_chk or USE_AS_BZERO are defined.
14287         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14288         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14289         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14291         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14292         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14293         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14294         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14295         comments.
14296         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14297         -mno-mmx for $(all-rtld-routines).
14298         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14299         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14300         i386.
14302 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14304         * sysdeps/generic/unwind.h
14305         (_Unwind_Word): Use __mode__(__unwind_word__)
14306         instead of __mode__(__word__).
14307         (_Unwind_Sword): Likewise.
14309         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14310         (MAX_NEEDED_INPUT): New define.
14311         (MAX_NEEDED_OUTPUT): New define.
14313         * NEWS: New item for IBM z13 string optimizations.
14315         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14316         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14317         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14318         * sysdeps/s390/multiarch/Makefile
14319         (sysdep_routines): Add memrchr functions.
14320         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14321         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14323         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14324         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14325         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14326         * sysdeps/s390/multiarch/Makefile
14327         (sysdep_routines): Add wmemcmp functions.
14328         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14329         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14330         * benchtests/bench-wmemcmp.c: New File.
14331         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14333         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14334         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14335         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14336         * sysdeps/s390/multiarch/Makefile
14337         (sysdep_routines): Add wmemset functions.
14338         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14339         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14340         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14341         * string/test-memset.c: Add wmemset support.
14342         * wcsmbs/test-wmemset.c: New File.
14343         * wcsmbs/Makefile (strop-tests): Add wmemset.
14344         * benchtests/bench-memset.c: Add wmemset support.
14345         * benchtests/bench-wmemset.c: New File.
14346         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14348         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14349         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14350         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14351         * sysdeps/s390/multiarch/Makefile
14352         (sysdep_routines): Add memccpy functions.
14353         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14354         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14355         * string/memccpy.c: Use MEMCCPY if defined.
14357         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14358         * sysdeps/s390/multiarch/memchr.c: Likewise.
14359         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14360         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14361         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14362         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14363         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14364         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14365         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14366         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14368         and rawmemchr functions.
14369         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14370         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14371         and wmemchr.
14372         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14373         * string/test-memchr.c: Add wmemchr support.
14374         * wcsmbs/test-wmemchr.c: New File.
14375         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14376         * benchtests/bench-memchr.c: Add wmemchr support.
14377         * benchtests/bench-wmemchr.c: New File.
14378         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14380         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14381         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14382         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14383         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14384         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14385         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14387         wcscspn functions.
14388         * sysdeps/s390/multiarch/ifunc-impl-list.c
14389         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14390         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14391         * string/test-strcspn.c: Add wcscspn support.
14392         * wcsmbs/test-wcscspn.c: New File.
14393         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14394         * benchtests/bench-strcspn.c: Add wcscspn support.
14395         * benchtests/bench-wcscspn.c: New File.
14396         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14398         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14399         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14400         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14401         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14402         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14403         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14404         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14405         wcspbrk functions.
14406         * sysdeps/s390/multiarch/ifunc-impl-list.c
14407         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14408         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14409         * string/test-strpbrk.c: Add wcspbrk support.
14410         * wcsmbs/test-wcspbrk.c: New File.
14411         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14412         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14413         * benchtests/bench-wcspbrk.c: New File.
14414         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14416         * sysdeps/s390/multiarch/strspn-c.c: New File.
14417         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14418         * sysdeps/s390/multiarch/strspn.c: Likewise.
14419         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14420         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14421         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14422         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14423         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14424         wcsspn functions.
14425         * sysdeps/s390/multiarch/ifunc-impl-list.c
14426         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14427         * string/test-strspn.c: Add wcsspn support.
14428         * wcsmbs/test-wcsspn.c: New File.
14429         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14430         * benchtests/bench-strspn.c: Add wcsspn support.
14431         * benchtests/bench-wcsspn.c: New File.
14432         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14434         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14435         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14436         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14437         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14438         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14439         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14441         wcsrchr functions.
14442         * sysdeps/s390/multiarch/ifunc-impl-list.c
14443         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14444         * benchtests/bench-wcsrchr.c: New File.
14445         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14447         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14448         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14449         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14450         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14451         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14452         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14454         wcschrnul functions.
14455         * sysdeps/s390/multiarch/ifunc-impl-list.c
14456         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14457         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14458         * string/test-strchr.c: Add wcschrnul support.
14459         * wcsmbs/test-wcschrnul.c: New File.
14460         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14461         * benchtests/bench-strchr.c: Add wcschrnul support.
14462         * benchtests/bench-wcschrnul.c: New File.
14463         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14465         * sysdeps/s390/multiarch/strchr-c.c: New File.
14466         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14467         * sysdeps/s390/multiarch/strchr.c: Likewise.
14468         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14469         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14470         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14472         wcschr functions.
14473         * sysdeps/s390/multiarch/ifunc-impl-list.c
14474         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14475         * string/strchr.c (STRCHR): Define and use macro.
14476         * benchtests/bench-wcschr.c: New File.
14477         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14479         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14480         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14481         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14482         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14483         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14484         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14485         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14486         wcsncmp functions.
14487         * sysdeps/s390/multiarch/ifunc-impl-list.c
14488         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14489         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14490         * benchtests/bench-strncmp.c: Add wcsncmp support.
14491         * benchtests/bench-wcsncmp.c: New File.
14492         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14494         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14495         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14496         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14497         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14498         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14499         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14500         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14501         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14502         wcscmp functions.
14503         * sysdeps/s390/multiarch/ifunc-impl-list.c
14504         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14505         * string/strcmp.c (STRCMP): Define and use macro.
14506         * benchtests/bench-wcscmp.c: New File.
14507         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14508         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14509         instead of _HAVE_STRING_ARCH_memchr.
14511         * sysdeps/s390/multiarch/strncat-c.c: New File.
14512         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14513         * sysdeps/s390/multiarch/strncat.c: Likewise.
14514         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14515         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14516         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14517         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14518         wcsncat functions.
14519         * sysdeps/s390/multiarch/ifunc-impl-list.c
14520         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14521         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14522         * string/test-strncat.c: Add wcsncat support.
14523         * wcsmbs/test-wcsncat.c: New File.
14524         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14525         * benchtests/bench-strncat.c: Add wcsncat support.
14526         * benchtests/bench-wcsncat.c: New File.
14527         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14529         * sysdeps/s390/multiarch/strcat-c.c: New File.
14530         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14531         * sysdeps/s390/multiarch/strcat.c: Likewise.
14532         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14533         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14534         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14535         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14536         wcscat functions.
14537         * sysdeps/s390/multiarch/ifunc-impl-list.c
14538         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14539         * string/strcat.c (STRCAT): Define and use macro.
14540         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14541         * string/test-strcat.c: Add wcscat support.
14542         * wcsmbs/test-wcscat.c: New File.
14543         * wcsmbs/Makefile (strop-tests): Add wcscat.
14544         * benchtests/bench-strcat.c: Add wcscat support.
14545         * benchtests/bench-wcscat.c: New File.
14546         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14548         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14549         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14550         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14551         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14552         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14553         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14554         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14555         wcpncpy functions.
14556         * sysdeps/s390/multiarch/ifunc-impl-list.c
14557         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14558         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14559         * string/test-stpncpy.c: Add wcpncpy support.
14560         * wcsmbs/test-wcpncpy.c: New File.
14561         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14562         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14563         * benchtests/bench-wcpncpy.c: New File.
14564         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14566         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14567         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14568         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14569         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14570         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14571         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14572         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14573         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14574         wcsncpy functions.
14575         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14576         * sysdeps/s390/multiarch/ifunc-impl-list.c
14577         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14578         * string/test-strncpy.c: Add wcsncpy support.
14579         * wcsmbs/test-wcsncpy.c: New File.
14580         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14581         * benchtests/bench-strncpy.c: Add wcsncpy support.
14582         * benchtests/bench-wcsncpy.c: New File.
14583         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14585         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14586         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14587         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14588         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14589         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14590         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14591         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14592         wcpcpy functions.
14593         * string/stpcpy.c: Use STPCPY if defined.
14594         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14595         * sysdeps/s390/multiarch/ifunc-impl-list.c
14596         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14597         * string/test-stpcpy.c: Add wcpcpy support.
14598         * wcsmbs/test-wcpcpy.c: New File.
14599         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14600         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14601         * benchtests/bench-wcpcpy.c: New File.
14602         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14604         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14605         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14606         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14607         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14608         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14609         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14610         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14611         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14612         wcscpy functions.
14613         * sysdeps/s390/multiarch/ifunc-impl-list.c
14614         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14615         * benchtests/bench-wcscpy.c: New File.
14616         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14618         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14619         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14620         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14621         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14622         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14623         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14625         wcsnlen functions.
14626         * sysdeps/s390/multiarch/ifunc-impl-list.c
14627         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14628         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14629         * string/test-strnlen.c: Add wcsnlen support.
14630         * wcsmbs/test-wcsnlen.c: New File.
14631         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14632         * benchtests/bench-strnlen.c: Add wcsnlen support.
14633         * benchtests/bench-wcsnlen.c: New File.
14634         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14636         * sysdeps/s390/multiarch/Makefile: New File.
14637         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14638         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14639         * sysdeps/s390/multiarch/strlen.c: Likewise.
14640         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14641         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14642         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14643         * string/strlen.c (STRLEN): Define and use macro.
14644         * sysdeps/s390/multiarch/ifunc-impl-list.c
14645         (IFUNC_VX_IMPL): New macro function.
14646         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14647         * benchtests/Makefile (wcsmbs-bench): New variable.
14648         (string-bench-all): Added wcsmbs-bench.
14649         * benchtests/bench-wcslen.c: New File.
14651         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14652         s390_vx_libc_ifunc2): New macro function.
14654         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14655         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14656         assembler support.
14657         * sysdeps/s390/configure: Regenerated.
14659         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14660         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14662         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14663         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14664         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14666         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14667         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14669         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14670         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14671         (memcmp, bcmp): Use __memcmp_default as alias source.
14672         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14673         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14674         Rename to __memcmp_default.
14675         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14676         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14677         (memcpy): Use __memcpy_default as alias source.
14678         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14679         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14680         Rename to __memcpy_default.
14681         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14682         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14683         (memset): Use __memset_default as alias source.
14684         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14685         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14686         Rename to __memset_default.
14687         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14688         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14689         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14690         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14691         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14692         (memcmp, bcmp): Use __memcmp_default as alias source.
14693         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14694         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14695         Rename to __memcmp_default.
14696         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14697         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14698         (memcpy): Use __memcpy_default as alias source.
14699         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14700         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14701         Rename to __memcpy_default.
14702         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14703         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14704         (memset): Use __memset_default as alias source.
14705         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14706         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14707         Rename to __memset_default.
14708         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14709         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14711         [BZ #18610]
14712         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14713         __ieee_instruction_pointer to __unused.
14714         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14715         __ieee_instruction_pointer.
14716         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14717         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14718         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14719         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14720         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14721         Mark dxc-field as reserved.
14723 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14725         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14726         if the weak reference is not null.
14728 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14730         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14732         [BZ #11214]
14733         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14735 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14737         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14738         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14739         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14740         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14741         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14742         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14743         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14744         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14745         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14746         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14747         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14748         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14749         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14750         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14751         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14752         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14753         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14754         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14756 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14758         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14759         register other than r0 for tabort, it has special meaning.
14760         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14761         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14762         transaction before starting syscall.
14764 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14766         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14768 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14770         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14772         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14773         * sysdeps/x86_64/rtld-memset.S: Likewise.
14774         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14775         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14776         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14777         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14779         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14781 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14783         * debug/strcpy_chk.c: Improve performance.
14784         * debug/stpcpy_chk.c: Likewise.
14785         * sysdeps/x86_64/strcpy_chk.S: Remove.
14786         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14788         [BZ #18240]
14789         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14791 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14793         [BZ #15128]
14794         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14795         ifuncmain8.
14796         (modules-names): Add ifuncmod8.
14797         ($(objpfx)ifuncmain8): New rule.
14798         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14799         <cpuid.h>.
14800         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14801         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14802         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14803         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14804         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14805         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14806         * sysdeps/x86_64/ifuncmain8.c: New file.
14807         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14808         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14809         Removed.
14810         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14811         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14812         Change rtld_savespace_sse to __glibc_unused2.
14813         (RTLD_CHECK_FOREIGN_CALL): Removed.
14814         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14815         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14816         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14818 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14820         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14822 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14824         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14825         Unconditionally set __fpcr to avoid uninialized warning.
14826         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14828 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14830         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14831         is corrupt.
14833         * malloc/arena.c (arena_get2): Drop unused argument.
14834         (arena_lock): Adjust.
14835         (arena_get_retry): Likewise.
14837 2015-08-24  Andreas Schwab  <schwab@suse.de>
14839         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14840         Don't define.
14841         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14842         (__ASSUME_IPC64): Don't undef.
14843         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14844         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14845         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14846         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14847         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14848         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14849         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14850         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14851         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14852         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14853         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14854         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14855         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14856         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14857         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14858         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14859         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14860         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14861         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14862         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14865 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14867         * manual/Makefile (install): Only build manual when perl is available.
14869 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14871         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14872         '#undef memcpy' by '#undef memchr'.
14874 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14876         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14877         memchr not point to the internal __GI_memchr implementation.
14879 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14881         * timezone/Makefile (CFLAGS-zdump.c): Remove
14882         -Wno-strict-prototypes.
14883         (CFLAGS-zic.c): Likewise.
14884         (CFLAGS-ialloc.c): Likewise.
14885         (CFLAGS-scheck.c): Likewise.
14887         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14888         -Wno-error=undef.
14890 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14892         * i386/i686/multiarch/strcasestr-c.c: Removed.
14893         * x86_64/multiarch/strcasestr.c: Likewise.
14894         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14895         Remove strcasestr.
14897 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14899         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14901         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14902         variables for high and low parts before possibly modifying them.
14904 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14906         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14907         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14908         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14909         of "multiarch/init-arch.h".
14910         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14911         * sysdeps/x86/init-arch.h: This.
14913 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14915         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14916         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14918 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14920         [BZ #17787]
14921         * manual/macros.texi: Add twoexp macro.
14922         * manual/filesys.texi: Fix exponents.
14923         * manual/llio.texi: Likewise.
14924         * manual/stdio.texi: Likewise.
14926 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14928         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14929         incorrect use.
14931 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14933         [BZ #18370]
14934         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14935         whose real or imaginary part has small absolute value.
14936         * math/s_csqrtf.c (__csqrtf): Likewise.
14937         * math/s_csqrtl.c (__csqrtl): Likewise.
14938         * math/auto-libm-test-in: Add more tests of csqrt.
14939         * math/auto-libm-test-out: Regenerated.
14940         * sysdeps/i386/fpu/libm-test-ulps: Update.
14942 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14944         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14945         __ppc_set_ppr_very_low): New functions.
14946         * manual/platform.texi: Add documentation about
14947         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14949 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14951         * string/stpncpy.c (stpncpy): Improve performance using
14952         __strnlen/memcpy/memset.
14954 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14956         [BZ #18796]
14957         * scripts/test-installation.pl: Don't add -lmvec to build options if
14958         libmvec wasn't built.
14960 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14962         [BZ #14341]
14963         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14964         case when there is a gap between DT_REL and DT_JMPREL sections.
14965         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14966         (LDFLAGS-tst-split-dynreloc): New.
14967         (tst-split-dynreloc-ENV): Likewise.
14968         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14969         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14971 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14973         [BZ #18822]
14974         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14975         attribute_hidden.
14976         (__xstat64_conv): Likewise.
14977         (__xstat32_conv): Likewise.
14979 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14981         [BZ #18822]
14982         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14983         Don't load %ebx when calling __setcontext.  Call __setcontext
14984         with HIDDEN_JUMPTARGET.
14985         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14986         libc_hidden_def.
14988 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14990         * sysdeps/i386/i686/Makefile
14991         [$(subdir) == string] (sysdep_routines): Moved to ...
14992         * sysdeps/i386/Makefile: Here.
14993         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14994         * sysdeps/i386/cacheinfo.c: Here.
14995         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14996         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14997         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14998         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15000 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15002         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15003         __i586__ is defined.
15004         (HAS_I686): Defined to 1 if __i686__ is defined.
15006 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15008         * elf/Makefile [$(have-z-execstack) = yes]
15009         (CPPFLAGS-tst-execstack.c): New variable.
15011         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15012         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15013         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15014         UTMPX || _HAVE_UT_TV].
15015         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15016         UTMPX || _HAVE_UT_TV - 0].
15018 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15020         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15021         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15022         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15024 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15026         * sysdeps/powerpc/dl-procinfo.c:
15027         (_dl_powerpc_cap_flags): Added missing strings for some
15028         hwcap features.
15029         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15031 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15033         Port the 0x7efe...feff pattern to GCC 6.
15034         See Steve Ellcey's bug report in:
15035         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15036         * string/memrchr.c (MEMRCHR):
15037         * string/rawmemchr.c (RAWMEMCHR):
15038         * string/strchr.c (strchr):
15039         * string/strchrnul.c (STRCHRNUL):
15040         Rewrite code to avoid issues with signed shift overflow.
15042 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15044         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15045         whether cpuid is available only if HAS_CPUID is 0.
15046         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15047         (HAS_I586): Likewise.
15048         (HAS_I686): Likewise.
15050 2015-08-18  Zack Weinberg  <zackw@panix.com>
15052         * misc/Versions (libc): Add GLIBC_2.23.
15054 2015-08-18  Alan Modra  <amodra@gmail.com>
15056         [BZ #18421]
15057         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15058         .Lp__global.
15059         (_start): Load %dp via .Lp__global.
15060         [!SHARED]: Use .section .rodata.
15062 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15064         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15065         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15067 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15069         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15070         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15072 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15074         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15075         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15077 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15079         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15080         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15082 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15084         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15085         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15087 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15089         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15090         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15092 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15094         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15096 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15098         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15099         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15100         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15101         (__ASSUME_LWS_CAS): Delete.
15103 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15105         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15106         * sysdeps/hppa/configure: Regenerated.
15107         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15108         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15109         * sysdeps/hppa/nptl/tls.h: Likewise.
15111 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15113         [BZ #18823]
15114         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15115         for scaling up small arguments.
15116         * math/s_csqrtf.c (__csqrtf): Likewise.
15117         * math/s_csqrtl.c (__csqrtl): Likewise.
15118         * math/auto-libm-test-in: Add more tests of csqrt.
15119         * math/auto-libm-test-out: Regenerated.
15121 2015-08-17  Andreas Schwab  <schwab@suse.de>
15123         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15124         version set GLIBC_2.19.
15126 2015-08-16  Zack Weinberg  <zackw@panix.com>
15128         [BZ #18681]
15129         * misc/regexp.h: This interface is no longer supported.
15130         Remove all contents, leaving only an #error directive.
15131         * misc/regexp.c (loc1, loc2, locs, step, advance):
15132         Demote to compatibility symbols.
15134 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15136         [BZ #18084]
15137         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15138         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15139         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15140         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15141         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15142         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15143         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15144         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15145         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15147 2015-08-15  Zack Weinberg  <zackw@panix.com>
15149         [BZ #18795]
15150         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15151         buffer length is known to be too large, not if it's known to be
15152         small enough.
15153         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15154         overflow at runtime, involving a length parameter, twice: once
15155         with a compile-time constant length parameter, once without.
15157 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15159         [BZ #18824]
15160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15161         scaling x * y up instead of down.
15162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15164         * math/auto-libm-test-in: Add more tests of fma.
15165         * math/auto-libm-test-out: Regenerated.
15167 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15171 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15173         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15174         unnecessary movq.
15175         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15176         Likewise.
15178 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15180         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15181         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15182         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15183         and tgamma.
15184         * math/auto-libm-test-out: Regenerated.
15185         * sysdeps/i386/fpu/libm-test-ulps: Update.
15186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15188         [BZ #16520]
15189         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15190         (__tanh): Force underflow exception for arguments with small
15191         absolute value.
15192         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15193         (__tanhf): Force underflow exception for arguments with small
15194         absolute value.
15195         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15196         (__tanhl): Force underflow exception for arguments with small
15197         absolute value.
15198         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15199         (__tanhl): Force underflow exception for arguments with small
15200         absolute value.
15201         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15202         (__tanhl): Force underflow exception for arguments with small
15203         absolute value.
15204         * math/auto-libm-test-in: Add more tests of tanh.
15205         * math/auto-libm-test-out: Regenerated.
15206         * sysdeps/i386/fpu/libm-test-ulps: Update.
15208 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15210         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15211         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15213 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15215         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15216         <cpuid.h>.
15218 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15220         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15221         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15223 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15225         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15226         Remove $(objpfx)init-arch.o.
15227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15228         init-arch.
15229         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15230         (INIT_ARCH_EXT): Defined as empty.
15231         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15233         __init_cpu_features call.  Replace HAS_XXX with
15234         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15235         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15237         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15239         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15240         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15241         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15242         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15244         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15246         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15247         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15250         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15251         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15252         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15253         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15255         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15256         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15257         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15258         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15259         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15260         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15261         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15262         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15263         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15267         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15268         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15269         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15271 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15273         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15274         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15275         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15276         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15277         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15278         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15279         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15280         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15281         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15282         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15283         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15284         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15285         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15286         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15287         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15288         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15289         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15290         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15291         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15292         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15293         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15296         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15297         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15298         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15299         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15300         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15301         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15302         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15303         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15304         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15305         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15306         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15307         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15308         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15309         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15310         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15311         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15312         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15313         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15314         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15315         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15317 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15319         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15320         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15321         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15322         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15323         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15324         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15325         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15326         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15327         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15328         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15329         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15330         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15331         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15332         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15333         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15334         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15335         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15336         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15337         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15338         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15340         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15341         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15342         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15343         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15344         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15345         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15346         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15347         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15348         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15349         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15354         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15355         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15356         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15357         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15358         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15359         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15360         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15361         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15363 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15365         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15366         (dl_platform_init): Call init_cpu_features.
15367         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15368         * sysdeps/i386/i686/cacheinfo.c
15369         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15370         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15371         * sysdeps/i386/i686/multiarch/Versions: Removed.
15372         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15373         Removed.
15374         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15375         * sysdeps/unix/sysv/linux/x86/Makefile
15376         (libpthread-sysdep_routines): Remove init-arch.
15377         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15378         <sysdeps/x86_64/dl-procinfo.c> instead of
15379         sysdeps/generic/dl-procinfo.c>.
15380         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15381         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15382         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15383         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15384         [$(subdir) == elf] (tests-static): Add
15385         tst-get-cpu-features-static.
15386         * sysdeps/x86/Versions: New file.
15387         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15388         * sysdeps/x86/cpu-features.c: Likewise.
15389         * sysdeps/x86/cpu-features.h: Likewise.
15390         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15391         * sysdeps/x86/libc-start.c: Likewise.
15392         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15393         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15394         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15395         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15396         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15397         Assume USE_MULTIARCH is defined and don't check it.
15398         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15399         (is_amd): Likewise.
15400         (max_cpuid): Likewise.
15401         (intel_check_word): Likewise.
15402         (__cache_sysconf): Don't call __init_cpu_features.
15403         (__x86_preferred_memory_instruction): Removed.
15404         (init_cacheinfo): Don't call __init_cpu_features. Replace
15405         __cpu_features with GLRO(dl_x86_cpu_features).
15406         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15407         (dl_platform_init): Call init_cpu_features.
15408         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15409         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15410         * sysdeps/x86_64/multiarch/Versions: Removed.
15411         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15412         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15413         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15414         Removed.
15415         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15417 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15419         [BZ #18820]
15420         * libio/Makefile (test-fmemopen-mem): New test.
15421         * libio/test-fmemopen.c (do_bz18820): New test.
15422         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15423         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15425 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15427         [BZ #16734]
15428         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15429         (FREE_BUF): Delete.
15430         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15431         * libio/genops.c (_IO_setb): Use malloc and free directly.
15432         (_IO_default_doallocate, _IO_default_finish): Likewise.
15433         ( _IO_unbuffer_all): Likewise.
15434         ( libc_freeres_fn): Likewise.
15435         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15436         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15437         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15438         (_IO_wdefault_doallocate): Likewise.
15440 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15442         [BZ #18086]
15443         * sysdeps/posix/nice.c (nice): Restore old errno.
15444         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15446 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15450 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15452         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15453         __bcopy and add a weak_alias to bcopy.
15454         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15455         for static build.
15457         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15458         cleanup macro usage.
15459         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15462         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15463         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15464         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15465         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15466         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15467         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15468         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15470         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15471         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15472         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15475         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15477         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15479         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15480         libc_hidden_def.
15481         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15483         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15484         (sysdep_routines): Add strstr-ppc64.
15485         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15487 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15489         [BZ #18778]
15490         * elf/Makefile (tests): Add Add tst-nodelete2.
15491         (modules-names): Add tst-nodelete2mod.
15492         (tst-nodelete2mod.so-no-z-defs): New.
15493         ($(objpfx)tst-nodelete2): Likewise.
15494         ($(objpfx)tst-nodelete2.out): Likewise.
15495         (LDFLAGS-tst-nodelete2): Likewise.
15496         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15497         out of loop through all loaded libraries.
15498         * elf/tst-nodelete2.c: New file.
15499         * elf/tst-nodelete2mod.c: Likewise.
15500         * elf/tst-znodelete-zlib.cc: Delete.
15502 2015-08-11  Andreas Schwab  <schwab@suse.de>
15504         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15505         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15506         (__openat64_nocancel): Likewise.
15508 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15510         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15511         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15512         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15513         * math/auto-libm-test-out: Regenerated.
15514         * sysdeps/i386/fpu/libm-test-ulps: Update.
15515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15517 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15519         [BZ #18790]
15520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15521         threshold for returning +/- 1.
15522         * math/auto-libm-test-in: Add more tests of tanh.
15523         * math/auto-libm-test-out: Regenerated.
15524         * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 2015-08-10  Andreas Schwab  <schwab@suse.de>
15528         [BZ #18781]
15529         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15530         MORE_OFLAGS to oflag.
15531         * io/test-lfs.c (do_test): Test openat64.
15533 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #18789]
15536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15537         smaller threshold for returning the argument.
15538         * math/auto-libm-test-in: Add more tests of sinh.
15539         * math/auto-libm-test-out: Regenerated.
15540         * sysdeps/i386/fpu/libm-test-ulps: Update.
15542 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15544         [BZ #18674]
15545         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15546         break.
15548 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15550         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15551         (generated): Don't add $(addprefix z.,$(tzfiles)).
15553 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15555         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15556         * scripts/sysd-rules.awk: Likewise.
15558 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15560         * iconvdata/tst-tables.sh: Change echo -n to printf.
15561         * nss/db-Makefile: Likewise.
15562         * posix/tst-getconf.sh: Likewise.
15563         * stdio-common/tst-unbputc.sh: Likewise.
15565 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15567         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15568         MADV_*_PAGES defines behind this feature check.
15570 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15572         [BZ #18480]
15573         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15574         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15575         Define.
15576         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15577         LOAD_REGS_5, LOAD_REGS_6): Update.
15578         (INTERNAL_SYSCALL): Update using new LOAD defines.
15579         (INTERNAL_SYSCALL_NCS): Likewise.
15580         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15582 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15584         [BZ #16734]
15585         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15587 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15589         [BZ #17905]
15590         * catgets/Makefile (tst-catgets-mem): New test.
15591         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15592         * catgets/open_catalog.c (__open_catalog): Likewise.
15593         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15595 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15597         [BZ #18787]
15598         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15599         clobber registers.
15600         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15601         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15602         Cast return to __typeof (oldval).
15604 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15606         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15607         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15608         and delete sys/syscall.h include.
15610 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15612         [BZ #16517]
15613         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15614         (tan): Force underflow exception for arguments with small absolute
15615         value.
15616         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15617         (__kernel_tanf): Force underflow exception for arguments with
15618         small absolute value.
15619         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15620         (__kernel_tanl): Force underflow exception for arguments with
15621         small absolute value.
15622         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15623         (__kernel_tanl): Force underflow exception for arguments with
15624         small absolute value.
15625         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15626         (__kernel_tanl): Force underflow exception for arguments with
15627         small absolute value.
15628         * math/auto-libm-test-in: Add more tests of tan.
15629         * math/auto-libm-test-out: Regenerated.
15631 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15633         Fix sysdeps/i386/fpu/s_scalbn.S build
15635         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15637 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15639         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15641 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15643         Fix gcrt0.o compilation
15645         When static-start-installed-name is different from
15646         start-installed-name, we must not use the shared objects.
15648         * csu/Makefile
15649         (extra-objs): Add gmon-start.o when building shared library and
15650         $(static-start-installed-name) is different from
15651         $(start-installed-name).
15652         $(objpfx)g$(static-start-installed-name): When building shared
15653         library and $(static-start-installed-name) is different from
15654         $(static-start-installed-name), revert to non-shared rule,
15655         i.e. using $(objpfx)% and gmon-start.o.
15657 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15659         [BZ #16519]
15660         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15661         (__ieee754_sinh): Force underflow exception for arguments with
15662         small absolute value.
15663         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15664         (__ieee754_sinhf): Force underflow exception for arguments with
15665         small absolute value.
15666         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15667         (__ieee754_sinhl): Force underflow exception for arguments with
15668         small absolute value.
15669         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15670         (__ieee754_sinhl): Force underflow exception for arguments with
15671         small absolute value.
15672         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15673         (__ieee754_sinhl): Force underflow exception for arguments with
15674         small absolute value.
15675         * math/auto-libm-test-in: Add more tests of sinh.
15676         * math/auto-libm-test-out: Regenerated.
15677         * sysdeps/i386/fpu/libm-test-ulps: Update.
15679 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15681         * libio/oldfileops.c: Include unistd.h.
15683 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15685         * stdlib/isomac.c: Include ctype.h.
15687 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15689         * dirent/tst-seekdir.c (main): Converted to ...
15690         (do_test): ... this.
15691         (TEST_FUNCTION): New macro.
15692         Include test-skeleton.c.
15693         * elf/tst-dlmodcount.c (main): Converted to ...
15694         (do_test): ... this.
15695         (TEST_FUNCTION): New macro.
15696         Include test-skeleton.c.
15697         * elf/tst-order-main.c (main): Converted to ...
15698         (do_test): ... this.
15699         (TEST_FUNCTION): New macro.
15700         Include test-skeleton.c.
15701         * elf/tst-pie2.c (main): Converted to ...
15702         (do_test): ... this.
15703         (TEST_FUNCTION): New macro.
15704         Include test-skeleton.c.
15705         * inet/tst-ether_aton.c (main): Converted to ...
15706         (do_test): ... this.
15707         (TEST_FUNCTION): New macro.
15708         Include test-skeleton.c.
15709         * misc/tst-mntent.c (main): Converted to ...
15710         (do_test): ... this.
15711         (TEST_FUNCTION): New macro.
15712         Include test-skeleton.c.
15713         * misc/tst-tsearch.c (main): Converted to ...
15714         (do_test): ... this.
15715         (TEST_FUNCTION): New macro.
15716         Include test-skeleton.c.
15717         * posix/tst-regexloc.c (main): Converted to ...
15718         (do_test): ... this.
15719         (TEST_FUNCTION): New macro.
15720         Include test-skeleton.c.
15721         * resolv/tst-aton.c (main): Converted to ...
15722         (do_test): ... this.
15723         (TEST_FUNCTION): New macro.
15724         Include test-skeleton.c.
15725         * stdio-common/test-fwrite.c (main): Converted to ...
15726         (do_test): ... this.
15727         (TEST_FUNCTION): New macro.
15728         Include test-skeleton.c.
15729         * stdio-common/tst-ferror.c (main): Converted to ...
15730         (do_test): ... this.
15731         (TEST_FUNCTION): New macro.
15732         Include test-skeleton.c.
15733         * stdio-common/tst-printf.c (main): Converted to ...
15734         (do_test): ... this.
15735         (TEST_FUNCTION): New macro.
15736         Include test-skeleton.c.
15737         * stdio-common/tst-printfsz.c (main): Converted to ...
15738         (do_test): ... this.
15739         (TEST_FUNCTION): New macro.
15740         Include test-skeleton.c.
15741         * stdlib/tst-strtod.c (main): Converted to ...
15742         (do_test): ... this.
15743         (TEST_FUNCTION): New macro.
15744         Include test-skeleton.c.
15745         * string/tst-strlen.c (main): Converted to ...
15746         (do_test): ... this.
15747         (TEST_FUNCTION): New macro.
15748         Include test-skeleton.c.
15749         * string/tst-svc.c (main): Converted to ...
15750         (do_test): ... this.
15751         (TEST_FUNCTION): New macro.
15752         Include test-skeleton.c.
15753         * time/tst-strptime.c (main): Converted to ...
15754         (do_test): ... this.
15755         (TEST_FUNCTION): New macro.
15756         Include test-skeleton.c.
15757         * timezone/tst-timezone.c (main): Converted to ...
15758         (do_test): ... this.
15759         (TEST_FUNCTION): New macro.
15760         Include test-skeleton.c.
15762 2015-08-05  Zack Weinberg  <zackw@panix.com>
15764         * misc/regexp.h: Update comments.
15766 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15768         [BZ #18635]
15769         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15770         before return label.
15772 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15774         [BZ #18661]
15775         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15776         when calling __errno_location.
15777         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15778         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15780 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15782         [BZ #18661]
15783         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15784         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15785         __gettimeofday.
15787 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15789         [BZ #18661]
15790         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15791         (__start_context): Don't use pop to restore %rdi so that stack
15792         is aligned to 16 bytes when calling __setcontext.
15794 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15796         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15797         only for libc.
15798         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15800 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15802         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15803         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15804         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15806 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15808         * string/memccpy.c (memccpy):
15809         Improve performance by using memchr/memcpy/__mempcpy.
15811 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15813         * string/strncpy.c (strncpy):
15814         Improve performance by using __strnlen/memcpy.
15816 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15818         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15819         Optimize to avoid an unnecessary FPCR read.
15821 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15824         Optimize to reduce FPCR/FPSR accesses.
15826 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15828         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15829         dead->data[category] != NULL.
15831 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15833         [BZ #18647]
15834         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15835         and |x| close to 1, use absolute value of x when computing log.
15836         * math/auto-libm-test-in: Add more tests of pow.
15837         * math/auto-libm-test-out: Regenerated.
15839 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15841         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15842         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15843         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15845 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15847         [BZ #18525]
15848         * locales/km_KH: Remove timezone definition.
15849         * locales/lo_LA: Likewise.
15850         * locales/my_MM: Likewise.
15851         * locales/nan_TW@latin: Likewise.
15852         * locales/th_TH: Likewise.
15853         * locales/uk_UA: Likewise.
15855 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15857         [BZ #18265]
15858         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15859         (wcsncat): Likewise.
15860         (wcscmp): Likewise.
15861         (wcsncmp): Likewise.
15863 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15865         * test-skeleton.c (usage): New function.
15866         (main): Call usage when opt is '?'.
15868 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15870         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15871         before first use.
15873 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15875         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15876         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15877         in there too.
15879 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15881         * version.h (RELEASE): Set to "development".
15882         (VERSION): Set to "2.22.90"
15884         * version.h (RELEASE): Set to "stable".
15885         (VERSION): Set to "2.22"
15886         * include/features.h (__GLIBC_MINOR__): Set to 22.
15888 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15890         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15891         Restructure macro to avoid "value computed is not used" warning.
15892         (atomic_compare_and_exchange_val_acq): Likewise.
15894 2015-08-04  Andreas Schwab  <schwab@suse.de>
15896         [BZ #18635]
15897         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15898         ret.
15899         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15901 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15903         * po/pl.po: Updated translation.
15904         * po/uk.po: Likewise.
15905         * po/fi.po: Likewise.
15906         * po/ko.po: Likewise.
15907         * po/ru.po: Likewise.
15908         * po/vi.po: Likewise.
15910 2015-07-31  Zack Weinberg  <zackw@panix.com>
15912         [BZ #18681]
15913         * regexp.h: Add unconditional #warning stating that this header
15914         will be removed soon.  Revise banner comment to match.
15915         (compile): Consistently use ERROR instead of RETURN to report
15916         errors (partial fix for bz#18681).
15917         * regexp.c: Don't include regexp.h. Remove some unnecessary
15918         declarations.
15920 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15922         * po/libc.pot: Regenerated.
15924 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15926         [BZ #18740]
15927         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15928         float-vlen4-arch-ext-cflags): Removed.
15929         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15930         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15932 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15934         [BZ #14113]
15935         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15936         aligned to __aligned__.
15937         (pthread_cond_t, pthread_rwlock_t): Likewise.
15939 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15941         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15943 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15945         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15946         (struct sigaction): Change sa_flags from a long to an int, and add
15947         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15949 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15951         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15952         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15953         sysdeps/generic/sysdep.h include.
15954         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15955         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15956         sysdeps/hppa/sysdep.h.
15957         (ENTRY, PSEUDO): Undefine before defining.
15959 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15961         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15962         from scratch to use INTERNAL_SYSCALL.
15964 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15966         [BZ #18078]
15967         * scripts/check-localplt.awk: Support alternate relocations.
15968         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15969         sections.
15970         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15971         malloc entries with + REL R_386_GLOB_DAT.
15972         * sysdeps/x86_64/localplt.data: New file.
15974 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15976         [BZ #18731]
15977         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15978         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15979         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15981 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15983         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15985 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15987         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15988         directly in terms of __sync_fetch_and_add and delete (int) cast.
15990 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15992         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15993         the -D_ASM_IA64_CURRENT_H flag.
15995 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15997         [BZ #18641]
15998         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16000 2015-07-27  Andreas Schwab  <schwab@suse.de>
16002         * conform/conformtest.pl (checknamespace): Filter out string
16003         literals while tokenizing.
16005 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16007         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16008         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16009         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16011 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16013         * nptl/tst-join7mod.c: Add #include <string.h>.
16015 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16017         * sysdeps/nios2/libm-test-ulps: Update.
16019 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16021         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16022         Fix order of arguments to the rt_sigprocmask syscall.
16023         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16024         Likewise.
16026 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16028         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16030 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16032         [BZ #18457]
16033         * nptl/Makefile (tests): New test case tst-join7.
16034         (modules-names): New test case module tst-join7mod.
16035         * nptl/tst-join7.c: New file.
16036         * nptl/tst-join7mod.c: New file.
16037         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16038         all translation units in libc.so, libpthread.so and rtld.
16040 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16044 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16047         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16048         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16051         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16052         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16053         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16054         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16055         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16056         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16058         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16059         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16060         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16061         implementation.
16063 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16065         [BZ #17711]
16066         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16067         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16068         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16069         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16070         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16071         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16073 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16075         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16076         instead of just saying load lock in the comments.
16078 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16080         * sysdeps/unix/Subdirs: Moved ...
16081         * sysdeps/posix/Subdirs: ... here.
16082         * login/pty.h (struct termios, struct winsize): Add forward decls.
16083         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16084         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16085         * sysdeps/arm/nacl/libc.abilist: Updated.
16086         * sysdeps/nacl/libutil.abilist: New file.
16088         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16089         (SIGWINCH): New macro.
16091         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16092         * sysdeps/arm/nacl/libc.abilist: Add it.
16094 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16096         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16098 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16100         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16101         Swap __glibc_reserved0 and sa_flags order.
16103 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16105         [BZ #18657]
16106         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16107         are pending TLS destructor calls.
16108         * include/link.h (struct link_map): Add concurrency note for
16109         L_TLS_DTOR_COUNT.
16110         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16111         Don't touch the link map flag.  Atomically increment
16112         l_tls_dtor_count.
16113         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16114         Avoid taking the load lock and don't touch the link map flag.
16115         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16116         * stdlib/Makefile (tests): Use it.
16117         * stdlib/tst-tls-atexit.c (do_test): dlopen
16118         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16119         to allow tst-tls-atexit-nodelete test case to use it.
16121 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16123         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16124         to bits/types.h.
16125         (msgqnum_t): New typedef.
16126         (msglen_t): Likewise.
16127         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16128         and msg_qbytes type to msglen_t.
16130 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16132         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16133         pad0 to __glibc_reserved0.
16134         (struct stat64): Likewise.
16136 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16138         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16139         Change sa_flags from a long to an int and add __glibc_reserved0 before
16140         it for padding.
16142 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16144         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16145         anonymous by deleting "siginfo" name.
16147 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16149         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16150         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16151         rather than __nacl_irt_filename.
16152         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16154         * NEWS: New item for arm-nacl port.
16155         * sysdeps/arm/nacl/libc.abilist: New file.
16156         * sysdeps/nacl/ld.abilist: New file.
16157         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16158         * sysdeps/nacl/libanl.abilist: New file.
16159         * sysdeps/nacl/libcrypt.abilist: New file.
16160         * sysdeps/nacl/libdl.abilist: New file.
16161         * sysdeps/nacl/libm.abilist: New file.
16162         * sysdeps/nacl/libpthread.abilist: New file.
16163         * sysdeps/nacl/libresolv.abilist: New file.
16164         * sysdeps/nacl/librt.abilist: New file.
16166 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16168         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16169         __startcontext to initialize the new context.
16170         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16171         up CFI directive to forbid further backtracing.
16173 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16175         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16176         reference.
16177         * charmaps/ANSI_X3.4-1968: Likewise.
16178         * charmaps/BS_4730: Likewise.
16179         * charmaps/BS_VIEWDATA: Likewise.
16180         * charmaps/CP1250: Likewise.
16181         * charmaps/CP1251: Likewise.
16182         * charmaps/CP1252: Likewise.
16183         * charmaps/CP1253: Likewise.
16184         * charmaps/CP1254: Likewise.
16185         * charmaps/CP1255: Likewise.
16186         * charmaps/CP1256: Likewise.
16187         * charmaps/CSN_369103: Likewise.
16188         * charmaps/EBCDIC-DK-NO: Likewise.
16189         * charmaps/GB_1988-80: Likewise.
16190         * charmaps/GREEK-CCITT: Likewise.
16191         * charmaps/GREEK7: Likewise.
16192         * charmaps/INIS-8: Likewise.
16193         * charmaps/ISIRI-3342: Likewise.
16194         * charmaps/ISO_2033-1983: Likewise.
16195         * charmaps/ISO_5427-EXT: Likewise.
16196         * locales/POSIX: Likewise.
16197         * locales/ar_SA: Likewise.
16198         * locales/be_BY: Likewise.
16199         * locales/be_BY@latin: Likewise.
16200         * locales/ca_ES: Likewise.
16201         * locales/cs_CZ: Likewise.
16202         * locales/da_DK: Likewise.
16203         * locales/de_BE: Likewise.
16204         * locales/de_CH: Likewise.
16205         * locales/de_LU: Likewise.
16206         * locales/en_AU: Likewise.
16207         * locales/en_BW: Likewise.
16208         * locales/en_CA: Likewise.
16209         * locales/en_DK: Likewise.
16210         * locales/en_GB: Likewise.
16211         * locales/en_IE: Likewise.
16212         * locales/en_NZ: Likewise.
16213         * locales/en_ZA: Likewise.
16214         * locales/en_ZW: Likewise.
16215         * locales/es_AR: Likewise.
16216         * locales/es_BO: Likewise.
16217         * locales/es_CL: Likewise.
16218         * locales/es_CO: Likewise.
16219         * locales/es_DO: Likewise.
16220         * locales/es_EC: Likewise.
16221         * locales/es_ES: Likewise.
16222         * locales/es_HN: Likewise.
16223         * locales/es_MX: Likewise.
16224         * locales/es_PA: Likewise.
16225         * locales/es_PE: Likewise.
16226         * locales/es_PY: Likewise.
16227         * locales/es_SV: Likewise.
16228         * locales/es_US: Likewise.
16229         * locales/es_UY: Likewise.
16230         * locales/es_VE: Likewise.
16231         * locales/et_EE: Likewise.
16232         * locales/fa_IR: Likewise.
16233         * locales/fo_FO: Likewise.
16234         * locales/fr_CA: Likewise.
16235         * locales/fr_CH: Likewise.
16236         * locales/gv_GB: Likewise.
16237         * locales/he_IL: Likewise.
16238         * locales/hr_HR: Likewise.
16239         * locales/id_ID: Likewise.
16240         * locales/is_IS: Likewise.
16241         * locales/it_CH: Likewise.
16242         * locales/iw_IL: Likewise.
16243         * locales/kl_GL: Likewise.
16244         * locales/ko_KR: Likewise.
16245         * locales/kw_GB: Likewise.
16246         * locales/lg_UG: Likewise.
16247         * locales/lt_LT: Likewise.
16248         * locales/lv_LV: Likewise.
16249         * locales/mi_NZ: Likewise.
16250         * locales/nhn_MX: Likewise.
16251         * locales/nl_BE: Likewise.
16252         * locales/pl_PL: Likewise.
16253         * locales/sk_SK: Likewise.
16254         * locales/sl_SI: Likewise.
16255         * locales/sv_FI: Likewise.
16256         * locales/tl_PH: Likewise.
16257         * locales/tr_TR: Likewise.
16258         * locales/vi_VN: Likewise.
16260 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16262         [BZ #17475]
16263         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16264         of tu_IN and bh_IN.
16266 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16268         [BZ #18694]
16269         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16270         bits/wordsize.h.
16271         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16273 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16275         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16276         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16277         (spawn_thread): New function.
16278         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16279         (do_test): ... here.  Use IS_LOADED to test for its
16280         availability.
16282 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16286 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16288         [BZ #18696]
16289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16290         si_addr_bnd.
16291         (si_lower): New.
16292         (si_upper): Likewise.
16294 2015-07-16  David S. Miller  <davem@davemloft.net>
16296         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16298 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16300         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16301         buffer.
16302         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16303         fail output information.
16305 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16308         and strstr-ppc64..
16309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16310         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16311         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16312         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16313         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16315 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16317         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16318         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16319         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16320         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16322 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16324         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16325         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16326         rtld_hidden_proto.
16327         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16329 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16331         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16332         the test can fail.
16334         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16336         [BZ #18676]
16337         * elf/tst-nodelete-opened.c: New test case.
16338         * elf/tst-nodelete-opened-lib.c: New test case module.
16339         * elf/Makefile (tests, modules-names): Use them.
16340         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16341         early.
16343 2015-07-15  David S. Miller  <davem@davemloft.net>
16345         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16346         futex-intenal.h
16347         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16348         * sysdeps/sparc/sparc64/Makefile: Likewise.
16349         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16350         Remove space from macro define.
16351         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16353 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16355         [BZ #17475]
16356         * locale/iso-639.def: Update Bhili and Tulu language codes as
16357         per iso639-3.
16359 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16361         * elf/tst-leaks1.c (main): Converted to ...
16362         (do_test): ... this.
16363         (TEST_FUNCTION): New macro.
16364         Include test-skeleton.c.
16365         * localedata/tst-langinfo.c (main): Converted to ...
16366         (do_test): ... this.
16367         (TEST_FUNCTION): New macro.
16368         Include test-skeleton.c.
16369         * math/test-fpucw.c (main): Converted to ...
16370         (do_test): ... this.
16371         (TEST_FUNCTION): New macro.
16372         Include test-skeleton.c.
16373         * math/test-tgmath.c (main): Converted to ...
16374         (do_test): ... this.
16375         (TEST_FUNCTION): New macro.
16376         Include test-skeleton.c.
16377         * math/test-tgmath2.c (main): Converted to ...
16378         (do_test): ... this.
16379         (TEST_FUNCTION): New macro.
16380         Include test-skeleton.c.
16381         * setjmp/tst-setjmp.c (main): Converted to ...
16382         (do_test): ... this.
16383         (TEST_FUNCTION): New macro.
16384         Include test-skeleton.c.
16385         * stdio-common/tst-sscanf.c (main): Converted to ...
16386         (do_test): ... this.
16387         (TEST_FUNCTION): New macro.
16388         Include test-skeleton.c.
16389         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16390         (do_test): ... this.
16391         (TEST_FUNCTION): New macro.
16392         Include test-skeleton.c.
16394         * elf/tst-audit9.c (main): Converted to ...
16395         (do_test): ... this.
16396         (TEST_FUNCTION): New macro.
16397         Include test-skeleton.c.
16399 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16401         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16403 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16405         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16406         New variable.
16408 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16410         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16412 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16414         * sysdeps/generic/dl-fileid.h: New file.
16415         * sysdeps/posix/dl-fileid.h: New file.
16416         * sysdeps/nacl/dl-fileid.h: New file.
16417         * include/link.h: Include <dl-fileid.h>.
16418         (struct link_map): Replace l_dev and l_ino with l_file_id.
16419         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16420         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16421         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16423 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16425         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16427 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16429         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16430         Add iff $CXX is set.
16431         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16432         Likewise.
16433         (tst-nodelete-zmodiff): Likewise.
16434         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16436 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16438         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16440 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16442         * sysdeps/aarch64/fpu/math_private.h
16443         (define math_opt_barrier): Add AArch64 version.
16444         (math_force_eval): Likewise.
16446 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16448         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16450 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16452         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16453         %ld with %jd and cast to intmax_t.
16454         (do_test_length_zero): Likewise.
16456 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16458         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16460 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16462         * sysdeps/tile/libm-test-ulps: Regenerated.
16464         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16465         Comment out the whole function, not just its body.
16467 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16469         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16470         locks.
16472         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16474 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16476         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16477         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16479 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16481         * sysdeps/nptl/futex-internal.h: New file.
16482         * sysdeps/nacl/futex-internal.h: New file.
16483         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16484         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16485         error checking.
16486         (setxid_unmark_thread): Likewise.
16487         (__nptl_setxid): Likewise.
16488         (__wait_lookup_done): Likewise.
16489         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16490         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16491         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16492         * nptl/pthread_once.c (clear_once_control): Likewise.
16493         (__pthread_once_slow): Likewise.
16494         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16495         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16496         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16497         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16498         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16499         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16500         Likewise.
16501         (__pthread_rwlock_rdlock): Likewise.
16502         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16503         Likewise.
16504         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16505         Likewise.
16506         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16507         Likewise.
16508         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16509         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16510         Likewise.
16511         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16512         __ASSUME_PRIVATE_FUTEX check.
16513         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16514         Check that shared futexes are supported.
16515         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16516         wrappers with error checking.
16517         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16518         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16519         * nptl/pthread_barrierattr_setpshared.c
16520         (pthread_barrierattr_setpshared): Check that shared futexes are
16521         supported.
16522         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16523         Likewise.
16524         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16525         Likewise.
16526         * nptl/sem_init.c (futex_private_if_supported): Remove.
16527         (__new_sem_init): Adapt and check that shared futexes are supported.
16528         * nptl/sem_open.c (sem_open): Likewise.
16529         * nptl/sem_post.c (futex_wake): Remove.
16530         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16531         (do_futex_wait): Use futex wrappers with error checking.
16532         * nptl/sem_wait.c: Include lowlevellock.h.
16533         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16534         Use futex_supports_pshared.
16535         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16536         Use futex wrappers with error checking.
16537         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16538         Likewise.
16539         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16540         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16541         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16542         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16543         (futex_wake): Likewise.
16544         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16545         (do_futex_wait): Use futex wrappers with error checking.
16546         (__new_sem_wait_slow): Update EINTR handling.
16547         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16549 2015-07-09  Martin Sebor  <msebor@redhat.com>
16551         [BZ #18435]
16552         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16553         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16554         * nptl/Makefile (test-xfail-tst-once5): Define.
16556 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16558         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16559         * elf/dl-minimal.c: For readability, reorder some definitions and
16560         introduce more page breaks.  Include <stdio.h>.
16561         (__libc_fatal): New function.
16563         * include/unistd.h: Add rtld_hidden_proto for _exit.
16564         * posix/_exit.c: Add rtld_hidden_def.
16565         * sysdeps/mach/hurd/_exit.c: Likewise.
16566         * sysdeps/nacl/_exit.c: Likewise.
16567         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16568         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16570 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16572         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16573         bndmov encoding with zero displacement.
16575 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16576             H.J. Lu  <hongjiu.lu@intel.com>
16578         [BZ #18134]
16579         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16580         * sysdeps/i386/configure: Regenerated.
16581         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16582         (_dl_runtime_profile): Save and restore Intel MPX return bound
16583         registers when calling _dl_call_pltexit.  Add
16584         PRESERVE_BND_REGS_PREFIX before return.
16585         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16586         (LRV_BND1_OFFSET): Likewise.
16587         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16588         lrv_bnd1.
16589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16590         typo in bndmov encoding.
16591         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16592         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16593         branch instructions to preserve bounds.
16595 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16598         [GLIBC_2.22]: Add fmemopen.
16600 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16602         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16603         returns an error, also try to use host port from __mach_host_self for
16604         the __vm_wire call.
16605         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16607 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16609         [BZ #18400]
16610         [BZ #18648]
16611         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16612         Fix pr_uid and pr_gid members.
16613         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16614         definition to elf_greg_t.
16616 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16618         [BZ #18383]
16619         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16620         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16621         * sysdeps/arm/configure: Regenerated.
16622         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16623         (test-xfail-tst-tlsalign-static): Variable removed.
16625         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16626         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16627         rather than explicit 'ln -s'.
16629         * resolv/rpc/netdb.h: New file.
16630         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16632 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16634         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16635         length buffers.
16636         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16637         test-skeleton.c.
16639         [BZ #6544]
16640         [BZ #11216]
16641         [BZ #12836]
16642         [BZ #13151]
16643         [BZ #13152]
16644         [BZ #14292]
16645         * include/stdio.h (fmemopen): Remove hidden prototype.
16646         (__fmemopen): Add new hidden prototype.
16647         * libio/Makefile: Add oldfmemopen object.
16648         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16649         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16650         compliance.
16651         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16652         symbol compatibility.
16653         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16654         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16655         fmemopen.
16656         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16657         on append and read mode.
16658         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16659         fmemopen.
16660         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16661         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16662         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16663         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16664         Likewise.
16665         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16666         [GLIBC_2.22]: Likewise.
16667         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16668         Likewise.
16669         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16670         Likewise.
16671         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16672         [GLIBC_2.22]: Likewise.
16673         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16674         [GLIBC_2.22]: Likewise.
16675         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16676         [GLIBC_2.22]: Likewise.
16677         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16678         [GLIBC_2.22]: Likewise.
16679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16680         [GLIBC_2.22]: Likewise.
16681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16682         [GLIBC_2.22]: Likewise.
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16684         [GLIBC_2.22]: Likewise.
16685         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16686         Likewise.
16687         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16688         Likewise.
16689         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16690         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16691         [GLIBC_2.22]: Likewise.
16692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16693         [GLIBC_2.22]: Likewise.
16694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16695         [GLIBC_2.22]: Likewise.
16696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16697         [GLIBC_2.22]: Likewise.
16698         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16699         Likewise.
16700         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16701         Likewise.
16702         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16703         Likewise.
16704         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16705         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16707 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16709         [BZ #18643]
16710         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16711         IPV6_PATHMTU, and IPV6_DONTFRAG.
16713 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16715         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16716         and _IO_UNBUFFERED.
16717         * libio/oldfileops.c: Likewise.
16718         * libio/wfileops.c: Likewise.
16720 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16722         * nscd/selinux.c: Delete selinux/flask.h include.
16724 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16726         [BZ #18641]
16727         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16728         (putpwent): Likewise.
16729         (getpwnam): Likewise.
16730         (getpwent_r): Likewise.
16731         (getpwuid_r): Likewise.
16732         (getpwnam_r): Likewise.
16733         (fgetpwent_r): Likewise.
16735 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16737         [BZ #18557]
16738         * inet/rcmd.c (__validuser2_sa): Check user first to
16739         short-circuit host check.
16741 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16742             Mikhail Ilin  <m.ilin@samsung.com>
16744         [BZ #17833]
16745         * elf/Makefile (tests): Add tst-nodelete.
16746         (modules-names): Add tst-nodelete-uniquemod.
16747         (tst-nodelete-uniquemod.so-no-z-defs): New.
16748         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16749         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16750         ($(objpfx)tst-nodelete): Likewise.
16751         ($(objpfx)tst-nodelete.out): Likewise.
16752         (LDFLAGS-tst-nodelete): Likewise.
16753         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16754         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16755         implement forced object deletion.
16756         (_dl_close): Pass false to _dl_close_worker.
16757         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16758         * elf/tst-nodelete.cc: New file.
16759         * elf/tst-nodeletelib.cc: Likewise.
16760         * elf/tst-znodeletelib.cc: Likewise.
16761         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16763 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16765         [BZ #18508]
16766         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16767         Depend on $(libdl).
16768         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16769         is not called infinitely times.
16770         (backtrace_helper): New function.
16771         (trace_arg): New struct.
16772         (st1): Enlarge stack size.
16773         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16774         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16775         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16776         Likewise.
16778 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16780         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16782 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16784         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16785         Include sys/types.h instead of bits/types.h.
16786         Remove inclusion of bits/wordsize.h.
16788 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16790         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16791         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16792         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16793         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16794         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16795         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16797 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16799         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16800         link-defines.sym.
16801         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16802         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16803         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16804         and LR_SIZE.
16805         * sysdeps/i386/link-defines.sym: New file.
16807 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16809         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16810         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16811         ($(objpfx)tst-audit3): New rule.
16812         ($(objpfx)tst-audit3.out): Likewise.
16813         * sysdeps/i386/tst-audit3.c: New file.
16814         * sysdeps/i386/tst-audit3.h: Likewise.
16815         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16816         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16818 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16820         [BZ #18633]
16821         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16822         pointer in C code.
16823         (__strcat_c): Likewise.
16824         (__strcat_g): Likewise.
16826 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16828         [BZ #18592]
16829         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16831 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16833         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16834         New function.  (__ieee754_sqrtf): New function.
16835         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16836         New function.
16837         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16838         New function.
16840 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16842         * sysdeps/ieee754/support.c: Remove unused file.
16844 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16846         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16847         registers instead of d ones so the layout is kernel abi compatible.
16848         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16849         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16850         Likewise.
16852 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16854         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16856 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16858         [BZ #18619]
16859         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16860         and return argument in case of subnormal argument.
16862 2015-07-01  Martin Sebor  <msebor@redhat.com>
16864         [BZ #18435]
16865         * nptl/Makefile: Add tst-once5.cc.
16866         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16867         Remove macro redefinitions.
16868         * nptl/tst-once5.cc: New test.
16870 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16872         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16874         * sysdeps/arm/libm-test-ulps: Regenerated.
16876         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16877         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16879 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16881         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16882         lll_lock_wait_private and lll_futex_wake probes.
16884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16885         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16886         Likewise.
16887         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16888         atomic_spin_nop.
16889         * sysdeps/x86_64/bits/atomic.h: Likewise.
16890         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16891         to atomic_spin_nop and move ...
16892         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16893         ... here and ...
16894         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16895         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16896         atomic_spin_nop instead of BUSY_WAIT_NOP.
16897         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16898         Likewise.
16899         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16900         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16901         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16902         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16903         instead of atomic_delay.
16905 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16907         [BZ #18613]
16908         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16909         X_ADJ not X when adjusting exponent.
16910         (__ieee754_gamma_r): Do intermediate computations in
16911         round-to-nearest then adjust overflowing and underflowing results
16912         as needed.
16913         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16914         of X_ADJ not X when adjusting exponent.
16915         (__ieee754_gammaf_r): Do intermediate computations in
16916         round-to-nearest then adjust overflowing and underflowing results
16917         as needed.
16918         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16919         log of X_ADJ not X when adjusting exponent.
16920         (__ieee754_gammal_r): Do intermediate computations in
16921         round-to-nearest then adjust overflowing and underflowing results
16922         as needed.  Use 1.0L not 1.0f as numerator of division.
16923         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16924         log of X_ADJ not X when adjusting exponent.
16925         (__ieee754_gammal_r): Do intermediate computations in
16926         round-to-nearest then adjust overflowing and underflowing results
16927         as needed.  Use 1.0L not 1.0f as numerator of division.
16928         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16929         of X_ADJ not X when adjusting exponent.
16930         (__ieee754_gammal_r): Do intermediate computations in
16931         round-to-nearest then adjust overflowing and underflowing results
16932         as needed.  Use 1.0L not 1.0f as numerator of division.
16933         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16934         to auto-libm-test-in.
16935         (tgamma_test): Use ALL_RM_TEST.
16936         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16937         tests of tgamma with spurious-overflow.
16938         * math/auto-libm-test-out: Regenerated.
16939         * math/gen-libm-have-vector-test.sh: Do not check for START.
16940         * sysdeps/i386/fpu/libm-test-ulps: Update.
16941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16943         [BZ #18612]
16944         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16945         arguments, just return 0.5 times the argument, with underflow
16946         forced as needed.
16947         * math/auto-libm-test-in: Add more tests of j1.
16948         * math/auto-libm-test-out: Regenerated.
16950         [BZ #16559]
16951         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16952         (__ieee754_j1): Force underflow exception for small results.
16953         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16954         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16955         (__ieee754_j1f): Force underflow exception for small results.
16956         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16957         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16958         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16959         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16960         (__ieee754_j1l): Force underflow exception for small results.
16961         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16962         * math/auto-libm-test-in: Add more tests of j1 and jn.
16963         * math/auto-libm-test-out: Regenerated.
16965         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16966         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16967         (PF_MPLS): Likewise.
16968         (AF_IB): Likewise.
16969         (AF_MPLS): Likewise.
16970         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16971         value and macro.
16972         (MS_RMT_MASK): Include MS_LAZYTIME.
16974 2015-06-26  Mel Gorman  <mgorman@suse.de>
16976         [BZ #18502]
16977         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16978         already minimal.
16980 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16982         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16983         (DT_MIPS_NUM): Update.
16984         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16985         DT_MIPS_RLD_MAP_REL.
16987 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16989         [BZ #16559]
16990         [BZ #18602]
16991         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16992         round-to-nearest internally then recompute results that
16993         underflowed to zero in the original rounding mode.
16994         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16998         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16999         * sysdeps/i386/fpu/libm-test-ulps: Update.
17000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17002 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17004         * NEWS: Fixed description of link with vector math library.
17006 2015-06-25  Andreas Schwab  <schwab@suse.de>
17008         [BZ #18549]
17009         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17010         * libio/test-fmemopen.c (do_test): Add test for it.
17012 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17014         [BZ #17841]
17015         * Makeconfig (no-pie-ldflag): New.
17016         (+link): Set to $(+link-pie) if default to PIE.
17017         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17018         * config.make.in (build-pie-default): New.
17019         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17020         is default.  AC_SUBST.
17021         * configure: Regenerated.
17022         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17024 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17026         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17027         to 'unsigned int'.
17029         * resolv/gai_misc.h (struct waitlist): Change type of field
17030         counterp to 'volatile unsigned int *'.
17031         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17032         FUTEXADDR and OLDVAL.
17033         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17034         Give local variable TOTAL type 'volatile unsigned int'.
17035         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17036         * resolv/gai_suspend.c (gai_suspend):
17037         Give local variable CNTR type 'unsigned int'.
17039         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17040         counterp to 'volatile unsigned int *'.
17041         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17042         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17043         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17044         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17045         Give local variable TOTAL type 'volatile unsigned int'.
17046         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17048 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17050         [BZ #18383]
17051         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17052         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17053         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17054         comment for i386/x86-64.
17055         (test-xfail-tst-tlsalign-extern-static): Removed.
17057 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17059         * math/test-double.h: New file.
17060         * math/test-float.h: Likewise.
17061         * math/test-ldouble.h: Likewise.
17062         * math/test-math-inline.h: Likewise.
17063         * math/test-math-no-inline.h: Likewise.
17064         * math/test-math-scalar.h: Likewise.
17065         * math/test-math-vector.h: Likewise.
17066         * math/test-vec-loop.h: Remove file.  Contents moved into
17067         test-math-vector.h.
17068         * math/libm-test.inc (MATHCONST): Do not document macro.
17069         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17070         and test-math-scalar.h.
17071         (FUNC): Remove macro.
17072         (FUNC_TEST): Likewise.
17073         (FLOAT): Likewise.
17074         (MATHCONST): Likewise.
17075         (PRINTF_EXPR): Likewise.
17076         (PRINTF_XEXPR): Likewise.
17077         (PRINTF_NEXPR): Likewise.
17078         (TEST_DOUBLE): Likewise.
17079         (TEST_MATHVEC): Likewise.
17080         (__NO_MATH_INLINES): Likewise.
17081         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17082         and test-math-scalar.h.
17083         (FUNC): Remove macro.
17084         (FUNC_TEST): Likewise.
17085         (FLOAT): Likewise.
17086         (MATHCONST): Likewise.
17087         (PRINTF_EXPR): Likewise.
17088         (PRINTF_XEXPR): Likewise.
17089         (PRINTF_NEXPR): Likewise.
17090         (TEST_FLOAT): Likewise.
17091         (TEST_MATHVEC): Likewise.
17092         (__NO_MATH_INLINES): Likewise.
17093         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17094         and test-math-scalar.h.
17095         (FUNC): Remove macro.
17096         (FUNC_TEST): Likewise.
17097         (FLOAT): Likewise.
17098         (MATHCONST): Likewise.
17099         (PRINTF_EXPR): Likewise.
17100         (PRINTF_XEXPR): Likewise.
17101         (PRINTF_NEXPR): Likewise.
17102         (TEST_DOUBLE): Likewise.
17103         (TEST_MATHVEC): Likewise.
17104         (TEST_INLINE): Likewise.
17105         (__NO_MATH_INLINES): Likewise.
17106         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17107         test-math-scalar.h.
17108         (FUNC): Remove macro.
17109         (FUNC_TEST): Likewise.
17110         (FLOAT): Likewise.
17111         (MATHCONST): Likewise.
17112         (PRINTF_EXPR): Likewise.
17113         (PRINTF_XEXPR): Likewise.
17114         (PRINTF_NEXPR): Likewise.
17115         (TEST_FLOAT): Likewise.
17116         (TEST_MATHVEC): Likewise.
17117         (TEST_INLINE): Likewise.
17118         (__NO_MATH_INLINES): Likewise.
17119         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17120         and test-math-scalar.h.
17121         (FUNC): Remove macro.
17122         (FUNC_TEST): Likewise.
17123         (FLOAT): Likewise.
17124         (MATHCONST): Likewise.
17125         (PRINTF_EXPR): Likewise.
17126         (PRINTF_XEXPR): Likewise.
17127         (PRINTF_NEXPR): Likewise.
17128         (TEST_LDOUBLE): Likewise.
17129         (TEST_MATHVEC): Likewise.
17130         (TEST_INLINE): Likewise.
17131         (__NO_MATH_INLINES): Likewise.
17132         * math/test-ldouble.c: Include test-ldouble.h,
17133         test-math-no-inline.h and test-math-scalar.h.
17134         (FUNC): Remove macro.
17135         (FUNC_TEST): Likewise.
17136         (FLOAT): Likewise.
17137         (MATHCONST): Likewise.
17138         (PRINTF_EXPR): Likewise.
17139         (PRINTF_XEXPR): Likewise.
17140         (PRINTF_NEXPR): Likewise.
17141         (TEST_LDOUBLE): Likewise.
17142         (TEST_MATHVEC): Likewise.
17143         (__NO_MATH_INLINES): Likewise.
17144         * math/test-double-vlen2.h: Include test-double.h,
17145         test-math-no-inline.h and test-math-vector.h.
17146         (FLOAT): Remove macro.
17147         (FUNC): Likewise.
17148         (MATHCONST): Likewise.
17149         (PRINTF_EXPR): Likewise.
17150         (PRINTF_XEXPR): Likewise.
17151         (PRINTF_NEXPR): Likewise.
17152         (TEST_DOUBLE): Likewise.
17153         (TEST_MATHVEC): Likewise.
17154         (__NO_MATH_INLINES): Likewise.
17155         (CNCT): Likewise.
17156         (CONCAT): Likewise.
17157         (WRAPPER_NAME): Likewise.
17158         (WRAPPER_DECL): Likewise.
17159         (WRAPPER_DECL_ff): Likewise.
17160         (WRAPPER_DECL_fFF): Likewise.
17161         (VECTOR_WRAPPER): Likewise.
17162         (VECTOR_WRAPPER_ff): Likewise.
17163         (VECTOR_WRAPPER_fFF): Likewise.
17164         (VEC_LEN): New macro.
17165         * math/test-double-vlen4.h: Include test-double.h,
17166         test-math-no-inline.h and test-math-vector.h.
17167         (FLOAT): Remove macro.
17168         (FUNC): Likewise.
17169         (MATHCONST): Likewise.
17170         (PRINTF_EXPR): Likewise.
17171         (PRINTF_XEXPR): Likewise.
17172         (PRINTF_NEXPR): Likewise.
17173         (TEST_DOUBLE): Likewise.
17174         (TEST_MATHVEC): Likewise.
17175         (__NO_MATH_INLINES): Likewise.
17176         (CNCT): Likewise.
17177         (CONCAT): Likewise.
17178         (WRAPPER_NAME): Likewise.
17179         (WRAPPER_DECL): Likewise.
17180         (WRAPPER_DECL_ff): Likewise.
17181         (WRAPPER_DECL_fFF): Likewise.
17182         (VECTOR_WRAPPER): Likewise.
17183         (VECTOR_WRAPPER_ff): Likewise.
17184         (VECTOR_WRAPPER_fFF): Likewise.
17185         (VEC_LEN): New macro.
17186         * math/test-double-vlen8.h: Include test-double.h,
17187         test-math-no-inline.h and test-math-vector.h.
17188         (FLOAT): Remove macro.
17189         (FUNC): Likewise.
17190         (MATHCONST): Likewise.
17191         (PRINTF_EXPR): Likewise.
17192         (PRINTF_XEXPR): Likewise.
17193         (PRINTF_NEXPR): Likewise.
17194         (TEST_DOUBLE): Likewise.
17195         (TEST_MATHVEC): Likewise.
17196         (__NO_MATH_INLINES): Likewise.
17197         (CNCT): Likewise.
17198         (CONCAT): Likewise.
17199         (WRAPPER_NAME): Likewise.
17200         (WRAPPER_DECL): Likewise.
17201         (WRAPPER_DECL_ff): Likewise.
17202         (WRAPPER_DECL_fFF): Likewise.
17203         (VECTOR_WRAPPER): Likewise.
17204         (VECTOR_WRAPPER_ff): Likewise.
17205         (VECTOR_WRAPPER_fFF): Likewise.
17206         (VEC_LEN): New macro.
17207         * math/test-float-vlen4.h: Include test-float.h,
17208         test-math-no-inline.h and test-math-vector.h.
17209         (FLOAT): Remove macro.
17210         (FUNC): Likewise.
17211         (MATHCONST): Likewise.
17212         (PRINTF_EXPR): Likewise.
17213         (PRINTF_XEXPR): Likewise.
17214         (PRINTF_NEXPR): Likewise.
17215         (TEST_FLOAT): Likewise.
17216         (TEST_MATHVEC): Likewise.
17217         (__NO_MATH_INLINES): Likewise.
17218         (CNCT): Likewise.
17219         (CONCAT): Likewise.
17220         (WRAPPER_NAME): Likewise.
17221         (WRAPPER_DECL): Likewise.
17222         (WRAPPER_DECL_ff): Likewise.
17223         (WRAPPER_DECL_fFF): Likewise.
17224         (VECTOR_WRAPPER): Likewise.
17225         (VECTOR_WRAPPER_ff): Likewise.
17226         (VECTOR_WRAPPER_fFF): Likewise.
17227         (VEC_LEN): New macro.
17228         * math/test-float-vlen8.h: Include test-float.h,
17229         test-math-no-inline.h and test-math-vector.h.
17230         (FLOAT): Remove macro.
17231         (FUNC): Likewise.
17232         (MATHCONST): Likewise.
17233         (PRINTF_EXPR): Likewise.
17234         (PRINTF_XEXPR): Likewise.
17235         (PRINTF_NEXPR): Likewise.
17236         (TEST_FLOAT): Likewise.
17237         (TEST_MATHVEC): Likewise.
17238         (__NO_MATH_INLINES): Likewise.
17239         (CNCT): Likewise.
17240         (CONCAT): Likewise.
17241         (WRAPPER_NAME): Likewise.
17242         (WRAPPER_DECL): Likewise.
17243         (WRAPPER_DECL_ff): Likewise.
17244         (WRAPPER_DECL_fFF): Likewise.
17245         (VECTOR_WRAPPER): Likewise.
17246         (VECTOR_WRAPPER_ff): Likewise.
17247         (VECTOR_WRAPPER_fFF): Likewise.
17248         (VEC_LEN): New macro.
17249         * math/test-float-vlen16.h: Include test-float.h,
17250         test-math-no-inline.h and test-math-vector.h.
17251         (FLOAT): Remove macro.
17252         (FUNC): Likewise.
17253         (MATHCONST): Likewise.
17254         (PRINTF_EXPR): Likewise.
17255         (PRINTF_XEXPR): Likewise.
17256         (PRINTF_NEXPR): Likewise.
17257         (TEST_FLOAT): Likewise.
17258         (TEST_MATHVEC): Likewise.
17259         (__NO_MATH_INLINES): Likewise.
17260         (CNCT): Likewise.
17261         (CONCAT): Likewise.
17262         (WRAPPER_NAME): Likewise.
17263         (WRAPPER_DECL): Likewise.
17264         (WRAPPER_DECL_ff): Likewise.
17265         (WRAPPER_DECL_fFF): Likewise.
17266         (VECTOR_WRAPPER): Likewise.
17267         (VECTOR_WRAPPER_ff): Likewise.
17268         (VECTOR_WRAPPER_fFF): Likewise.
17269         (VEC_LEN): New macro.
17270         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17271         test-vec-loop.h.
17272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17273         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17275         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17276         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17278         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17280 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17282         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17283         (__getlogin_r): ... this.
17285 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17287         [BZ #18594]
17288         * math/s_ccosh.c (__ccosh): Compare with least normal value
17289         instead of comparing class with FP_SUBNORMAL.
17290         * math/s_ccoshf.c (__ccoshf): Likewise.
17291         * math/s_ccoshl.c (__ccoshl): Likewise.
17292         * math/s_cexp.c (__cexp): Likewise.
17293         * math/s_cexpf.c (__cexpf): Likewise.
17294         * math/s_cexpl.c (__cexpl): Likewise.
17295         * math/s_csin.c (__csin): Likewise.
17296         * math/s_csinf.c (__csinf): Likewise.
17297         * math/s_csinh.c (__csinh): Likewise.
17298         * math/s_csinhf.c (__csinhf): Likewise.
17299         * math/s_csinhl.c (__csinhl): Likewise.
17300         * math/s_csinl.c (__csinl): Likewise.
17301         * math/s_ctan.c (__ctan): Likewise.
17302         * math/s_ctanf.c (__ctanf): Likewise.
17303         * math/s_ctanh.c (__ctanh): Likewise.
17304         * math/s_ctanhf.c (__ctanhf): Likewise.
17305         * math/s_ctanhl.c (__ctanhl): Likewise.
17306         * math/s_ctanl.c (__ctanl): Likewise.
17307         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17308         csin, csinh, ctan and ctanh.
17309         * math/auto-libm-test-out: Regenerated.
17310         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17311         * sysdeps/i386/fpu/libm-test-ulps: Update.
17312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17314 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17316         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17317         return value is wrong, print the expected value too.
17319 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17321         [BZ #18585]
17322         * elf/readlib.c (is_gdb_python_file): New.
17323         (process_file): Don't issue errors on filenames with -gdb.py
17324         suffix.
17326 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17328         * math/auto-libm-test-in: Add more tests of csin and csinh.
17329         * math/auto-libm-test-out: Regenerated.
17330         * math/libm-test.inc (csin_test_data): Remove tests moved to
17331         auto-libm-test-in.
17332         (csinh_test_data): Likewise.
17334         [BZ #18593]
17335         * math/s_csin.c (__csin): Negate before rather than after possibly
17336         overflowing multiplication.
17337         * math/s_csinf.c (__csinf): Likewise.
17338         * math/s_csinh.c (__csinh): Likewise.
17339         * math/s_csinhf.c (__csinhf): Likewise.
17340         * math/s_csinhl.c (__csinhl): Likewise.
17341         * math/s_csinl.c (__csinl): Likewise.
17342         * math/auto-libm-test-in: Add some tests of csin and csinh.
17343         * math/auto-libm-test-out: Regenerated.
17344         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17345         (csinh_test_data): Likewise.
17346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17348         [BZ #18586]
17349         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17350         underflow exception for small results.
17352 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17355         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17356         variable and included header.
17357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17359         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17360         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17361         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17363         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17364         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17365         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17366         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17367         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17368         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17369         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17370         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17371         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17372         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17374 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17376         [BZ #16526]
17377         [BZ #16538]
17378         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17379         (__sin): Force underflow exception for arguments with small
17380         absolute value.
17381         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17382         (__kernel_sinf): Force underflow exception for arguments with
17383         small absolute value.
17384         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17385         (__kernel_sincosl): Force underflow exception for arguments with
17386         small absolute value.
17387         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17388         (__kernel_sinl): Force underflow exception for arguments with
17389         small absolute value.
17390         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17391         (__kernel_sincosl): Force underflow exception for arguments with
17392         small absolute value.
17393         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17394         (__kernel_sinl): Force underflow exception for arguments with
17395         small absolute value.
17396         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17397         (__kernel_sinl): Force underflow exception for arguments with
17398         small absolute value.
17399         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17400         (__kernel_sinf): Force underflow exception for arguments with
17401         small absolute value.
17402         * math/auto-libm-test-in: Add more tests of sin and sincos.
17403         * math/auto-libm-test-out: Regenerated.
17405         [BZ #18245]
17406         [BZ #18583]
17407         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17408         (__kernel_standard_l): Use feholdexcept and fesetenv around
17409         conversion to double instead of special-casing overflow and
17410         underflow.
17411         * math/libm-test.inc (fmod_test_data): Add more tests.
17412         (remainder_test_data): Likewise.
17413         (sqrt_test_data): Likewise.
17415 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17417         [BZ #17403]
17418         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17419         atomic_read_barrier, atomic_write_barrier): Define.
17420         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17421         atomic_read_barrier, atomic_write_barrier): Define.
17423 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17425         * math/Makefile [$(PERL) != no]
17426         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17427         dependency on libm-test.stmp below the inclusion of Rules.
17429 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17431         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17432         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17433         and included header.
17434         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17435         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17440         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17442         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17443         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17444         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17445         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17446         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17447         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17448         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17449         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17450         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17451         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17452         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17454 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17456         [BZ #18371]
17457         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17458         intermediate but not final result might underflow.
17459         * math/s_csqrtf.c (__csqrtf): Likewise.
17460         * math/s_csqrtl.c (__csqrtl): Likewise.
17461         * math/auto-libm-test-in: Add more tests of csqrt.
17462         * math/auto-libm-test-out: Regenerated.
17463         * sysdeps/i386/fpu/libm-test-ulps: Update.
17465         [BZ #18219]
17466         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17467         threshold on absolute value of exponent for which scaling is used.
17468         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17469         * math/auto-libm-test-in: Add more tests of exp2.
17470         * math/auto-libm-test-out: Regenerated.
17472 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17474         [BZ #17977]
17475         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17476         when initializing interface list, based on the bug analysis
17477         and the patch proposed by Eric Newton.
17478         * resolv/tst-res_hconf_reorder.c: New test.
17479         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17480         tst-res_hconf_reorder.
17481         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17482         and $(shared-thread-library).
17483         (tst-res_hconf_reorder-ENV): New variable.
17485         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17486         in comment.
17488 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17490         [BZ #16353]
17491         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17492         (__expm1): Force underflow exception for arguments with small
17493         absolute value.
17494         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17495         (__expm1f): Force underflow exception for arguments with small
17496         absolute value.
17497         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17498         (__expm1): Force underflow exception for arguments with small
17499         absolute value.
17500         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17501         (__expm1f): Force underflow exception for arguments with small
17502         absolute value.
17503         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17504         Check for small arguments before calling __expm1.
17505         * math/auto-libm-test-in: Do not mark underflow exceptions as
17506         possibly missing for bug 16353.
17507         * math/auto-libm-test-out: Regenerated.
17509 2015-06-22  Andreas Schwab  <schwab@suse.de>
17511         [BZ #18513]
17512         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17513         PTR queries.
17515 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17517         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17519         * string/strcoll_l.c: Remove unused struct element idxnow.
17521 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17523         [BZ #18569]
17524         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17525         underflow and return argument in case of subnormal argument.
17526         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17527         Likewise.
17528         * math/auto-libm-test-in: Add more tests of expm1.
17529         * math/auto-libm-test-out: Regenerated.
17531         [BZ #16361]
17532         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17533         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17534         tiny results.
17535         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17536         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17537         tiny results.
17538         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17539         mark underflow exceptions as possibly missing for bug 16361.
17540         * math/auto-libm-test-out: Regenerated.
17542 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17544         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17545         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17546         Remove variable.
17547         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17548         (test-xfail-XOPEN2K8/utmpx.h/conform).
17550         * conform/conformtest.pl ($xerrors): New variable.
17551         (note_error): New function.
17552         (compiletest): New argument $xfail.  Use not_error.
17553         (runtest): Likewise.
17554         (top level): Handle xfail- lines.  Update calls to compiletest and
17555         runtest.  Handle xfail- and optional- in headers listed with
17556         allow-header.
17557         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17558         (O_EXEC): Likewise.
17559         (O_SEARCH): Likewise.
17560         * conform/data/stropts.h-data (ioctl): Likewise.
17561         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17562         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17563         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17564         (msghdr.msg_controllen): Likewise.
17565         (cmsghdr.cmsg_len): Likewise.
17566         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17567         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17568         variable.
17569         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17570         (test-xfail-XPG4/stropts.h/conform): Likewise.
17571         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17572         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17573         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17574         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17575         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17576         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17577         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17578         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17579         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17580         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17581         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17582         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17583         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17584         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17585         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17586         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17587         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17588         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17589         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17591 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17593         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17594         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17595         definitions for proper unfolding of __MATHDECL_VEC.
17597 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17599         * benchtests/bench-strcoll.c:
17600         Include string.h.
17601         (main): Remove unused variable res.
17603 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17605         * timezone/Makefile (%/UTC %/Universal):
17606         Generate test-result files for UTC and Universal.
17608 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17610         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17612 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17614         [BZ #16350]
17615         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17616         for arguments with small absolute value.
17617         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17618         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17619         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17620         (__asinh): Force underflow exception for arguments with small
17621         absolute value.
17622         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17623         (__asinhf): Force underflow exception for arguments with small
17624         absolute value.
17625         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17626         (__asinhl): Force underflow exception for arguments with small
17627         absolute value.
17628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17629         (__asinhl): Force underflow exception for arguments with small
17630         absolute value.
17631         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17632         (__asinhl): Force underflow exception for arguments with small
17633         absolute value.
17634         * math/auto-libm-test-in: Do not mark underflow exceptions as
17635         possibly missing for bug 16350.
17636         * math/auto-libm-test-out: Regenerated.
17638         * include/bits/ipc.h: Remove file.
17639         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17640         variable.
17641         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17642         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17643         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17644         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17645         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17646         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17647         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17648         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17649         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17651         * math/auto-libm-test-in: Remove spurious underflow allowance for
17652         tests of cexp.
17653         * math/auto-libm-test-out: Regenerated.
17655         [BZ #18558]
17656         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17657         unconditional definition.
17658         (MCAST_BLOCK_SOURCE): Likewise.
17659         (MCAST_UNBLOCK_SOURCE): Likewise.
17660         (MCAST_LEAVE_GROUP): Likewise.
17661         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17662         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17663         (MCAST_MSFILTER): Likewise.
17664         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17665         Remove variable.
17666         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17667         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17668         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17669         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17670         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17672 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17674         * NEWS: Mention addition of x86_64 vector sincosf.
17675         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17676         * math/test-float-vlen4.h: Likewise.
17677         * math/test-float-vlen8.h: Likewise.
17678         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17679         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17680         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17681         * sysdeps/x86_64/fpu/Versions: New versions added.
17682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17684         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17686         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17687         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17688         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17689         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17690         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17691         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17692         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17693         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17694         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17695         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17696         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17697         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17698         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17699         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17700         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17701         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17702         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17704         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17705         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17707         * NEWS: Mention addition of x86_64 vector sincos.
17708         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17709         * math/math.h (__MATHDECL_VEC): New macro.
17710         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17711         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17712         declaration under condition.
17713         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17714         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17715         TEST_VEC_LOOP change.
17716         * math/test-double-vlen4.h: Likewise.
17717         * math/test-double-vlen8.h: Likewise.
17718         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17719         * math/test-float-vlen4.h: Likewise.
17720         * math/test-float-vlen8.h: Likewise.
17721         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17722         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17723         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17724         * sysdeps/x86_64/fpu/Versions: New versions added.
17725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17726         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17727         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17729         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17731         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17732         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17734         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17735         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17736         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17737         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17738         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17739         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17740         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17741         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17742         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17745         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17746         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17747         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17748         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17752         redirections for powf.
17753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17754         * sysdeps/x86_64/fpu/Versions: New versions added.
17755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17756         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17757         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17758         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17760         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17761         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17762         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17763         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17764         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17765         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17766         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17767         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17768         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17769         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17770         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17771         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17772         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17773         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17774         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17775         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17777         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17778         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17779         * math/test-float-vlen16.h: Fixed 2 argument macro.
17780         * math/test-float-vlen4.h: Likewise.
17781         * math/test-float-vlen8.h: Likewise.
17782         * NEWS: Mention addition of x86_64 vector powf.
17784 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17786         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17787         and redefine.
17788         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17789         and redefine.
17790         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17791         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17792         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17794         [BZ #18553]
17795         * resource/getpriority.c (getpriority): Rename to __getpriority
17796         and define as weak alias of __getpriority.
17797         * resource/setpriority.c (setpriority): Rename to __setpriority
17798         and define as weak alias of __setpriority.
17799         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17800         __getpriority and define as weak alias of __getpriority.
17801         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17802         __setpriority and define as weak alias of __setpriority.
17803         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17804         strong name.
17805         (setpriority): Use __setpriority as strong name.
17806         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17807         __getpriority and define as weak alias of __getpriority.
17808         * include/sys/resource.h (__getpriority): Declare.  Use
17809         libc_hidden_proto.
17810         (__setpriority): Likewise.
17811         (getpriority): Don't use libc_hidden_proto.
17812         (setpriority): Likewise.
17813         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17814         getpriority.  Call __setpriority instead of setpriority.
17815         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17816         Remove variable.
17818         [BZ #18547]
17819         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17820         as weak alias of __getttynam.  Use prototype function definition.
17821         Call __setttyent, __getttyent and __endttyent instead of
17822         setttyent, getttyent and endttyent.
17823         (getttyent): Rename to __getttyent and define as weak alias of
17824         __getttyent.  Call __setttyent instead of setttyent.  Call
17825         __fgets_unlocked instead of fgets_unlocked.
17826         (setttyent): Rename to __setttyent and define as weak alias of
17827         __setttyent.
17828         (endttyent): Rename to __endttyent and define as weak alias of
17829         __endttyent.
17830         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17831         (__setttyent): Likewise.
17832         (__endttyent): Likewise.
17833         (getttyent): Don't use libc_hidden_proto.
17834         (setttyent): Likewise.
17835         (endttyent): Likewise.
17836         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17837         __endttyent instead of setttyent, getttyent and endttyent.
17838         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17839         Remove variable.
17841         [BZ #18546]
17842         * socket/recv.c (__recv): Use libc_hidden_def.
17843         * socket/socket.c (__socket): Likewise.
17844         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17845         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17846         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17847         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17848         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17849         libc_hidden_def.
17850         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17851         libc_hidden_weak.
17852         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17853         Use libc_hidden_proto.
17854         (__recv): Likewise.
17855         * socket/Versions (libc): Export __recv and __socket at version
17856         GLIBC_PRIVATE.
17857         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17858         instead of recv.
17859         (init_mq_netlink): Call __socket instead of socket.
17860         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17861         Remove variable.
17863         [BZ #18545]
17864         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17865         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17866         hidden_weak.
17867         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17868         define as alias of __mq_timedsend.  Use hidden_weak.
17869         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17870         __mq_timedsend as strong name.
17871         (mq_timedreceive): Use __mq_timedreceive as strong name.
17872         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17873         (__mq_timedreceive): Likewise.
17874         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17875         __mq_timedreceive instead of mq_timedreceive.
17876         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17877         instead of mq_timedsend.
17878         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17879         Remove variable.
17881         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17882         hidden_def and hidden_weak instead of libc_hidden_def and
17883         libc_hidden_weak.
17884         (top level): Refer to hidden_def in comment.
17885         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17886         macro.  Use it instead of libc_hidden_def.
17887         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17888         specify __GI_* name explicitly.
17889         (mq_timedreceive): Likewise.
17890         (mq_setattr): Likewise.
17892         [BZ #18544]
17893         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17894         __pthread_barrier_init and define as weak alias of
17895         __pthread_barrier_init.
17896         * sysdeps/sparc/nptl/pthread_barrier_init.c
17897         (pthread_barrier_init): Likewise.
17898         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17899         __pthread_barrier_wait and define as weak alias of
17900         __pthread_barrier_wait.
17901         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17902         (pthread_barrier_wait): Likewise.
17903         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17904         (pthread_barrier_wait): Likewise.
17905         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17906         (pthread_barrier_wait): Likewise.
17907         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17908         (pthread_barrier_wait): Likewise.
17909         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17910         __pthread_barrier_wait at version GLIBC_PRIVATE.
17911         * include/pthread.h (__pthread_barrier_init): Declare.
17912         (__pthread_barrier_wait): Likewise.
17913         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17914         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17915         (helper_thread): Likewise.
17916         (init_mq_netlink): Call __pthread_barrier_init instead of
17917         pthread_barrier_init.
17919         [BZ #18542]
17920         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17921         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17922         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17923         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17924         vswscanf.
17925         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17926         Remove variable.
17928         [BZ #18540]
17929         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17930         strong alias of _IO_fflush.  Use libc_hidden_def.
17931         * libio/iofflush_u.c (fflush_unlocked): Rename to
17932         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17933         Use libc_hidden_weak.
17934         * include/stdio.h (__fflush_unlocked): Declare.  Use
17935         libc_hidden_proto.
17936         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17937         fflush_unlocked.
17938         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17939         Remove variable.
17941         [BZ #18539]
17942         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17943         define as weak alias of __addseverity.
17944         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17945         Remove variable.
17946         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17947         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17948         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17950         [BZ #18536]
17951         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17952         (__tfind): Likewise.
17953         (__tdelete): Likewise.
17954         (__twalk): Likewise.
17955         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17956         __twalk to GLIBC_PRIVATE.
17957         * include/search.h (__tsearch): Use libc_hidden_proto.
17958         (__tfind): Likewise.
17959         (__tdelete): Likewise.
17960         (__twalk): Likewise.
17961         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17962         Call __tdelete instead of tdelete.
17963         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17964         tfind.  Call __tsearch instead of tsearch.
17965         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17966         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17967         Remove variable.
17968         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17970         [BZ #18534]
17971         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17972         (dprintf): Define as a weak alias of __dprintf, not a strong
17973         alias.
17974         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17975         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17976         dprintf.
17977         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17978         Remove variable.
17979         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17980         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17982         [BZ #18533]
17983         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17984         not a strong alias.
17985         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17986         Remove variable.
17988         [BZ #18532]
17989         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17990         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17991         (in6addr_loopback): Rename to __in6addr_loopback and define as
17992         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17993         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17994         libc_hidden_proto.
17995         (__in6addr_any): Likewise.
17996         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17997         in6addr_any.
17998         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17999         variable.
18000         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18002 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18004         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18005         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18006         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18007         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18008         redirections for pow.
18009         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18010         * sysdeps/x86_64/fpu/Versions: New versions added.
18011         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18012         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18013         build of SSE, AVX2 and AVX512 IFUNC versions.
18014         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18015         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18016         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18017         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18018         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18019         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18020         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18021         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18022         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18023         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18024         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18025         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18026         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18027         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18028         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18031         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18032         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18033         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18034         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18035         * NEWS: Mention addition of x86_64 vector pow.
18037         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18038         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18039         redirections for expf.
18040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18041         * sysdeps/x86_64/fpu/Versions: New versions added.
18042         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18044         build of SSE, AVX2 and AVX512 IFUNC versions.
18045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18046         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18047         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18048         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18049         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18050         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18051         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18052         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18053         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18054         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18055         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18056         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18057         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18058         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18059         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18060         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18061         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18063         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18064         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18065         * NEWS: Mention addition of x86_64 vector expf.
18067         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18068         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18069         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18070         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18071         redirections for exp.
18072         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18073         * sysdeps/x86_64/fpu/Versions: New versions added.
18074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18075         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18076         build of SSE, AVX2 and AVX512 IFUNC versions.
18077         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18078         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18079         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18080         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18081         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18082         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18083         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18084         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18085         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18086         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18087         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18088         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18089         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18090         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18091         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18092         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18093         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18094         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18095         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18096         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18097         * NEWS: Mention addition of x86_64 vector exp.
18099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18100         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18101         redirections for logf.
18102         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18103         * sysdeps/x86_64/fpu/Versions: New versions added.
18104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18105         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18106         build of SSE, AVX2 and AVX512 IFUNC versions.
18107         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18108         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18109         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18110         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18111         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18112         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18113         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18114         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18115         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18116         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18117         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18118         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18119         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18120         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18121         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18122         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18124         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18125         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18126         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18127         * NEWS: Mention addition of x86_64 vector logf.
18129         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18130         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18133         redirections for log.
18134         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18135         * sysdeps/x86_64/fpu/Versions: New versions added.
18136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18138         build of SSE, AVX2 and AVX512 IFUNC versions.
18139         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18140         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18141         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18142         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18143         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18144         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18145         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18146         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18147         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18148         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18149         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18150         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18151         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18152         test.
18153         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18154         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18155         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18156         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18157         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18158         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18159         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18160         * NEWS: Mention addition of x86_64 vector log.
18162 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18164         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18165         cfi_adjust_cfa_offset argument.
18166         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18167         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18169         [BZ #18034]
18170         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18171         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18172         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18173         ordering using ldar.
18174         (_dl_tlsdesc_dynamic): Likewise.
18175         (_dl_tlsdesc_return_lazy): Likewise.
18176         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18177         relaxed atomics instead of volatile and synchronize with release store.
18178         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18179         volatile.
18180         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18182 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18184         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18185         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18187         * sysdeps/x86_64/fpu/Versions: New versions added.
18188         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18189         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18190         build of SSE, AVX2 and AVX512 IFUNC versions.
18191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18196         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18197         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18198         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18199         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18200         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18201         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18202         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18203         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18204         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18205         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18206         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18209         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18210         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18211         * NEWS: Mention addition of x86_64 vector sinf.
18213 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18215         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18216         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18217         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18218         Remove variable.
18219         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18220         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18222 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18224         [BZ #18530]
18225         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18226         strong alias of _IO_fputs.  Use libc_hidden_def.
18227         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18228         and define as weak alias of __fputs_unlocked.  Use
18229         libc_hidden_weak.
18230         * include/stdio.h (__fputs_unlocked): Declare.  Use
18231         libc_hidden_proto.
18232         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18233         fputs_unlocked.
18235         [BZ #18529]
18236         * resolv/netdb.h [__USE_POSIX]: Change condition to
18237         [__USE_XOPEN2K].
18238         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18239         not expect.
18240         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18241         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18242         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18243         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18244         [XPG4 || UNIX98] (AI_ALL): Likewise.
18245         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18246         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18247         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18248         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18249         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18250         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18251         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18252         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18253         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18254         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18255         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18256         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18257         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18258         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18259         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18260         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18261         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18262         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18263         [XPG4 || UNIX98] (gai_strerror): Likewise.
18264         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18265         [XPG4 || UNIX98] (getnameinfo): Likewise.
18267         [BZ #18528]
18268         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18269         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18270         __USE_XOPEN2K8].
18271         (getgrent): Likewise.
18272         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18273         expect.
18274         [XPG3 || POSIX2008] (endgrent): Likewise.
18275         [XPG3] (setgrent): Likewise.
18276         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18277         variable.
18278         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18280         [BZ #18527]
18281         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18282         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18283         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18284         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18285         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18286         * include/unistd.h (__getlogin_r): Declare.  Use
18287         libc_hidden_proto.
18288         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18289         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18290         variable.
18291         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18292         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18293         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18295 2015-06-12  Martin Sebor  <msebor@redhat.com>
18297         [BZ #18512]
18298         * Makerules (check-install-supported): New target.
18299         (install): Add check-install-supported as a dependency.
18300         * manual/install.texi (Installing the C Library): Document
18301         that overriding prefix and exec_prefix is not supported.
18302         Mention DESTDIR.
18303         * INSTALL: Regenerate from the above.
18305 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18307         [BZ #18519]
18308         * posix/Versions (libc): Export __libc_pread at version
18309         GLIBC_PRIVATE.
18310         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18311         instead of pread.
18312         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18313         variable.
18315         [BZ #18522]
18316         * misc/efgcvt_r.c
18317         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18318         (cvt_symbol): Use weak_alias instead of strong_alias.
18319         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18320         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18321         Remove variable.
18322         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18323         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18325         [BZ #18520]
18326         * inet/herrno.c (h_errno): Rename to __h_errno.
18327         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18328         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18329         to __h_errno instead of h_errno.
18330         * nptl/herrno.c (h_errno): Rename to __h_errno.
18331         (__h_errno_location): Refer to __h_errno not h_errno.
18332         * resolv/Versions (h_errno): Rename to __h_errno.
18333         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18334         Remove variable.
18335         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18337 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18339         * configure.ac: More strict check for AVX512 assembler support.
18340         * configure: Regenerated.
18342         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18343         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18344         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18345         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18347         * sysdeps/x86_64/fpu/Versions: New versions added.
18348         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18349         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18350         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18354         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18356         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18357         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18358         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18359         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18360         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18361         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18362         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18363         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18364         test.
18365         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18366         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18367         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18368         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18369         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18370         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18371         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18372         * NEWS: Mention addition of x86_64 vector sin.
18374 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18376         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18377         comment.
18379 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18381         [BZ #18479]
18382         * nptl/pt-interp.c: New file.
18383         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18384         Add pt-interp.
18385         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18386         $(common-objpfx)runtime-linker.h.
18388 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18390         * Makeconfig (+interp): Remove unused variable.
18391         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18392         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18393         $(elf-objpfx)runtime-linker.h.
18394         ($(elf-objpfx)runtime-linker.h): Rename to
18395         $(common-objpfx)runtime-linker.h and move ...
18396         * Makerules [$(build-shared) = yes]: ... here.
18397         * elf/interp.c: Include <runtime-linker.h> instead of
18398         <elf/runtime-linker.h>.
18400 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18402         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18403         (__gettimeofday_syscall): Remove vsyscall fallback.
18404         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18405         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18406         Add syscall fallback function.
18407         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18408         if vDSO is not present.
18409         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18410         fallback function.
18411         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18412         present.
18413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18414         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18416 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18418         [BZ #18497]
18419         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18420         of wcscmp.
18421         (wcscmp): Define as weak alias of WCSCMP.
18422         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18423         wcscoll.
18424         (USE_HIDDEN_DEF): Define.
18425         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18426         __wcscoll.  Don't use libc_hidden_weak.
18427         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18428         wcscmp.
18429         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18430         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18431         __GI_wcscmp.
18432         (weak_alias): Undefine and redefine.
18433         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18434         __wcscmp and define as weak alias of __wcscmp.
18435         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18436         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18437         (__wcscoll): Likewise.
18438         (wcscmp): Don't use libc_hidden_proto.
18439         (wcscoll): Likewise.
18440         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18441         wcscoll.
18442         * posix/regexec.c (check_node_accept_bytes): Likewise.
18443         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18444         variable.
18445         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18446         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18448         [BZ #18507]
18449         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18450         __fstatvfs and define as weak alias of __fstatvfs.  Use
18451         libc_hidden_weak.
18452         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18453         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18454         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18455         Define as alias of __fstatvfs, not fstatvfs.
18456         (fstatvfs64): Likewise.
18457         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18458         Define as alias of __statvfs, not statvfs.
18459         (statvfs64): Likewise.
18460         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18461         Remove variable.
18463 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18466         (HAVE_GETCPU_VSYSCALL): Define.
18467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18468         (HAVE_GETCPU_VSYSCALL): Likewise.
18469         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18470         * sysdeps/unix/sysv/linux/sched_getcpu.c
18471         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18472         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18473         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18474         prototype.
18475         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18476         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18477         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18479         Define.
18480         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18481         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18482         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18485 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18487         * sysdeps/x86_64/fpu/Makefile: New file.
18488         * sysdeps/x86_64/fpu/Versions: New file.
18489         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18490         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18491         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18492         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18493         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18494         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18495         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18498         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18499         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18500         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18501         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18503         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18504         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18505         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18506         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18507         * sysdeps/x86_64/configure: Regenerated.
18508         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18510         * manual/install.texi (Configuring and compiling): Document
18511         --disable-mathvec.
18512         * INSTALL: Regenerated.
18513         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18515         * math/Makefile: Added rules for vector tests.
18516         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18517         declaration under condition.
18518         * math/test-double-vlen2.h: New file.
18519         * math/test-double-vlen4.h: New file.
18520         * math/test-double-vlen8.h: New file.
18521         * math/test-vec-loop.h: Added initialization macro.
18522         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18523         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18524         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18525         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18526         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18528         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18529         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18530         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18531         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18532         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18534         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18535         * sysdeps/x86_64/fpu/Versions: New versions added.
18536         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18538         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18539         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18540         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18541         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18542         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18543         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18544         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18546         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18547         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18548         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18550         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18553         * NEWS: Mention addition of x86_64 vector cosf.
18555         * math/Makefile: Added CFLAGS for new tests.
18556         * math/test-float-vlen16.h: New file.
18557         * math/test-float-vlen4.h: New file.
18558         * math/test-float-vlen8.h: New file.
18559         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18560         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18562         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18563         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18564         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18565         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18566         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18568         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18569         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18571 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18573         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18574         * locale/programs/ld-ctype.c: Likewise.
18576 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18578         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18579         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18580         bit_ZMM16_31_state): New macro.
18581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18582         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18584 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18586         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18588 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18590         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18592 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18594         [BZ #18498]
18595         * libio/memstream.c (open_memstream): Rename to __open_memstream
18596         and define as weak alias of __open_memstream.
18597         * include/stdio.h (__open_memstream): Declare.  Use
18598         libc_hidden_proto.
18599         (open_memstream): Don't use libc_hidden_proto.
18600         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18601         open_memstream.
18602         * posix/getopt.c (_getopt_internal_r): Likewise.
18603         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18604         variable.
18605         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18606         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18607         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18609         [BZ #18496]
18610         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18611         instead of wcrtomb.
18613         [BZ #18483]
18614         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18615         [__USE_XOPEN2K8].  Remove redundant #endif.
18616         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18617         Remove redundant #if.
18618         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18619         Remove variable.
18620         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18621         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18623         [BZ #18495]
18624         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18625         (__iswlower): Likewise.
18626         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18627         (__iswlower): Likewise.
18628         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18629         instead of towlower.
18630         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18631         instead of iswlower.  Call __towupper instead of towupper.
18632         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18633         instead of iswalnum.
18635 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18637         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18638         errors to stderr.
18640 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18642         [BZ #15661]
18643         [BZ #17322]
18644         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18645         Check for overflow properly.  Check for O_APPEND.  Ignore large
18646         file system block sizes.  Add comments about problems.
18647         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18648         * manual/filesys.texi (Storage Allocation): New node.
18650 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18652         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18653         cancellable syscalls.
18654         (SYS_ify): Add guard to no redefine it.
18655         (INLINE_SYSCALL): Likewise.
18656         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18657         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18658         SYSCALL_CANCEL instead.
18659         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18660         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18661         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18662         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18663         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18664         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18665         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18666         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18667         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18668         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18669         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18670         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18671         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18672         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18673         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18675         Likewise.
18676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18677         (__libc_pread64): Likewise.
18678         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18679         (__libc_preadv): Likewise.
18680         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18681         (__libc_readv64): Likewise.
18682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18683         (__libc_pwrite): Likewise.
18684         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18685         (__libc_pwrite64): Likewise.
18686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18687         (__libc_pwritev): Likewise.
18688         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18689         (__libc_pwritev64): Likewise.
18690         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18691         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18692         (sync_file_range): Likewise.
18693         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18694         Likewise.
18695         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18696         Likewise.
18697         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18698         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18699         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18700         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18701         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18702         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18703         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18704         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18706         Likewise.
18707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18708         (__libc_read64): Likewise.
18709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18710         Likewise.
18711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18712         Likewise.
18713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18714         Likewise.
18715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18716         Likewise.
18717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18718         (__libc_pread64): Likewise.
18719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18720         Likewise.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18722         (__libc_pwrite64): Likewise.
18723         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18724         (sync_file_range): Likewise.
18725         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18726         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18727         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18728         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18729         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18730         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18731         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18732         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18733         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18734         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18735         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18736         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18737         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18738         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18739         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18740         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18741         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18742         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18743         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18744         Likewise.
18745         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18746         Likewise.
18747         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18748         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18749         Likewise.
18750         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18751         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18752         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18753         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18754         Likewise.
18755         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18756         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18757         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18758         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18759         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18761 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18763         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18764         Include dl-vdso.
18765         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18766         Use VDSO routines for gettimeofday, clock_gettime if
18767         available.
18768         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18769         Declare VDSO symbols.
18770         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18771         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18772         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18773         * sysdeps/unix/sysv/linux/arm/Versions: Add
18774         __vdso_clock_gettime.
18776 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18778         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18779         be an inline implementation regardless of library is built within.
18780         (open_not_cancel_2): Likewise.
18781         (__read_nocancel): Likewise.
18782         (__write_nocancel): Likewise.
18783         (openat_not_cancel): Likewise.
18784         (openat_not_cancel_3): Likewise.
18785         (openat64_not_cancel): Likewise.
18786         (openat64_not_cancel_3): Likewise.
18787         (__close_nocancel): Likewise.
18788         (pause_not_cancel): Likewise.
18789         (nanosleep_not_cancel): Likewise.
18790         (sigsuspend_not_cancel): Likewise.
18792 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18794         [BZ #14958]
18795         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18796         wake-up.
18797         (__pthread_rwlock_rdlock_slow): Likewise.
18798         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18799         Likewise.
18800         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18801         Likewise.
18802         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18803         * nptl/tst-rwlock16.c: New file.
18804         * nptl/Makefile (tests): Add new test.
18806 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18808         [BZ #18324]
18809         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18810         missing wake-up of readers.
18811         * nptl/tst-rwlock15.c: New file.
18812         * nptl/Makefile (tests): Add new test.
18814 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18816         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18817         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18818         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18819         and __nacl_supply_interface_rtld.
18820         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18821         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18822         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18823         Add __nacl_supply_interface_rtld.
18824         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18826 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18828         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18829         isfinite.
18830         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18831         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18833 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18835         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18836         __signbit* with standard C99 macros.
18837         * math/e_exp10l.c: Likewise.
18838         * math/e_exp2l.c: Likewise.
18839         * math/e_scalb.c: Likewise.
18840         * math/e_scalbf.c: Likewise.
18841         * math/e_scalbl.c: Likewise.
18842         * math/s_ldexp.c: Likewise.
18843         * math/s_ldexpf.c: Likewise.
18844         * math/s_ldexpl.c: Likewise.
18845         * math/w_atan2.c: Likewise.
18846         * math/w_atan2f.c: Likewise.
18847         * math/w_atan2l.c: Likewise.
18848         * math/w_cosh.c: Likewise.
18849         * math/w_coshf.c: Likewise.
18850         * math/w_coshl.c: Likewise.
18851         * math/w_exp10.c: Likewise.
18852         * math/w_exp10f.c: Likewise.
18853         * math/w_exp10l.c: Likewise.
18854         * math/w_exp2.c: Likewise.
18855         * math/w_exp2f.c: Likewise.
18856         * math/w_exp2l.c: Likewise.
18857         * math/w_fmod.c: Likewise.
18858         * math/w_fmodf.c: Likewise.
18859         * math/w_fmodl.c: Likewise.
18860         * math/w_hypot.c: Likewise.
18861         * math/w_hypotf.c: Likewise.
18862         * math/w_hypotl.c: Likewise.
18863         * math/w_jnl.c: Likewise.
18864         * math/w_lgamma.c: Likewise.
18865         * math/w_lgamma_r.c: Likewise.
18866         * math/w_lgammaf.c: Likewise.
18867         * math/w_lgammaf_r.c: Likewise.
18868         * math/w_lgammal.c: Likewise.
18869         * math/w_lgammal_r.c: Likewise.
18870         * math/w_pow.c: Likewise.
18871         * math/w_powf.c: Likewise.
18872         * math/w_powl.c: Likewise.
18873         * math/w_remainder.c: Likewise.
18874         * math/w_remainderf.c: Likewise.
18875         * math/w_remainderl.c: Likewise.
18876         * math/w_scalb.c: Likewise.
18877         * math/w_scalbf.c: Likewise.
18878         * math/w_scalbl.c: Likewise.
18879         * math/w_scalbln.c: Likewise.
18880         * math/w_scalblnf.c: Likewise.
18881         * math/w_scalblnl.c: Likewise.
18882         * math/w_sinh.c: Likewise.
18883         * math/w_sinhf.c: Likewise.
18884         * math/w_sinhl.c: Likewise.
18885         * math/w_tgamma.c: Likewise.
18886         * math/w_tgammaf.c: Likewise.
18887         * math/w_tgammal.c: Likewise.
18888         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18889         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18890         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18891         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18892         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18893         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18894         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18895         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18896         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18897         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18898         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18899         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18900         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18901         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18902         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18903         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18904         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18905         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18906         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18910         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18912         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18913         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18916         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18917         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18918         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18919         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18920         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18921         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18922         * stdio-common/printf_fp.c: Likewise.
18923         * stdio-common/printf_fphex.c: Likewise.
18924         * stdio-common/printf_size.c: Likewise.
18926 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18928         [BZ #18470]
18929         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18930         strnlen.
18931         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18932         Remove variable.
18933         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18934         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18935         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18936         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18937         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18938         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18939         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18940         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18941         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18942         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18944         [BZ #18468]
18945         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18946         weak alias of __wmemchr.  Use libc_hidden_weak.
18947         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18948         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18949         instead of wmemchr.
18951 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18953         [BZ #18383]
18954         * elf/tst-tlsalign-extern.c: New file.
18955         * elf/tst-tlsalign-extern-static.c: New file.
18956         * elf/tst-tlsalign-vars.c: New file.
18957         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18958         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18959         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18960         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18961         (test-xfail-tst-tlsalign-extern-static): New variable.
18963 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18965         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18966         Use variable name _sc_err instead of err.
18967         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18968         instead of ret.
18969         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18970         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18971         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18972         (INLINE_SYSCALL): Likewise.
18974         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18975         * include/string.h (__strnlen): Use libc_hidden_proto.
18976         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18977         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18978         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18979         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18980         (libc_hidden_def): Undefine and redefine.
18981         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18982         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18983         __GI_strnlen.
18984         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18985         libc_hidden_def.
18986         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18988         [BZ #18469]
18989         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18990         weak alias of __towlower.  Use libc_hidden_weak.
18991         (towupper): Rename to __towupper and define as weak alias of
18992         __towupper.  Use libc_hidden_weak.
18993         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18994         (__towupper): Likewise.
18995         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18996         __towlower instead of towlower.
18998 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19000         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19001         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19003 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19005         * sysdeps/aarch64/libm-test-ulps: Update.
19007 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19009         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19010         Define.
19011         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19013         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19014         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19015         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19016         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19017         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19019 2015-06-01  Martin Sebor  <msebor@redhat.com>
19021         [BZ #18116]
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19023         (__setcontext): Use extended four-operand version of mtsf whenever
19024         possible.
19025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19026         (__novec_swapcontext): Likewise.
19028 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19030         * benchtests/scripts/compare_bench.py: New file.
19031         * benchtests/scripts/import_bench.py (mean): New function.
19032         (split_list): Likewise.
19033         (do_for_all_timings): Likewise.
19034         (compress_timings): Likewise.
19036         * benchtests/scripts/import_bench.py: New file.
19037         * benchtests/scripts/validate_benchout.py: Import import_bench
19038         instead of jsonschema.
19039         (validate_bench): Remove function.
19040         (main): Use import_bench.
19042 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19044         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19045         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19047 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19051 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19053         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19054         set THREAD_SELF->tid to a magic value and futex-wake it.
19055         Pass its address to the thread_exit system call.
19056         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19057         bit is clear.
19058         * sysdeps/nacl/lowlevellock.h: New file.
19059         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19061         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19062         Add TIMEOUT to current time, don't subtract it.
19064 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19066         [BZ #2981]
19067         [BZ #18422]
19068         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19069         ($(objpfx)tst-audit2.out): Also depend on
19070         $(objpfx)tst-auditmod9b.so.
19071         * elf/tst-audit2.c: Include <dlfcn.h>.
19072         (calloc_called): New.
19073         (calloc): Allow to be called more than once.
19074         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19076 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19078         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19079         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19081 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19083         * stdlib/monetary.h: Fix comment.
19085 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19087         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19088         Avoid using variables in #defines that might cause shadowing.
19089         (INTERNAL_VSYSCALL_CALL): Likewise.
19091 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19093         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19095         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19096         * nptl/lll_timedlock_wait.c: ... to this new file.
19097         * nptl/Makefile (libpthread-routines): Add it.
19098         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19099         * nptl/lll_timedwait_tid.c: ... to this new file.
19100         * nptl/Makefile (libpthread-routines): Add it.
19101         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19102         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19103         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19104         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19105         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19106         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19107         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19108         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19109         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19110         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19112 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19114         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19115         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19116         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19118         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19120         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19122         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19123         * sysdeps/unix/sysv/linux/tile/sysdep.h
19124         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19125         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19126         using vDSO syscall macro.
19128 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19130         [BZ #17293]
19131         * uk_UA: Fix sorting order for Ukrainian locale
19133 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19135         * stdlib/monetary.h: Fix comment.
19137 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19139         [BZ #18234]
19140         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19141         st_mtim and st_ctim members.
19142         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19143         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19144         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19145         (struct stat64): Likewise.
19146         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19147         (struct stat64): Likewise.
19148         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19149         (struct stat64): Likewise.
19151 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19153         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19154         Define and include sysdep-vdso.h.
19155         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19156         Likewise.
19157         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19158         Likewise.
19159         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19160         Define with VDSO_SYMBOL and use PTR_MANGLE.
19161         (__vdso_clock_gettime): Likewise.
19162         (__vdso_clock_getres): Likewise.
19163         (_libc_vdso_platform_setup): Likewise.
19164         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19165         Likewise.
19166         (_libc_vdso_platform_setup): Likewise.
19167         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19168         Likewise.
19169         (__vdso_clock_gettime): Likewise.
19170         (__vdso_clock_getres): Likewise.
19171         (__vdso_get_tbfreq): Likewise.
19172         (__vdso_getcpu): Likewise.
19173         (__vdso_time): Likewise.
19174         (__vdso_sigtramp_rt64): Likewise.
19175         (__vdso_signtramp32): Likewise.
19176         (__vdso_sigtramp_rt32): Likewise.
19177         (_libc_vdso_platform_setup): Likewise.
19178         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19179         Likewise.
19180         (__vdso_clock_gettime): Likewise.
19181         (__vdso_clock_getres): Likewise.
19182         (_libc_vdso_platform_setup): Likewise.
19183         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19184         Likewise.
19185         (__vdso_clock_gettime): Likewise.
19186         (_libc_vdso_platform_setup): Likewise.
19187         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19188         Likewise.
19189         (__vdso_getcpu): Likewise.
19190         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19191         Use VDSO_SYMBOL macro to define.
19192         (__vdso_clock_gettime): Likewise.
19193         (__vdso_clock_getres): Likewise.
19194         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19195         Likewise.
19196         (__vdso_clock_gettime): Likewise.
19197         (__vdso_clock_getres): Likewise.
19198         (__vdso_get_tbfreq): Likewise.
19199         (__vdso_getcpu): Likewise.
19200         (__vdso_time): Likewise.
19201         (__vdso_sigtramp_rt64): Likewise.
19202         (__vdso_signtramp32): Likewise.
19203         (__vdso_sigtramp_rt32): Likewise.
19204         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19205         Likewise.
19206         (__vdso_clock_gettime): Likewise.
19207         (__vdso_clock_getres): Likewise.
19208         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19209         Likewise.
19210         (__vdso_clock_gettime): Likewise.
19211         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19212         Likewise.
19213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19214         macro.
19215         (INTERNAL_VSYSCALL): Likewise.
19216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19217         Remove macro.
19218         (INTERNAL_VSYSCALL): Likewise.
19219         (INTERNAL_VSYSCALL_NCS): Likewise.
19220         (INTERNAL_VSYSCALL_CALL): New macro.
19221         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19223         Likewise.
19224         (INTERNAL_VSYSCALL): Likewise.
19225         (INTERNAL_VSYSCALL_NCS): Likewise.
19226         (INTERNAL_VSYSCALL_CALL): New macro.
19227         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19229         (INLINE_VSYSCALL): Remove macro.
19230         (INTERNAL_VSYSCALL): Remove macro.
19231         (INTERNAL_VSYSCALL_NCS): Remove macro.
19232         (INTERNAL_VSYSCALL_CALL): New macro.
19233         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19234         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19235         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19236         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19237         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19239         (INLINE_VSYSCALL): Remove macro.
19240         (INTERNAL_VSYSCALL): Likewise.
19241         (INTERNAL_VSYSCALL_NCS): Likewise.
19242         (INTERNAL_VSYSCALL_CALL): New macro.
19243         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19244         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19245         PTR_DEMANGLE on vDSO pointer.
19246         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19247         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19248         macro.
19249         (INTERNAL_SYSCALL): Likewise.
19250         (INTERNAL_VSYSCALL_NCS): Remove macro.
19251         (INTERNAL_VSYSCALL_CALL): New macro.
19252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19253         Remove macro.
19254         (INTERNAL_VSYSCALL): Likewise.
19255         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19256         sysdep-vdso.h instead of libc-vdso.h.
19257         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19258         definition.
19259         (INLINE_VSYSCALL): Likewise.
19260         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19261         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19262         definition.
19263         (INLINE_VSYSCALL): Likewise.
19264         (INTERNAL_VSYSCALL): Likewise.
19265         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19266         * sysdeps/unix/sysv/linux/timespec_get.c
19267         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19268         (timespec_get): Use ANSI prototype.
19269         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19270         and definition for Linux.
19272 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19274         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19275         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19277 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19279         [BZ #2981]
19280         [BZ #18410]
19281         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19282         for missing DT_PLTRELSZ.
19284 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19286         Remove obsolete aliases that broke 'locale -a'
19287         [BZ #18412]
19288         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19289         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19290         breaking some applications that use 'locale -a' output.
19291         Change the encoding of this file from Latin-1 to ASCII to avoid
19292         other potential problems with people grepping this file.
19294 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19296         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19297         -fasynchronous-unwind-tables.
19298         (CFLAGS-sendto.c): Likewise.
19299         (CFLAGS-sendmsg.c): Likewise.
19300         (CFLAGS-connect.c): Likewise.
19301         (CFLAGS-recvmsg.c): Likewise.
19302         (CFLAGS-recvfrom.c): Likewise.
19303         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19304         (SOCKETCALL): New macro: non-cancellable socketcall.
19305         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19306         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19307         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19308         * sysdeps/unix/sysv/linux/accept.c: New file.
19309         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19310         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19311         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19312         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19313         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19314         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19315         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19316         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19317         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19318         * sysdeps/unix/sysv/linux/send.c: Likewise.
19319         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19320         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19321         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19322         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19323         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19324         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19325         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19326         prototype.
19327         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19328         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19329         instead of __internal_xxx function.
19330         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19331         prototype.
19332         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19333         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19334         instead of __internal_xxx function.
19335         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19336         prototype.
19337         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19338         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19339         instead of __internal_xxx function.
19340         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19341         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19342         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19343         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19344         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19345         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19346         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19347         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19348         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19349         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19350         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19351         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19352         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19353         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19354         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19355         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19356         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19357         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19358         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19359         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19362         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19363         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19364         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19365         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19366         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19367         * sysdeps/unix/sysv/linux/send.S: Likewise.
19368         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19369         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19370         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19371         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19372         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19373         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19374         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19375         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19376         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19377         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19378         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19379         socketcall is implemented in GLIBC.
19381 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19383         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19384         (__fma): Ignore uninitialized warnings around packing.
19385         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19386         (__fmaf): Ignore uninitialized warnings around packing.
19387         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19388         (__fmal): Ignore uninitialized warnings around packing.
19390         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19391         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19392         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19393         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19395         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19396         switch statement into default case.
19397         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19399         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19400         a conditional in forcing "inexact".
19401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19402         Likewise.
19404 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19406         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19407         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19408         for each INTERNAL_SYSCALL use.
19410 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19412         [BZ #438]
19413         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19414         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19415         variable.
19417         [BZ #18444]
19418         * string/basename.c (basename): Rename to __basename and define as
19419         weak alias of __basename.  Use libc_hidden_weak.
19420         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19421         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19422         __basename instead of basename.
19423         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19424         Remove variable.
19425         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19427 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19429         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19430         (_IO_JUMPS_FILE_plus): New.
19431         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19432         _IO_CAST_FIELD_ACCESS.
19433         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19434         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19435         * libio/freopen.c (freopen): Likewise.
19436         * libio/freopen64.c (freopen64): Likewise.
19437         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19438         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19439         * libio/iofwide.c (_IO_fwide): Likewise.
19440         * libio/memstream.c (open_memstream): Likewise.
19441         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19442         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19443         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19445 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19447         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19448         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19449         NADJ.
19450         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19451         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19452         NADJ.
19453         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19454         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19455         NADJ.
19457         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19458         (p == 4) case.
19460         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19461         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19462         Remove variable.
19463         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19464         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19465         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19467 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19469         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19470         Adjust jump table label generation macros.
19472 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19474         * stdio-common/vfprintf.c (vfprintf): Move local variables
19475         args_malloced, specs, specs_malloced, and the code after
19476         do_positional to the printf_positional function.
19477         (printf_positional): New function.
19479 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19481         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19482         function.
19483         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19484         STEP4_TABLE, process_arg): Move macro definitions
19485         out of the vfprintf function.  (Cosmetic change only.)
19487 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19489         * benchtests/Makefile (stdio-common-bench): Define.
19490         (benchset): Add stdio-common-bench.
19491         * sprintf-inputs: New file.
19492         * sprintf-source.c: New file.
19494 2015-05-21  Andreas Schwab  <schwab@suse.de>
19496         [BZ #13028]
19497         [BZ #17053]
19498         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19499         of struct __res_state.
19500         * resolv/res_send.c (__libc_res_nsend): Likewise.
19501         (get_nsaddr): New function.
19502         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19503         statp directly.
19505 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19507         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19508         -D_POSIX_C_SOURCE=199506L.
19510         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19512         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19513         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19514         Do not mention otherwise.
19515         [POSIX] (_XOPEN_VERSION): Do not expect.
19516         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19517         [POSIX] (_POSIX2_C_BIND): Likewise.
19518         [POSIX] (_POSIX2_VERSION): Likewise.
19519         [POSIX] (_XOPEN_XPG2): Likewise.
19520         [POSIX] (_XOPEN_XPG3): Likewise.
19521         [POSIX] (_XOPEN_XPG4): Likewise.
19522         [POSIX] (_XOPEN_UNIX): Likewise.
19523         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19524         [POSIX] (_POSIX_BARRIERS): Likewise.
19525         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19526         [POSIX] (_POSIX_CPUTIME): Likewise.
19527         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19528         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19529         [POSIX] (_POSIX_SHELL): Likewise.
19530         [POSIX] (_POSIX_SPAWN): Likewise.
19531         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19532         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19533         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19534         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19535         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19536         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19537         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19538         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19539         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19540         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19541         [POSIX] (_POSIX2_PBS): Likewise.
19542         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19543         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19544         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19545         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19546         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19547         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19548         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19549         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19550         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19551         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19552         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19553         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19554         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19555         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19556         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19557         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19558         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19559         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19560         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19561         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19562         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19563         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19564         [POSIX] (_SC_2_C_BIND): Likewise.
19565         [POSIX] (_SC_2_C_VERSION): Likewise.
19566         [POSIX] (_SC_2_PBS): Likewise.
19567         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19568         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19569         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19570         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19571         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19572         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19573         [POSIX] (_SC_BARRIERS): Likewise.
19574         [POSIX] (_SC_BASE): Likewise.
19575         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19576         [POSIX] (_SC_DEVICE_IO): Likewise.
19577         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19578         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19579         [POSIX] (_SC_FD_MGMT): Likewise.
19580         [POSIX] (_SC_FIFO): Likewise.
19581         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19582         [POSIX] (_SC_FILE_LOCKING): Likewise.
19583         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19584         [POSIX] (_SC_IOV_MAX): Likewise.
19585         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19586         [POSIX] (_SC_NETWORKING): Likewise.
19587         [POSIX] (_SC_PAGE_SIZE): Likewise.
19588         [POSIX] (_SC_PASS_MAX): Likewise.
19589         [POSIX] (_SC_PIPE): Likewise.
19590         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19591         [POSIX] (_SC_REGEXP): Likewise.
19592         [POSIX] (_SC_SHELL): Likewise.
19593         [POSIX] (_SC_SIGNALS): Likewise.
19594         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19595         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19596         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19597         [POSIX] (_SC_USER_GROUPS): Likewise.
19598         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19599         [POSIX] (_SC_STREAMS): Likewise.
19600         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19601         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19602         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19603         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19604         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19605         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19606         [POSIX] (_PC_FILESIZEBITS): Likewise.
19607         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19608         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19609         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19610         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19611         [POSIX] (uid_t): Likewise.
19612         [POSIX] (gid_t): Likewise.
19613         [POSIX] (off_t): Likewise.
19614         [POSIX] (pid_t): Likewise.
19615         [POSIX] (cuserid): Allow.
19616         (_SC_2_CHAR_TERM): Require constant.
19617         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19618         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19619         variable.
19621 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19623         * sysdeps/nacl/pthread-pids.h: New file.
19624         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19625         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19627         * nptl/pthread-pids.h: New file.
19628         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19629         * nptl/nptl-init.c: Include <pthread-pids.h>.
19630         (__pthread_initialize_minimal_internal):
19631         Call __pthread_initialize_pids instead of set_tid_address syscall.
19633         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19634         * sysdeps/posix/usleep.c: ... here.
19636 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19638         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19639         call_pselect6 object.
19640         [$(subdir) = io]: Remove call_sync_file_range object.
19641         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19642         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19643         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19644         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19646 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19648         * math/s_cproj.c: Add include "math_private.h".
19649         * math/s_cprojf.c: Likewise.
19650         * math/s_cprojl.c: Likewise.
19652 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19654         [BZ #18244]
19655         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19656         high mantissa bit when testing whether P is a NaN.
19657         * math/libm-test.inc (remainder_test_data): Add more tests.
19658         (remquo_test_data): Likewise.
19660         [BZ #18049]
19661         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19662         below -32, return the argument, with underflow if subnormal.
19663         * math/auto-libm-test-in: Add more tests of atanh.
19664         * math/auto-libm-test-out: Regenerated.
19666 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19668         [BZ #18434]
19669         * nptl/tst-sem15.c: New file.
19670         * nptl/Makefile (tests): Add it.
19671         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19672         s/<</>>/ to fix typo in EOVERFLOW check.
19673         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19675 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19677         * manual/strings.texi (envz_remove): Fix typo in safety
19678         annotations.
19680 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19681             Steve Ellcey  <sellcey@imgtec.com>
19683         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19684         in order to avoid strict alias warnings.
19685         (iruserok_af): Ditto for ra.
19687 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19689         [BZ #17581]
19690         * malloc/hooks.c
19691         (magicbyte): Convert to a function and avoid returning 0x01.
19692         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19693         (mem2chunk_check): Fix unsigned comparisons to zero.
19694         Hoist defs of sz and magic.
19696 2015-05-19  Richard Henderson  <rth@redhat.com>
19698         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19700         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19702 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19704         [BZ #16159]
19705         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19706         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19707         (reused_arena): Find a non-corrupt arena.
19708         (heap_trim): Pass arena to unlink.
19709         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19710         malloc_printerr.
19711         (top_check): Likewise.
19712         (free_check): Likewise.
19713         (realloc_check): Likewise.
19714         * malloc/malloc.c (malloc_printerr): Add arena argument.
19715         (unlink): Likewise.
19716         (munmap_chunk): Adjust.
19717         (ARENA_CORRUPTION_BIT): New macro.
19718         (arena_is_corrupt): Likewise.
19719         (set_arena_corrupt): Likewise.
19720         (sysmalloc): Use mmap if there are no usable arenas.
19721         (_int_malloc): Likewise.
19722         (__libc_malloc): Don't fail if arena_get returns NULL.
19723         (_mid_memalign): Likewise.
19724         (__libc_calloc): Likewise.
19725         (__libc_realloc): Adjust for additional argument to
19726         malloc_printerr.
19727         (_int_free): Likewise.
19728         (malloc_consolidate): Likewise.
19729         (_int_realloc): Likewise.
19730         (_int_memalign): Don't touch corrupt arenas.
19731         * malloc/tst-malloc-backtrace.c: New test case.
19733         * Makefile (summarize-tests): Fix return value on success.
19735         * manual/string.texi (Envz Functions): Add envz_remove.
19737 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19739         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19740         (invalid_name): New function, broken out of ...
19741         (__opendirat): ... here.  Call it.
19742         (need_isdir_precheck): New function, broken out of ...
19743         (__opendirat): ... here.  Call it.
19744         Use __fxstatat64, not __xstatat64.
19745         (opendir_oflags): New function, broken out of ...
19746         (__opendirat): ... here.  Call it.
19747         (opendir_tail): New function, broken out of ...
19748         (__opendirat): ... here.  Call it.
19749         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19750         opendir_tail, rather than punting to __opendirat.
19751         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19753 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19755         * .gitignore: Ignore generated *.pyc.
19757 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19759         * include/stdio.h: Define __need_wint_t.
19760         * test-skeleton.c: Avoid `for' loop initial declaration.
19761         * nptl/tst-initializers1.c: Use test-skeleton.c.
19763 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19765         [BZ #18418]
19766         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19768 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19770         [BZ #16352]
19771         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19772         (__ieee754_atanh): Force underflow exception for results with
19773         small absolute value.
19774         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19775         (__ieee754_atanhf): Force underflow exception for results with
19776         small absolute value.
19777         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19778         (__ieee754_atanh): Force underflow exception for results with
19779         small absolute value.
19780         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19781         (__ieee754_atanhf): Force underflow exception for results with
19782         small absolute value.
19783         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19784         (__ieee754_atanhl): Force underflow exception for results with
19785         small absolute value.
19786         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19787         (__ieee754_atanhl): Force underflow exception for results with
19788         small absolute value.
19789         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19790         (__ieee754_atanhl): Force underflow exception for results with
19791         small absolute value.
19792         * math/auto-libm-test-in: Do not allow missing underflow
19793         exceptions from atanh.
19794         * math/auto-libm-test-out: Regenerated.
19796         [BZ #18221]
19797         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19798         2**-28 as threshold for returning x or +/- 1/x.
19799         * math/auto-libm-test-in: Add more tests of tan.
19800         * math/auto-libm-test-out: Regenerated.
19802         [BZ #18220]
19803         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19804         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19805         * math/auto-libm-test-in: Add another test of lgamma.
19806         * math/auto-libm-test-out: Regenerated.
19808 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19810         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19811         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19812         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19813         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19814         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19815         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19816         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19817         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19819         (log1): Use fabs.  (my_log2): Use fabs.
19820         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19821         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19823         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19825         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19826         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19827         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19828         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19829         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19830         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19832 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19834         [BZ #18217]
19835         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19836         as threshold for returning 1 - x.
19837         * math/auto-libm-test-in: Add more tests of erfc.
19838         * math/auto-libm-test-out: Regenerated.
19840 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19842         [BZ #18196]
19843         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19844         threshold for large arguments.
19845         * math/auto-libm-test-in: Add another test of atan.
19846         * math/auto-libm-test-out: Regenerated.
19848         [BZ #16339]
19849         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19850         (__log1p): Force underflow exception for results with small
19851         absolute value.
19852         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19853         (__log1pf): Force underflow exception for results with small
19854         absolute value.
19855         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19856         (__log1p): Force underflow exception for results with small
19857         absolute value.
19858         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19859         (__log1pf): Force underflow exception for results with small
19860         absolute value.
19861         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19862         (__log1pl): Force underflow exception for results with small
19863         absolute value.
19864         * math/auto-libm-test-in: Do not allow missing underflow
19865         exceptions from log1p.
19866         * math/auto-libm-test-out: Regenerated.
19868 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19869             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19871         [BZ #16704]
19872         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19874 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19876         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19877         (libmvec): New variable.
19878         * configure.ac: Added option for mathvec build.
19879         * configure: Regenerated.
19880         * mathvec/Depend: New file.
19881         * mathvec/Makefile: New file.
19882         * shlib-versions: Added libmvec.
19883         * math/Makefile: Added rule for libm.so installation.
19885         * bits/math-vector.h: New file.
19886         * bits/libm-simd-decl-stubs.h: New header.
19887         * math/Makefile (headers): Added new header
19888         libm-simd-decl-stubs.h.
19889         * math/math.h (__MATHCALL_VEC): New macro.
19891         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19892         for conditions in testing functions.
19893         * math/Makefile: Added call of libm-have-vector-test.sh.
19894         * math/libm-test.inc (HAVE_VECTOR): New macros.
19896         * math/libm-test.inc: START refactored.
19897         * math/test-double.c (TEST_MATHVEC): Add define.
19898         * math/test-float.c: Likewise.
19899         * math/test-idouble.c: Likewise.
19900         * math/test-ifloat.c: Likewise.
19901         * math/test-ildoubl.c: Likewise.
19902         * math/test-ldouble.c: Likewise.
19903         * sysdeps/generic/math-tests-arch.h
19904         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19905         architecture check.
19907         * math/test-double.c (FUNC_TEST): New macro.
19908         * math/test-float.c: Likewise.
19909         * math/test-idouble.c: Likewise.
19910         * math/test-ifloat.c: Likewise.
19911         * math/test-ildoubl.c: Likewise.
19912         * math/test-ldouble.c: Likewise.
19913         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19915 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19917         * sysdeps/nacl/fdopendir.c: New file.
19919         * dirent/scandir-tail.c: New file.
19920         * dirent/scandir64-tail.c: New file.
19921         * dirent/Makefile (routines): Add them.
19922         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19923         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19924         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19925         [!SCANDIR] (SCANDIR_TAIL): New macro.
19926         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19927         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19928         (SCANDIRAT): Macro removed.
19929         (SCANDIR_TAIL): New macro.
19930         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19931         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19932         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19933         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19934         (READDIR): Macro removed.
19935         (SCANDIR_TAIL): New macro.
19936         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19937         (SCANDIR_TAIL): New macro.
19939         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19940         * dirent/scandir-cancel.c: ... to this new file.
19941         * dirent/Makefile (routines): Add it.
19942         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19943         * sysdeps/unix/sysv/linux/i386/scandir64.c
19944         (SKIP_SCANDIR_CANCEL): Macro removed.
19945         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19947         * dirent/tst-scandir.c: New file.
19948         * dirent/tst-scandir64.c: New file.
19949         * dirent/Makefile (tests): Add them.
19951 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19953         [BZ #18409]
19954         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19956 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19958         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19959         list.
19961 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19963         * benchtests/bench-strcoll.c: New benchmark.
19964         * benchtests/Makefile: Generate locales and run benchmark.
19965         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19966         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19967         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19968         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19969         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19970         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19971         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19972         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19973         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19974         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19975         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19976         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19977         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19978         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19979         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19980         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19981         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19982         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19983         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19984         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19985         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19986         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19987         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19988         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19990 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19992         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19993         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19995 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19997         * posix/uname-values.h: New file.
19998         * posix/uname.c: Include that instead of <config-name.h>.
19999         * sysdeps/nacl/uname-values.h: New file.
20000         * sysdeps/arm/nacl/uname-values.h: New file.
20002 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20004         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20005         splitting into fields.
20007 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20009         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20010         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20011         * locale/localeinfo.h: Add enum collation_encoding_type.
20012         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20013         * programs/ld-collate.c (collate_output): Add encoding type info.
20014         * string/strcoll_l.c (STRDIFF): New function.
20015         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20016         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20018 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #18397]
20021         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20022         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20023         <fpu_control.h> instead of <math/fpu_control.c>.
20024         * sysdeps/mips/mips32/fpu/Makefile: New file.
20026 2015-05-11  Andreas Schwab  <schwab@suse.de>
20028         [BZ #18007]
20029         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20030         nss_endgrent.
20031         (_nss_compat_endgrent): Call nss_endgrent.
20032         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20033         nss_endpwent.
20034         (_nss_compat_endpwent): Call nss_endpwent.
20035         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20036         needent, call nss_setspent only if non-zero.
20037         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20038         (internal_endspent): Don't call nss_endspent.
20039         (_nss_compat_endspent): Call nss_endspent.
20040         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20041         Remove.  All uses removed.
20042         (internal_setent): Remove parameter stayopen, add parameter
20043         stream.  Use it instead of global variable.
20044         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20045         (internal_endent, internal_getent): Add parameter stream.  Use it
20046         instead of global variable.
20047         (CONCAT(_nss_files_end,ENTNAME))
20048         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20049         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20050         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20051         uses removed.
20052         (internal_setent, internal_endent): Add parameter stream.  Use it
20053         instead of global variable.
20054         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20055         stream.
20056         (get_next_alias): Add parameter stream.
20057         (_nss_files_getaliasent_r): Pass global stream.
20058         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20059         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20060         (_nss_files_gethostbyname4_r): Pass local stream to
20061         internal_setent, internal_getent and internal_endent.  Remove
20062         locking.
20064 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20066         * tst-strfmon1.c (tests): Update expected currency symbol.
20068 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20070         * sysdeps/nacl/gethostname.c: New file.
20072 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20074         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20075         and sinh.
20076         * math/auto-libm-test-out: Regenerated.
20077         * sysdeps/i386/fpu/libm-test-ulps: Update.
20078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20080 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20082         [BZ #18125]
20083         * stdlib/tst-setcontext3.c: New file.
20084         * stdlib/tst-setcontext3.sh: New file.
20085         * stdlib/Makefile (tests): Add tst-setcontext3.
20086         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20087         to verify test program created output file.
20088         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20089         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20090         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20091         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20093 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20095         [BZ #18383]
20096         * elf/tst-tlsalign.c: New file.
20097         * elf/tst-tlsalign-static.c: New file.
20098         * elf/tst-tlsalign-lib.c: New file.
20099         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20100         (tests-static): Add tst-tlsalign-static.
20101         (modules-names): Add tst-tlsalign-lib.
20102         (test-xfail-tst-tlsalign): New variable.
20103         (test-xfail-tst-tlsalign-static): New variable.
20105         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20106         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20108 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20110         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20111         csqrt, erfc, sin and sincos.
20112         * math/auto-libm-test-out: Regenerated.
20113         * sysdeps/i386/fpu/libm-test-ulps: Update.
20114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20116 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20118         * sysdeps/aarch64/libm-test-ulps: Update.
20120 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20122         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20123         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20124         * math/auto-libm-test-out: Regenerated.
20125         * sysdeps/i386/fpu/libm-test-ulps: Update.
20126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20128 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20130         [BZ #18265]
20131         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20132         (wcsncpy): Likewise.
20134 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20136         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20137         Assume __ASSUME_FALLOCATE is always true.
20138         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20139         (__posix_fallocate64_l64): Likweise.
20140         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20141         (posix_fallocate): Likewise.
20142         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20143         (__posix_fallocate64_l64): Likewise.
20144         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20145         [!__ASSUME_FALLOCATE]: Add comment.
20147 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20149         * sysdeps/unix/sysv/linux/i386/Makefile
20150         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20151         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20152         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20153         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20154         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20155         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20156         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20158 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20160         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20161         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20162         tgamma.
20163         * math/auto-libm-test-out: Regenerated.
20164         * sysdeps/i386/fpu/libm-test-ulps: Update.
20165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20167 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20169         * math/auto-libm-test-in: Add more tests of tgamma.
20170         * math/auto-libm-test-out: Regenerated.
20171         * sysdeps/i386/fpu/libm-test-ulps: Update.
20172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20174         * math/auto-libm-test-in: Add more tests of tanh.
20175         * math/auto-libm-test-out: Regenerated.
20176         * sysdeps/i386/fpu/libm-test-ulps: Update.
20177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179         * math/auto-libm-test-in: Add more tests of tan.
20180         * math/auto-libm-test-out: Regenerated.
20181         * sysdeps/i386/fpu/libm-test-ulps: Update.
20182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20184         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20185         * math/auto-libm-test-out: Regenerated.
20186         * sysdeps/i386/fpu/libm-test-ulps: Update.
20187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20189         * math/auto-libm-test-in: Add another test of pow.
20190         * math/auto-libm-test-out: Regenerated.
20191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20193         * math/auto-libm-test-in: Add more tests of lgamma.
20194         * math/auto-libm-test-out: Regenerated.
20195         * sysdeps/i386/fpu/libm-test-ulps: Update.
20196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20198         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20199         log1p.
20200         * math/auto-libm-test-out: Regenerated.
20201         * sysdeps/i386/fpu/libm-test-ulps: Update.
20202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20204 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20206         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20207         Elf64_Chdr structs and ELFCOMPRESS constants.
20209 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20211         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20212         expm1.
20213         * math/auto-libm-test-out: Regenerated.
20214         * sysdeps/i386/fpu/libm-test-ulps: Update.
20215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20217         * math/auto-libm-test-in: Add more tests of erf and erfc.
20218         * math/auto-libm-test-out: Regenerated.
20219         * sysdeps/i386/fpu/libm-test-ulps: Update.
20220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20222 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20224         * config.h.in (HAVE_AARCH64_BE): Add.
20226 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20228         * math/auto-libm-test-in: Add more tests of csqrt.
20229         * math/auto-libm-test-out: Regenerated.
20230         * sysdeps/i386/fpu/libm-test-ulps: Update.
20231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20233         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20234         * math/auto-libm-test-out: Regenerated.
20235         * sysdeps/i386/fpu/libm-test-ulps: Update.
20236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20238         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20240 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20242         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20243         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20245         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20246         (euidaccess, eaccess): Define as weak aliases.
20248         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20249         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20250         but __suseconds_t is often 'long int' so some sources assume that
20251         type is being used (e.g. they use %ld to print tv_usec).
20253 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20255         [BZ #18007]
20256         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20257         (CVE-2014-8121)
20258         * nss/tst-nss-getpwent.c: New file.
20259         * nss/Makefile (tests): Add new test.
20261 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20263         [BZ #18346]
20264         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20265         exponents less than 48 as cases where high part of mantissa needs
20266         examining to determine whether argument is integral.
20267         * math/libm-test.inc (round_test_data): Add more tests.
20269 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20271         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20273 2015-04-27  David S. Miller  <davem@davemloft.net>
20275         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20276         __tls_get_addr.
20277         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20279 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20281         [BZ#18333]
20282         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20284 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20286         [BZ#18333]
20287         * time/tzset.c (parse_tzname): Return error on memory allocation
20288         failure.
20289         * test-skeleton.c (struct temp_name_list): Change type of name
20290         member to non-const.
20291         (add_temp_file): Create a copy of the file name.
20292         (delete_temp_files): Deallocate memory.
20293         (create_temp_file): Add comment.
20295 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20297         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20298         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20300 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20302         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20303         * sysdeps/arm/configure: Regenerated.
20305 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20307         [BZ #17715]
20308         * time/tzfile.c (__tzfile_read): Check for large values of
20309         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20310         * time/tzset.c (__tzstring_len): New function, based on the old
20311         __tzstring function.
20312         (__tzstring): Call __tzstring_len.
20313         (parse_tzname): New helper function extracted from
20314         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20315         the input string.
20316         (parse_offset): New helper function extracted from
20317         __tzset_parse_tz.  Replace switch with fallthrough with
20318         initialization before sscanf.
20319         (parse_rule): Likewise.
20320         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20321         new-style function definition.
20322         * timezone/Makefile (tests): Add tst-tzset.
20323         (tst-tzset.out): Dependencies on time zone files.
20324         (tst-tzset-ENV): Set TZDIR.
20325         (testdata/XT%): Copy crafted time zone files.
20326         * timezone/README: Mention crafted time zone files.
20327         * timezone/testdata/XT1, timezone/testdata/XT2,
20328         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20329         files.
20330         * timezone/tst-tzset.c: New test.
20332 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20334         * Makeconfig (+gccwarn): Remove -Winline.
20336 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20338         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20340 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20342         * NEWS: Mention sysconf() cache information support for s390.
20343         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20345 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20347         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20348         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20349         (__nearbyint): Likewise.
20350         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20351         (copysignl): Likewise.
20353 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20355         [BZ #18287]
20356         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20357         based on padding.  (CVE-2015-1781)
20359 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20361         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20362         libc-vdso.h.
20363         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20364         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20365         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20366         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20367         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20368         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20369         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20370         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20371         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20373         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20374         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20375         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20376         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20377         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20378         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20379         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20381         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20382         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20383         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20384         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20385         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20387 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20389         * stdlib/setenv.c (__add_to_environ):
20390         Dump core quickly if setenv (..., NULL, ...) is called.
20391         This time, do it the right way, and pacify GCC with a pragma.
20393 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20395         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20396         IMAP->l_prev cannot be null, and #if out the code for the contrary
20397         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20398         believe that NS (&_dl_ns[NSID]) could point outside the array.
20400         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20401         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20402         before using NSID as an index.
20404 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20406         [BZ #17825]
20407         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20408         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20409         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20411 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20413         Add preliminary port to Google Native Client on ARM.
20414         * abi-tags (.*-.*-nacl.*): New entry.
20415         * sysdeps/arm/nacl: New directory.
20416         * sysdeps/nacl: New directory.
20418 2015-04-16  David S. Miller  <davem@davemloft.net>
20420         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20421         lowlevellock-futex.h
20423 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20425         * sysdeps/tile/configure.ac: New file.
20426         * sysdeps/tile/configure: Regenerated.
20428 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20430         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20431         conditionals for weak_alias and libc_hidden_weak.
20432         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20433         libc_hidden_weak and weak_alias.
20434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20435         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20436         and weak_alias for static one.
20438 2015-04-15  David S. Miller  <davem@davemloft.net>
20440         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20442 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20444         [BZ #18206]
20445         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20446           Use signed comparision instead of substraction to avoid
20447           overflow bug.
20448         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20449           Take the sign of ret.
20450         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20451           Do not expect precise return values. Only the sign matters.
20452         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20453         * wcsmbs/test-wcsncmp.c: New File.
20454         * string/test-strncmp.c: Add wcsncmp support.
20456 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20458         [BZ #6792]
20459         * math/w_log1p.c: New file.
20460         * math/w_log1pf.c: Likewise.
20461         * math/w_log1pl.c: Likewise.
20462         * math/Makefile (libm-calls): Add w_log1p.
20463         * math/s_log1pl.c (log1pl): Remove weak_alias.
20464         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20465         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20466         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20467         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20468         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20469         [NO_LONG_DOUBLE] (log1pl): Likewise.
20470         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20471         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20472         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20473         (log1p): Remove long_double_symbol.
20474         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20475         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20476         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20477         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20478         remove weak_alias for corresponding log1p function.
20479         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20480         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20481         * sysdeps/ia64/fpu/w_log1p.c: New file.
20482         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20483         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20484         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20486 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20488         [BZ #18247]
20489         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20490         decimal exponent by 1.
20491         * stdlib/tst-strtod-round-data: Add more tests.
20492         * stdlib/tst-strtod-round.c (tests): Regenerated.
20494 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20496         * math/auto-libm-test-in: Add more tests of clog and clog10.
20497         * math/auto-libm-test-out: Regenerated.
20498         * sysdeps/i386/fpu/libm-test-ulps: Update.
20499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20501 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20503         * Makeconfig (module-cppflags): Exclude all .v.i files.
20504         (skip-module-cppflags): Variable removed.
20506         * configure.ac (libc_config_ok): Initialize before reading
20507         preconfigure scripts, not after.
20508         * configure: Regenerated.
20510         * test-skeleton.c (TIMEOUT): Move #define to top level.
20511         (main): Grok environment variable TEST_DIRECT.  If set, print
20512         test expectation details into that file and then behave as if
20513         given --direct.
20515 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20517         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20518         warning on 32-bit.
20520 2015-04-08  David S. Miller  <davem@davemloft.net>
20522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20524 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20526         * math/auto-libm-test-in: Add more tests of atanh.
20527         * math/auto-libm-test-out: Regenerated.
20528         * sysdeps/i386/fpu/libm-test-ulps: Update.
20529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20531         * math/auto-libm-test-in: Add more tests of atan.
20532         * math/auto-libm-test-out: Regenerated.
20533         * sysdeps/i386/fpu/libm-test-ulps: Update.
20534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20538         * elf/pldd.c (main): Rewrite to use struct
20539         scratch_buffer instead of extend_alloca.
20540         * elf/pldd-xx.c (find_maps): Likewise.
20541         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20542         <alloca.h>.
20543         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20544         scratch_buffer instead of extend_alloca.
20545         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20546         grp/compat-initgroups.c.
20547         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20548         Rewrite to use struct scratch_buffer instead of extend_alloca.
20549         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20550         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20552 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20554         * math/auto-libm-test-in: Add more tests of cbrt.
20555         * math/auto-libm-test-out: Regenerated.
20556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20558         * math/auto-libm-test-in: Add more tests of cabs.
20559         * math/auto-libm-test-out: Regenerated.
20560         * sysdeps/i386/fpu/libm-test-ulps: Update.
20561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20563         [BZ #18210]
20564         [BZ #18211]
20565         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20566         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20567         computations.
20568         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20569         clog10.
20570         * math/auto-libm-test-out: Regenerated.
20571         * sysdeps/i386/fpu/libm-test-ulps: Update.
20572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20574         [BZ #18197]
20575         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20576         (atan): Set FE_TONEAREST mode for internal computations.
20577         * math/auto-libm-test-in: Add more tests of atan.
20578         * math/auto-libm-test-out: Regenerated.
20580 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20582         [BZ #17930]
20583         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20585 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20587         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20589 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20591         * include/scratch_buffer.h: New file.
20592         * malloc/scratch_buffer_grow.c: Likewise.
20593         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20594         * malloc/scratch_buffer_set_array_size.c: Likewise.
20595         * malloc/tst-scratch_buffer.c: Likewise.
20596         * malloc/Makefile (routines): Add scratch_buffer_grow.
20597         (tests): Add test case.
20598         * malloc/Versions (GLIBC_PRIVATE): Export
20599         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20600         __libc_scratch_buffer_set_array_size.
20602 2015-04-06  Richard Henderson  <rth@redhat.com>
20604         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20605         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20607         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20608         unsigned int before printing.
20610 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20612         [BZ #17596]
20613         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20614         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20616 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20618         * include/libc-internal.h (libc_max_align_t): Define.
20620 2015-04-02  Andreas Schwab  <schwab@suse.de>
20622         [BZ #16850]
20623         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20625 2015-04-02  Mel Gorman  <mgorman@suse.de>
20627         [BZ #17195]
20628         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20629         as well as the main arena.
20631 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20633         [BZ #18185]
20634         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20635         sharing L2 cache to 2 for Silvermont/Knights Landing.
20637 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20639         [BZ #17711]
20640         * config.make.in (have-protected-data): New.
20641         * configure.ac: Check linker support for protected data symbol.
20642         * configure: Regenerated.
20643         * elf/Makefile (modules-names): Add tst-protected1moda and
20644         tst-protected1modb if $(have-protected-data) is yes.
20645         (tests): Add tst-protected1a and tst-protected1b if
20646         $(have-protected-data) is yes.
20647         ($(objpfx)tst-protected1a): New.
20648         ($(objpfx)tst-protected1b): Likewise.
20649         (tst-protected1modb.so-no-z-defs): Likewise.
20650         * elf/tst-protected1a.c: New file.
20651         * elf/tst-protected1b.c: Likewise.
20652         * elf/tst-protected1mod.h: Likewise.
20653         * elf/tst-protected1moda.c: Likewise.
20654         * elf/tst-protected1modb.c: Likewise.
20656 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20658         [BZ #17711]
20659         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20660         indicates it is called from do_lookup_x on relocation against
20661         protected data, skip the data definion in the executable from
20662         copy reloc.
20663         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20664         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20665         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20666         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20667         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20668         otherwise to 0.
20669         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20670         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20671         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20672         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20673         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20674         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20676 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20678         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20679         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20681 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20683         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20684         THREAD_SETMEM_NC.
20685         * sysdeps/x86_64/nptl/tls.h: Ditto.
20687 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20689         * dlfcn/tststatic.c (main): Converted to ...
20690         (do_test): ... this.
20691         (TEST_FUNCTION): New macro.
20692         Include test-skeleton.c.
20694 2015-03-26  Alan Modra  <amodra@gmail.com>
20696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20697         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20698         zero for undefined weak.
20699         (elf_machine_plt_conflict): Similarly.
20701 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20703         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20704         atanh.
20705         * math/auto-libm-test-out: Regenerated.
20706         * sysdeps/i386/fpu/libm-test-ulps: Update.
20707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20709         * math/auto-libm-test-in: Add another test of asin.
20710         * math/auto-libm-test-out: Regenerated.
20711         * sysdeps/i386/fpu/libm-test-ulps: Update.
20712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20714         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20715         Remove macro.
20716         (LLL_EBX_REG): Likewise.
20717         (LLL_ENTER_KERNEL): Likewise.
20719         * math/auto-libm-test-in: Add more tests of asin.
20720         * math/auto-libm-test-out: Regenerated.
20721         * sysdeps/i386/fpu/libm-test-ulps: Update.
20722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20724         [BZ #18138]
20725         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20726         libc_do_syscall_args): New structure.
20727         (INTERNAL_SYSCALL_MAIN_0): New macro.
20728         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20729         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20730         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20731         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20732         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20733         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20734         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20735         Replace conditional definitions by conditional definitions of ....
20736         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20737         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20738         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20739         (libpthread-sysdep_routines): Add libc-do-syscall.
20740         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20741         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20742         to __NR_futex not 240.
20744 2015-03-25  Alan Modra  <amodra@gmail.com>
20746         * NEWS: Advertise TLS optimization.
20747         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20748         (DT_PPC_NUM): Increment.
20749         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20750         (CHECK_STATIC_TLS): Use here.
20751         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20752         TLS descriptors.
20753         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20754         * sysdeps/powerpc/dl-tls.c: New file.
20755         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20756         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20757         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20758         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20763 2015-03-25  Alan Modra  <amodra@gmail.com>
20765         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20766         for overlapping .opd entries" to "support...".
20767         * sysdeps/powerpc/powerpc64/configure: Regenerate
20769 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20771         * math/auto-libm-test-in: Add more tests of acos.
20772         * math/auto-libm-test-out: Regenerated.
20773         * sysdeps/i386/fpu/libm-test-ulps: Update.
20774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20776         * math/auto-libm-test-in: Add more tests of expm1.
20777         * math/auto-libm-test-out: Regenerated.
20778         * sysdeps/i386/fpu/libm-test-ulps: Update.
20779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20781 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20783         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20784         * math/auto-libm-test-out: Regenerated.
20785         * sysdeps/i386/fpu/libm-test-ulps: Update.
20786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20788         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20791         * math/auto-libm-test-in: Add more tests of log2.
20792         * math/auto-libm-test-out: Regenerated.
20793         * sysdeps/i386/fpu/libm-test-ulps: Update.
20794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20796 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20798         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20799         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20800         _IO_IS_APPENDING bit in READ_WRITE instead.
20802 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20804         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20805         (__determine_cpumask_size): Replace extend_alloca with a
20806         variable-length array.  Do not treat res == 0 as an error.
20808 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20810         [BZ #18100]
20811         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20812         and integer overflow.
20813         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20814         (main): Add integer overflow tests.
20815         * manual/pattern.texi (Calling Wordexp): Document additional use
20816         for WRDE_SYNTAX.
20818 2015-03-23  Alan Modra  <amodra@gmail.com>
20820         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20821         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20822         and false branch of conditional.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20824         Likewise.
20826 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20828         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20829         libc-modules.h
20830         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20831         unused declaration of _hurd_intr_rpc_msg_in_trap.
20832         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20833         defined instead of whether it is non-zero.
20834         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20835         input constraint instead of both input and output constraint.  Use ecx
20836         clobber instead of %ecx.
20837         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20838         mutex_unlock): Use a statement expression instead of an expression list.
20839         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20840         type to vm_size_t instead of vm_address_t.
20841         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20842         defined instead of whether it is non-zero.
20843         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20844         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20845         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20846         comparisons with mapaddr.
20847         * nscd/nscd-client.h: Include <time.h>.
20848         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20849         9th parameter to __vm_region instead of int.
20850         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20851         * scripts/check-local-headers.sh (exclude): Add device/,
20852         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20853         cthreads.h.
20855 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20857         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20858         to account for alignment padding.
20859         * sysdeps/arm/memmove.S: Likewise.
20861 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20863         * sysdeps/unix/sysv/linux/generic/README: New file.
20865 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20867         [BZ #18138]
20868         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20869         (futex_abstimed_wait)
20870         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20871         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20872         of lll_futex_timed_wait.
20874 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20876         [BZ #17542]
20877         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20879 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20881         [BZ #17090]
20882         [BZ #17620]
20883         [BZ #17621]
20884         [BZ #17628]
20885         * NEWS: Update.
20886         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20887         entries with Static TLS too.  Skip entries past the end of the
20888         allocated DTV, from Alan Modra.
20889         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20890         Static TLS DTV entry set up from...
20891         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20892         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20893         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20894         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20895         for Static TLS.
20896         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20897         that the slot we find is associated with the given map before
20898         using its generation count.
20899         * nptl_db/db_info.c: Include ldsodefs.h.
20900         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20901         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20902         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20903         (link_map::l_tls_offset): New struct field.
20904         (dtv_t::counter): Likewise.
20905         (rtld_global): New struct.
20906         (_rtld_global): New rtld variable.
20907         (dl_tls_dtv_slotinfo_list): New rtld global field.
20908         (dtv_slotinfo_list): New struct.
20909         (dtv_slotinfo): Likewise.
20910         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20911         (td_lookup): Rename to...
20912         (td_mod_lookup): ... this.  Use new mod parameter instead of
20913         LIBPTHREAD_SO.
20914         * nptl_db/td_thr_tlsbase.c: Include link.h.
20915         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20916         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20917         addresses even if the DTV is out of date or missing them.
20918         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20919         index zero-length arrays.
20920         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20921         (td_lookup): Make it a macro implemented in terms of...
20922         (td_mod_lookup): ... this declaration.
20923         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20924         (DB_MAIN_VARIABLE): Likewise.
20926 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20928         [BZ #18134]
20929         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20931 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20933         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20935 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20937         [BZ #18128]
20938         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20939         (atomic_add, atomic_increment_and_test)
20940         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20942 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20944         * stdlib/setenv.c (__add_to_environ):
20945         Dump core quickly if setenv (..., NULL, ...) is called.
20947 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20949         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20950         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20951         all the necessary asm magic in one place.
20952         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20953         using those.
20955 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20957         [BZ #14906]
20958         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20959         traced file mtime. Use consistent log message.
20960         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20961         (register_traced_file): Call install_watches. Always set mtime.
20962         (invalidate_cache): Iterate over all trace files. Call install_watches.
20963         (inotify_check_files): Don't inline. Handle watching parent
20964         directories and configuration file movement in and out.
20965         (handle_inotify_events): New function.
20966         (main_loop_poll): Call handle_inotify_events.
20967         (main_loop_epoll): Likewise.
20968         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20969         (struct traced_file): Use array of inotify fds. Add parent directory,
20970         and basename.
20971         (struct database_dyn): Remove unused file_mtime.
20972         (init_traced_file): New inline function.
20973         (define_traced_file): New macro.
20974         * nss/nss_db/db-init.c: Use define_traced_file.
20975         (_nss_db_init): Use init_traced_file.
20976         * nss/nss_files/files-init.c: Use define_traced_file.
20977         (_nss_files_init): Use init_traced_file.
20979 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20981         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20982         [_LIBC]: Do not include <stdlib.h>.
20983         [!_LIBC] (abort): Remove declaration.
20984         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20985         _FP_STATIC_ASSERT instead of conditionally calling abort.
20986         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20987         (_FP_EXTEND_CNAN): Likewise.
20988         (FP_TRUNC): Likewise.
20989         (__FP_CLZ): Likewise.
20990         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20992 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20994         * manual/string.texi (XPG basename): Fix prototype.
20996 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20998         [BZ #18080]
20999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21000         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21001         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21002         (__setcontext): Likewise.
21003         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21004         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21005         Call rt_sigprocmask syscall one time to set new signal mask
21006         and retrieve the current signal mask instead of two calls.
21007         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21008         (__swapcontext): Likewise.
21009         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21010         * stdlib/tst-setcontext2.c: New file.
21012 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21014         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21016 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21018         [BZ #18093]
21019         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21020         the wrong size.
21022 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21024         [BZ #18043]
21025         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21027 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21029         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21030         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21031         Remove define.
21032         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21033         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21034         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21035         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21036         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21037         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21038         define.
21039         * nptl_db/td_symbol_list.c (td_lookup): Remove
21040         HAVE_ASM_GLOBAL_DOT_NAME code.
21041         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21042         HAVE_ASM_GLOBAL_DOT_NAME check.
21043         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21044         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21045         (DOT_LABEL): Remove define.
21046         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21047         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21048         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21049         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21050         (__TLS_GET_ADDR): Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21052         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21054 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21056         [BZ #18111]
21057         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21058         (_FPU_SETCW): Initialize cw from fpsr before storing.
21059         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21060         (fesetexceptflag): Rewrite using fpu_control.h.
21061         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21063 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21065         [BZ #18110]
21066         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21067         asms.
21068         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21070 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21072         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21073         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21074         abort.
21075         (_FP_FMA): Likewise.
21076         (_FP_DIV): Likewise.
21078 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21080         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21081         with 0 in that case.
21082         * Makefile (summarize-tests): New canned sequence, factored out of
21083         commands for targets tests and xtests.  Display summary lines that
21084         don't start with PASS: or XFAIL: rather than ones that do start with
21085         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21086         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21087         do start with ERROR: or FAIL:.
21088         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21089         (except for [$(build-shared) = yes]).
21090         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21091         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21092         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21093         * nptl/Makefile: Revert 2015-03-04 changes.
21094         [$(CXX) empty] (tests-unsupported): New variable.
21095         * debug/Makefile: Likewise.
21097         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21098         gnulib file.  Replace __attribute with __attribute__ throughout.
21100 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21102         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21104 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21106         [BZ #18104]
21107         * math/auto-libm-test-in: Add another test of pow.
21108         * math/auto-libm-test-out: Regenerated.
21110 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21112         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21113         $(config-cflags-nofma).
21115 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21117         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21118         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21119         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21120         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21121         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21122         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21123         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21124         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21125         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21126         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21127         Add comment on closing #endif.
21129 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21131         * posix/wordexp.c (CHAR_IN_SET): New macro.
21132         (parse_param): Use it.
21134 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21136         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21138 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21140         [BZ #18043]
21141         * posix/wordexp.c (parse_param): Fix buffer overflow.
21142         * posix/wordexp-test.c (test_case): Add test case.
21144 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21146         [BZ #18042]
21147         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21148         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21150 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21152         [BZ #18043]
21153         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21154         (do_bz18043): Delete.
21155         (at_page_end): New.
21156         (testit): Refactor to have words at the edge of unreadable page.
21158 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21160         [BZ #16734]
21161         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21162         Cleanup read-only streams as well.
21163         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21165 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21167         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21168         <bits/libc-lockP.h>
21170 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21172         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21173         on [__KERNEL__].
21174         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21175         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21176         * soft-fp/op-common.h (_FP_DECL): Likewise.
21178 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21180         * elf/ifuncdep2.c (global): Replace
21181         __attribute__((visibility("protected"))) with
21182         asm (".protected global").
21183         * elf/ifuncmod1.c (global): Likewise.
21184         * elf/ifuncmod5.c (global): Likewise.
21186 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21188         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21189         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21191 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21193         * manual/install.texi (Configuring and compiling):
21194         Document test-wrapper-env-only.
21195         * INSTALL: Regenerated.
21197 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21199         [BZ #18043]
21200         * posix/wordexp.c (parse_param): Fix buffer overflow.
21201         * posix/wordexp-test.c (do_bz18043): Add test case.
21203 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21205         * time/tst-strptime2.c (do_test): Ensure failing tests are
21206         reported correctly.
21207         * time/tst-strptime3.c (do_test): Likewise.
21209 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21211         Fix aio_error thread-safety.
21212         * sysdeps/pthread/aio_error.c: New file
21213         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21214         synchronization.
21216 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21218         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21219         (group_number, vfprintf): Use it.
21220         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21221         (JUMP, REF): Use it.
21222         (WORK_BUFFER_SIZE): New enum constant.
21223         (process_arg, vfprintf): Use it.
21225 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21227         * manual/errno.texi (Error Messages): Complete example function
21228         by adding missing #define.
21229         (program_invocation_name): Add statement indicating GNU
21230         extension and reference which header file declares the variable.
21231         (program_invocation_short_name): Likewise.
21233 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21235         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21236         compatibility note.
21238 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21240         * Makeconfig (test-wrapper-env-only): New variable.
21241         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21242         then use that with $(test-wrapper-env-only) rather than using
21243         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21245 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21247         [BZ #18082]
21248         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21249         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21250         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21251         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21252         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21253         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21254         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21255         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21256         Likewise.
21257         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21258         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21259         Likewise.
21260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21261         Likewise.
21262         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21263         Likewise.
21264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21265         Likewise.
21266         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21267         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21268         Likewise.
21269         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21270         Likewise.
21271         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21272         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21274 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21276         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21277         (ETH_ALEN): New macro.
21278         (struct ether_addr): Use it for length of ether_addr_octet.
21280         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21281         (setdb): Don't call __nss_configure_lookup for "rpc".
21282         (do_test): Don't call test_rpc.
21283         (output_rpcent, test_rpc): Functions moved ...
21284         * sunrpc/test-rpcent.c: ... to this new file.
21285         * sunrpc/Makefile (tests): Add it.
21287         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21288         __xpg_sigpause.
21289         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21290         * nptl/tst-signal6.c: Likewise.
21291         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21292         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21294         * configure.ac (libc_cv_cxx_link_ok): New check.
21295         Reset CXX to empty if it fails to link.
21296         * configure: Regenerated.
21297         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21298         bug-atexit3-lib only if $(CXX) is nonempty.
21299         * nptl/Makefile (tests): Likewise for tst-cancel24.
21300         (tests, tests-static): Likewise for tst-cancel24-static.
21301         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21302         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21303         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21304         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21306 2015-03-04  Andreas Schwab  <schwab@suse.de>
21308         [BZ #17631]
21309         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21310         for non-GCC compilers.
21311         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21312         Likewise.
21314 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21316         [BZ #17776]
21317         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21318         integer before bitwise and assembly operations.
21319         (feclearexcept): Likewise.
21320         * math/test-fenvinline.c: New file.
21321         * math/Makefile: Add test-fenvinline test.
21323 2015-03-03  Alan Modra  <amodra@gmail.com>
21325         [BZ #16512]
21326         * scripts/localplt.awk: Strip off symbol version.
21327         * NEWS: Mention bug fix.
21329 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21331         * sysdeps/pthread/timer_routines.c
21332         (timer_free_list, thread_free_list, thread_active_list): Make static.
21334 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21336         [BZ #17779]
21337         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21338         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21339         Undefine.
21340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21341         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21342         Likewise.
21343         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21344         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21345         Likewise.
21347 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21349         [BZ #18036]
21350         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21351         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21353 2015-03-02  Andreas Schwab  <schwab@suse.de>
21355         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21356         variable name.
21358 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21360         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21361         Return error status.
21363 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21365         [BZ #15969]
21366         * locale/findlocale.c (_nl_find_locale): Introduce const
21367         version of loc_name and drop unsafe type casts.
21369 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21371         * dlfcn/tststatic2.c (main): Converted to ...
21372         (do_test): ... this.
21373         (TEST_FUNCTION): New macro.
21374         Include test-skeleton.c.
21376 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21378         [BZ #17711]
21379         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21380         (tests-pie): Add vismain.
21381         (CFLAGS-vismain.c): New.
21382         * elf/vismain.c: Add comments for PIE requirement.
21384 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21386         [BZ #18046]
21387         [BZ #18047]
21388         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21389         0x1p-56L as threshold for just returning the argument.
21390         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21391         0x1p-32L as threshold for just returning the argument.
21392         * math/auto-libm-test-in: Add more tests of atanh.
21393         * math/auto-libm-test-out: Regenerated.
21394         * sysdeps/i386/fpu/libm-test-ulps: Update.
21395         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21397 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21399         * string/bcopy.c (bcopy): Call memmove for performance.
21401 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21403         * string/bzero.c (__bzero): Call memset for performance.
21405 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21407         [BZ #18068]
21408         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21409         to 00100000.
21411 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21413         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21415 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21417         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21418         (__kernel_standard): Use CSTR macro when setting exc.name.
21419         * sysdeps/ieee754/Makefile [$(subdir) = math]
21420         (CFLAGS-k_standard.c): Remove variable.
21422         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21423         setting p and q from "else if" to "else".
21424         (qzero): Likewise.
21425         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21426         (qone): Likewise.
21427         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21428         (qzerof): Likewise.
21429         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21430         (qonef): Likewise.
21431         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21432         (qzero): Likewise.
21433         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21434         (qone): Likewise.
21436         [BZ #18038]
21437         [BZ #18039]
21438         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21439         return pi/2 for arguments below 0x1p-113L.
21440         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21441         return pi/2 for arguments below 0x1p-106L.
21442         * math/auto-libm-test-in: Add more tests of acos.
21443         * math/auto-libm-test-out: Regenerated.
21445         [BZ #16351]
21446         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21447         (MO): New macro.
21448         (__ieee754_asin): Force underflow exception for results with small
21449         absolute value.
21450         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21451         (MO): New macro.
21452         (__ieee754_asinf): Force underflow exception for results with
21453         small absolute value.
21454         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21455         (__ieee754_asin): Force underflow exception for results with small
21456         absolute value.
21457         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21458         (__ieee754_asinf): Force underflow exception for results with
21459         small absolute value.
21460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21461         (__ieee754_asinl): Force underflow exception for results with
21462         small absolute value.
21463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21464         (__ieee754_asinl): Force underflow exception for results with
21465         small absolute value.
21466         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21467         (__ieee754_asinl): Force underflow exception for results with
21468         small absolute value.
21469         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21470         Include <math.h>.
21471         * math/auto-libm-test-in: Do not mark underflow exceptions as
21472         possibly missing for bug 16351.
21473         * math/auto-libm-test-out: Regenerated.
21475         [BZ #18030]
21476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21477         of power of 2 down when low part has opposite sign.
21478         * math/libm-test.inc (logb_test_data): Add more tests.
21480 2015-02-26  Andreas Schwab  <schwab@suse.de>
21482         [BZ #18032]
21483         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21484         over collating symbol inside a bracket expression.  Minor cleanup.
21485         * posix/tst-fnmatch3.c (do_test): Add test case.
21487 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21489         [BZ #18029]
21490         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21491         Adjust exponent of power of 2 down when low part has opposite
21492         sign.
21493         * math/libm-test.inc (ilogb_test_data): Add more tests.
21495 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21497         [BZ #15969]
21498         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21499         the previous change.
21501         [BZ #15969]
21502         * locale/findlocale.c (_nl_find_locale): Retry archive search
21503         after alias expansion.
21505 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21507         * iconv/tst-iconv3.c (main): Converted to ...
21508         (do_test): ... this.
21509         (TEST_FUNCTION): New macro.
21510         Include test-skeleton.c.
21512         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21513         (convert): Make function static.
21514         (test_unalign): Likewise.  Add const to argument pointee types.
21515         (main): Replace with static function do_test.
21516         Print "Succeeded." only if RET is zero.
21517         (TEST_FUNCTION): New macro.
21518         Include test-skeleton.c.
21520         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21521         returns a null pointer.
21523 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21525         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21526         to __memcpy_ppc only for static builds.
21528 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21530         [BZ #18020]
21531         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21532         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21533         * math/auto-libm-test-in: Add more tests of asinh.
21534         * math/auto-libm-test-out: Regenerated.
21535         * sysdeps/i386/fpu/libm-test-ulps: Update.
21536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21538 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21540         [BZ #15850]
21541         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21542         and ip6_mtuinfo definitions here.
21543         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21544         in this define too.  Update comment.
21546 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21548         * elf/sprof.c (load_shobj): Tweak error message to match others.
21550 2015-02-24  Kevin Easton  <kevin@guarana.org>
21552         [BZ #16145] (partial fix)
21553         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21554         to reduce lock contention.
21556 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21558         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21559         (struct timex): Update time comment.
21560         (ADJ_SETOFFSET): Define.
21562 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21564         [BZ #18019]
21565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21566         2**56 not 2**28 as threshold for log (2x) formula.
21567         * math/auto-libm-test-in: Add more tests of acosh.
21568         * math/auto-libm-test-out: Regenerated.
21569         * sysdeps/i386/fpu/libm-test-ulps: Update.
21570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21572 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21574         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21575         parenthesis around the buf assignment.
21576         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21578 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21580         [BZ #16783]
21581         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21582         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21583         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21584         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21585         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21586         * math/libm-test.inc (scalb_test_data): Add more tests.
21588 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21590         [BZ #17916]
21591         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21592         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21594 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21596         [BZ #17523]
21597         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21598         * io/bits/fcntl2.h (open): Use it.
21599         (openat): Likewise.
21600         * io/open.c (__libc_open): Likewise.
21601         * io/open64.c (__libc_open64): Likewise.
21602         * io/open64_2.c (__open64_2): Likewise.
21603         * io/open_2.c (__open_2): Likewise.
21604         * io/openat.c (__openat): Likewise.
21605         * io/openat64.c (__openat64): Likewise.
21606         * io/openat64_2.c (__openat64_2): Likewise.
21607         * io/openat_2.c (__openat_2): Likewise.
21608         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21609         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21610         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21611         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21612         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21613         (__open_nocancel): Likewise.
21614         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21615         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21616         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21618 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21620         [BZ #14841]
21621         * resolv/gethnamaddr.c (getanswer): Skip logging if
21622         RES_USE_DNSSEC is set.
21623         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21625 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21627         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21629 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21631         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21632         201304L, for Unicode 7.
21634 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21636         [BZ #17836]
21637         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21638         shared library.  Add gmon-start.os otherwise.
21639         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21640         $(objpfx)gmon-start.os if builing shared library.
21641         ($(objpfx)g$(static-start-installed-name)): Likewise.
21643 2015-02-23  Andreas Schwab  <schwab@suse.de>
21645         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21647 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21649         [BZ #17269]
21650         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21651         (enlarge_userbuf): Likewise.
21653 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21655         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21656         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21657         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21658         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21660 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21662         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21663         expression inside statement expression.
21665 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21667         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21668         <sysdeps/nptl/lowlevellock.h> and remove macros and
21669         functions that are now defined there.
21670         (SYS_futex): Remove.
21671         (lll_compare_and_swap): Remove.
21672         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21674 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21676         [BZ #17999]
21677         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21678         instead of scandirat.
21679         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21680         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21681         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21682         __scandirat.
21683         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21684         (__scandirat): Declare.  Use libc_hidden_proto.
21685         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21686         Remove variable.
21687         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21689 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21691         [BZ #15319]
21692         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21693         (MO): New macro.
21694         (__ieee754_atan2): For results with small absolute value, force
21695         underflow exception and remove excess range and precision from
21696         return value.
21697         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21698         (MO): New macro.
21699         (__ieee754_atan2f): For results with small absolute value, force
21700         underflow exception and remove excess range and precision from
21701         return value.
21702         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21703         (MO): New macro.
21704         (__atan): For results with small absolute value, force underflow
21705         exception and remove excess range and precision from return value.
21706         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21707         (MO): New macro.
21708         (__atanf): For results with small absolute value, force underflow
21709         exception and remove excess range and precision from return value.
21710         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21711         <math.h>.
21712         (__ieee754_atan2): Force underflow exception for results with
21713         small absolute value.
21714         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21715         <math_private.h>.
21716         (atan): Force underflow exception for results with small absolute
21717         value.
21718         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21719         (__atanf): Force underflow exception for results with small
21720         absolute value.
21721         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21722         <math.h>.
21723         (__atanl): Force underflow exception for results with small
21724         absolute value.
21725         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21726         (__atanl): Force underflow exception for results with small
21727         absolute value.
21728         * sysdeps/x86/fpu/bits/mathinline.h
21729         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21730         (__ieee754_atan2): Only define inline for long double.
21731         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21732         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21733         * math/auto-libm-test-in: Do not mark underflow exceptions as
21734         possibly missing for bug 15319.  Add more tests of atan2.
21735         * math/auto-libm-test-out: Regenerated.
21736         * math/libm-test.inc (casin_test_data): Do not mark underflow
21737         exceptions as possibly missing for bug 15319.
21738         (casinh_test_data): Likewise.
21739         * sysdeps/i386/fpu/libm-test-ulps: Update.
21741 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21743         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21744         * sysdeps/mips/bits/endian.h: Fix comments.
21746 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21748         [BZ #17996]
21749         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21750         (hdestroy_r): Likewise.
21751         (hsearch_r): Likewise.
21752         (__hcreate_r): Declare and use libc_hidden_proto.
21753         (__hdestroy_r): Likewise.
21754         (__hsearch_r): Likewise.
21755         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21756         (hcreate): Call __hcreate_r instead of hcreate_r.
21757         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21758         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21759         as weak alias of __hcreate_r.
21760         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21761         __hdestroy_r.
21762         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21763         __hsearch_r.
21764         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21765         Remove variable.
21766         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21767         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21768         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21769         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21771 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21773         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21774         arena_lock into a single arena_get.
21776 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21778         * dl-reloc.c: Inlucde libc-internal.h.
21779         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21780         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21781         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21782         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21783         (grow_heap): Likewise.
21784         * malloc/malloc.c: Include libc-internal.h.
21785         (do_check_malloc): Call powerof2.
21786         (sysmalloc): Use pagesize. Call ALIGN_UP.
21787         (systrim): Use pagesize.
21788         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21789         (__libc_valloc): Use pagesize.
21790         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21792 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21794         [BZ #17991]
21795         * include/sys/resource.h (__getrlimit64): Declare.  Use
21796         libc_hidden_proto.
21797         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21798         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21799         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21800         getrlimit64.
21801         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21802         __getrlimit64.
21803         [!getrlimit64] (getrlimit64): Define as weak alias of
21804         __getrlimit64.  Use libc_hidden_weak.
21805         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21806         using __getrlimit64 not __new_getrlimit64.
21807         (__GI_getrlimit64): Likewise.
21808         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21809         Likewise.
21810         (__GI_getrlimit64): Likewise.
21811         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21813         (getrlimit): Add __getrlimit64 alias.
21814         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21815         Likewise.
21816         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21817         Remove variable.
21818         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21819         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21821 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21823         * libio/fileops.c: Add missing sys/mman.h
21824         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21826 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21828         * manual/math.texi (Errors in Math Functions): Clarify goals
21829         regarding inexact and underflow exceptions.
21831 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21833         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21834         * sysdeps/mips/memset.S: Ditto.
21836 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21838         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21840 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21842         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21843         (__v1longjmp): Remove versioned symbol.
21844         (__v1siglongjmp): Remove alias and versioned symbol.
21845         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21846         (__v2siglongjmp): Likewise.
21848 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21850         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21852 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21854         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21856 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21858         [BZ #17987]
21859         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21860         zero result does not depend on the sign resulting from
21861         subtraction.
21862         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21863         Likewise.
21864         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21865         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21866         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21867         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21868         * math/libm-test.inc (remquo_test_data): Add more tests.
21870 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21872         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21873         Problem reported by J William Piggott.
21875 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21877         [BZ #17978]
21878         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21879         products 4 * y and 2 * y where those would overflow.
21880         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21881         Likewise.
21882         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21883         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21884         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21885         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21886         * math/libm-test.inc (remquo_test_data): Add more tests.
21888         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21890         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21891         [defined _COMPILING_NEWLIB].
21892         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21893         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21895         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21896         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21898 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21900         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21901         acquired.
21903 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21905         [BZ #17792]
21906         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21907         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21908         HOST_STACK_END_ADDR): Likewise.
21910 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21912         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21913         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21914         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21916 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21918         * sysdeps/generic/c++-types.data: New file.
21919         * sysdeps/generic/ld.abilist: New file.
21920         * sysdeps/generic/libBrokenLocale.abilist: New file.
21921         * sysdeps/generic/libanl.abilist: New file.
21922         * sysdeps/generic/libc.abilist: New file.
21923         * sysdeps/generic/libcrypt.abilist: New file.
21924         * sysdeps/generic/libdl.abilist: New file.
21925         * sysdeps/generic/libm.abilist: New file.
21926         * sysdeps/generic/libpthread.abilist: New file.
21927         * sysdeps/generic/libresolv.abilist: New file.
21928         * sysdeps/generic/librt.abilist: New file.
21930 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21932         [BZ #17569]
21933         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21934         Compute absolute value of x as modified by fmod, not original
21935         value of x.
21936         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21937         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21938         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21939         RUN_TEST_ffI_f1_mod8.
21940         (remquo_test_data): Add more tests.
21942 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21944         * sysdeps/init_array/pt-crti.S: New file.
21946 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21948         [BZ #17967]
21949         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21950         __builtin_fmaf instead of relying on contraction of a * b + c.
21952 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21954         [BZ #17969]
21955         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21956         node.
21958 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21960         [BZ #17964]
21961         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21962         __builtin_fma instead of relying on contraction of a * b + c.
21964 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21966         * Makeconfig (ASFLAGS): Add -Werror=undef.
21967         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21968         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21969         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21971         * Makeconfig (after-link): New variable.
21972         (+link-pie, +link-pie-tests): Use it.
21973         (+link-static, +link-static-tests): Likewise.
21974         (+link, +link-tests): Likewise.
21975         * Makerules (build-module, build-module-asneeded): Likewise.
21976         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21977         Likewise.
21978         * elf/Makefile ($(objpfx)ld.so): Likewise.
21980 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21982         [BZ #17965]
21983         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21984         both struct timeval and struct timespec.
21986 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21988         [BZ #16560]
21989         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21990         and redefine.
21991         (__ieee754_exp2l): Do not multiply small fractional parts by
21992         M_LN2l.
21993         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21994         small argument.
21995         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21996         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21997         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21998         * math/auto-libm-test-in: Add more tests of exp2.
21999         * math/auto-libm-test-out: Regenerated.
22001 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22003         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22004         unaligned path.
22006 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22008         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22009         little endian.
22011 2015-02-12  Andreas Schwab  <schwab@suse.de>
22013         [BZ #15790]
22014         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22015         Filter out elision flags from value returned in kind.
22016         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22017         * nptl/tst-pthread-mutexattr.c: New file.
22019 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22021         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22022         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22023         into gnu-gnu, and update comment to refer to abi-tags.
22025 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22027         [BZ #15467]
22028         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22029         (__sincos): Set errno to EDOM for infinite argument.
22030         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22031         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22032         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22033         (__sincosl): Set errno to EDOM for infinite argument.
22034         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22035         (__sincosl): Set errno to EDOM for infinite argument.
22036         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22037         (__sincosl): Set errno to EDOM for infinite argument.
22038         * math/libm-test.inc (sincos_test_data): Test errno setting.
22040 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22042         * string/strxfrm_l.c: Remove #define STRCMP.
22043         * string/strcoll_l.c: Remove #define STRLEN.
22044         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22045         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22047 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22049         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22050         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22051         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22052         * sysdeps/mips/mips64/Makefile: ... here.
22053         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22054         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22055         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22056         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22057         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22058         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22059         * sysdeps/mips/mips64/n64/Implies: Likewise.
22061 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22063         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22064         <sys/time.h>, <string.h>, and <errno.h>.
22065         (dest_offset, dest_address, value, zero): Remove unused variables.
22066         (ldouble): Remove typedef.
22067         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22068         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22069         1).  Fix code style.
22070         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22071         (check): Function removed.
22072         (CHECK): New macro.
22073         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22074         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22075         Don't call set_sigaction_FP and remove_sigaction_FP here.
22076         (ldouble_test): Just use 'long double' as macro argument, no need for
22077         the 'ldouble' typedef.
22078         (do_test): Set up SIGFPE handler at start, using plain signal rather
22079         than sigaction.  Fix code style.
22081 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22083         [BZ #17949]
22084         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22085         jump label.
22087 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22089         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22090         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22092         * sysdeps/powerpc/configure.ac: Remove file.
22093         * sysdeps/powerpc/configure: Likewise.
22095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22096         [sysdep_routines]: Remove wordcopy-power6 object.
22097         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22098         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22099         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22100         (__memmove_ppc32): Likewise.
22101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22102         file.
22103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22104         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22105         Remove preprocessor.
22107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22108         [sysdep_routines]: Remove wide chars objects.
22109         [wcsmbs]: New rule for wide char objects.
22111         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22112         Remove wordcopy-power6 obejct.
22113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22114         Use local call for wordcopy and memcpy symbols.
22115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22116         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22117         implementation for loader.
22118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22121         Remove wordcopy-power7 object.
22122         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22124         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22125         (_wordcopy_fwd_dest_aligned): Likewise.
22126         (_wordcopy_bwd_aligned): Likewise.
22127         (_wordcopy_bwd_dest_aligned): Likewise.
22129         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22130         Rewrite to call __memmove_ppc instead of include default
22131         implementation.
22133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22134         Remove wide chars objects.
22135         [wcsmbs]: New rule for wide char objects.
22137 2015-02-09  Andreas Schwab  <schwab@suse.de>
22139         [BZ #17912]
22140         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22141         in terms of __O_DIRECTORY.
22143 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22145         * time/getdate.c: Include <stdbool.h>.
22146         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22147         call PTR_MANGLE.
22148         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22149         PTR_DEMANGLE.
22151 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22153         Add ersatz _Static_assert on older C hosts
22154         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22155         pre-C11 C platform that is not known to support _Static_assert.
22157 2015-02-07  Richard Braun  <rbraun@sceen.net>
22159         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22160         sigstate.
22161         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22163 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22165         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22166         priority against unexistent AIO_PRIO_DELTA_MAX.
22167         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22168         instead of int.
22169         * misc/fchflags.c (fchflags): Likewise.
22170         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22171         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22172         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22173         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22174         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22175         Declare macros.
22176         [__USE_MISC] (chflags, fchflags): Declare functions.
22177         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22178         EINVAL when nfds is greater than FD_SETSIZE.
22179         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22180         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22181         45.
22182         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22183         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22184         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22185         MACH_RCV_TIMED_OUT.
22186         * hurd/hurd/signal.h (_hurd_self_sigstate,
22187         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22188         Explicit casts from void *.
22189         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22190         * abi-tags: Rename gnu-gnu os into gnu.
22192         [BZ #4719]
22193         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22194         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22195         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22196         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22197         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22198         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22200         [BZ #17944]
22201         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22202         duplicates ADDR->sun_path with sockaddr LEN limitation.
22203         * sysdeps/mach/hurd/connect.c: Include <string.h>
22204         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22205         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22206         * sysdeps/mach/hurd/sendto.c: Likewise.
22207         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22208         implementing it by hand.
22210 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22212         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22213         Use sfi_breg on ldr.
22214         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22215         Likewise.
22217         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22218         it's defined.
22219         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22220         Test SIGSETXID only if it's defined.
22222         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22224         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22225         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22227         * nptl/tst-align2.c: Moved ...
22228         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22229         * nptl/Makefile (tests): Remove tst-align2.
22230         * sysdeps/unix/sysv/linux/Makefile
22231         [$(subdir) = nptl] (tests): Add tst-align-clone.
22232         * nptl/tst-getpid1.c: Moved ...
22233         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22234         * nptl/tst-getpid2.c: Moved ...
22235         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22236         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22237         * sysdeps/unix/sysv/linux/Makefile
22238         [$(subdir) = nptl] (tests): ... here.
22239         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22240         * sysdeps/unix/sysv/linux/Makefile
22241         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22243         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22244         Drop trailing \n from perror argument.  Use return rather than exit.
22246         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22247         on [SA_SIGINFO].
22248         * nptl/tst-cancel21.c (do_test): Likewise.
22249         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22250         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22251         [!SA_SIGINFO]: Make it a stub test.
22253         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22254         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22256         * posix/tst-getlogin.c: Move to ...
22257         * login/tst-getlogin.c: ... here.
22258         * posix/Makefile (tests): Move tst-getlogin to ...
22259         * login/Makefile (tests): ... here.
22261         * libio/tst-atime.c (do_test): Move local variables SV and E
22262         inside [ST_NOATIME] conditional.
22264         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22266         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22268         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22269         (wait_code): New function replaces macro.
22270         Call nanosleep rather than syscall.
22272         * nptl/pt-system.c: Rewritten.  Put everything under
22273         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22274         Use IFUNC to redirect when possible.
22276         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22277         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22278         Use IFUNC to redirect when possible.
22280         * nptl/pt-fork.c: Rewritten.  Put everything under
22281         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22282         Use IFUNC to redirect when possible.
22283         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22285         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22286         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22287         unconditionally nowadays.  This included the only reference to
22288         __vdso_clock_gettime that appears outside libc proper.
22289         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22290         Remove version set (containing only __vdso_clock_gettime).
22291         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22292         Add attribute_hidden.
22293         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22294         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22295         libc_hidden_data_def.
22296         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22297         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22299         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22300         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22301         setrpcent, and getrpcport to ...
22302         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22303         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22304         getrpcbynumber_r, and getrpcent_r to ...
22305         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22306         * inet/getrpcbyname.c: Moved ...
22307         * sunrpc/getrpcbyname.c: ... here.
22308         * inet/getrpcbyname_r.c: Moved ...
22309         * sunrpc/getrpcbyname_r.c: ... here.
22310         * inet/getrpcbynumber.c: Moved ...
22311         * sunrpc/getrpcbynumber.c: ... here.
22312         * inet/getrpcbynumber_r.c: Moved ...
22313         * sunrpc/getrpcbynumber_r.c: ... here.
22314         * inet/getrpcent.c: Moved ...
22315         * sunrpc/getrpcent.c: ... here.
22316         * inet/getrpcent_r.c: Moved ...
22317         * sunrpc/getrpcent_r.c: ... here.
22318         * inet/Makefile (routines): Move those to ...
22319         * sunrpc/Makefile (routines): ... here.
22320         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22321         the $(subdirs) list.
22322         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22323         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22324         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22325         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22327         * elf/Makefile (routines): Include $(all-dl-routines), not just
22328         $(dl-routines).
22329         (rtld-routines): Likewise.  Use = rather than :=.
22330         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22331         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22332         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22333         * sysdeps/arm/Makefile: Likewise.
22334         * sysdeps/i386/Makefile: Likewise.
22335         * sysdeps/x86_64/Makefile: Likewise.
22336         * sysdeps/hppa/Makefile [$(subdir) = elf]
22337         (sysdep_routines, sysdep-rtld-routines): Don't add
22338         $(sysdep-dl-routines) to these.
22339         * sysdeps/ia64/Makefile: Likewise.
22340         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22341         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22342         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22343         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22344         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22345         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22346         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22347         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22348         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22349         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22350         these; sysdep-dl-routines alone is enough.
22352 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22354         [BZ #17932]
22355         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22356         where multiplication results in zero and third argument is finite
22357         and nonzero.
22358         * math/auto-libm-test-in: Add more tests of fma.
22359         * math/auto-libm-test-out: Regenerated.
22361         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22362         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22363         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22364         (_FP_CMP_EQ): Likewise.
22365         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22367         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22368         extra argument CHECK_NAN.  Redefine as wrapper around
22369         _FP_EXTEND_CNAN.
22371 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22373         * version.h (RELEASE): Set to "stable".
22374         (VERSION): Set to "2.21"
22375         * include/features.h (__GLIBC_MINOR__): Set to 21.
22377         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22379 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22380             Paul Eggert  <eggert@cs.ucla.edu>
22382         [BZ #16618]
22383         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22384         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22385         size in bytes. Store needed elements in wpmax. Use needed size
22386         in bytes for extend_alloca.
22388 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22390         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22391         binutls 2.25, and texinfo 5.2.
22392         * INSTALL: Regenerate.
22393         * sysdeps/nios2/configure: Regenerate.
22394         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22395         * manual/contrib.texi: Update.
22396         * po/be.po: Update.
22397         * po/bg.po: Update.
22398         * po/ca.po: Update.
22399         * po/cs.po: Update.
22400         * po/da.po: Update.
22401         * po/de.po: Update.
22402         * po/el.po: Update.
22403         * po/eo.po: Update.
22404         * po/es.po: Update.
22405         * po/fi.po: Update.
22406         * po/fr.po: Update.
22407         * po/gl.po: Update.
22408         * po/hr.po: Update.
22409         * po/hu.po: Update.
22410         * po/ia.po: Update.
22411         * po/id.po: Update.
22412         * po/it.po: Update.
22413         * po/ja.po: Update.
22414         * po/ko.po: Update.
22415         * po/lt.po: Update.
22416         * po/nb.po: Update.
22417         * po/nl.po: Update.
22418         * po/pl.po: Update.
22419         * po/pt_BR.po: Update.
22420         * po/ru.po: Update.
22421         * po/rw.po: Update.
22422         * po/sk.po: Update.
22423         * po/sl.po: Update.
22424         * po/sv.po: Update.
22425         * po/tr.po: Update.
22426         * po/uk.po: Update.
22427         * po/vi.po: Update.
22428         * po/zh_CN.po: Update.
22429         * po/zh_TW.po: Update.
22431         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22432         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22433         * sysdeps/hppa/dl-irel.h: Remove #warning.
22434         * sysdeps/hppa/entry.h: Provide prototype for
22435         __canonicalize_funcptr_for_compare and cast argument.
22436         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22437         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22438         * sysdeps/hppa/sotruss-lib.c: New file.
22439         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22440         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22441         (atomic_compare_and_exchange_bool_acq): Likewise.
22442         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22443         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22445         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22446         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22447         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22449 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22451         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22452         called function in non-PIC case.
22454 2015-01-31  David S. Miller  <davem@davemloft.net>
22456         * sysdeps/sparc/sparc32/bits/atomic.h
22457         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22458         unlock not after it.
22459         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22460         volatile register usage warnings from the compiler.
22462         * sysdeps/sparc/nptl/sem_init.c: Delete.
22463         * sysdeps/sparc/nptl/sem_post.c: Delete.
22464         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22465         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22466         * sysdeps/sparc/sparc32/sem_init.c: New file.
22467         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22468         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22469         padding explicitly initialized.
22470         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22471         padding for in-semaphore spinlock.
22472         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22473         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22474         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22475         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22476         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22477         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22478         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22479         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22480         version.
22481         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22482         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22484 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22486         [BZ #17801]
22487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22488         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22489         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22490         New.
22491         (index_AVX_Fast_Unaligned_Load): Likewise.
22492         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22493         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22494         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22495         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22496         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22497         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22498         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22499         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22500         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22502 2015-01-29  Andreas Schwab  <schwab@suse.de>
22504         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22506 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22508         [BZ #17892]
22509         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22511 2015-01-28  Martin Sebor  <msebor@redhat.com>
22513         * math/README.libm-test: Clarify. Add "How to read the test output."
22515 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22517         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22518         Define to 0.
22520 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22522         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22523         (__HAVE_64B_ATOMICS): Define to 0.
22525 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22527         [BZ #17885]
22528         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22529         value to set as new flag.
22531         [BZ #16576]
22532         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22533         and use _ARCH_PPCSQ instead.
22534         (__ieee754_sqrt): Likewise.
22535         (__ieee754_sqrtf): Likewise.
22536         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22537         _ARCH_PPCSQ is defined.
22538         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22539         fsqrt instruction.
22540         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22541         _ARCH_PPCSQ is defined.
22542         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22543         fsqrts instruction.
22544         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22546 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22548         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22549         bug (GCC BZ #64739).
22551 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22553         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22554         Mark _retval as used.
22555         (lll_futex_wake_unlock): Likewise.
22556         (lll_futex_timed_wait_requeue_pi): Likewise.
22558         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22559         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22560         register variables.
22562         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22563         libm_hidden_def.
22565         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22566         (__bswap_64): Mark as __always_inline.
22568 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22570         [BZ #15378]
22571         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22572         when none of the search directories exist.
22574 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22576         [BZ #17869]
22577         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22578         power8 in .machine directive.
22580         [BZ #17868]
22581         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22582         set dependency from opd value.
22584 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22587         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22588         architecture.
22590 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22592         [BZ #17870]
22593         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22594         with uint64_t.
22595         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22596         (uint64_t) 1.
22597         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22598         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22599         Replace 1UL with (uint64_t) 1.
22600         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22601         int with uint64_t.
22603 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22605         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22606         (if_freenameindex): Likewise.
22608         * resource/getrlimit64.c: Add missing libc_hidden_def.
22610 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22612         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22613         __label__.
22614         (_FP_FMA): Likewise.
22615         (_FP_TO_INT_ROUND): Likewise.
22616         (_FP_FROM_INT): Likewise.
22618 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22620         [BZ #16418]
22621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22622         Make code racy and cancel safe.
22624 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22626         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22627         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22628         attribution.
22630         * pwd/tst-getpw.c: Rewrite.
22632         [BZ #17702]
22633         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22634         (modules-names): Add moddummy1 and moddummy2.
22635         ($(objpfx)tst-rec-dlopen): Define.
22636         * dlfcn/moddummy1.c: New file.
22637         * dlfcn/moddummy2.c: New file.
22638         * dlfcn/tst-rec-dlopen.c: New file.
22639         * elf/dl-cache.c (_dl_load_cache_lookup):
22640         Return char*. Copy result with alloca/strcpy/strdup.
22641         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22642         returns char*. Free cached. If not saving realname
22643         free cached.
22644         * elf/dl-open.c (dl_open_worker): Do not assert that
22645         _r_debug->r_state is RT_CONSISTENT.
22646         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22647         returns char*.
22649 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22650             Carlos O'Donell  <carlos@redhat.com>
22652         [BZ #12674]
22653         * nptl/sem_waitcommon.c: New file.
22654         * nptl/sem_wait.c: Include sem_waitcommon.c.
22655         (__sem_wait_cleanup, do_futex_wait): Remove.
22656         (__new_sem_wait): Adapt.
22657         (__new_sem_trywait): New function.
22658         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22659         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22660         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22661         (sem_timedwait): Adapt.
22662         * nptl/sem_post.c (__new_sem_post): Adapt.
22663         (futex_wake): New function.
22664         (__old_sem_post): Add release MO fence.
22665         * nptl/sem_open.c (sem_open): Adapt.
22666         * nptl/sem_init.c (__new_sem_init): Adapt.
22667         (futex_private_if_supported): New function.
22668         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22669         (__old_sem_getvalue): Add using previous code.
22670         * sysdeps/nptl/internaltypes.h: Adapt.
22671         * nptl/tst-sem13.c (do_test): Adapt.
22672         * nptl/tst-sem11.c (main): Adapt.
22673         * nptl/sem_trywait.c: Remove.
22674         * nptl/DESIGN-sem.txt: Remove.
22675         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22676         (gen-as-const-headers): Remove structsem.sym.
22677         * nptl/structsem.sym: Remove.
22678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22679         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22680         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22681         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22682         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22683         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22684         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22685         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22686         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22687         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22688         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22689         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22690         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22691         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22692         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22693         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22694         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22695         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22696         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22697         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22698         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22699         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22701 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22703         * INSTALL: Regenerated.
22705         * po/libc.pot: Regenerated.
22707 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22708             Sandra Loosemore  <sandra@codesourcery.com>
22709             Andrew Jenner  <andrew@codesourcery.com>
22710             Joseph Myers  <joseph@codesourcery.com>
22711             Nathan Sidwell  <nathan@codesourcery.com>
22713         * NEWS: Mention new Nios II port.
22714         * sysdeps/nios2/Implies: New file.
22715         * sysdeps/nios2/Makefile: New file.
22716         * sysdeps/nios2/Subdirs: New file.
22717         * sysdeps/nios2/Versions: New file.
22718         * sysdeps/nios2/__longjmp.S: New file.
22719         * sysdeps/nios2/abort-instr.h: New file.
22720         * sysdeps/nios2/backtrace.c: New file.
22721         * sysdeps/nios2/bits/endian.h: New file.
22722         * sysdeps/nios2/bits/fenv.h: New file.
22723         * sysdeps/nios2/bits/link.h: New file.
22724         * sysdeps/nios2/bits/setjmp.h: New file.
22725         * sysdeps/nios2/bsd-_setjmp.S: New file.
22726         * sysdeps/nios2/bsd-setjmp.S: New file.
22727         * sysdeps/nios2/configure: New generated file.
22728         * sysdeps/nios2/configure.ac: New file.
22729         * sysdeps/nios2/crti.S: New file.
22730         * sysdeps/nios2/crtn.S: New file.
22731         * sysdeps/nios2/dl-init.c: New file.
22732         * sysdeps/nios2/dl-machine.h: New file.
22733         * sysdeps/nios2/dl-sysdep.h: New file.
22734         * sysdeps/nios2/dl-tls.h: New file.
22735         * sysdeps/nios2/dl-trampoline.S: New file.
22736         * sysdeps/nios2/gccframe.h: New file.
22737         * sysdeps/nios2/gmp-mparam.h: New file.
22738         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22739         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22740         * sysdeps/nios2/ldsodefs.h: New file.
22741         * sysdeps/nios2/libc-tls.c: New file.
22742         * sysdeps/nios2/libm-test-ulps: New file.
22743         * sysdeps/nios2/machine-gmon.h: New file.
22744         * sysdeps/nios2/math-tests.h: New file.
22745         * sysdeps/nios2/math_private.h: New file.
22746         * sysdeps/nios2/memusage.h: New file.
22747         * sysdeps/nios2/nptl/Makefile: New file.
22748         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22749         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22750         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22751         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22752         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22753         * sysdeps/nios2/nptl/tls.h: New file.
22754         * sysdeps/nios2/preconfigure: New file.
22755         * sysdeps/nios2/s_fma.c: New file.
22756         * sysdeps/nios2/s_fmaf.c: New file.
22757         * sysdeps/nios2/setjmp.S: New file.
22758         * sysdeps/nios2/sfp-machine.h: New file.
22759         * sysdeps/nios2/sotruss-lib.c: New file.
22760         * sysdeps/nios2/stackguard-macros.h: New file.
22761         * sysdeps/nios2/stackinfo.h: New file.
22762         * sysdeps/nios2/start.S: New file.
22763         * sysdeps/nios2/sysdep.h: New file.
22764         * sysdeps/nios2/tls-macros.h: New file.
22765         * sysdeps/nios2/tst-audit.h: New file.
22766         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22767         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22768         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22769         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22770         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22771         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22772         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22773         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22774         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22775         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22776         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22777         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22778         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22779         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22780         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22781         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22782         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22783         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22784         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22785         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22786         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22787         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22788         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22789         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22790         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22791         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22792         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22793         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22794         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22795         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22796         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22797         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22798         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22799         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22800         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22801         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22802         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22803         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22804         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22805         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22806         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22807         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22808         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22809         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22811 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22813         [BZ #17844]
22814         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22815         (getutent): Use weak_alias in non SHARED case
22816         and default_symbol_version in SHARED case.
22817         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22818         (getutent_r, pututline): Likewise.
22819         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22820         (getutid): Likewise.
22821         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22822         (getutid_r): Likewise.
22823         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22824         (getutline): Likewise.
22825         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22826         (getutline_r): Likewise.
22827         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22828         (updwtmp): Likewise.
22830 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22832         [BZ #17848]
22833         * sysdeps/s390/s390-32/memcmp.S
22834         (memcmp_g5): Rename to __memcmp_g5.
22835         * sysdeps/s390/s390-32/memcpy.S
22836         (memcpy_g5): Rename to __memcpy_g5.
22837         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22838         (memcpy_mvcle) Rename to __memcpy_mvcle.
22839         * sysdeps/s390/s390-32/memset.S
22840         (memset_g5): Rename to __memset_g5.
22841         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22842         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22843         and use prefixed functions.
22844         * sysdeps/s390/s390-32/multiarch/memcmp.S
22845         (memcmp_z196): Rename to __memcmp_z196.
22846         (memcmp_z10): Rename to __memcmp_z10.
22847         (memcmp): Set alias to __memcmp_g5.
22848         (bcmp): Set alias to __memcmp_g5.
22849         * sysdeps/s390/s390-32/multiarch/memcpy.S
22850         (memcpy_z196): Rename to __memcpy_z196.
22851         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22852         (memcpy_z10): Rename to __memcpy_z10.
22853         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22854         (memcpy): Set alias to __memcpy_g5.
22855         * sysdeps/s390/s390-32/multiarch/memset.S
22856         (memset_z196): Rename to __memset_z196.
22857         Jump to __memset_mvcle instead of memset_mvcle.
22858         (memset_z10): Rename to __memset_z10.
22859         Jump to __memset_mvcle instead of memset_mvcle.
22860         (memset_mvcle) Rename to __memset_mvcle.
22861         (memset): Set alias to __memset_g5.
22862         * sysdeps/s390/s390-64/memcmp.S
22863         (memcmp_z900): Rename to __memcmp_z900.
22864         * sysdeps/s390/s390-64/memcpy.S
22865         (memcpy_z900): Rename to __memcpy_z900.
22866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22867         (memcpy_mvcle) Rename to __memcpy_mvcle.
22868         * sysdeps/s390/s390-64/memset.S
22869         (memset_z900): Rename to __memset_z900.
22870         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22871         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22872         and use prefixed functions.
22873         * sysdeps/s390/s390-64/multiarch/memcmp.S
22874         (memcmp_z196): Rename to __memcmp_z196.
22875         (memcmp_z10): Rename to __memcmp_z10.
22876         (memcmp): Set alias to __memcmp_z900.
22877         (bcmp): Set alias to __memcmp_z900.
22878         * sysdeps/s390/s390-64/multiarch/memcpy.S
22879         (memcpy_z196): Rename to __memcpy_z196.
22880         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22881         (memcpy_z10): Rename to __memcpy_z10.
22882         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22883         (memcpy): Set alias to __memcpy_z900.
22884         * sysdeps/s390/s390-64/multiarch/memset.S
22885         (memset_z196): Rename to __memset_z196.
22886         Jump to __memset_mvcle instead of memset_mvcle.
22887         (memset_z10): Rename to __memset_z10.
22888         Jump to __memset_mvcle instead of memset_mvcle.
22889         (memset_mvcle) Rename to __memset_mvcle.
22890         (memset): Set alias to __memset_z900.
22892 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22894         [BZ #17748]
22895         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22896         __fesetenv instead of fesetenv.
22898 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22901         macro.
22903 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22905         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22906         regression on LE.
22908         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22909         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22910         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22911         strncmp-power8 object.
22912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22913         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22914         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22915         * NEWS: Update.
22917 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22918             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22920         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22921         trailing byte check.
22923 2015-01-13  David S. Miller  <davem@davemloft.net>
22925         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22927 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22929         * login/logout.c (logout): Use memset rather than bzero.
22930         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22931         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22932         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22933         (_gethtbyaddr): Likewise.
22934         * locale/programs/simple-hash.c (bcopy): Macro removed.
22936 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22939         Add strcmp-power8 object.
22940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22941         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22942         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22943         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22944         __strcmp_power8 implementation.
22945         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22946         * NEWS: Update.
22948         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22949         Add strncpy-power8 and stpncpy-power8 objects.
22950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22951         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22952         implementations.
22953         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22954         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22955         __stpncpy_power8 implementation.
22956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22957         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22958         __strncpy_power8 implementation.
22959         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22960         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22961         * NEWS: Update.
22963         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22964         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22965         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22968         strncat-power8 object.
22969         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22970         __strcat_power8 implementation.
22971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22972         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22973         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22974         optimized strcat for power8.
22976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22977         strcpy-power8 and stpcpy-power8 objects.
22978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22979         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22980         implementations.
22981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22982         multiarch stpcpy implementation for POWER8.
22983         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22984         multiarch strcpy implementation for POWER8.
22985         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22986         __strcpy_power8 function.
22987         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22988         stpcpy for POWER8.
22989         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22990         strcpy for POWER8.
22991         * NEWS: Update.
22993 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22995         [BZ #16009]
22996         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22997         weights and rules. Use do_xfrm_cached if data fits in cache,
22998         do_xfrm otherwise.  Moved former main loop to...
22999         * (do_xfrm_cached): New function.
23000         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23001         find_idx, find_position and stack_push.
23002         * (find_idx): New function.
23003         * (find_position): Likewise.
23004         * localedata/sort-test.sh: Added test run for do_xfrm.
23005         * localedata/xfrm-test.c (main): Added command line option
23006         -nocache to run the test with strings that are too large for
23007         the STRXFRM cache.
23009 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23011         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23012         variable to lll_futex_wake call, not the value itself.
23014 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23016         [BZ #17803]
23017         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23018         twom64.  Adjust value to 0x1p-64L.
23019         (__scalblnl): Only return standard underflowing result for K <=
23020         -64 not K <= -63; adjust exponent for underflowing result by 64
23021         not 63.
23022         * math/libm-test.inc (scalbn_test_data): Add more tests.
23023         (scalbln_test_data): Likewise.
23025         [BZ #17834]
23026         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23027         0x1p63L.
23028         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23029         not HX.
23030         * math/libm-test.inc (scalbn_test_data): Add more tests.
23031         (scalbln_test_data): Likewise.
23033 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23034             Stefani Seibold  <stefani@seibold.net>
23036         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23037         (sysdep_routines): Add dl-vdso here, ...
23038         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23039         (sysdep_routines): ... not here.
23040         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23041         fallback when vDSO is not presented.
23042         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23043         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23044         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23045         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23046         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23047         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23048         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23049         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23050         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23051         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23052         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23053         fallback configurable symbol when vDSO is not available.
23054         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23055         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23056         be able to redefine fallback symbol when vDSO is not available.
23057         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23058         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23060 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23062         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23063         (TLS_INIT_TP): Add tm_capable initialization.
23064         (TLS_DEFINE_INIT_TP): Likewise.
23065         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23066         TCB.
23067         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23068         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23069         calculation.
23070         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23071         transactoion is lock elision is built and TCB tm_capable is set.
23072         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23074         (INTERNAL_SYSCALL_NCS): Likewise.
23075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23076         (INTERNAL_SYSCALL_NCS): Likewise.
23077         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23079         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23080         for powerpc.
23081         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23082         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23083         and remove it for 32 bits case.
23084         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23086         initialization.
23087         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23088         Disable lock elision with rdlocks if elision is not available.
23090         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23091         (sysdep_routines): Add lock elision objects.
23092         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23093         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23094         [pthread_mutex_t] (__elision): Add field.
23095         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23096         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23097         elision definitions for powerpc.
23098         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23099         implementation of lock elision for powerpc.
23100         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23101         implementation of timed lock elision for powerpc.
23102         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23103         implementation of trylock with lock elision for powerpc.
23104         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23105         implementaion of unlock for lock elision for powerpc.
23106         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23107         automatic enable lock elision for mutexes.
23108         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23109         transaction execution definitions for powerpc.
23110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23111         definitions.
23112         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23113         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23114         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23115         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23116         * NEWS: Update.
23118 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23120         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23121         for #include of <shm-directory.h>.
23123 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23125         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23126         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23128 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23130         [BZ #17791]
23131         * NEWS: Mention bug fix.
23132         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23133         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23134         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23136 2015-01-09  Torvald Riegel <triegel@redhat.com>
23138         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23140 2015-01-09  Torvald Riegel <triegel@redhat.com>
23142         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23144 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23146         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23147         pointer and cast to uintptr_t.
23149 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23151         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23152         removed.
23153         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23155 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23157         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23158         of 0.
23160 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23162         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23163         <nptl/pthreadP.h> instead.
23164         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23166         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23167         already defined.
23168         [__SIGRTMIN] (init): Function removed.
23169         [__SIGRTMIN] (initialized): Variable removed.
23170         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23171         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23172         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23173         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23174         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23175         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23176         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23177         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23178         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23179         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23180         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23181         * sysdeps/nptl/allocrtsig.c: New file.
23182         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23183         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23184         * sysdeps/generic/testrtsig.h: File removed.
23186         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23187         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23189         * nptl/nptl-init.c (pthread_functions): Conditionalize
23190         .ptr__nptl_setxid initialization on [SIGSETXID].
23192         * sysdeps/nptl/sys/procfs.h: New file.
23193         * nptl_db/Makefile (headers): Add it.
23194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23196         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23197         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23198         * nptl/pthread_attr_setaffinity.c: Include it.
23199         * nptl/pthread_setattr_default_np.c: Likewise.
23200         * nptl/check-cpuset.h: New file.
23202 2015-01-08  Richard Henderson  <rth@redhat.com>
23204         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23205         (CFLAGS-tst-execstack-prog.c): Likewise.
23206         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23208 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23209             Sandra Loosemore  <sandra@codesourcery.com>
23210             Andrew Jenner  <andrew@codesourcery.com>
23211             Joseph Myers  <joseph@codesourcery.com>
23212             Nathan Sidwell  <nathan@codesourcery.com>
23214         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23215         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23216         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23217         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23218         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23219         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23220         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23221         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23222         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23223         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23224         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23225         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23226         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23227         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23228         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23229         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23230         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23232 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23234         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23235         timespec struct member in syscall macro.
23236         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23237         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23238         first timeval struct member in syscall macro.
23239         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23241 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23243         [BZ #17748]
23244         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23245         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23246         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23247         __feupdateenv and define as weak alias of __feupdateenv.  Use
23248         libm_hidden_weak.
23249         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23250         libm_hidden_def.
23251         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23252         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23253         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23254         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23255         libm_hidden_def.
23256         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23257         __feupdateenv and define as weak alias of __feupdateenv.  Use
23258         libm_hidden_weak.
23259         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23260         libm_hidden_def.
23261         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23262         __feupdateenv and define as weak alias of __feupdateenv.  Use
23263         libm_hidden_weak.
23264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23265         libm_hidden_def.
23266         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23267         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23268         (__feupdateenv): Likewise.
23269         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23270         __feupdateenv and define as weak alias of __feupdateenv.  Use
23271         libm_hidden_weak.
23272         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23273         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23274         libm_hidden_def.
23275         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23276         function.
23277         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23278         libm_hidden_def.
23279         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23280         __feupdateenv instead of feupdateenv.
23281         (default_libc_feupdateenv_test): Likewise.
23282         (libc_feresetround_ctx): Likewise.
23284 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23286         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23287         prototype.
23289 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23291         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23292         COLL_SYM in a couple of places to avoid uninitialized variable
23293         wanings on tilegx gcc 4.8.2.
23295 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23297         * sysdeps/aarch64/strcpy.S: New file.
23298         * sysdeps/aarch64/stpcpy.S: New file.
23299         * NEWS: Updated.
23301 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23303         * sysdeps/aarch64/strrchr.S: New file.
23304         * NEWS: Updated.
23306 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23308         [BZ #17658]
23309         * stdlib/setenv.c: Fix memory leak when setting large,
23310         duplicate string.
23312 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23314         [BZ #17273]
23315         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23316         and tabs from buffer before parsing fstab entry.
23317         * misc/tst-mntent.c (main): Add test for mount entry with
23318         trailing spaces and tabs.
23320 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23322         [BZ #17748]
23323         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23324         * math/fesetround.c (fesetround): Rename to __fesetround and
23325         define as weak alias of __fesetround.  Use libm_hidden_weak.
23326         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23327         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23328         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23329         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23330         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23331         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23332         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23333         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23334         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23335         __fesetround_inline.
23336         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23337         __fesetround_inline instead of __fesetround.
23338         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23339         __fesetround and define as weak alias of __fesetround.  Use
23340         libm_hidden_weak.  Call __fesetround_inline instead of
23341         __fesetround.
23342         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23343         __fesetround and define as weak alias of __fesetround.  Use
23344         libm_hidden_weak.
23345         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23346         Likewise.
23347         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23348         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23349         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23350         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23351         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23352         __fesetround and define as weak alias of __fesetround.  Use
23353         libm_hidden_weak.
23354         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23355         __fesetround instead of fesetround.
23356         (default_libc_feholdexcept_setround): Likewise.
23357         (libc_feholdsetround_ctx): Likewise.
23358         (libc_feholdsetround_noex_ctx): Likewise.
23360         [BZ #17748]
23361         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23362         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23363         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23364         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23365         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23366         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23367         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23368         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23369         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23370         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23371         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23372         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23373         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23374         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23375         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23376         libm_hidden_def.
23377         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23378         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23379         Likewise.
23380         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23381         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23382         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23383         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23384         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23385         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23386         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23387         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23388         __fesetenv instead of fesetenv.
23389         (libc_feresetround_noex_ctx): Likewise.
23390         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23391         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23392         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23393         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23394         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23395         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23396         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23397         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23398         (__feupdateenv): Likewise.
23399         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23400         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23401         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23402         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23404 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23406         [BZ #17806]
23407         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23408         addresses have been freed.
23410 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23412         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23413         and nservall.
23415 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23417         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23418         Clean up check_pf allocation pattern. addresses
23420 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23422         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23423         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23424         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23425         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23426         * nptl/pthread_join.c (pthread_join): Likewise.
23427         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23428         * sysdeps/posix/waitid.c (__waitid): Likewise.
23429         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23430         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23431         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23432         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23434         Likewise.
23435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23436         (__libc_pread64): Likewise.
23437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23438         (__libc_pwrite): Likewise.
23439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23440         (__libc_pwrite64): Likewsie.
23441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23442         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23443         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23444         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23445         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23446         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23447         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23449         Likewise.
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23451         (__libc_pread64): Likewise.
23452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23453         Likewise.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23455         (__libc_pwrite64): Likewise.
23456         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23457         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23458         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23459         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23460         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23461         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23462         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23463         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23464         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23465         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23466         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23467         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23468         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23469         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23470         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23471         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23472         Likewise.
23474 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23476         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23477         (CFLAGS-test-double.c): Likewise.
23478         (CFLAGS-test-ldouble.c): Likewise.
23479         (CPPFLAGS-test-ifloat.c): Likewise.
23480         (CPPFLAGS-test-idouble.c): Likewise.
23481         (CPPFLAGS-test-ildoubl.c): Likewise.
23482         (CFLAGS-test-test-fenv.c): Remove variable.
23483         (CFLAGS-test-misc.c): Likewise.
23485 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23487         [BZ #17797]
23488         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23489         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23490         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23491         CLOCKS_PER_SEC == 1000000.
23492         * time/clocktest.c (main): Replace %ld with %jd and cast to
23493         intmax_t.
23495 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23497         * sysdeps/generic/unwind-resume.h: New file.
23498         * sysdeps/gnu/unwind-resume.c: Include it.
23499         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23500         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23501         argument list.
23502         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23503         global rather than static.
23504         (_Unwind_Resume): Update user.
23505         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23506         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23507         rather than static.  Add __attribute__ ((cold)).
23508         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23509         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23510         * sysdeps/arm/arm-unwind-resume.S: New file.
23511         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23512         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23513         * sysdeps/arm/Makefile [$(subdir) = csu]
23514         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23515         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23516         Add rt-arm-unwind-resume.
23517         [$(subdir) = nptl]
23518         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23519         Add pt-arm-unwind-resume.
23520         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23521         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23523 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23525         [BZ #17748]
23526         * include/fenv.h (__feholdexcept): Declare.  Use
23527         libm_hidden_proto.
23528         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23529         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23530         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23531         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23532         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23533         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23534         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23535         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23536         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23537         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23538         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23539         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23540         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23541         (feholdexcept): Likewise.
23542         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23543         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23544         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23545         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23546         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23547         __feholdexcept instead of feholdexcept.
23548         (default_libc_feholdexcept_setround): Likewise.
23550 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23552         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23553         to avoid using stl/str to align destination.
23555 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23557         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23559 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #17796]
23562         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23563         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23564         Define as weak alias not strong alias.
23566 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23568         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23569         bltzal with addiupc.
23570         (RTLD_START): Ditto.
23572 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23574         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23575         for __vdso_* functions in declarations.
23576         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23577         definitions.
23578         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23579         INTERNAL_VSYSCALL): Use struct return types to check for error.
23581         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23582         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23583         function with cast from llround().
23584         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23585         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23586         Define.
23588 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23590         [BZ #17793]
23591         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23592         Define as weak alias not strong alias.
23594         [BZ #17635]
23595         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23596         ...
23597         * ctype/ctype-extn.c: ... here.
23598         (__isblank_l): Move to ...
23599         * ctype/ctype-c99_l.c: ... here.  New file.
23600         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23601         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23602         Remove variable.
23603         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23604         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23605         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23606         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23607         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23609         [BZ #17777]
23610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23611         (posix_fadvise64): Define as weak alias not strong alias.
23612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23613         (posix_fallocate64): Likewise.
23614         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23615         Remove variable.
23616         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23617         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23618         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23619         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23620         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23622 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23624         [BZ #16191]
23625         * NEWS: Mention bug fix.
23626         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23627         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23628         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23629         (HOST_STACK_END_ADDR): Likewise.
23631 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23633         [BZ #17748]
23634         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23635         * math/fegetround.c (fegetround): Rename to __fegetround and
23636         define as weak alias of __fegetround.  Use libm_hidden_weak.
23637         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23638         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23639         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23640         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23641         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23642         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23643         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23644         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23645         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23646         Undefine after rather than before function definition; use
23647         parentheses around function name in definition.
23648         (__fegetround): Also undefine macro after function definition.
23649         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23650         __fegetround and define as weak alias of __fegetround.  Use
23651         libm_hidden_weak.  Do not undefine as macro.
23652         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23653         Likewise.
23654         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23655         __fegetround and define as weak alias of __fegetround.  Use
23656         libm_hidden_weak.
23657         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23658         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23659         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23660         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23661         __fegetround and define as weak alias of __fegetround.  Use
23662         libm_hidden_weak.
23663         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23664         __fegetround instead of fegetround.
23666         [BZ #17782]
23667         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23668         Condition macro definition on [__USE_MISC].
23670         [BZ #17781]
23671         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23672         (struct sigaction): Change type of sa_flags field to int.
23674         [BZ #17780]
23675         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23676         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23677         __glibc_reserved0.
23679         * nptl/version.c (banner): Use single year in copyright notice.
23681         * NEWS: Update copyright dates.
23682         * catgets/gencat.c (print_version): Likewise.
23683         * csu/version.c (banner): Likewise.
23684         * debug/catchsegv.sh: Likewise.
23685         * debug/pcprofiledump.c (print_version): Likewise.
23686         * debug/xtrace.sh (do_version): Likewise.
23687         * elf/ldconfig.c (print_version): Likewise.
23688         * elf/ldd.bash.in: Likewise.
23689         * elf/pldd.c (print_version): Likewise.
23690         * elf/sotruss.sh: Likewise.
23691         * elf/sprof.c (print_version): Likewise.
23692         * iconv/iconv_prog.c (print_version): Likewise.
23693         * iconv/iconvconfig.c (print_version): Likewise.
23694         * locale/programs/locale.c (print_version): Likewise.
23695         * locale/programs/localedef.c (print_version): Likewise.
23696         * login/programs/pt_chown.c (print_version): Likewise.
23697         * malloc/memusage.sh (do_version): Likewise.
23698         * malloc/memusagestat.c (print_version): Likewise.
23699         * malloc/mtrace.pl: Likewise.
23700         * manual/libc.texinfo: Likewise.
23701         * nptl/version.c (banner): Likewise.
23702         * nscd/nscd.c (print_version): Likewise.
23703         * nss/getent.c (print_version): Likewise.
23704         * nss/makedb.c (print_version): Likewise.
23705         * posix/getconf.c (main): Likewise.
23706         * scripts/test-installation.pl: Likewise.
23707         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23709 2015-01-02  Will Newton  <will.newton@linaro.org>
23711         * sysdeps/arm/armv7/configure: Removed.
23712         * sysdeps/arm/armv7/configure.ac: Likewise.
23714 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23716         * All files with FSF copyright notices: Update copyright dates
23717         using scripts/update-copyrights.
23718         * intl/plural.c: Regenerated.
23719         * locale/programs/charmap-kw.h: Likewise.
23720         * locale/programs/locfile-kw.h: Likewise.
23722 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23724         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23726 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23728         [BZ #17748]
23729         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23730         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23731         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23732         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23733         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23734         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23735         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23736         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23737         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23738         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23739         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23740         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23741         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23742         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23743         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23744         libm_hidden_def.
23745         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23746         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23747         Likewise.
23748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23749         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23750         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23751         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23752         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23753         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23754         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23755         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23756         __fegetenv instead of fegetenv.
23757         (libc_feholdsetround_noex_ctx): Likewise.
23759 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23761         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23762         (Elf_MIPS_ABIFlags_v0): New structure.
23763         (EF_MIPS_FP64): Define.
23764         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23765         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23766         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23767         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23768         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23769         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23770         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23771         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23772         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23773         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23774         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23775         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23776         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23777         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23778         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23779         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23780         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23781         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23782         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23783         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23784         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23785         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23786         field.
23787         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23788         EF_MIPS_FP64.
23789         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23790         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23791         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23792         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23793         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23794         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23795         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23796         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23797         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23798         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23799         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23800         record the current FP ABI extension.
23801         (mips-mode-switch): Define to show if kernel headers support mode
23802         switching.
23803         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23804         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23805         supported SYSV ABI version to 3.
23806         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23807         feature.
23809 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23812         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23813         path.
23814         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23816 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23818         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23819         __fegetround and redefine to call __fegetround.  Remove condition
23820         on [!__NO_MATH_INLINES].
23821         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23822         function.
23823         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23824         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23825         Remove macro.
23826         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23827         instead of <fenv_libc.h>.
23828         (__llrintl): Call fegetround instead of __fegetround.
23829         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23830         instead of <fenv_libc.h>.
23831         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23832         (__lrintl): Call fegetround instead of __fegetround.
23833         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23834         instead of <fenv_libc.h>.
23835         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23836         (__rintl): Call fegetround instead of __fegetround.
23838 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23840         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23841         arrays.
23843 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23845         [BZ #17775]
23846         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23847         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23848         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23850 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23852         * sysdeps/i386/tls-macros.h: Include <features.h>.
23853         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23854         (TLS_IE): Likewise.
23855         (TLS_LD): Likewise.
23856         (TLS_GD): Likewise.
23857         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23858         define for GCC >= 5.0.
23860 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23862         * math/test-fenv.c (test_single_exception, set_single_exc,
23863         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23864         feexcp_mask_test, feenable_test, fe_single_test): Add
23865         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23866         case where they are not used.
23867         * math/libm-test.inc: Likewise.
23868         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23869         unused in the absence of FP rounding/exception support.
23870         * stdio-common/tst-printf-round.c: Likewise.
23871         * stdlib/tst-strtod-round.c: Likewise.
23872         * stdlib/tst-strtod-underflow.c: Likewise.
23874 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23876         [BZ #17723]
23877         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23878         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23879         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23880         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23881         libm_hidden_weak.
23882         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23883         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23884         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23885         libm_hidden_def.
23886         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23887         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23888         libm_hidden_weak.
23889         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23890         Likewise.
23891         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23892         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23893         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23894         libm_hidden_weak.
23895         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23896         libm_hidden_def.
23897         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23898         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23899         (__feraiseexcept): Likewise.
23900         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23901         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23902         libm_hidden_weak.
23903         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23904         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23905         libm_hidden_def.
23906         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23907         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23908         Use libm_hidden_def.
23909         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23910         libm_hidden_def.
23911         (feraiseexcept): Define as weak not strong alias.  Use
23912         libm_hidden_weak.
23913         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23914         New inline function.  Factored out of ...
23915         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23916         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23917         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23918         feraiseexcept.
23919         * math/w_acos.c (__acos): Likewise.
23920         * math/w_asin.c (__asin): Likewise.
23921         * math/w_ilogb.c (__ilogb): Likewise.
23922         * math/w_j0.c (y0): Likewise.
23923         * math/w_j1.c (y1): Likewise.
23924         * math/w_jn.c (yn): Likewise.
23925         * math/w_log.c (__log): Likewise.
23926         * math/w_log10.c (__log10): Likewise.
23927         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23928         * sysdeps/aarch64/fpu/math_private.h
23929         (libc_feupdateenv_test_aarch64): Likewise.
23930         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23931         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23932         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23933         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23934         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23935         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23936         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23937         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23938         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23939         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23941 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23943         [BZ #17732]
23944         * io/test-utime.c (main): Replace %ld with %jd and cast to
23945         intmax_t.
23946         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23947         * nptl/tst-mutex5.c: Include <stdint.h>.
23948         (do_test): Replace %ld with %jd and cast to intmax_t.
23949         * posix/tst-regex.c (run_test): Likewise.
23950         (run_test_backwards): Likewise.
23951         * rt/tst-clock.c: Include <stdint.h>.
23952         (clock_test): Replace %ld with %jd and cast to intmax_t.
23953         * rt/tst-cpuclock1.c: Include <stdint.h>.
23954         (do_test): Replace %lu with %ju and cast to uintmax_t.
23955         * rt/tst-cpuclock2.c: Include <stdint.h>.
23956         (do_test): Replace %lu with %ju and cast to uintmax_t.
23957         * rt/tst-mqueue1.c: Include <stdint.h>.
23958         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23959         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23960         intmax_t.
23961         * rt/tst-mqueue4.c (do_test): Likewise.
23962         * rt/tst-timer4.c: Include <stdint.h>.
23963         (check_ts): Replace %ld with %jd and cast to intmax_t.
23964         (do_test): Likewise.
23965         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23966         and cast to intmax_t.
23967         * sysdeps/pthread/tst-timer.c (main): Likewise.
23968         * time/clocktest.c (main): Likewise.
23969         * time/tst-posixtz.c (do_test): Likewise.
23970         * timezone/tst-timezone.c (main): Likewise.
23972 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23973             H.J. Lu  <hongjiu.lu@intel.com>
23975         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23976         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23977         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23978         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23979         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23980         version if bit_Fast_Unaligned_Load is set.
23981         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23982         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23983         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23984         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23985         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23987         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23988         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23989         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23990         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23991         to 4.
23992         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23993         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23994         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23995         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23997 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23999         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24000         instead of #if to avoid a Wundef warning.
24001         * stdlib/tst-limits.c (do_test): Likewise.
24003         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24004         parallel other exception macros.
24005         (fegetenv): Convert from macro to extern inline so that it applies
24006         retroactively to inline functions already seen by the compiler.
24007         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24009         * posix/Makefile (before-compile): Use $(objpfx) for
24010         posix-conf-vars-def.h.
24012 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24014         * posix/getconf.c (main): Use size_t for type of I.
24015         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24016         NSPEC.
24018         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24019         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24020         * posix/posix-envs.def: Likewise.
24021         * sysdeps/posix/sysconf.c: Likewise.
24022         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24023         (specs): Remove array.
24024         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24025         array.
24027         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24028         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24029         (__sysconf): Use CONF_IS_* macros.
24031         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24032         ($(objpfx)posix-conf-vars-def.h): New target.
24033         * posix/posix-conf-vars.list: New file.
24034         * posix/posix-conf-vars.h: New file.
24035         * posix/confstr.c: Include posix-conf-vars.h.
24036         (confstr): Use CONF_IS_* macros.
24037         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24038         CONF_IS_* macros.
24039         * scripts/gen-posix-conf-vars.awk: New file.
24041 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24043         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24044         fegetround): Add no-op macros to avoid linknamespace issues.
24046         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24047         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24049         * sysdeps/unix/sysv/linux/tile/sysdep.h
24050         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24051         assembly-specific section to avoid a redefinition warning.
24053         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24054         long before casting to pointer to avoid a cast warning.
24056 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24058         * sysdeps/tile/tilegx/Implies: New file.
24060 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24062         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24064 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24066         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24068 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24071         not define.
24072         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24073         <kernel-features.h>.
24074         (__utimes) [__NR_utimes]: Make code unconditional.
24075         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24076         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24077         (__ASSUME_UTIMES): Do not undefine.
24078         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24079         (__ASSUME_UTIMES): Likewise.
24080         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24081         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24082         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24083         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24085 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24087         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24089 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24091         [BZ #17747]
24092         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24093         alias to weak alias for j0l, y0l.
24094         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24095         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24097         [BZ #17746]
24098         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24099         conversion.
24101 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24103         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24104         to zero if not already defined.
24106 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24108         [BZ #17724]
24109         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24110         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24111         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24112         (char *) casts added.
24113         * sysdeps/ieee754/k_standardf.c: New file.
24114         * sysdeps/ieee754/k_standardl.c: Likewise.
24115         * math/Makefile (libm-support): Remove k_standard.
24116         (libm-calls): Add k_standard.
24118 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24120         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24121         Optimize to avoid an unnecessary FPCR read.
24123 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24125         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24126         Optimize to reduce FPCR/FPSR accesses.
24128 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24130         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24131         Call libc_fetestexcept_aarch64.
24133 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24135         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24136         Call libc_fesetround_aarch64.
24138 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24140         [BZ #17733]
24141         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24142         (__bind): Do not define as weak alias.
24143         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24144         define.
24145         (__getsockname): Do not define as weak alias.
24147 2014-12-22  Will Newton  <will.newton@linaro.org>
24149         * manual/install.texi: Document that we require bison 2.7
24150         or above.
24151         * INSTALL: Regenerate.
24152         * configure.ac: Use AC_CHECK_PROG_VER instead of
24153         AC_PATH_PROG when checking for bison and check for
24154         version 2.7 or above.
24155         * configure: Regenerate.
24157 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24159         [BZ #17745]
24160         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24161         * sysdeps/tile/ffsll.c (ffsll): To here.
24163         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24165 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24167         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24168         if not defined.
24169         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24170         definition.
24171         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24172         hidden ___tls_get_addr.
24173         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24174         hidden __tls_get_addr.
24175         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24176         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24177         Likewise.
24179 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24181         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24182         _dl_init call.
24184 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24186         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24187         from "call _dl_init@PLT".
24188         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24190 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24192         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24193         guarantees.
24195 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24197         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24199 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24201         [BZ #17744]
24202         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24203         strnlen.
24205 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24207         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24208         of multu on MIPSr6.
24209         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24210         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24211         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24212         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24213         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24215 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24217         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24218         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24219         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24220         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24221         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24222         mips32r6/mips64r6.
24223         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24225 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24227         * string/strncat.c (STRNCAT): Simplify implementation.
24229 2014-12-19  David S. Miller  <davem@davemloft.net>
24231         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24232         access the quad as both a long double and as a series of 4 words.
24234         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24235         link_map->l_info array access.
24237 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24239         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24241         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24242         * math/atest-exp2.c (TIMEOUT): Likewise.
24243         * math/atest-sincos.c (TIMEOUT): Likewise.
24245 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24247         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24248         -Wno-error with -fno-builtin-lround.
24250 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24252         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24253         Contains futex constants and functions moved over from ...
24254         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24255         <lowlevellock-futex.h>.
24256         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24257         (lll_timedwait_tid): Add comments and parentheses around macro
24258         arguments.
24260 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24263         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24264         (__lll_private_flag): Remove.
24265         (lll_futex_wait): Likewise.
24266         (lll_futex_timed_wait): Likewise.
24267         (lll_futex_wake): Likewise.
24268         (lll_futex_requeue): Likewise.
24269         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24270         (__lll_timedwait_tid): Spell out argument names.
24271         (lll_timedwait_tid): Add comments and parentheses around macro
24272         arguments.
24273         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24274         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24276 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24278         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24279         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24280         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24281         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24282         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24283         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24284         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24285         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24286         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24287         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24289         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24290         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24292         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24293         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24294         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24295         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24296         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24298 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24300         * sysdeps/x86_64/x32/Makefile: New file.
24302 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24304         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24305         1L with (mp_limb_t) 1.
24307 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24309         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24310         * nptl/libc_pthread_init.c: ... here.
24311         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24312         * nptl/register-atfork.c: ... here.
24314         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24315         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24316         Use assert_perror to check its return value.
24317         (__gai_create_helper_thread): Likewise.
24319         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24321         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24323 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24325         [BZ #17725]
24326         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24327         __profil_counter.
24328         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24329         Likewise.
24330         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24331         Likewise.
24332         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24333         Likewise.
24334         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24335         (profil_counter): Likewise.
24336         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24337         (profil_counter): Likewise.
24338         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24339         Likewise.
24340         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24341         Likewise.
24342         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24343         (profil_counter): Likewise.
24344         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24345         Likewise.
24346         [!__profil_counter] (profil_counter): Define as weak alias of
24347         __profil_counter.
24348         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24349         (profil_counter): Rename to __profil_counter.
24350         [!__profil_counter] (profil_counter): Define as weak alias of
24351         __profil_counter.
24352         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24353         (profil_counter): Rename to __profil_counter.
24354         [!__profil_counter] (profil_counter): Define as weak alias of
24355         __profil_counter.
24356         * sysdeps/posix/profil.c: Update comment referring to
24357         profil_counter.
24358         (__profil): Use __profil_counter instead of profil_counter.
24359         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24360         __profil_counter.  Use __profil_counter_ushort and
24361         __profil_counter_uint in definitions.
24362         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24363         instead of profil_counter_uint and profil_counter_ushort.
24365         [BZ #17722]
24366         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24367         define as weak alias of __inet_makeaddr.
24368         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24369         as weak alias of __inet_addr.
24370         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24371         as weak alias of __inet_pton.  Use libc_hidden_weak.
24372         * include/arpa/inet.h (__inet_pton): Declare.  Use
24373         libc_hidden_proto.
24374         (inet_makeaddr): Don't use libc_hidden_proto.
24375         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24376         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24377         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24378         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24379         Remove variable.
24380         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24381         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24383 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24385         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24387 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24389         * stdio-common/bug-vfprintf-nargs.c (do_test):
24390         Cast value to intptr_t to avoid format warning
24391         for usage with PRIdPTR printing macro.
24393 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24395         * libio/tst-widetext.c (do_test):
24396         Use format type %td instead of %Zd for ptrdiff_t
24397         in order to avoid format warning.
24399 2014-12-17  Andreas Schwab  <schwab@suse.de>
24401         * nscd/mem.c (gc): Add size_t cast to match printf format.
24403 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24405         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24406         (init): Apply PTR_MANGLE to pointers before storing them.
24407         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24408         before using them.
24410 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24412         [BZ #17719]
24413         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24414         define as weak alias of __memrchr.
24415         (__memrchr): Do not define as strong alias of memrchr.
24416         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24417         Remove variable.
24418         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24419         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24420         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24422         [BZ #17717]
24423         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24424         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24425         (if_indextoname): Rename to __if_indextoname and define as weak
24426         alias of __if_indextoname.  Use libc_hidden_weak.
24427         (if_freenameindex): Rename to __if_freenameindex and define as
24428         weak alias of __if_freenameindex.
24429         (if_nameindex): Rename to __if_nameindex and define as weak alias
24430         of __if_nameindex.
24431         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24432         __if_nametoindex and define as weak alias of __if_nametoindex.
24433         Use libc_hidden_weak.
24434         (if_freenameindex): Rename to __if_freenameindex and define as
24435         weak alias of __if_freenameindex.
24436         (if_nameindex): Rename to __if_nameindex and define as weak alias
24437         of __if_nameindex.
24438         (if_indextoname): Rename to __if_indextoname and define as weak
24439         alias of __if_indextoname.  Use libc_hidden_weak.
24440         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24441         __if_nametoindex and define as weak alias of __if_nametoindex.
24442         Use libc_hidden_weak.
24443         (if_freenameindex): Rename to __if_freenameindex and define as
24444         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24445         (if_nameindex_netlink): Use __if_freenameindex instead of
24446         if_freenameindex.
24447         (if_nameindex): Rename to __if_nameindex and define as weak alias
24448         of __if_nameindex.  Use libc_hidden_weak.
24449         (if_indextoname): Rename to __if_indextoname and define as weak
24450         alias of __if_indextoname.  Use libc_hidden_weak.
24451         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24452         libc_hidden_proto.
24453         [!_ISOMAC] (__if_freenameindex): Likewise.
24454         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24455         if_nametoindex.
24456         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24457         variable.
24458         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24459         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24460         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24461         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24462         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24463         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24464         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24466         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24467         Remove variable.
24468         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24469         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24471 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24473         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24474         subscript above bounds'
24476         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24477         bounds.
24479 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24481         * libio/tst-fopenloc.c: Use test-skeleton.c.
24483         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24484         (entry): Rename to ITEM.
24485         (do_test, comp): Adjust.
24487         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24489 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24491         * string/tester.c: Include <libc-internal.h>.
24492         (test_memset): Ignore -Wmemset-transposed-args.
24494 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24496         * misc/tst-mntent2.c (do_test): Fix warning.
24498 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24500         * elf/tst-unique4lib.cc(a): Mark as used.
24502 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24504         [BZ #17630]
24505         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24506         names.
24508 2014-12-16  Allan McRae  <allan@archlinux.org>
24510         * stdio-common/Makefile (tests): Re-add bug26.
24512 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24514         [BZ #17657]
24515         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24516         static array.
24518 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24520         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24521         (__lll_lock_wait): Likewise.
24522         (__lll_timedlock_wait): Likewise.
24523         (__lll_timedwait_tid): Likewise.
24524         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24525         (__lll_robust_timedlock_wait): Likewise.
24526         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24527         (lll_cond_trylock): Likewise.
24528         (__lll_lock): Likewise.
24529         (__lll_robust_lock): Likewise.
24530         (__lll_cond_lock): Likewise.
24531         (lll_robust_cond_lock): Likewise.
24532         (__lll_timedlock): Likewise.
24533         (__lll_robust_timedlock): Likewise.
24534         (__lll_unlock): Likewise.
24535         (__lll_robust_unlock): Likewise.
24536         (lll_wait_tid): Likewise.
24537         (lll_timedwait_tid): Likewise.
24539 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24541         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24543 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24545         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24547 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24549         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24550         * stdio-common/tst-sprintf.c: Likewise.
24552 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24554         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24556 2014-12-15  Jeff Law  <law@redhat.com>
24558         [BZ #16617]
24559         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24560         on the heap.  (CVE-2012-3406)
24561         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24562         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24563         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24565 2014-12-15  Will Newton  <will.newton@linaro.org>
24567         * manual/install.texi: Bump required version of texinfo
24568         to 4.7 from 4.5.
24569         * INSTALL: Regenerated.
24570         * configure.ac: Check for makeinfo version 4.7 and above.
24571         * configure: Regenerated.
24573 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24575         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24576         PREFIX, string constant to insert between directory and name.
24577         * sysdeps/posix/shm_open.c: Update caller.
24578         * sysdeps/posix/shm_unlink.c: Likewise.
24579         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24580         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24581         (SEM_SHM_PREFIX): New macro.
24582         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24583         [$(have-thread-library) = no].
24584         * nptl/Makefile (libpthread-routines): Add shm-directory.
24585         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24586         * sysdeps/nptl/shm-directory.h: New file.
24587         * sysdeps/posix/shm-directory.c
24588         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24589         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24590         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24591         INTERNAL_SYSCALL.
24592         (__where_is_shmfs): Function removed.
24593         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24594         Variables removed.
24595         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24596         Use SHM_GET_NAME.
24597         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24599         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24600         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24601         unconditional for use inside libpthread.
24602         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24604 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24606         * nptl/pthread_getaffinity.c: New file.
24607         * nptl/pthread_setaffinity.c: New file.
24608         * nptl/pthread_getname.c: New file.
24609         * nptl/pthread_setname.c: New file.
24611         * nptl/pthread_create.c (START_THREAD_DEFN)
24612         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24614 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24617         * resolv/res_send.c (send_vc): Disable warning resplen may
24618         be used uninitialized.
24620 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24622         * nptl/tst-mutex6.c
24623         (ATTR_NULL): New define checks ATTR against NULL.
24624         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24625         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24627 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24629         [BZ #17581]
24630         * malloc/hooks.c
24631         (mem2mem_check): Revert my previous change.
24632         (malloc_check_get_size): Revert my previous change.
24633         (mem2chunk_check): Revert my previous change.
24635 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24637         * sysdeps/posix/shm-directory.c: New file.
24638         * sysdeps/posix/shm-directory.h: New file.
24639         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24640         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24641         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24642         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24643         Transmute EPERM to EACCES.
24644         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24645         from ...
24646         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24647         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24649 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24651         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24652         pointer and cast to uintptr_t.
24653         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24655         Add cast to avoid warning.
24656         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24658 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24660         * nptl/semaphore.h: Move to ...
24661         * sysdeps/pthread/semaphore.h: ... here.
24662         * Makefile (installed-headers): Change nptl/semaphore.h to
24663         sysdeps/pthread/semaphore.h.
24665 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24667         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24668         generated error format strings.
24670         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24671         -Wformat-extra-args warnings for scanf formats.
24672         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24673         test of zero-length format (duh).
24674         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24675         corner-case scanf format test.
24676         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24677         generated fprintf format string.
24678         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24679         corner-case sprintf format tests.
24680         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24681         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24682         -Wformat-extra-args warnings throughout.
24683         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24684         (CFLAGS-scanf4.c): Likewise.
24685         (CFLAGS-scanf7.c): Likewise.
24686         (CFLAGS-tst-sprintf.c): Likewise.
24687         (CFLAGS-tst-printf.c): Likewise.
24688         (CFLAGS-tst-printfsz.c): Likewise.
24690 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24692         * include/cpio.h: New file.
24693         * include/fmtmsg.h: Likewise.
24695         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24696         corresponding format argument to size_t.
24697         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24698         arguments.
24699         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24700         corresponding format argument to size_t.
24701         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24702         arguments.
24703         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24704         corresponding format argument to size_t.
24705         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24706         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24707         (CFLAGS-tst-mbswcs2.c): Likewise.
24708         (CFLAGS-tst-mbswcs3.c): Likewise.
24709         (CFLAGS-tst-mbswcs4.c): Likewise.
24710         (CFLAGS-tst-mbswcs5.c): Likewise.
24711         (CFLAGS-tst-trans.c): Likewise.
24713 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24715         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24716         rather than assuming they won't contain any '%'s.
24718 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24720         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24721         inhibit_loop_to_libcall to avoid recursive calls.
24722         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24723         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24725 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24727         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24728         prototype.
24730 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24732         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24733         integer value instead of boolean.
24735 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24737         * malloc/malloc.c: Fix powerof2 check.
24739 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24741         * locale/programs/locfile.h (maybe_swap_uint32):
24742         Remove inline and add unused attribute.
24744 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24746         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24747         Truncating assembler expression to a .long expression.
24749 2014-12-11  Andreas Schwab  <schwab@suse.de>
24751         * elf/rtld.c (struct map_args): Constify str member.
24752         (do_preload): Constify fname argument.
24754 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24756         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24757         constants definition.
24759 2014-12-11  Andreas Schwab  <schwab@suse.de>
24761         [BZ #16657]
24762         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24763         FORCE_ELISION instead of DO_ELISION.
24764         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24765         Remove.
24766         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24767         Likewise.
24769         * iconvdata/gconv-modules: Remove duplicate entry.
24771 2014-12-11  Will Newton  <will.newton@linaro.org>
24773         Merge gettext 0.19.3 into intl/.
24775         This involves a number of cosmetic changes to comments
24776         and ANSI function definitions and prototypes throughout
24777         all the files. The gettext copyright header is used but
24778         with the date ranges taken from the glibc copy.
24780         * NEWS: Add gettext merge to 2.21.
24781         * intl/bindtextdom.c: Switch to gettext copyright.
24782         Use ANSI definitions and prototypes.
24783         Use gl_* locking primitives rather than __libc_* ones.
24784         Use __builtin_expect rather than __glibc_likely/unlikely.
24785         * intl/dcgettext.c: Switch to gettext copyright.
24786         Use ANSI definitions and prototypes.
24787         * intl/dcigettext.c: Switch to gettext copyright.
24788         Use ANSI definitions and prototypes.
24789         (INTDIV0_RAISES_SIGFPE): New define.
24790         Use gl_* locking primitives rather than __libc_* ones.
24791         Include eval-plural.h instead of plural-eval.c.
24792         Use __builtin_expect rather than __glibc_likely/unlikely.
24793         * intl/dcngettext.c: Switch to gettext copyright.
24794         Use ANSI definitions and prototypes.
24795         * intl/dgettext.c: Likewise.
24796         * intl/dngettext.c: Likewise.
24797         * intl/plural-eval.c: Renamed to...
24798         * intl/eval-plural.h: ...this.
24799         * intl/explodename.c: Switch to gettext copyright.
24800         Use ANSI definitions and prototypes.
24801         (_nl_explode_name): Use strchr instead of __rawmemchr.
24802         * intl/finddomain.c: Switch to gettext copyright.
24803         Use ANSI definitions and prototypes.
24804         Use gl_* locking primitives rather than __libc_* ones.
24805         (_nl_find_domain): Use malloc rather than alloca for
24806         allocation of temporary locale name.
24807         * intl/gettext.c: Switch to gettext copyright.
24808         Use ANSI definitions and prototypes.
24809         * intl/gettextP.h: Switch to gettext copyright.
24810         Use ANSI definitions and prototypes.
24811         Use gl_* locking primitives rather than __libc_* ones.
24812         * intl/gmo.h: Switch to gettext copyright.
24813         (struct sysdep_string): Move struct segment_pair outside of
24814         struct definition.
24815         * intl/hash-string.c: Use ANSI definitions and prototypes.
24816         * intl/hash-string.h: Switch to gettext copyright.
24817         Use ANSI definitions and prototypes.
24818         * intl/l10nflist.c: Switch to gettext copyright.
24819         Use ANSI definitions and prototypes.
24820         (_nl_normalize_codeset): Avoid integer overflow.
24821         * intl/loadinfo.h: Switch to gettext copyright.
24822         Use ANSI definitions and prototypes.
24823         (LIBINTL_DLL_EXPORTED): New define.
24824         (PATH_SEPARATOR): New define.
24825         * intl/loadmsgcat.c: Switch to gettext copyright.
24826         * intl/localealias.c: Switch to gettext copyright.
24827         Use ANSI definitions and prototypes.
24828         (_nl_expand_alias): Use PATH_SEPARATOR.
24829         * intl/ngettext.c: Switch to gettext copyright.
24830         Use ANSI definitions and prototypes.
24831         * intl/plural-exp.c: Likewise.
24832         * intl/plural-exp.h: Switch to gettext copyright.
24833         Use ANSI definitions and prototypes.
24834         (struct expression): Move definition of enum operator outside
24835         of struct definition.
24836         * intl/plural.c: Regenerate.
24837         * intl/plural.y: Switch to gettext copyright.
24838         Use ANSI definitions and prototypes.
24839         Port to bison 3.0.
24840         * intl/textdomain.c: Switch to gettext copyright.
24841         Use ANSI definitions and prototypes.
24842         Use gl_* locking primitives rather than __libc_* ones.
24844 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24846         * debug/warning-nop.c: Add used atrribute.
24848 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24850         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24852         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24853         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24854         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24856 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24857             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24859         [BZ #17634]
24860         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24861         Undefine after defining function.  Define as weak alias of
24862         __wcschr.  Use libc_hidden_weak.
24863         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24864         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24865         (libc_hidden_def): Also define __GI___wcschr alias.
24866         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24867         __wcschr and define as weak alias of __wcschr.
24868         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24869         __wcschr.
24870         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24871         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24872         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24873         libc_hidden_weak.  Do not use libc_hidden_def.
24874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24875         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24876         __GI___wcschr alias.
24877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24878         [IS_IN (libc)] (wcschr): Define as macro expanding to
24879         __redirect_wcschr.
24880         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24881         [IS_IN (libc)] (__wcschr_power6): Likewise.
24882         [IS_IN (libc)] (__wcschr_power7): Likewise.
24883         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24884         instead of wcschr.
24885         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24886         __libc_wcschr.
24887         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24888         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24889         __wcschr and define as weak alias of __wcschr.  Use
24890         libc_hidden_builtin_def.
24891         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24892         as weak alias of __wcschr.  Use libc_hidden_weak.
24893         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24894         wcschr.
24895         * time/era.c (_nl_init_era_entries): Likewise.
24896         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24897         variable.
24898         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24899         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24901 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24903         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24904         format for long int variable.
24906 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24908         [BZ #10672]
24909         * manual/search.texi: (Array Sort Function): Remove claim how to make
24910         qsort stable.
24912 2014-12-10  Andreas Schwab  <schwab@suse.de>
24914         [BZ #12847]
24915         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24916         user-controlled locks.
24918 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24920         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24921         register.
24923 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24925         * configure.ac (--disable-werror): New configure option.
24926         (enable_werror): New AC_SUBST.
24927         * configure: Regenerated.
24928         * config.make.in (enable-werror): New variable.
24929         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24930         -Wno-error=undef.
24931         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24932         * manual/install.texi (Configuring and compiling): Document
24933         --disable-werror.
24934         * INSTALL: Regenerated.
24935         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24936         (CFLAGS-tst-chk2.c): Likewise.
24937         (CFLAGS-tst-chk3.c): Likewise.
24938         (CFLAGS-tst-chk4.cc): Likewise.
24939         (CFLAGS-tst-chk5.cc): Likewise.
24940         (CFLAGS-tst-chk6.cc): Likewise.
24941         (CFLAGS-tst-lfschk1.c): Likewise.
24942         (CFLAGS-tst-lfschk2.c): Likewise.
24943         (CFLAGS-tst-lfschk3.c): Likewise.
24944         (CFLAGS-tst-lfschk4.cc): Likewise.
24945         (CFLAGS-tst-lfschk5.cc): Likewise.
24946         (CFLAGS-tst-lfschk6.cc): Likewise.
24948         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24949         (main): Disable -Wdeprecated-declarations around calls to
24950         register_printf_function.
24952         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24953         (do_test): Disable -Wdiv-by-zero around some calls to
24954         fwrite_unlocked and fread_unlocked.
24956         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24957         (DIAG_POP_NEEDS_COMMENT): Likewise.
24958         (_DIAG_STR1): Likewise.
24959         (_DIAG_STR): Likewise.
24960         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24961         * stdio-common/bug21.c: Include <libc-internal.h>.
24962         (do_test): Disable -Wformat around call to sscanf.
24963         * stdio-common/scanf14.c: Include <libc-internal.h>.
24964         (main): Disable -Wformat around some calls to scanf functions.
24966 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24968         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24970 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24972         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24973         stack variable alignment.
24975 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24977         [BZ #17682]
24978         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24979         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24980         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24981         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24982         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24983         __getrlimit instead of getrlimit.
24984         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24985         __gettimeofday instead of gettimeofday.
24986         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24987         Likewise.
24988         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24989         Likewise.
24990         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24991         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24992         Remove variable.
24993         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24994         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24996 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24998         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24999         for wide-character tests.
25001 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25003         * io/openat64.c: #include <libc-internal.h>
25004         (__openat64): Prototypify.  Use ignore_value on MODE.
25005         * io/openat.c: Likewise.
25006         * misc/reboot.c: #include <libc-internal.h>
25007         (reboot): Prototypify.  Use ignore_value on HOWTO.
25008         * misc/ptrace.c: #include <libc-internal.h>
25009         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25011 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25013         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25014         XPG4, UNIX98 and XOPEN2K.
25015         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25016         Remove variable.
25017         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25019 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25021         * libio/fileops.c: Use ISO C style for function definitions.
25022         * libio/iofopen.c: Likewise.
25023         * libio/wfileops.c: Likewise.
25025         [BZ #17653]
25026         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25027         offset on EOF.
25028         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25029         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25030         (fgets_func): Function pointer to fgets and fgetws.
25031         (do_ftell_test): Add test to verify ftell value after read
25032         EOF.
25033         (do_test): Set fgets_func.
25035         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25036         O_TRUNC flag for w and w+ modes.
25037         (do_rewind_test): Likewise.
25038         (do_ftell_test): Likewise.
25039         (do_write_test): Likewise.
25041         [BZ #17647]
25042         * libio/fileops.c (do_ftell): Seek only when there are
25043         unflushed writes.
25044         * libio/wfileops.c (do_ftell_wide): Likewise.
25045         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25046         test case.
25047         (do_one_test): Call it.
25049 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25051         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25052         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25053         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25054         Remove variable.
25055         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25056         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25057         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25059 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25061         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25062         Remove variable.
25063         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25065         [BZ #17668]
25066         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25067         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25068         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25069         __freeifaddrs.  Use libc_hidden_weak.
25070         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25071         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25072         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25073         __freeifaddrs.  Use libc_hidden_weak.
25074         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25075         __getifaddrs and define as weak alias of __getifaddrs.  Use
25076         libc_hidden_weak.
25077         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25078         __freeifaddrs.  Use libc_hidden_weak.
25079         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25080         Remove variable.
25081         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25082         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25084 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25086         [BZ #17601]
25087         * sysdeps/mips/start.S (__start): Use indirect jump to call
25088         __libc_start_main.
25090 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25092         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25094         * nptl/tst-mutex1.c: Include <stdbool.h>.
25095         [!ATTR] (ATTR_NULL): New macro.
25096         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25097         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25098         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25100         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25101         to char *.
25103         [BZ #17665]
25104         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25105         Change conditional to [__USE_MISC].
25107         [BZ #17664]
25108         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25109         fgets_unlocked.
25110         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25111         __fgets_unlocked.
25112         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25113         fgets_unlocked.
25114         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25115         Remove variable.
25116         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25117         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25118         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25119         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25120         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25121         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25122         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25123         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25124         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25126         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25128 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25131         Remove strpbrk objects.
25132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25133         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25134         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25136         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25137         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25140         Remove strcspn objects.
25141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25142         (__libc_ifunc_impl_list): Remove strcspn implementation.
25143         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25144         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25145         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25146         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25149         Remove strspn objetcs.
25150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25151         (__libc_ifunc_impl_list): Remove strspn implementation.
25152         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25153         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25154         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25155         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25157 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25159         [BZ #17581]
25160         * malloc/hooks.c
25161         (mem2mem_check): Add a terminator to the chain of checking blocks.
25162         (malloc_check_get_size): Use it here.
25163         (mem2chunk_check): Ditto.
25165 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25167         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25168         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25170 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25172         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25174         * nptl/nptl-init.c: Include libc-internal.h.
25175         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25177         * elf/ldconfig.c (search_dir): Expand comment.
25179 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25181         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25182         variable.
25183         (linknamespace-symlist-stdlibs-tests): Likewise.
25184         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25185         instead of $(objpfx)symlist-stdlibs.
25186         (linknamespace-libs-isoc): New variable.
25187         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25188         (linknamespace-libs-ISO): New variable.
25189         (linknamespace-libs-ISO99): Likewise.
25190         (linknamespace-libs-ISO11): Likewise.
25191         (linknamespace-libs-XPG3): Likewise.
25192         (linknamespace-libs-XPG4): Likewise.
25193         (linknamespace-libs-POSIX): Likewise.
25194         (linknamespace-libs-UNIX98): Likewise.
25195         (linknamespace-libs-XOPEN2K): Likewise.
25196         (linknamespace-libs-POSIX2008): Likewise.
25197         (linknamespace-libs-XOPEN2K8): Likewise.
25198         ($(objpfx)symlist-stdlibs): Replace by
25199         $(linknamespace-symlist-stdlibs-tests).  Use
25200         $(linknamespace-libs-$*) as set of libraries.
25201         ($(linknamespace-header-tests)): Update dependencies.  Use
25202         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25203         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25204         * conform/linknamespace.pl: Remove comment about considering
25205         definitions of symbols from irrelevant libraries.
25207 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25209         [BZ #13862]
25210         * elf/dl-tls.c: Include <atomic.h>.
25211         (oom): Remove #ifdef SHARED/#endif.
25212         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25213         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25214         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25215         big enough.
25216         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25217         * nptl/Makefile (tests): Add tst-stack4.
25218         (modules-names): Add tst-stack4mod.
25219         ($(objpfx)tst-stack4): New.
25220         (tst-stack4mod.sos): Likewise.
25221         ($(objpfx)tst-stack4.out): Likewise.
25222         ($(tst-stack4mod.sos)): Likewise.
25223         (clean): Likewise.
25224         * nptl/tst-stack4.c: New file.
25225         * nptl/tst-stack4mod.c: Likewise.
25227 2014-11-27  J. Brown  <jb999@gmx.de>
25229         * sysdeps/x86/bits/string.h: Add recent CPUs.
25231 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25233         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25234         sigblock.
25236         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25237         feof.
25239         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25240         variable.
25242 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25244         * nscd/connections.c: Include libc-internal.h because of macro
25245         usage ignore_value.
25247 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25249         * string/bits/string3.h (__warn_memset_zero_len): Don't
25250         declare for gcc newer than 5.0.
25251         (memset): Don't test for zero-length __LEN for gcc newer than
25252         5.0.
25254 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25256         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25257         size_t for %zu format.
25259         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25260         difference, not %ju.
25262 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25264         * include/libc-internal.h (ignore_value): New macro.
25265         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25266         with ignore_value.
25268         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25269         definition.
25271         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25272         pthread_cleanup_push to void *.
25274         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25275         Undefine.
25277         [BZ #16619]
25278         [BZ #16740]
25279         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25280         instead of 1L << 52.
25282         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25283         * libio/bug-rewind2.c (do_test): Likewise.
25285         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25286         * debug/test-strcpy_chk-ifunc.c: Likewise.
25287         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25288         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25289         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25290         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25291         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25292         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25293         * Rules [$(multi-arch) = no] (tests): Do not filter out
25294         $(tests-ifunc).
25295         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25296         * debug/Makefile (tests-ifunc): Remove variable.
25297         (tests): Do not add $(tests-ifunc).
25298         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25299         (tests): Do not add $(tests-ifunc).
25300         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25301         [TEST_IFUNC]: Remove conditionals.
25302         * string/test-string.h (TEST_IFUNC): Remove macro.
25303         [TEST_IFUNC]: Remove conditionals.
25305         * string/test-strchr.c [!WIDE] (L): New macro.
25306         [WIDE] (L): Likewise.
25307         (check1): Use CHAR instead of char.  Use L on string and character
25308         constants.
25310 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25312         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25313         tests.
25314         * sysdeps/powerpc/bits/atomic.h
25315         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25316         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25317         (atomic_exchange_and_add_acq): Likewise.
25318         (atomic_exchange_and_add_rel): Likewise.
25319         * sysdeps/powerpc/powerpc32/bits/atomic.h
25320         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25321         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25322         * sysdeps/powerpc/powerpc64/bits/atomic.h
25323         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25324         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25326 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25328         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25329         Change synchronization of __sched_fifo_min_prio and
25330         __sched_fifo_max_prio.
25331         * nptl/pthread_mutexattr_getprioceiling.c
25332         (pthread_mutexattr_getprioceiling): Likewise.
25333         * nptl/pthread_mutexattr_setprioceiling.c
25334         (pthread_mutexattr_setprioceiling): Likewise.
25335         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25336         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25337         Likewise.
25339 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25341         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25342         void.
25344 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25346         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25347         third argument const.
25349 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25351         fnmatch: work around GCC compiler warning bug with uninit var
25352         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25353         This works around a bug with x86-64 GCC 4.9.2 and earlier
25354         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25355         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25356         used uninitialized in this function [-Wmaybe-uninitialized]".
25358 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25360         * posix/bug-regex31.c (main): Return RES not 0.
25362 2014-11-25  Anton Blanchard <anton@samba.org>
25364         * sysdeps/powerpc/bits/atomic.h
25365         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25367 2014-11-24  Sterling Augustine  <saugustine@google.com>
25369         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25371 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25373         [BZ #17608]
25374         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25376 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25378         [BZ #17633]
25379         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25380         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25381         variable.
25382         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25383         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25385 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25387         * string/strncpy.c (strncpy): Improve performance by using memset.
25389 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25391         * string/strcpy.c (strcpy):
25392         Improve performance by using strlen and memcpy.
25394 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25396         * string/strcoll_l.c (get_next_seq): __always_inline.
25397         * string/strcoll_l.c (do_compare): __always_inline.
25399 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25401         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25402         defined.
25403         * include/mqueue.h: Likewise.
25404         * include/stdlib.h: Likewise.
25406         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25407         (get_null_defines): Adjust.
25408         * sunrpc/Makefile: Adjust comment.
25409         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25410         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25411         (CFLAGS-interp.c): Likewise.
25412         (CFLAGS-ldconfig.c): Likewise.
25413         (CPPFLAGS-.os): Likewise.
25414         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25415         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25416         * extra-modules.mk (extra-modules.mk): Likewise.
25417         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25418         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25419         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25420         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25421         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25422         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25423         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25424         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25425         * iconvdata/Makefile (CPPFLAGS): Likewise.
25426         (cpp-srcs-left): Add libof for all iconvdata routines.
25427         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25428         * include/assert.h: Likewise.
25429         * include/ctype.h: Likewise.
25430         * include/errno.h: Likewise.
25431         * include/libc-symbols.h: Likewise.
25432         * include/math.h: Likewise.
25433         * include/netdb.h: Likewise.
25434         * include/resolv.h: Likewise.
25435         * include/stdio.h: Likewise.
25436         * include/stdlib.h: Likewise.
25437         * include/string.h: Likewise.
25438         * include/sys/stat.h: Likewise.
25439         * include/wctype.h: Likewise.
25440         * intl/l10nflist.c: Likewise.
25441         * libidn/idn-stub.c: Likewise.
25442         * libio/libioP.h: Likewise.
25443         * nptl/libc_multiple_threads.c: Likewise.
25444         * nptl/pthreadP.h: Likewise.
25445         * posix/regex_internal.h: Likewise.
25446         * resolv/res_hconf.c: Likewise.
25447         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25448         * sysdeps/arm/memmove.S: Likewise.
25449         * sysdeps/arm/sysdep.h: Likewise.
25450         * sysdeps/generic/_itoa.h: Likewise.
25451         * sysdeps/generic/symbol-hacks.h: Likewise.
25452         * sysdeps/gnu/errlist.awk: Likewise.
25453         * sysdeps/gnu/errlist.c: Likewise.
25454         * sysdeps/i386/i586/memcpy.S: Likewise.
25455         * sysdeps/i386/i586/memset.S: Likewise.
25456         * sysdeps/i386/i686/memcpy.S: Likewise.
25457         * sysdeps/i386/i686/memmove.S: Likewise.
25458         * sysdeps/i386/i686/mempcpy.S: Likewise.
25459         * sysdeps/i386/i686/memset.S: Likewise.
25460         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25461         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25462         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25463         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25464         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25465         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25466         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25467         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25468         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25476         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25477         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25478         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25479         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25480         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25481         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25482         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25483         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25484         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25485         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25486         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25487         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25488         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25489         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25490         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25491         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25493         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25494         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25496         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25497         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25498         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25499         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25500         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25501         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25502         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25503         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25504         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25505         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25506         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25507         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25508         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25509         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25511         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25512         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25513         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25514         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25515         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25516         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25517         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25518         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25520         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25521         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25522         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25523         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25524         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25525         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25526         * sysdeps/posix/closedir.c: Likewise.
25527         * sysdeps/posix/opendir.c: Likewise.
25528         * sysdeps/posix/readdir.c: Likewise.
25529         * sysdeps/posix/rewinddir.c: Likewise.
25530         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25531         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25532         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25533         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25534         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25536         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25541         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25542         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25543         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25544         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25545         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25546         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25547         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25548         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25549         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25550         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25551         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25552         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25553         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25554         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25555         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25556         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25557         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25558         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25565         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25566         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25567         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25568         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25569         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25570         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25572         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25573         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25574         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25575         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25576         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25578         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25579         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25580         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25581         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25583         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25586         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25587         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25588         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25589         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25590         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25591         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25594         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25595         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25596         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25597         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25598         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25599         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25600         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25601         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25602         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25603         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25604         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25605         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25606         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25607         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25608         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25609         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25610         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25611         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25612         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25614         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25615         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25616         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25617         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25618         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25619         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25620         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25621         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25622         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25623         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25624         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25625         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25626         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25628         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25629         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25630         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25631         * sysdeps/unix/alpha/sysdep.S: Likewise.
25632         * sysdeps/unix/alpha/sysdep.h: Likewise.
25633         * sysdeps/unix/make-syscalls.sh: Likewise.
25634         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25636         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25637         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25638         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25639         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25640         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25641         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25642         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25643         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25644         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25645         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25647         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25649         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25650         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25651         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25652         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25653         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25654         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25655         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25656         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25657         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25658         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25659         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25663         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25664         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25668         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25672         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25673         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25674         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25675         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25676         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25677         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25678         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25679         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25681         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25685         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25686         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25687         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25690         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25692         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25693         * sysdeps/x86_64/memcpy.S: Likewise.
25694         * sysdeps/x86_64/memmove.c: Likewise.
25695         * sysdeps/x86_64/memset.S: Likewise.
25696         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25697         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25698         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25699         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25700         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25701         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25703         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25704         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25705         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25706         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25707         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25708         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25711         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25713         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25714         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25715         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25716         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25717         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25718         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25719         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25720         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25721         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25722         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25723         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25725         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25726         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25727         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25728         * sysdeps/x86_64/strcmp.S: Likewise.
25730         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25732         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25733         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25734         * elf/rtld-Rules: Likewise.
25735         * elf/setup-vdso.h: Likewise.
25736         * include/assert.h: Likewise.
25737         * include/bits/stdlib-float.h: Likewise.
25738         * include/errno.h: Likewise.
25739         * include/sys/stat.h: Likewise.
25740         * include/unistd.h: Likewise.
25741         * sysdeps/aarch64/setjmp.S: Likewise.
25742         * sysdeps/alpha/setjmp.S: Likewise.
25743         * sysdeps/arm/__longjmp.S: Likewise.
25744         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25745         * sysdeps/arm/setjmp.S: Likewise.
25746         * sysdeps/arm/sysdep.h: Likewise.
25747         * sysdeps/generic/_itoa.h: Likewise.
25748         * sysdeps/generic/dl-sysdep.h: Likewise.
25749         * sysdeps/generic/ldsodefs.h: Likewise.
25750         * sysdeps/i386/dl-tls.h: Likewise.
25751         * sysdeps/i386/setjmp.S: Likewise.
25752         * sysdeps/m68k/setjmp.c: Likewise.
25753         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25754         * sysdeps/mach/hurd/opendir.c: Likewise.
25755         * sysdeps/posix/getcwd.c: Likewise.
25756         * sysdeps/posix/opendir.c: Likewise.
25757         * sysdeps/posix/profil.c: Likewise.
25758         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25759         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25760         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25761         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25762         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25763         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25764         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25765         * sysdeps/s390/dl-tls.h: Likewise.
25766         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25767         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25768         * sysdeps/sh/sh3/setjmp.S: Likewise.
25769         * sysdeps/sh/sh4/setjmp.S: Likewise.
25770         * sysdeps/unix/alpha/sysdep.h: Likewise.
25771         * sysdeps/unix/arm/sysdep.S: Likewise.
25772         * sysdeps/unix/i386/sysdep.S: Likewise.
25773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25774         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25775         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25776         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25777         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25778         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25779         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25781         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25782         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25783         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25784         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25785         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25788         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25791         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25793         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25797         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25800         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25801         * sysdeps/x86_64/setjmp.S: Likewise.
25803         * include/math.h: Use IS_IN instead of IS_IN_libm.
25804         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25805         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25806         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25808         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25809         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25810         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25811         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25814         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25815         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25816         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25817         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25818         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25819         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25820         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25821         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25822         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25823         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25824         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25825         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25826         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25827         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25828         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25829         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25830         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25831         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25832         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25833         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25834         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25835         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25836         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25838         Likewise.
25839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25840         Likewise.
25841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25842         Likewise.
25843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25844         Likewise.
25845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25846         Likewise.
25847         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25848         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25849         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25850         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25851         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25852         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25858         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25859         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25860         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25861         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25863         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25864         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25865         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25866         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25867         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25868         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25869         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25871         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25873         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25875         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25876         * nptl/pthreadP.h: Likewise.
25877         * nptl_db/structs.def: Likewise.
25878         * sysdeps/arm/sysdep.h: Likewise.
25879         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25880         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25881         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25882         * sysdeps/unix/alpha/sysdep.h: Likewise.
25883         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25885         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25887         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25888         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25889         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25890         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25891         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25892         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25893         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25895         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25896         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25901         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25904         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25905         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25906         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25907         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25908         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25910         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25911         * nptl/pthreadP.h: Likewise.
25912         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25913         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25914         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25915         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25916         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25917         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25918         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25919         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25920         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25921         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25922         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25923         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25925         Likewise.
25926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25927         Likewise.
25928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25930         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25932         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25933         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25934         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25935         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25937         * dlfcn/dladdr.c: Use IS_IN.
25938         * dlfcn/dladdr1.c: Likewise.
25939         * dlfcn/dlclose.c: Likewise.
25940         * dlfcn/dlerror.c: Likewise.
25941         * dlfcn/dlinfo.c: Likewise.
25942         * dlfcn/dlmopen.c: Likewise.
25943         * dlfcn/dlopen.c: Likewise.
25944         * dlfcn/dlsym.c: Likewise.
25945         * dlfcn/dlvsym.c: Likewise.
25947         * include/ifaddrs.h: Use IS_IN.
25948         * inet/check_pf.c: Likewise.
25949         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25950         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25952         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25953         IS_IN_ldconfig.
25954         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25955         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25957         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25958         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25959         IS_IN (libc).
25961         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25963         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25964         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25965         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25966         * include/libc-symbols.h (IS_IN_LIB): New macro.
25967         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25968         * include/netdb.h: Likewise.
25969         * include/stap-probe.h: Remove all uses of IN_LIB.
25971         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25972         instead of IN_MODULE.
25973         * include/libc-symbols.h (IN_MODULE): Define using
25974         MODULE_NAME.
25975         (PASTE_NAME, PASTE_NAME1): New macros.
25976         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25977         of IN_LIB.
25978         (STAP_PROBE_ASM): Likewise.
25980 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25982         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25983         __mach_init in dlopened libc.
25985 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25987         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25988         * sysdeps/arm/preconfigure: Regenerate.
25990 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25992         * nptl/pthread_create.c (__pthread_create_2_1): Set
25993         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25994         when copying values from IATTR into PD.
25996 2014-11-21  Will Newton  <will.newton@linaro.org>
25997             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25999         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26000         Refactor inline-asm.  Also add comment.
26002         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26003         ElfW macro instead of hardcoded Elf64 types.
26004         (la_aarch64_gnu_pltenter): Likewise.
26005         * sysdeps/aarch64/dl-machine.h
26006         (elf_machine_runtime_setup): Use ElfW(Addr).
26008         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26009         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26010         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26011         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26012         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26013         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26014         (R_AARCH64_TLS_DTPMOD): This.
26015         (R_AARCH64_TLS_DTPREL64): Rename to ...
26016         (R_AARCH64_TLS_DTPREL): This.
26017         (R_AARCH64_TLS_TPREL64): Rename to ...
26018         (R_AARCH64_TLS_TPREL): This.
26019         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26020         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26021         R_AARCH64_TLS_TPREL64.
26022         (elf_machine_rela): Likewise.
26024 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26026         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26027         by setting it to 0.  64b atomics are not supported currently.
26029 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26031         [BZ #16469]
26032         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26033         search domain names.
26035 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26037         [BZ #16469]
26038         * NEWS: Update.
26039         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26040         trailing dot.
26041         * posix/tst-getaddrinfo5.c: New.
26042         * posix/Makefile (tests): Add it.
26044 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26046         [BZ #14498]
26047         * NEWS: Fixed.
26048         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26049         after parsing line but before break_if_match.
26050         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26051         if there is a protocol mismatch.
26053 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26055         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26056         because the potential race is on the user-supplied stream.
26058 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26060         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26061         string literal if not passed a buffer.
26062         * manual/job.texi (ctermid): Update reasoning, note deviation
26063         from posix, suggest mtasurace when not passed a buffer, for
26064         future non-preliminary safety notes.
26066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26068         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26069         of not passing it a buffer.
26070         Reported by Peng Haitao.
26072 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26074         * manual/Makefile ($(objpfx)stamp-summary): Require
26075         check-safety.sh to pass.
26076         * manual/check-safety.sh: Wish for verification that every
26077         @deftypefn and @deftypefun is followed by a @safety remark.
26079 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26081         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26083         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26084         PTHREAD_CANCEL_ASYNCHRONOUS.
26085         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26086         send SIGCANCEL.
26088         * nptl/default-sched.h: New file.
26089         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26090         * nptl/pthread_create.c: Include it.
26091         (__pthread_create_2_1): Use collect_default_sched instead of making
26092         Linux syscalls here directly.
26094 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26096         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26097         __pthread_once): Use C11 atomics.
26099 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26101         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26103 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26105         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26106         atomic_thread_fence_acquire, atomic_thread_fence_release,
26107         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26108         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26109         atomic_compare_exchange_weak_relaxed,
26110         atomic_compare_exchange_weak_acquire,
26111         atomic_compare_exchange_weak_release,
26112         atomic_exchange_acquire, atomic_exchange_release,
26113         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26114         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26115         atomic_fetch_and_acquire,
26116         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26118 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26120         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26121         USE_ATOMIC_COMPILER_BUILTINS): Define.
26122         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26124         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26126         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26128         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26130         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26132         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26134         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26136         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26138         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26140         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26142         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26143         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26144         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26145         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26146         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26148         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26149         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26150         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26151         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26152         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26153         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26154         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26155         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26156         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26157         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26158         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26160         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26163 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26165         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26166         the sched_priority value here.  It was already checked when the user
26167         called pthread_attr_setschedparam.
26169         * nptl/tst-bad-schedattr.c: New file.
26170         * nptl/Makefile (tests): Add it.
26172 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26173             Florian Weimer  <fweimer@redhat.com>
26174             Joseph Myers  <joseph@codesourcery.com>
26175             Adam Conrad  <adconrad@0c3.net>
26176             Andreas Schwab  <schwab@suse.de>
26177             Brooks  <bmoses@google.com>
26179         [BZ #17625]
26180         * wordexp-test.c (__dso_handle): Add prototype.
26181         (__register_atfork): Likewise.
26182         (__app_register_atfork): New function.
26183         (registered_forks): New global.
26184         (register_fork): New function.
26185         (test_case): Add 3 new tests for WRDE_CMDSUB.
26186         (main): Call __app_register_atfork.
26187         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26188         fork count is non-zero fail the test.
26189         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26190         is set.
26191         (parse_dollars): Remove check for WRDE_NOCMD.
26192         (parse_dquote): Likewise.
26194 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26196         * Makeconfig (built-modules): List non-library modules to be
26197         built.
26198         (module-cppflags): Include libc-modules.h for
26199         everything except shlib-versions.v.i.
26200         (CPPFLAGS): Use it.
26201         (before-compile): Add libc-modules.h.
26202         ($(common-objpfx)libc-modules.h,
26203         $(common-objpfx)libc-modules.stmp): New targets.
26204         (common-generated): Add libc-modules.h and libc-modules.stmp.
26205         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26206         * include/libc-symbols.h: Don't include libc-modules.h.
26207         * include/libc-modules.h: Remove file.
26208         * scripts/gen-libc-modules.awk: New script to generate
26209         libc-modules.h.
26210         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26211         Depend on libc-modules.stmp.
26213         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26215         * Makeconfig (in-module): Get value of libof set for the
26216         translation unit.
26217         (CPPFLAGS): Use $(in-module).
26218         * Makerules: Don't suffix routine names for nonlib.
26219         * include/libc-modules.h: New file.
26220         * include/libc-symbols.h: Include libc-modules.h
26221         (IS_IN): New macro to replace IS_IN_* macros.
26222         * elf/Makefile: Set libof-* for each routine.
26223         * elf/rtld-Rules: Likewise.
26224         * extra-modules.mk: Likewise.
26225         * iconv/Makefile: Likewise.
26226         * iconvdata/Makefile: Likewise.
26227         * locale/Makefile: Likewise.
26228         * malloc/Makefile: Likewise.
26229         * nss/Makefile: Likewise.
26230         * sysdeps/gnu/Makefile: Likewise.
26231         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26232         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26233         * sysdeps/s390/s390-64/Makefile: Likewise.
26234         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26235         CPPFLAGS for nscd instead of nonlib.
26237 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26239         * nptl/createthread.c: New file.
26241         * nptl/createthread.c: Moved ...
26242         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26244         * nptl/createthread.c: Add proper top-line comment.
26245         (do_clone): Folded into ...
26246         (create_thread): ... here.  Take new arguments STOPPED_START and
26247         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26248         increment __nptl_threads, do event-reporting logic, do
26249         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26250         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26251         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26252         just send SIGCANCEL.
26253         * nptl/pthread_create.c: Forward-declare create_thread before
26254         including createthread.c.
26255         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26256         declaration, and new macro START_THREAD_SELF to replace argument.
26257         Remove return statement.
26258         (report_thread_creation): New function.
26259         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26260         synchronization logic, and __nptl_nthreads increment here, around
26261         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26262         PD->parent_cancelhandling here, before create_thread.  When
26263         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26264         __deallocate_stack, and ENOMEM translation here.
26266 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26268         [BZ #17616]
26269         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26270         (mptwo): Rename to __mptwo.
26271         (__inv): Use __mptwo instead of mptwo.
26272         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26273         (mptwo): Rename to __mptwo.
26274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26275         of mpone and __mptwo instead of mptwo.
26276         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26277         instead of mpone.
26278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26279         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26280         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26281         of mpone and __mptwo instead of mptwo.
26282         (__mpranred): Use __mpone instead of mpone.
26283         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26284         variable.
26285         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26286         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26287         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26288         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26289         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26290         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26291         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26292         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26293         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26294         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26295         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26296         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26297         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26298         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26299         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26300         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26301         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26302         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26303         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26305 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26307         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26308         replace BSD Handler xref with BSD Signal Handling.
26310 2014-11-17  Richard Henderson  <rth@redhat.com>
26312         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26313         (_FP_PACK_RAW_2): Remove.
26314         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26315         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26316         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26317         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26318         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26319         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26320         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26321         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26322         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26323         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26324         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26325         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26326         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26327         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26328         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26329         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26331 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26333         * signal/signal.h [__USE_MISC]
26334         (struct sigvec): Remove type.
26335         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26336         (sigvec): Remove declaration.
26337         * sysdeps/posix/sigvec.c: Moved ...
26338         * signal/sigvec.c: ... here, replacing old file.
26339         (struct sigvec): New type, copied from old signal.h definition.
26340         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26341         (__sigvec): Convert definition to prototype.
26342         (sigvec): Replace weak_alias with compat_symbol.
26343         * signal/Versions (libc: GLIBC_2.21): New version set.
26344         * include/signal.h: Remove __sigvec declaration.
26345         * sysdeps/unix/bsd/sigvec.c: Remove file.
26346         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26347         * manual/signal.texi (BSD Handler): Remove subsection.
26348         Move siginterrupt up to ...
26349         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26350         (Blocking in BSD): Fold subsection into its parent.
26351         * NEWS: Mention sigvec removal.
26353 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26355         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26356         (DLA_FMS): Make definition conditional only on [__FMA4__].
26357         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26358         definition.
26360         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26361         Make definition conditional only on [PROF].
26362         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26363         definition.
26364         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26365         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26367         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26368         !__GNUC__].
26369         * include/signal.h (__sigpause): Move declaration above call to
26370         libc_hidden_proto.
26371         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26372         variable.
26373         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26374         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26376 2014-11-14  David S. Miller  <davem@davemloft.net>
26378         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26379         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26381 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26383         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26384         * configure: Regenerated.
26385         * manual/install.texi (Tools for Compilation): Document a
26386         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26387         compiler verified to work.
26388         * INSTALL: Regenerated.
26390         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26391         redeclare with asm name.
26392         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26393         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26394         including <string.h>.
26395         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26396         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26397         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26399         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26401         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26403 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26405         * stdlib/strtol.c (__strtol): Use prototype definition.
26407         [BZ #17594]
26408         * stdlib/strtol.c (SYM__): New macro.
26409         (SYM__1): Likewise.
26410         (__strtol): Likewise.
26411         (strtol): Rename to __strtol and define as weak alias of
26412         __strtol.  Use libc_hidden_weak.
26414 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26416         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26417         Use numbered labels in inline assembly.
26419 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26421         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26422         Add setjmp LIBC_PROBE.
26423         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26424         Likewise.
26425         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26426         Add longjmp, longjmp_target LIBC_PROBE.
26427         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26428         Likewise.
26430 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26432         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26433         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26434         to get rid of unused variable warning.
26436 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26438         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26439         Check for unwind_backtrace ==  NULL only in SHARED case.
26440         (__backchain_backtrace): Compile only in SHARED case.
26441         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26442         Likewise.
26443         (__backchain_backtrace): Declare as static.
26445 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26447         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26448         (__libc_multiple_threads_ptr): Variable moved ...
26449         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26451 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26453         * conform/GlibcConform.pm: New file.
26454         * conform/conformtest.pl: Use GlibcConform module.
26455         * conform/linknamespace.pl: New file.
26456         * conform/list-header-symbols.pl: Likewise.
26457         * conform/Makefile (linknamespace-symlists-base): New variable.
26458         (linknamespace-symlists-tests): Likewise.
26459         (linknamespace-header-base): Likewise.
26460         (linknamespace-header-tests): Likewise.
26461         (tests-special): Add new tests.
26462         ($(linknamespace-symlists-tests)): New rule.
26463         (linknamespace-libs): New variable.
26464         ($(objpfx)symlist-stdlibs): New rule.
26465         ($(linknamespace-header-tests)): Likewise.
26466         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26467         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26468         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26469         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26470         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26471         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26472         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26473         (test-xfail-ISO/math.h/linknamespace): Likewise.
26474         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26475         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26476         (test-xfail-ISO/time.h/linknamespace): Likewise.
26477         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26478         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26479         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26480         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26481         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26482         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26483         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26484         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26485         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26486         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26487         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26488         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26489         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26490         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26491         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26492         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26493         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26494         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26495         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26496         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26497         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26498         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26499         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26500         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26501         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26502         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26503         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26504         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26505         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26506         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26507         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26508         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26509         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26510         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26511         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26512         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26513         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26514         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26515         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26516         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26517         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26518         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26519         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26520         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26521         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26522         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26523         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26524         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26525         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26526         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26527         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26528         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26529         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26530         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26531         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26532         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26533         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26534         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26535         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26536         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26537         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26538         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26539         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26540         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26541         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26542         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26543         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26544         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26545         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26546         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26547         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26548         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26549         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26550         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26551         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26552         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26553         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26554         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26555         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26556         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26557         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26558         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26559         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26560         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26561         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26562         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26563         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26564         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26565         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26566         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26567         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26568         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26569         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26570         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26571         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26572         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26573         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26574         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26575         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26576         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26577         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26578         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26579         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26580         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26581         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26582         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26583         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26584         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26585         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26586         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26587         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26588         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26589         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26590         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26591         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26592         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26593         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26594         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26595         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26596         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26597         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26598         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26599         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26600         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26601         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26602         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26603         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26604         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26605         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26606         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26607         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26608         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26609         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26610         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26611         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26612         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26613         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26614         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26615         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26616         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26617         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26618         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26619         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26620         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26621         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26622         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26623         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26624         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26625         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26626         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26628         [BZ #17589]
26629         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26630         of fgets_unlocked.
26632         [BZ #17585]
26633         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26634         (memmem): Rename to __memmem and define as weak alias of
26635         __memmem.  Use libc_hidden_weak.
26636         (__memmem): Use libc_hidden_def.
26637         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26638         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26639         memmem.
26641         [BZ #17582]
26642         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26643         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26644         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26645         and define as weak alias of __fgets_unlocked.  Use
26646         libc_hidden_weak.
26647         (__fgets_unlocked): Use libc_hidden_def.
26648         * include/stdio.h (__fgets_unlocked): Declare.  Use
26649         libc_hidden_proto.
26650         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26651         __fgets_unlocked instead of fgets_unlocked.
26652         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26653         (GET_NPROCS_CONF_PARSER): Likewise.
26654         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26655         (GET_NPROCS_CONF_PARSER): Likewise.
26657         [BZ #17574]
26658         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26659         weak alias of __wmemset.  Use libc_hidden_weak.
26660         (__wmemset): Use libc_hidden_def.
26661         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26662         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26663         of wmemset.
26665         [BZ #17573]
26666         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26667         with asm name __mempcpy.
26668         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26670         [BZ #17572]
26671         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26672         and define as weak alias of __rawmemchr.
26673         (__rawmemchr): Do not define as strong alias of rawmemchr.
26675         [BZ #17571]
26676         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26677         alias of __qsort_r.
26678         (qsort): Call __qsort_r instead of qsort_r.
26679         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26680         (__qsort_r): Declare.  Call libc_hidden_proto.
26681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26682         instead of qsort_r.
26683         * nscd/gai.c (__qsort_r): Define to qsort_r.
26684         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26685         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26686         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26688         [BZ #17570]
26689         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26690         define as weak alias of __malloc_info.
26692         [BZ #17584]
26693         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26694         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26695         (__rewinddir): Use libc_hidden_def.
26696         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26697         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26698         (__rewinddir): Use libc_hidden_def.
26699         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26700         weak alias of __rewinddir.  Don't use libc_hidden_def.
26701         (__rewinddir): Use libc_hidden_def.
26702         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26703         (__rewinddir): Use libc_hidden_proto.
26704         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26705         rewinddir.
26706         (__getcwd): Use __rewinddir instead of rewinddir.
26708         [BZ #17583]
26709         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26710         alias of __fileno.  Use libc_hidden_weak.
26711         (__fileno): Use libc_hidden_def.
26712         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26713         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26714         alias of __ftello.
26715         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26716         __ftello.
26717         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26718         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26719         libc_hidden_def.
26720         (fread_unlocked): Don't use libc_hidden_ver.
26721         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26722         and define as weak alias of __fread_unlocked.  Don't use
26723         libc_hidden_def.
26724         (__fread_unlocked): Use libc_hidden_def.
26725         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26726         (ftello): Don't use libc_hidden_proto.
26727         (__ftello): Declare.  Use libc_hidden_proto.
26728         (fread_unlocked): Don't use libc_hidden_proto.
26729         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26730         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26731         and __ftello instead of fileno, fread_unlocked and ftello.
26733 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26735         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26736         GOT12.
26737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26738         Likewise.
26739         (_dl_start_user): Likewise.
26740         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26742 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26743             Siddhesh Poyarekar  <siddhesh@redhat.com>
26745         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26746         Move argv and envp down instead of moving argc up.
26747         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26749 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26751         [BZ #17506]
26752         * test-skeleton.c (main): Return successful if one of
26753         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26754         * string/tst-strcoll-overflow.c: Define expected status.
26756 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26758         [BZ #17475]
26759         * locale/iso-639.def: Define Bhili and Tulu language codes.
26761 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26763         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26765 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26767         [BZ #17555]
26768         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26770 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26772         * configure.ac: Updated check of minimal required version to
26773         2.22.
26774         * manual/install.texi (Tools for Compilation): Updated version
26775         number.
26776         * configure: Regenerated.
26777         * INSTALL: Likewise.
26779 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26781         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26782         __tls_get_addr.
26784 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26786         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26787         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26788         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26789         libc_hidden_weak.
26790         (waitpid): Define as alias of __waitpid.
26791         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26792         __waitpid.
26793         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26794         libc_hidden_weak.
26795         (waitpid): Define as alias of __waitpid.
26796         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26797         __libc_waitpid alias.
26798         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26799         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26800         Likewise.
26801         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26802         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26803         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26804         alias.
26805         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26806         __waitpid.
26807         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26808         libc_hidden_weak.
26809         (waitpid): Define as alias of __waitpid.
26811 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26813         * manual/llio.texi: Add comment that write safety has been
26814         fixed in Linux.
26816         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26817         (localplt-build-dso): Add elf/ld.so.
26818         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26819         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26820         and free for ld.so.
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26822         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26824         Likewise.
26825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26826         Likewise.
26827         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26828         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26829         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26830         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26831         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26832         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26833         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26834         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26835         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26836         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26837         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26839 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26841         [BZ #14132]
26842         * include/libc-symbols.h (INTUSE): Remove macro.
26843         (INTDEF): Likewise.
26844         (INTVARDEF): Likewise.
26845         (_INTVARDEF): Likewise.
26846         (INTDEF2): Likewise.
26847         (INTVARDEF2): Likewise.
26848         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26849         rtld_hidden_def instead of INTVARDEF.
26850         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26851         (_dl_starting_up_internal): Remove declaration.
26852         (_dl_starting_up): Use rtld_hidden_proto.
26853         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26854         declaration.
26855         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26856         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26857         _dl_starting_up.
26858         * elf/dl-writev.h (_dl_writev): Likewise.
26859         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26860         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26861         _dl_starting_up_internal.
26863 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26865         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26866         test-skeleton.c.
26868 2014-11-05  Will Newton  <will.newton@linaro.org>
26870         * benchtests/Makefile: (bench-malloc): Add malloc thread
26871         scalability benchmark.
26872         * benchtests/bench-malloc-threads.c: New file.
26874 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26876         * sysdeps/aarch64/strchrnul.S: New file.
26878 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26880         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26881         definition.
26882         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26883         Likwise.
26884         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26885         Likewise.
26886         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26887         Likewise.
26888         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26889         Likewise.
26890         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26891         Likewise.
26893 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26895         * catgets/test-gencat.c: Use test-skeleton.c.
26896         * catgets/tst-catgets.c: Likewise.
26897         * csu/tst-empty.c: Likewise.
26898         * elf/tst-audit2.c: Likewise.
26899         * elf/tst-global1.c: Likewise.
26900         * elf/tst-pathopt.c: Likewise.
26901         * elf/tst-piemod1.c: Likewise.
26902         * elf/tst-tls10.c: Likewise.
26903         * elf/tst-tls11.c: Likewise.
26904         * elf/tst-tls12.c: Likewise.
26905         * gnulib/tst-gcc.c: Likewise.
26906         * iconvdata/tst-e2big.c: Likewise.
26907         * iconvdata/tst-loading.c: Likewise.
26908         * iconv/tst-iconv1.c: Likewise.
26909         * iconv/tst-iconv2.c: Likewise.
26910         * inet/test-inet6_opt.c: Likewise.
26911         * inet/tst-gethnm.c: Likewise.
26912         * inet/tst-network.c: Likewise.
26913         * inet/tst-ntoa.c: Likewise.
26914         * intl/tst-codeset.c: Likewise.
26915         * intl/tst-gettext2.c: Likewise.
26916         * intl/tst-gettext3.c: Likewise.
26917         * intl/tst-ngettext.c: Likewise.
26918         * intl/tst-translit.c: Likewise.
26919         * io/test-stat.c: Likewise.
26920         * libio/test-fmemopen.c: Likewise.
26921         * libio/tst-freopen.c: Likewise.
26922         * libio/tst-sscanf.c: Likewise.
26923         * libio/tst-ungetwc1.c: Likewise.
26924         * libio/tst-ungetwc2.c: Likewise.
26925         * libio/tst-widetext.c: Likewise.
26926         * localedata/tst-ctype.c: Likewise.
26927         * localedata/tst-digits.c: Likewise.
26928         * localedata/tst-leaks.c: Likewise.
26929         * localedata/tst-mbswcs1.c: Likewise.
26930         * localedata/tst-mbswcs2.c: Likewise.
26931         * localedata/tst-mbswcs3.c: Likewise.
26932         * localedata/tst-mbswcs4.c: Likewise.
26933         * localedata/tst-mbswcs5.c: Likewise.
26934         * localedata/tst-setlocale.c: Likewise.
26935         * localedata/tst-trans.c: Likewise.
26936         * localedata/tst-wctype.c: Likewise.
26937         * localedata/tst-xlocale1.c: Likewise.
26938         * login/tst-grantpt.c: Likewise.
26939         * malloc/tst-calloc.c: Likewise.
26940         * malloc/tst-malloc.c: Likewise.
26941         * malloc/tst-mallocstate.c: Likewise.
26942         * malloc/tst-mcheck.c: Likewise.
26943         * malloc/tst-mtrace.c: Likewise.
26944         * malloc/tst-obstack.c: Likewise.
26945         * math/atest-exp2.c: Likewise.
26946         * math/atest-exp.c: Likewise.
26947         * math/atest-sincos.c: Likewise.
26948         * math/test-matherr.c: Likewise.
26949         * math/test-misc.c: Likewise.
26950         * math/test-powl.c: Likewise.
26951         * math/tst-definitions.c: Likewise.
26952         * misc/tst-dirname.c: Likewise.
26953         * misc/tst-efgcvt.c: Likewise.
26954         * misc/tst-fdset.c: Likewise.
26955         * misc/tst-hsearch.c: Likewise.
26956         * misc/tst-mntent2.c: Likewise.
26957         * nptl/tst-sem7.c: Likewise.
26958         * nptl/tst-sem8.c: Likewise.
26959         * nptl/tst-sem9.c: Likewise.
26960         * nss/test-netdb.c: Likewise.
26961         * posix/tst-fnmatch.c: Likewise.
26962         * posix/tst-getlogin.c: Likewise.
26963         * posix/tst-gnuglob.c: Likewise.
26964         * posix/tst-mmap.c: Likewise.
26965         * pwd/tst-getpw.c: Likewise.
26966         * resolv/tst-inet_ntop.c: Likewise.
26967         * rt/tst-timer.c: Likewise.
26968         * stdio-common/test-fseek.c: Likewise.
26969         * stdio-common/test-popen.c: Likewise.
26970         * stdio-common/test-vfprintf.c: Likewise.
26971         * stdio-common/tst-cookie.c: Likewise.
26972         * stdio-common/tst-fileno.c: Likewise.
26973         * stdio-common/tst-gets.c: Likewise.
26974         * stdio-common/tst-obprintf.c: Likewise.
26975         * stdio-common/tst-perror.c: Likewise.
26976         * stdio-common/tst-sprintf2.c: Likewise.
26977         * stdio-common/tst-sprintf3.c: Likewise.
26978         * stdio-common/tst-sprintf.c: Likewise.
26979         * stdio-common/tst-swprintf.c: Likewise.
26980         * stdio-common/tst-tmpnam.c: Likewise.
26981         * stdio-common/tst-unbputc.c: Likewise.
26982         * stdio-common/tst-wc-printf.c: Likewise.
26983         * stdlib/tst-environ.c: Likewise.
26984         * stdlib/tst-fmtmsg.c: Likewise.
26985         * stdlib/tst-limits.c: Likewise.
26986         * stdlib/tst-rand48-2.c: Likewise.
26987         * stdlib/tst-rand48.c: Likewise.
26988         * stdlib/tst-random2.c: Likewise.
26989         * stdlib/tst-random.c: Likewise.
26990         * stdlib/tst-strtol.c: Likewise.
26991         * stdlib/tst-strtoll.c: Likewise.
26992         * stdlib/tst-tls-atexit.c: Likewise.
26993         * stdlib/tst-xpg-basename.c: Likewise.
26994         * string/test-ffs.c: Likewise.
26995         * string/tst-bswap.c: Likewise.
26996         * string/tst-inlcall.c: Likewise.
26997         * string/tst-strtok.c: Likewise.
26998         * string/tst-strxfrm.c: Likewise.
26999         * sysdeps/x86_64/tst-audit10.c: Likewise.
27000         * sysdeps/x86_64/tst-audit3.c: Likewise.
27001         * sysdeps/x86_64/tst-audit4.c: Likewise.
27002         * sysdeps/x86_64/tst-audit5.c: Likewise.
27003         * time/tst-ftime_l.c: Likewise.
27004         * time/tst-getdate.c: Likewise.
27005         * time/tst-mktime3.c: Likewise.
27006         * time/tst-mktime.c: Likewise.
27007         * time/tst-posixtz.c: Likewise.
27008         * time/tst-strptime2.c: Likewise.
27009         * time/tst-strptime3.c: Likewise.
27010         * wcsmbs/tst-btowc.c: Likewise.
27011         * wcsmbs/tst-mbrtowc.c: Likewise.
27012         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27013         * wcsmbs/tst-wchar-h.c: Likewise.
27014         * wcsmbs/tst-wcpncpy.c: Likewise.
27015         * wcsmbs/tst-wcrtomb.c: Likewise.
27016         * wcsmbs/tst-wcsnlen.c: Likewise.
27017         * wcsmbs/tst-wcstof.c: Likewise.
27019 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27021         [BZ #14132]
27022         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27023         INTDEF.
27024         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27025         declaration.
27026         (_dl_mcount): Use rtld_hidden_proto.
27027         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27028         _dl_mcount.
27029         * elf/rtld.c (_rtld_global_ro): Likewise.
27031         [BZ #14132]
27032         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27033         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27034         of _dl_init_internal.
27035         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27036         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27037         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27038         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27039         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27040         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27041         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27042         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27043         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27044         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27045         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27046         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27047         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27048         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27049         * sysdeps/tile/dl-start.S (_start): Likewise.
27050         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27051         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27053         [BZ #14132]
27054         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27055         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27056         (rtld_progname): Make macro definition unconditional.
27057         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27058         INTDEF.
27059         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27060         (dl_main): Likewise.
27061         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27062         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27063         instead of _dl_argv_internal.
27064         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27065         __GI__dl_argv instead of INTUSE(_dl_argv).
27066         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27067         __GI__dl_argv instead of _dl_argv_internal.
27069         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27070         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27071         macro.
27072         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27073         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27074         New macro.
27075         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27076         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27077         macro.
27078         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27079         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27081 2014-11-04  Andreas Schwab  <schwab@suse.de>
27083         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27085 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27087         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27088         mtvsrd instruction in binary form.
27090 2014-11-03  Andreas Schwab  <schwab@suse.de>
27092         [BZ #17522]
27093         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27094         for less than MB_LEN_MAX use a local buffer of that size.
27095         * libio/tst-fputws.c: New file.
27096         * libio/Makefile (tests): Add tst-fputws.
27098 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27100         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27101         the size of the fpu_fr.fpu_dregs[] array.
27103 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27105         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27106         (__nanosleep): Do not define as alias.
27107         (nanosleep): Define as alias of __nanosleep.
27108         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27109         __libc_nanosleep name.
27111 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27113         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27114         install.texi in comment.
27116 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27118         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27119         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27120         ... add here and use lwsync or sync ...
27121         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27122         ... and add here using lwsync.
27124 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27126         * elf/dl-machine-reject-phdr.h: New file.
27127         * elf/dl-load.c: #include that.
27128         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27129         if that returned true.
27131 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27133         [BZ #17496]
27134         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27135         gen-as-const-headers chunk.  Add a big scare comment after the last
27136         safe place to touch before-compile.
27138 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27140         * manual/install.texi (Tools for Compilation): Update autoconf
27141         version requirements.
27142         * INSTALL: Regenerated.
27144         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27145         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27146         (__libc_pselect): Likewise.
27148         [BZ #14138]
27149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27154 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27156         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27157         correct barrier instruction.
27158         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27159         Likewise.
27160         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27161         Likewise.
27163 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27165         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27166         after defining inlines.  Instead, just use parens to defeat macro
27167         expansion of __isctype in its declaration.
27169 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27171         * include/sys/uio.h (__libc_readv): Remove declaration.
27172         (__libc_writev): Likewise.
27173         * misc/readv.c (__libc_readv): Rename to __readv.
27174         (__readv): Do not define as alias.
27175         (readv): Define as alias of __readv.
27176         * misc/writev.c (__libc_writev): Rename to __writev.
27177         (__writev): Do not define as alias.
27178         (writev): Define as alias of __writev.
27179         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27180         (__readv): Do not define as alias.
27181         (readv): Define unconditionally as alias of __readv.
27182         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27183         (__writev): Do not define as alias.
27184         (writev): Define unconditionally as alias of __writev.
27185         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27186         name.
27187         (writev): Do not define __libc_writev name.
27189 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27191         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27192         (convert_charseq): New function, broken out of ...
27193         (use_from_charmap): ... here.  Call it.
27194         (use_to_charmap): Use convert_charseq and free instead of duplicating
27195         its code with a variable-length stack struct.
27197 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27199         * include/fcntl.h (__libc_creat): Remove declaration.
27200         * io/creat.c (__libc_creat): Rename to creat.
27201         (creat): Do not define as alias.
27202         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27203         of creat instead of __libc_creat.
27204         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27205         to creat.
27206         (creat): Do not define as alias.
27207         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27208         __libc_creat.
27209         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27210         __libc_creat name.
27211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27212         Likewise.
27214 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27216         * manual/llio.texi: Add comments discussing why write() may be
27217         considered MT-unsafe on Linux.
27219 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27221         * dl-load.c (local_strdup): Remove.
27222         (expand_dynamic_string_token): Use __strdup.
27223         (decompose_rpath): Likewise.
27224         (_dl_map_object): Likewise.
27226 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27228         [BZ #14132]
27229         * sysdeps/generic/unwind-dw2-fde.c
27230         (__register_frame_info_bases_internal): Do not declare.
27231         (__register_frame_info_table_bases_internal): Likewise.
27232         (__deregister_frame_info_bases_internal): Likewise.
27233         (__register_frame_info_bases): Declare and use hidden_proto before
27234         definition.  Use hidden_def instead of INTDEF.
27235         (__register_frame_info_table_bases): Likewise.
27236         (__deregister_frame_info_bases): Likewise.
27237         (__register_frame_info): Do not use INTUSE.
27238         (__register_frame): Likewise.
27239         (__register_frame_info_table): Likewise.
27240         (__register_frame_table): Likewise.
27241         (__deregister_frame_info): Likewise.
27242         (__deregister_frame): Likewise.
27244 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27247         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27248         not undefine.
27249         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27250         Likewise.
27251         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27252         Likewise.
27254 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27256         [BZ #14138]
27257         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27258         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27259         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27260         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27261         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27262         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27263         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27264         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27265         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27266         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27267         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27268         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27269         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27270         syscall.
27271         (setfsuid): Likewise.
27272         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27273         (setfsuid): Likewise.
27274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27275         (setfsuid): Likewise.
27276         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27277         Likewise.
27278         (setfsuid): Likewise.
27279         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27280         (setfsuid): Likewise.
27281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27282         Likewise.
27283         (setfsuid): Likewise.
27285 2014-10-27  Andreas Schwab  <schwab@suse.de>
27287         [BZ #17501]
27288         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27289         check for Slow_SSE4_2 feature bit.
27290         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27291         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27292         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27293         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27295 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27297         * configure.ac: Validate compiler version with a empirical test of
27298         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27299         $CC -v output.
27300         * configure: Regenerated.
27302         * inet/htons.c (htons): Prototypify.
27303         * inet/htonl.c (htonl): Likewise.
27305 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27307         * string/strncat.c (strncat): Improve performance by using strlen.
27309 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27311         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27315         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27316         Call libc_fetestexcept_aarch64.
27318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27320         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27321         Call libc_feholdexcept_aarch64.
27323 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27325         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27326         Call get_rounding_mode.
27328 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27331         Simplify logic.
27333 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27335         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27336         Simplify logic.
27338 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27340         [BZ #14138]
27341         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27342         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27343         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27344         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27345         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27346         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27347         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27348         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27349         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27350         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27353         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27354         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27355         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27356         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27357         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27358         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27359         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27360         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27361         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27362         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27363         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27364         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27365         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27366         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27367         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27368         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27369         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27370         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27371         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27372         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27373         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27374         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27375         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27376         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27377         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27378         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27379         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27380         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27381         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27382         syscall.
27383         (geteuid): Likewise.
27384         (getgid): Likewise.
27385         (getuid): Likewise.
27386         (getresgid): Likewise.
27387         (getresuid): Likewise.
27388         (getgroups): Likewise.
27389         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27390         (geteuid): Likewise.
27391         (getgid): Likewise.
27392         (getuid): Likewise.
27393         (getresgid): Likewise.
27394         (getresuid): Likewise.
27395         (getgroups): Likewise.
27396         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27397         (geteuid): Likewise.
27398         (getgid): Likewise.
27399         (getuid): Likewise.
27400         (getresgid): Likewise.
27401         (getresuid): Likewise.
27402         (getgroups): Likewise.
27403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27404         Likewise.
27405         (geteuid): Likewise.
27406         (getgid): Likewise.
27407         (getuid): Likewise.
27408         (getresgid): Likewise.
27409         (getresuid): Likewise.
27410         (getgroups): Likewise.
27411         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27412         (geteuid): Likewise.
27413         (getgid): Likewise.
27414         (getuid): Likewise.
27415         (getresgid): Likewise.
27416         (getresuid): Likewise.
27417         (getgroups): Likewise.
27418         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27419         Likewise.
27420         (geteuid): Likewise.
27421         (getgid): Likewise.
27422         (getuid): Likewise.
27423         (getgroups): Likewise.
27425         [BZ #14138]
27426         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27427         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27428         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27429         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27430         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27431         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27432         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27433         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27434         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27435         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27436         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27437         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27438         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27439         __chown.
27440         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27441         (lchown): Likewise.
27442         (fchown): Likewise.
27443         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27444         Likewise.
27445         (lchown): Likewise.
27446         (fchown): Likewise.
27447         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27448         (lchown): Likewise.
27449         (fchown): Likewise.
27450         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27451         Likewise.
27452         (lchown): Likewise.
27453         (fchown): Likewise.
27455 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27457         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27458         Simplify logic.
27460 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27462         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27463         Cleanup logic.
27465 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27467         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27468         Remove unused include.
27470 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27472         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27474         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27475         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27477 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27478             Helge Deller <deller@gmx.de>
27480         [BZ #17508]
27481         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27482         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27483         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27485 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27487         [BZ #14132]
27488         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27489         Remove macro definition.
27490         (__ashrdi3_v_glibc20): Likewise.
27491         (__lshrdi3_v_glibc20): Likewise.
27492         (__cmpdi2_v_glibc20): Likewise.
27493         (__ucmpdi2_v_glibc20): Likewise.
27494         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27495         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27496         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27497         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27498         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27499         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27501 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27503         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27504         old GNU extension [0] syntax.
27505         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27506         alloca rather than an array member with variable length.
27507         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27508         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27509         (parse_opt): ... here.  Likewise use alloca there.
27510         Validate the -i argument before checking for rootness.
27511         (send_shutdown): New function, broken out of ...
27512         (parse_opt): ... here.
27514 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27516         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27517         macro to get at the _rt_local_ro field.
27518         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27519         ([PIC] case) or _dl_hwcap ([!PIC] case).
27520         * sysdeps/arm/setjmp.S: Likewise.
27522         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27523         * sysdeps/arm/configure.ac: New check to define it.
27524         * sysdeps/arm/configure: Regenerated.
27525         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27526         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27527         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27528         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27529         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27530         Use move/movt pair instead of a load.
27531         (LDST_GLOBAL): Macro removed.
27532         (LDR_GLOBAL): New macro replaces it.
27533         (LDR_HIDDEN): New macro.
27534         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27535         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27537         * setjmp/tst-setjmp-static.c: New file.
27538         * setjmp/Makefile (tests): Add it.
27539         (tests-static): New variable.
27541 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27543         [BZ #17485]
27544         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27546 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27548         [BZ #14132]
27549         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27551 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27553         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27555 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27557         * io/fts.c (dirent_not_directory): New function.
27558         (fts_build): Call it.
27560 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27562         * nptl/version.c (__nptl_main): Use normal __write rather than
27563         INTERNAL_SYSCALL.
27564         (banner): Update copyright years.
27566         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27567         gettimeofday.
27568         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27569         * nptl/pthread_cond_timedwait.c: Likewise.
27570         * nptl/pthread_mutex_timedlock.c: Likewise.
27571         * nptl/sem_timedwait.c: Likewise.
27573         * sysdeps/nptl/bits/libc-lock.h
27574         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27575         (__libc_lock_init_recursive): Return void, not 0.
27576         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27577         (__libc_rwlock_init): Likewise.
27578         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27580 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27582         [BZ #15215]
27583         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27584         (__pthread_once_slow): ... here.
27585         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27586         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27588 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27590         [BZ #15215]
27591         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27592         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27593         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27594         * nptl/pthread_once.c (__pthread_once): Likewise.
27595         Update comments.
27597 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27599         [BZ #14138]
27600         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27601         name.
27602         (writev): Use __libc_writev as strong name.
27603         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27604         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27606 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27608         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27610         * sysdeps/i386/nptl/tls.h
27611         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27612         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27613         New macros.
27614         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27615         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27616         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27617         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27618         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27619         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27621         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27622         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27623         on [__NR_futex].
27624         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27625         broken out of ...
27626         (__pthread_mutex_init): ... here.  Call it.
27627         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27628         Conditionalize PI cases on [__NR_futex].
27629         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27630         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27631         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27633         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27634         conditional on [SIGSETXID].
27635         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27636         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27637         is defined.  Likewise for SIGSETXID.
27638         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27639         Conditionalize definitions on [SIGSETXID].
27640         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27641         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27642         unblocking on [SIGCANCEL].
27644         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27645         [__NR_set_robust_list].
27647 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27649         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27650         (do_compare): Likewise.
27652 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27654         [BZ #15884]
27655         * string/strcoll_l.c: Don't include stdio.h.
27656         (coll_seq): Remove members idxarr and rulearr.
27657         (get_next_seq_cached): Remove function.
27658         (get_next_seq): Likewise.
27659         (get_next_seq_nocache): Rename to get_next_seq.
27660         (do_compare): Remove function.
27661         (do_compare_nocache): Rename to do_compare.
27662         (STRCOLL): Remove weight and rules cache.
27664 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27666         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27667         * sysdeps/arm/sfp-machine.h: ... to here.
27668         * sysdeps/arm/Implies: Remove arm/soft-fp.
27670 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27672         * conform/data/sys/utsname.h-data (*_t): Allow.
27673         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27674         [POSIX] (WEXITED): Do not expect constant.
27675         [POSIX] (WSTOPPED): Likewise.
27676         [POSIX] (WNOHANG): Likewise.
27677         [POSIX] (WNOWAIT): Likewise.
27678         [POSIX] (siginfo_t): Do not expect type or elements.
27679         [POSIX] (pid_t): Do not expect type.
27680         [POSIX] (signal.h): Do not allow header.
27681         [POSIX] (sys/resource.h): Likewise.
27682         [POSIX] (si_*): Do not allow pattern.
27683         [POSIX] (W*): Likewise.
27684         [POSIX] (P_*): Likewise.
27685         [POSIX] (BUS_*): Likewise.
27686         [POSIX] (CLD_*): Likewise.
27687         [POSIX] (FPE_*): Likewise.
27688         [POSIX] (ILL_*): Likewise.
27689         [POSIX] (POLL_*): Likewise.
27690         [POSIX] (SEGV_*): Likewise.
27691         [POSIX] (SI_*): Likewise.
27692         [POSIX] (TRAP_*): Likewise.
27693         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27694         variable.
27696 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27698         [BZ #12926]
27699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27700         infinite loop when __recvmsg returns 0.
27702 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27704         * CANCEL-FCT-WAIVE: Remove file.
27705         * CANCEL-FILE-WAIVE: Likewise.
27707         [BZ #14132]
27708         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27709         instead of INTVARDEF.
27710         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27711         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27712         rtld_hidden_data_def instead of INTVARDEF.
27713         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27714         * elf/dl-deps.c (expand_dst): Likewise.
27715         * elf/dl-load.c (_dl_dst_count): Likewise.
27716         (_dl_dst_substitute): Likewise.
27717         (decompose_rpath): Likewise.
27718         (_dl_init_paths): Likewise.
27719         (open_path): Likewise.
27720         (_dl_map_object): Likewise.
27721         * elf/rtld.c (dl_main): Likewise.
27722         (process_dl_audit): Likewise.
27723         (process_envvars): Likewise.
27724         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27725         Remove declaration.
27726         (__libc_enable_secure): Use rtld_hidden_proto.
27728 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27730         * elf/dl-load.c
27731         (add_path): New function broken out of _dl_rtld_di_serinfo.
27732         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27734 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27736         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27737         parentheses around macro arguments.
27738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27749         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27750         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27753         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27754         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27767         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27768         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27771         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27772         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27773         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27774         Likewise.
27775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27780         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27782         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27783         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27784         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27785         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27786         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27787         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27796         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27797         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27798         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27800         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27801         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27802         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27803         (_FP_FRAC_SRS_1): Likewise.
27804         (_FP_FRAC_CLZ_1): Likewise.
27805         (_FP_MUL_MEAT_1_imm): Likewise.
27806         (_FP_MUL_MEAT_1_wide): Likewise.
27807         (_FP_MUL_MEAT_1_hard): Likewise.
27808         (_FP_SQRT_MEAT_1): Likewise.
27809         (_FP_FRAC_ASSEMBLE_1): Likewise.
27810         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27811         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27812         (__FP_CLZ_2): Likewise.
27813         (_FP_MUL_MEAT_2_wide): Likewise.
27814         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27815         (_FP_MUL_MEAT_2_gmp): Likewise.
27816         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27817         (_FP_SQRT_MEAT_2): Likewise.
27818         (_FP_FRAC_ASSEMBLE_2): Likewise.
27819         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27820         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27821         (_FP_FRAC_CLZ_4): Likewise.
27822         (_FP_MUL_MEAT_4_wide): Likewise.
27823         (_FP_MUL_MEAT_4_gmp): Likewise.
27824         (_FP_SQRT_MEAT_4): Likewise.
27825         (_FP_FRAC_ASSEMBLE_4): Likewise.
27826         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27827         * soft-fp/op-common.h (_FP_CMP): Likewise.
27828         (_FP_CMP_EQ): Likewise.
27829         (_FP_CMP_UNORD): Likewise.
27830         (_FP_TO_INT): Likewise.
27831         (_FP_FROM_INT): Likewise.
27832         [!__FP_CLZ] (__FP_CLZ): Likewise.
27833         (_FP_DIV_HELP_imm): Likewise.
27834         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27835         Likewise.
27836         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27839         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27840         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27841         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27845         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27847         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27848         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27849         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27850         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27851         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27852         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27854         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27857         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27858         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27864         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27865         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27866         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27867         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27868         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27869         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27870         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27871         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27872         (FP_UNPACK_RAW_SP): Likewise.
27873         (FP_PACK_RAW_S): Likewise.
27874         (FP_PACK_RAW_SP): Likewise.
27875         (FP_UNPACK_S): Likewise.
27876         (FP_UNPACK_SP): Likewise.
27877         (FP_UNPACK_SEMIRAW_S): Likewise.
27878         (FP_UNPACK_SEMIRAW_SP): Likewise.
27879         (FP_PACK_S): Likewise.
27880         (FP_PACK_SP): Likewise.
27881         (FP_PACK_SEMIRAW_S): Likewise.
27882         (FP_PACK_SEMIRAW_SP): Likewise.
27883         (_FP_SQRT_MEAT_S): Likewise.
27884         (FP_CMP_S): Likewise.
27885         (FP_CMP_EQ_S): Likewise.
27886         (FP_CMP_UNORD_S): Likewise.
27887         (FP_TO_INT_S): Likewise.
27888         (FP_FROM_INT_S): Likewise.
27890         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27892         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27893         (FP_EX_INVALID_IMZ): Likewise.
27894         (FP_EX_INVALID_IMZ_FMA): Likewise.
27895         (FP_EX_INVALID_ISI): Likewise.
27896         (FP_EX_INVALID_ZDZ): Likewise.
27897         (FP_EX_INVALID_IDI): Likewise.
27898         (FP_EX_INVALID_SQRT): Likewise.
27899         (FP_EX_INVALID_CVI): Likewise.
27900         (FP_EX_INVALID_VC): Likewise.
27901         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27902         "invalid" exceptions.
27903         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27904         (_FP_ADD_INTERNAL): Likewise.
27905         (_FP_MUL): Likewise.
27906         (_FP_FMA): Likewise.
27907         (_FP_DIV): Likewise.
27908         (_FP_CMP_CHECK_NAN): Likewise.
27909         (_FP_SQRT): Likewise.
27910         (_FP_TO_INT): Likewise.
27911         (FP_EXTEND): Likewise.
27913 2014-10-09  Allan McRae  <allan@archlinux.org>
27915         * po/fr.po: Update French translation from translation project.
27917 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27919         [BZ #14132]
27920         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27921         of INTDEF.
27922         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27923         (__cxa_atexit): Use libc_hidden_proto.
27924         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27926         [BZ #14132]
27927         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27928         declaration.
27929         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27930         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27931         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27932         [!_ISOMAC] (__iswctype_internal): Likewise.
27933         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27934         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27935         alias.
27936         (fcntl): Remove __fcntl_internal alias.
27937         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27938         __connect_internal alias.
27939         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27940         Likewise.
27942         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27943         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27944         FP_DENORM_ZERO.
27945         (_FP_CHECK_FLUSH_ZERO): New macro.
27946         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27947         (_FP_CMP): Likewise.
27948         (_FP_CMP_EQ): Likewise.
27949         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27950         FP_DENORM_ZERO.
27951         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27952         (FP_TRUNC): Likewise.
27954         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27955         treated as invalid conversion, not as normal exponent.
27957         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27958         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27959         (_FP_CMP_EQ): Likewise.
27960         (_FP_CMP_UNORD): Likewise.
27961         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27962         (FP_CMP_EQ_D): Likewise.
27963         (FP_CMP_UNORD_D): Likewise.
27964         * soft-fp/extended.h (FP_CMP_E): Likewise.
27965         (FP_CMP_EQ_E): Likewise.
27966         (FP_CMP_UNORD_E): Likewise.
27967         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27968         (FP_CMP_EQ_Q): Likewise.
27969         (FP_CMP_UNORD_Q): Likewise.
27970         * soft-fp/single.h (FP_CMP_S): Likewise.
27971         (FP_CMP_EQ_S): Likewise.
27972         (FP_CMP_UNORD_S): Likewise.
27973         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27974         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27975         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27976         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27977         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27978         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27979         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27980         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27981         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27982         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27983         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27984         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27985         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27986         to FP_CMP_Q.
27987         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27988         FP_CMP_Q.
27989         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27990         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27991         FP_CMP_EQ_Q.
27992         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27993         FP_CMP_Q.
27994         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27995         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27996         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27997         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27998         FP_CMP_EQ_Q.
27999         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28000         FP_CMP_Q.
28001         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28002         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28003         FP_CMP_EQ_Q.
28004         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28005         FP_CMP_Q.
28006         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28007         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28008         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28009         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28010         FP_CMP_EQ_Q.
28012         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28013         a subnormal result, set the underflow exception if trapping on
28014         underflow is enabled.
28015         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28016         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28017         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28018         redefine to 0.
28019         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28020         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28021         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28022         * soft-fp/extendxftf2.c (__extendxftf2): Use
28023         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28025         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28026         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28027         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28028         FP_HANDLE_EXCEPTIONS.
28029         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28030         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28031         FP_HANDLE_EXCEPTIONS.
28032         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28033         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28034         FP_HANDLE_EXCEPTIONS.
28035         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28036         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28037         FP_HANDLE_EXCEPTIONS.
28039 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28041         [BZ #14132]
28042         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28043         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28044         use INTUSE.
28045         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28046         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28047         Remove alias.
28048         (__adjtimex): Define using libc_hidden_ver.
28049         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28050         Remove declaration.
28051         (ntp_gettime): Call __adjtimex directly.
28052         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28053         Remove declaration.
28054         (ntp_gettimex): Call __adjtimex directly.
28055         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28056         __adjtimex_internal alias.
28058 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28060         [BZ #17460]
28061         * nscd/nscd.c (more_help): Rewrite list of tables collection
28062         using xstrdup and asprintf.
28064         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28066 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28067             Roland McGrath  <roland@hack.frob.com>
28069         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28070         (do_lookup_unique): ... local function 'enter' here; update callers.
28072 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28074         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28075         compat_symbol calls on [SHARED].
28076         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28077         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28078         Remove.
28079         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28080         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28081         (oldsetrlimit): Remove.
28082         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28084         (lchown): New syscall entry.
28085         (oldsetrlimit): Remove.
28086         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28088         (oldsetrlimit): Remove.
28089         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28091         [BZ #14138]
28092         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28093         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28094         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28095         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28096         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28097         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28098         (fchown): Likewise.
28099         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28100         (fchown): Likewise.
28101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28102         Likewise.
28104 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28107         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28108         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28109         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28110         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28111         Likewise.
28112         (__old_sem_post): Likewise.
28114 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28116         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28117         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28118         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28119         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28120         Use INLINE_VSYSCALL macro.
28121         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28122         __vdso_clock_gettime.
28123         * sysdeps/unix/sysv/linux/tile/init-first.c
28124         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28125         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28126         __vdso_clock_gettime.
28128         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28129         to set up frame more cleanly.
28131         * sysdeps/tile/memcmp.c: New file.
28133         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28135         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28136         * sysdeps/tile/tilegx/strcasestr.c: New file.
28137         * sysdeps/tile/tilegx/strnlen.c: New file.
28138         * sysdeps/tile/tilegx/strstr.c: New file.
28140         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28142 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28144         * nptl/tst-setuid3.c: Write errors to stdout.
28146 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28148         * elf/dl-deps.c
28149         (preload): New functions broken out of _dl_map_object_deps.
28150         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28152 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28154         [BZ #14138]
28155         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28156         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28158 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28160         * sysdeps/mips/strcmp.S: New.
28162 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28164         [BZ #14138]
28165         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28166         (linkat): Likewise.
28167         (mkdirat): Likewise.
28168         (readlinkat): Likewise.
28169         (renameat): Likewise.
28170         (symlinkat): Likewise.
28171         (unlinkat): Likewise.
28172         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28173         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28174         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28175         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28176         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28177         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28178         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28180 2014-09-30  Will Newton  <will.newton@linaro.org>
28182         * math/math.h: Define long double math functions if
28183         _LIBC_TEST is defined.
28184         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28186         * localedata/Makefile: Move assignment to tests-special
28187         into an ifdef testing run-built-tests.
28188         * timezone/Makefile: Likewise.
28190 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28192         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28193         with $(BASH) not $(SHELL).
28195 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28196             Matthew LeGendre  <legendre1@llnl.gov>
28198         [BZ #17411]
28199         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28200         l_reloc_result.
28202 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28204         * stdio-common/printf_fp.c
28205         (hack_digit): New function, broken out of ...
28206         (__printf_fp): ... local function here.  Update call sites.
28207         hack_digit now takes an additional parameter that is a pointer
28208         to a struct of the referenced locals.  Those locals moved inside
28209         the struct and references updated.
28211 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28213         * aclocal.m4: Require autoconf 2.69.
28214         * configure: Regenerated.
28215         * sysdeps/aarch64/configure: Likewise.
28216         * sysdeps/alpha/configure: Likewise.
28217         * sysdeps/arm/armv7/configure: Likewise.
28218         * sysdeps/arm/configure: Likewise.
28219         * sysdeps/ia64/configure: Likewise.
28220         * sysdeps/mach/configure: Likewise.
28221         * sysdeps/mips/configure: Likewise.
28222         * sysdeps/s390/configure: Likewise.
28223         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28226         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28227         file.
28228         * sysdeps/ia64/configure.ac: Likewise.
28230 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28233         specify symbol version for ld.so.  Do not include entry for
28234         libpthread.
28235         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28236         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28239         [BZ #14171]
28240         * Makeconfig [$(build-shared) = yes]
28241         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28242         makefiles.
28243         [$(build-shared) = yes && $(soversions.mk-done) = t]
28244         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28245         [$(build-shared) = yes && $(soversions.mk-done) = t]
28246         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28247         to Makerules.
28248         [$(build-shared) = yes && $(soversions.mk-done) = t]
28249         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28250         here.
28251         [$(build-shared) = yes && $(soversions.mk-done) = t]
28252         (common-generated): Don't append gnu/lib-names.h and
28253         gnu/lib-names.stmp here.
28254         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28255         (lib-names-h-abi): New variable.
28256         [$(build-shared) = yes && $(soversions.mk-done) = t]
28257         (lib-names-stmp-abi): Likewise.
28258         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28259         abi-variants] (before-compile): Append
28260         $(common-objpfx)$(lib-names-h-abi).
28261         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28262         abi-variants] (common-generated): Append gnu/lib-names.h.
28263         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28264         abi-variants] (install-others-nosubdir): Depend on
28265         $(inst_includedir)/$(lib-names-h-abi).
28266         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28267         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28268         [$(build-shared) = yes && $(soversions.mk-done) = t]
28269         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28270         [$(build-shared) = yes && $(soversions.mk-done) = t]
28271         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28272         [$(build-shared) = yes && $(soversions.mk-done) = t]
28273         (common-generated): Append $(lib-names-h-abi) and
28274         $(lib-names-stmp-abi).
28275         * scripts/lib-names.awk: Do not handle multi being set.
28276         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28277         Remove variable.
28278         (abi-lp64_be-ld-soname): Likewise.
28279         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28280         Likewise.
28281         (abi-hard-ld-soname): Likewise.
28282         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28283         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28284         Remove variable.
28285         (abi-o32_hard-ld-soname): Likewise.
28286         (abi-o32_soft_2008-ld-soname): Likewise.
28287         (abi-o32_hard_2008-ld-soname): Likewise.
28288         (abi-n32_soft-ld-soname): Likewise.
28289         (abi-n32_hard-ld-soname): Likewise.
28290         (abi-n32_soft_2008-ld-soname): Likewise.
28291         (abi-n32_hard_2008-ld-soname): Likewise.
28292         (abi-n64_soft-ld-soname): Likewise.
28293         (abi-n64_hard-ld-soname): Likewise.
28294         (abi-n64_soft_2008-ld-soname): Likewise.
28295         (abi-n64_hard_2008-ld-soname): Likewise.
28296         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28297         Likewise.
28298         (abi-64-v2-ld-soname): Likewise.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28300         ld.so entries.
28301         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28302         variable.
28303         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28304         entry.
28305         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28306         variable.
28307         (abi-64-ld-soname): Likewise.
28308         (abi-x32-ld-soname): Likewise.
28309         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28310         entry.
28311         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28313 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28315         [BZ #14138]
28316         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28317         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28318         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28319         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28320         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28321         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28322         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28323         syscall entry for GLIBC_2.2 symbol version.
28324         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28325         Likewise.
28326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28327         (setrlimit): Likewise.
28328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28329         Likewise.
28331 2014-09-23  Will Newton  <will.newton@linaro.org>
28333         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28334         _LINUX_ARM_SYSDEP_H include guard too.
28335         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28336         define.
28338 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28340         * sysdeps/unix/sysv/linux/eventfd.c:
28341         Make first argument unsigned.
28342         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28343         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28345 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28347         [BZ #16852]
28348         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28349         * socket/sys/socket.h: Likewise.
28350         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28352 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28354         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28356 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28358         * time/tst-ftime.c: New test.
28359         * time/Makefile (tests): Add tst-ftime.
28361 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28363         * soft-fp/extended.h: Fix comment formatting.
28364         * soft-fp/op-1.h: Likewise.
28365         * soft-fp/op-2.h: Likewise.
28366         * soft-fp/op-4.h: Likewise.
28367         * soft-fp/op-8.h: Likewise.
28368         * soft-fp/op-common.h: Likewise.
28369         * soft-fp/soft-fp.h: Likewise.
28371         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28373 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28375         [BZ #6652]
28376         * Makeconfig (soversions-default-setname): Remove variable.
28377         ($(common-objpfx)soversions.i): Don't pass default_setname to
28378         soversions.awk.
28379         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28380         oldest_abi to abi-versions.awk.
28381         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28382         * config.make.in (oldest-abi): Remove variable.
28383         * configure.ac (--enable-oldest-abi): Remove configure option.
28384         * configure: Regenerated.
28385         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28386         text.
28387         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28388         * scripts/soversions.awk: Do not handle default_setname variable.
28389         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28390         variable.
28391         * sysdeps/mach/hurd/configure: Regenerated.
28392         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28393         variable.
28394         * sysdeps/unix/sysv/linux/configure: Regenerated.
28396 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28398         * elf/Makefile (CFLAGS-interp.c): Remove.
28399         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28400         path string.
28401         * elf/interp.c: Include generated runtime-linker.h
28403         * Makerules (lib%.so): Don't include $(+interp) in
28404         prerequisites.
28405         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28406         * dlfcn/eval.c: Remove file.
28408         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28409         macros.
28411         [BZ #17266]
28412         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28413         4.2 and newer.
28415         [BZ #17370]
28416         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28418 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28419             Jakub Jelinek  <jakub@redhat.com>
28421         [BZ #17266]
28422         * libio/stdio.h: Check definition of __fortify_function
28423         instead of __extern_always_inline to include bits/stdio2.h.
28424         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28425         check if __extern_always_inline is defined.
28426         [__USE_MISC || __USE_XOPEN]: Likewise.
28427         [__USE_ISOC99] Likewise.
28428         * misc/sys/cdefs.h (__fortify_function): Define only if
28429         __extern_always_inline is defined.
28430         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28431         __extern_always_inline and __extern_inline only for g++-4.3
28432         and newer or a compatible gcc.
28434 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28436         [BZ #17371]
28437         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28438         last change to handle zero prefix length.
28440 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28442         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28443         _SC_REGEX_VERSION.
28445         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28446         _POSIX_RAW_SOCKETS.
28448 2014-09-13  Allan McRae  <allan@archlinux.org>
28450         * po/ru.po: Update Russian translation from translation project.
28452 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28454         * locale/programs/locale.c (show_locale_vars): Inline local function
28455         into its sole call site.  Clean up some style nits.
28456         (print_item): New function, broken out of ...
28457         (show_info): ... local function here.  Clean up style nits.
28459         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28460         out of ...
28461         (set_class_defaults): ... local function set_default here.
28462         Define set_default as a macro locally to pass constant parameters.
28463         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28464         rather than a shared local.
28466         * stdlib/rpmatch.c (try): New function, broken out of ...
28467         (rpmatch): ... local function here.  Also, prototypify definition.
28469 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28471         * scripts/soversions.awk: Do not handle configuration names.
28472         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28473         vendor and os variables to soversions.awk.
28474         * configure.ac: Do not modify gnu-* host_os.
28475         * configure: Regenerated
28476         * shlib-versions: Remove first column with configuration names.
28477         * nptl/shlib-versions: Likewise.
28478         * nptl_db/shlib-versions: Likewise.
28479         * sysdeps/hppa/shlib-versions: Likewise.
28480         * sysdeps/m68k/shlib-versions: Likewise.
28481         * sysdeps/mach/hurd/shlib-versions: Likewise.
28482         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28483         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28484         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28485         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28486         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28487         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28488         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28489         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28491         Likewise.
28492         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28493         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28494         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28495         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28496         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28497         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28498         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28499         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28502         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28504         Regenerated.
28505         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28507         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28509         * shlib-versions: Remove OS-specific entries.  Moved to files in
28510         sysdeps.
28511         * sysdeps/mach/hurd/shlib-versions: New file.
28512         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28514         * nptl/shlib-versions: Remove architecture-specific entries.
28515         Moved to files in sysdeps.
28516         * shlib-versions: Likewise.
28517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28518         file.
28519         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28520         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28521         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28522         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28524         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28525         (UDP_NO_CHECK6_RX): Likewise.
28527 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28529         * sysdeps/posix/sysconf.c (__sysconf): Spell
28530         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28532 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28534         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28535         loading.
28536         * iconv/Versions (__gconv_transliterate): Export for use from
28537         gconv modules.
28538         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28539         (struct __gconv_trans_data, __gconv_trans_fct,
28540         __gconv_trans_context_fct, __gconv_trans_query_fct,
28541         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28542         definitions.
28543         (struct __gconv_step_data): Remove __trans member.
28544         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28545         longer hidden.  Remove unused trans_data argument.
28546         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28547         (__gconv_translit_find): Remove declaration.
28548         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28549         prototype.
28550         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28551         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28552         trans_data argument.  Add hidden definition.
28553         (__gconv_translit_find): Remove.
28554         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28555         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28556         * iconv/skeleton.c: Remove transliteration initialization.
28557         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28558         __gconv_step_data initialization.
28559         * libio/iofwide.c (__libio_translit_): Remove.
28560         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28561         * wcsmbs/btowc.c (__btowc): Likewise.
28562         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28563         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28564         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28565         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28566         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28567         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28568         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28569         * wcsmbs/wctob.c (wctob): Likewise.
28571 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28573         [BZ #16194]
28574         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28575         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28576         register usage.
28577         * sysdeps/x86/Makefile: Adjust.
28579 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28580             Roland McGrath  <roland@hack.frob.com>
28582         * locale/weight.h: Add include guard.
28583         (findidx): Make static rather than auto; take new parameters
28584         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28585         * locale/weightwc.h: Likewise.
28586         * posix/fnmatch_loop.c
28587         (FCT): Change type of EXTRA from int32_t to wint_t.
28588         Don't include either header inside the function.
28589         Call FINDIDX rather than findidx, and pass new arguments.
28590         #undef FINDIDX at the end of the file.
28591         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28592         FINDIDX before including fnmatch_loop.c for the non-wide version.
28593         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28594         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28595         for the wide version.
28596         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28597         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28598         Pass new arguments to findidx.
28599         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28600         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28601         Don't #include it inside the function.  Pass new arguments to findidx.
28602         * posix/regex_internal.h
28603         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28604         (re_string_elem_size_at): Don't #include it inside the function.
28605         Pass new arguments to findidx.
28606         * string/strcoll_l.c: #include WEIGHT_H at top level.
28607         (get_next_seq): Don't #include it inside the function.
28608         Pass new arguments to findidx.
28609         (get_next_seq_nocache): Likewise.
28610         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28611         (STRXFRM): Don't #include it inside the function.
28612         Pass new arguments to findidx.
28614 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28616         [BZ #17344]
28617         * malloc/malloc.c (unlink): Turn asserts into a call to
28618         malloc_printerr.
28620 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28622         [BZ #17370]
28623         * libio/wfileops (do_ftell_wide): Free OUT.
28625 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28627         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28629 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631         [BZ #17363]
28632         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28633         group if the current group is empty.
28635 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28637         * benchtests/bench-memset.c (test_main): Add more test from size
28638         from 32 to 512 bytes.
28639         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28640         Add POWER8 memset object.
28641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28642         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28643         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28644         implementation.
28645         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28646         Likewise.
28647         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28648         multiarch POWER8 memset optimization.
28649         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28650         POWER8 memset optimization.
28652         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28653         Remove bzero multiarch objects.
28654         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28655         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28656         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28657         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28658         Remove define.
28659         [__bzero]: Redefine to specific name.
28660         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28661         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28662         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28663         define.
28664         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28665         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28667 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28669         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28670         warnings into errors.
28672         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28673         __cxa_thread_atexit_impl prototype.
28675 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28677         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28678         Fix capitalization of error message.
28680 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28682         * sysdeps/mips/preconfigure: Modify ABI tests.
28684 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28686         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28688 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28689             Carlos O'Donell  <carlos@systemhalted.org>
28691         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28692         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28693         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28694         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28695         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28697         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28698         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28699         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28700         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28701         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28702         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28703         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28704         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28705         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28706         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28707         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28708         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28709         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28710         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28711         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28712         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28713         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28714         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28715         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28716         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28717         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28718         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28719         Deconditionalize the code that was previously under [RESET_PID].
28720         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28721         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28722         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28723         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28724         include sysdep.h.
28726 2014-09-08  Allan McRae  <allan@archlinux.org>
28728         * version.h (RELEASE): Set to "development".
28729         (VERSION): Set to "2.20.90"
28731 2014-09-07  Allan McRae  <allan@archlinux.org
28733         * version.h (RELEASE): Set to "stable".
28734         (VERSION): Set to "2.20"
28735         * include/features.h (__GLIBC_MINOR__): Set to 20.
28737         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28738         Liebler.
28740         * po/ko.po: Update Korean translation from translation project.
28742 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28744         [BZ #17354]
28745         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28746         macro for handling signed relocations.
28748 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28750         [BZ #17325]
28751         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28752         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28753         assert.
28754         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28755         * iconvdata/ibm935.c (BODY): Likewise.
28756         * iconvdata/ibm937.c (BODY): Likewise.
28757         * iconvdata/ibm939.c (BODY): Likewise.
28758         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28759         assert.
28760         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28761         script.
28762         * iconvdata/run-iconv-test.sh: New test loop for checking for
28763         decoder crashers.
28765 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28767         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28768         libm_hidden_ver.
28770 2014-09-01  Allan McRae  <allan@archlinux.org>
28772         * po/eo.po: Update Esperanto translation from translation project.
28774         * po/ca.po: Update Catalan translation from translation project.
28776 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28778         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28779         __proc_dostop call.
28781 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28783         [BZ #17319]
28784         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28785         to call set_thread_area instead of hand written asm.
28786         (__NR_set_thread_area): Removed define.
28787         (TLS_FLAG_WRITABLE): Likewise.
28788         (__ASSUME_SET_THREAD_AREA): Remove check.
28789         (TLS_EBX_ARG): Remove define.
28790         (TLS_LOAD_EBX): Likewise.
28792 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28794         Simplify atomicity of socket creation in bind.
28796         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28797         looking up the name after linking the file.
28799 2014-08-27  Allan McRae  <allan@archlinux.org>
28801         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28803 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28805         [BZ #17187]
28806         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28807         trans_compare, open_translit, __gconv_translit_find):
28808         Remove module loading code.
28810 2014-08-26  Allan McRae  <allan@archlinux.org>
28812         * po/vi.po: Update Vietnamese translation from translation project.
28814         * po/uk.po: Update Ukrainian translation from translation project.
28816         * po/fr.po: Update French translation from translation project.
28818         * po/ru.po: Update Russian translation from translation project.
28820         * po/pl.po: Update Polish translation from translation project.
28822         * po/cs.po: Update Czech translation from translation project.
28824         * po/de.po: Update German translation from translation project.
28826         * po/bg.po: Update Bulgarian translation from translation project.
28828         * po/sv.po: Update Sweedish translation from translation project.
28830         * po/nl.po: Update Dutch translation from translation project.
28832         * po/es.po: Update Spanish translation from translation project.
28834 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28838         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28839         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28840         (CPPFLAGS-iconvconfig): Likewise.
28841         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28843         * include/libc-symbols.h: Remove unnecessary check for
28844         NOT_IN_libc.
28845         * nptl/pthreadP.h: Likewise.
28846         * sysdeps/aarch64/setjmp.S: Likewise.
28847         * sysdeps/alpha/setjmp.S: Likewise.
28848         * sysdeps/arm/sysdep.h: Likewise.
28849         * sysdeps/i386/setjmp.S: Likewise.
28850         * sysdeps/m68k/setjmp.c: Likewise.
28851         * sysdeps/posix/getcwd.c: Likewise.
28852         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28854         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28855         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28856         * sysdeps/sh/sh3/setjmp.S: Likewise.
28857         * sysdeps/sh/sh4/setjmp.S: Likewise.
28858         * sysdeps/unix/alpha/sysdep.h: Likewise.
28859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28860         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28861         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28862         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28865         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28867         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28870         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28872         * sysdeps/x86_64/setjmp.S: Likewise.
28874 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28876         [BZ #17263]
28877         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28878         <stdint.h>.
28879         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28880         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28882 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28884         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28886         [BZ #17262]
28887         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28888         and __x86_64__ when disabling x87 inline functions.
28890 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28892         [BZ #17259]
28893         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28894         asm statement with __cpuid_count.
28896 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28898         * configure.ac: Change __ehdr_start code to dereference the struct.
28899         Run readelf on the output to look for relocations.
28900         * configure: Regenerated.
28902 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28904         [BZ #17261]
28905         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28906         value to 0.
28907         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28909 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28911         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28913 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28915         [BZ #16892]
28916         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28917         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28919 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28921         * malloc/malloc.c: Fix typo in comment.
28923 2014-08-09  Allan McRae  <allan@archlinux.org>
28925         * Regenerate libc.po.
28927 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28929         * intl/tst-gettext2.sh: Check every lang file for creation.
28931 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28933         * sysdeps/aarch64/fpu/math_private.h
28934         (libc_feholdsetround_noex_aarch64_ctx): New function.
28936 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28938         * sysdeps/arm/armv6/strcpy.S (strcpy):
28939         Fix performance issue in misaligned cases.
28941 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28943         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28944         Move definition from termios.h.
28945         (struct termio): Likewise.
28946         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28947         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28948         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28949         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28950         Likewise.
28951         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28952         Move definition to ioctl-types.h
28953         (struct termio): Likewise.
28954         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28955         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28956         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28957         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28958         Likewise.
28960 2014-08-05  Richard Henderson  <rth@redhat.com>
28962         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28963         exceptions.
28964         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28965         Add fraiseexcpt.
28966         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28967         Use __feraiseexcept.
28968         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28969         Protect libm symbols with IS_IN_libm.
28971         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28973 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28975         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28977 2014-08-04  Will Newton  <will.newton@linaro.org>
28979         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28980         file.
28982 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28984         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28985         variants for each function.
28987 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28989         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28990         appended ...
28991         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28992         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28993         appended ...
28994         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28995         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28996         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28997         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28998         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28999         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29000         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29001         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29002         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29003         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29004         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29005         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29006         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29007         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29008         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29009         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29010         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29011         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29012         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29013         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29014         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29015         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29018         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29019         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29020         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29021         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29022         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29024         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29026         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29027         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29028         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29029         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29030         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29031         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29033         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29034         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29035         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29036         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29038         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29040         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29041         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29042         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29043         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29044         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29045         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29046         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29047         Update #include.
29048         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29049         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29051 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29053         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29054         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29055         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29056         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29057         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29058         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29060 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29062         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29063         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29064         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29065         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29067 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29069         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29070         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29071         (__libc_vfork): Define function under this name.
29072         (__vfork): Define as an alias.
29073         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29074         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29076 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29078         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29079         that was previously under [RESET_PID].
29080         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29082 2014-08-04  Andreas Schwab  <schwab@suse.de>
29084         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29086 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29088         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29089         (main): Likewise.
29091 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29093         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29095 2014-08-01  Richard Henderon  <rth@redhat.com>
29097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29098         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29099         typo in exact zero test.
29100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29101         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29104 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29106         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29107         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29108         * sysdeps/arm/sysdep.h: ... here.
29109         [!__ASSEMBLER__]: Include <stdint.h>.
29111 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29113         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29114         (HAVE_WCTYPE_H): Likewise.
29115         (HAVE_ISWCTYPE): Likewise.
29116         (ENABLE_NLS): Likewise.
29117         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29118         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29120         * posix/regex_internal.c: Check if DEBUG is defined and is
29121         set.
29123         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29124         (HAVE_MBSRTOWCS): Likewise.
29125         * posix/fnmatch.c: Include string.h unconditionally.
29127 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29129         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29130         reversal.
29132 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29134         * sysdeps/generic/safe-fatal.h: New file.
29135         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29136         * nptl/forward.c: Include it.
29137         (__pthread_unwind): Use __safe_fatal as default action, rather
29138         than a bogus use of INTERNAL_SYSCALL that could never work.
29140         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29141         * configure.ac (libc_cv_builtin_trap): New test.
29142         * configure: Regenerated.
29143         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29144         (ABORT_INSTRUCTION): Define using __builtin_trap.
29146         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29147         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29148         * sysdeps/nptl/nptl-signals.h: New file.
29149         * nptl/pthreadP.h: Include <nptl-signals.h>.
29151 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29153         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29154         (ONE_DIRECTION): Define.
29155         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29156         (ONE_DIRECTION): Define.
29157         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29158         (ONE_DIRECTION): Define.
29160 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29162         * sysdeps/s390/Makefile: Delete file.
29163         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29164         * sysdeps/s390/__longjmp.c: Delete file.
29165         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29166         Remove fields __flags and __reserved.
29167         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29168         and add versioning.
29169         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29170         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29171         * sysdeps/s390/rtld-setjmp.S: Likewise.
29172         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29173         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29174         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29175         * sysdeps/s390/s390-32/setjmp.S: ... here.
29176         Add versioning.
29177         (__sigsetjmp): Remove setting __flags field.
29178         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29179         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29180         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29181         * sysdeps/s390/s390-64/setjmp.S: ... here.
29182         Add versioning.
29183         (__sigsetjmp): Remove setting __flags field.
29184         * sysdeps/s390/setjmp.S: Delete file.
29185         * sysdeps/s390/sigjmp.c: Likewise.
29186         * sysdeps/s390/v1-longjmp.c: Likewise.
29187         * sysdeps/s390/v1-setjmp.h: Likewise.
29188         * sysdeps/s390/v1-sigjmp.c: Likewise.
29189         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29190         Remove v1-longjmp_chk.
29191         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29192         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29193         Include debug/longjmp_chk.c and add versioning.
29194         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29195         Include nptl/pt-longjmp.c and add versioning.
29196         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29197         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29198         Include __longjmp.c.
29199         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29200         Move to ...
29201         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29202         (__getcontext): Remove setting __flags field.
29203         Add versioning.
29204         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29205         Don't restore upper high grps.
29206         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29207         Likewise.
29208         (__swapcontext): Remove setting uc_flags field.
29209         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29210         Delete file.
29211         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29212         Include __longjmp.c.
29213         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29214         Move to ...
29215         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29216         (__getcontext): Remove setting __flags field.
29217         Add versioning.
29218         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29219         (__swapcontext): Remove setting uc_flags field.
29220         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29221         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29222         Remove fields uc_high_gprs and __reserved.
29223         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29224         New file with reverted content.
29225         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29227         Regenerated.
29228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29229         Regenerated.
29231 2014-07-31  Andreas Schwab  <schwab@suse.de>
29233         * config.h.in (HAVE_IFUNC): Define to 0.
29234         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29235         definedness.
29237 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29240         memmove-avx-unaligned, memcpy-avx-unaligned and
29241         mempcpy-avx-unaligned.
29242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29243         Add tests for AVX memcpy functions.
29244         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29245         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29246         memcpy_chk.
29247         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29248         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29249         memmove_chk.
29250         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29251         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29252         mempcpy_chk.
29253         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29254         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29255         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29257 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29259         [BZ #17213]
29260         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29261         powerpc64le.
29263 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29265         [BZ #16839]
29266         * manual/llio.texi: Add section about open file description locks.
29267         * manual/examples/ofdlocks.c: Example of open file description
29268         lock usage.
29269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29270         F_OFD_SETLK, and F_OFD_SETLKW.
29272 2014-07-23  Allan McRae  <allan@archlinux.org>
29274         * po/es.po: Update Spanish translation from translation project.
29276 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29278         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29280 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29282         [BZ #17078]
29283         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29284         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29285         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29287 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29289         [BZ #17088]
29290         * math/fesetenv.c (__fesetenv)
29291         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29292         * math/feupdateenv.c (__feupdateenv)
29293         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29295         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29296         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29297         (__ASSUME_SOCKETCALL): Do not define.
29299         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29300         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29301         (__ASSUME_SOCKETCALL): Do not define.
29302         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29303         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29304         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29305         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29307         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29309         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29311         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29312         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29313         (__ASSUME_SOCKETCALL): Do not define.
29314         (__ASSUME_IPC64): Define unconditionally.
29315         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29316         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29317         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29319         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29321         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29322         Likewise.
29324         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29325         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29326         (__ASSUME_SOCKETCALL): Do not define.
29327         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29328         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29329         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29330         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29331         (__ASSUME_REQUEUE_PI): Define unconditionally.
29332         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29333         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29334         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29335         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29336         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29337         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29339         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29340         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29341         (__ASSUME_SOCKETCALL): Do not define.
29342         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29343         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29344         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29345         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29347         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29349         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29350         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29351         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29352         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29354         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29356         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29357         (__ASSUME_GETCPU_SYSCALL): Likewise.
29359         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29360         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29361         cases for individual architectures.
29362         * sysdeps/gnu/configure: Regenerated.
29363         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29364         LIBC_SLIBDIR_RTLDDIR.
29365         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29366         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29367         LIBC_SLIBDIR_RTLDDIR.
29368         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29370         LIBC_SLIBDIR_RTLDDIR.
29371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29372         Regenerated.
29373         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29374         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29375         file.
29376         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29377         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29378         file.
29379         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29380         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29381         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29382         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29384         * sysdeps/aarch64/shlib-versions: Move to ...
29385         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29386         * sysdeps/alpha/shlib-versions: Move to ...
29387         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29388         * sysdeps/arm/shlib-versions: Move to ...
29389         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29390         * sysdeps/hppa/shlib-versions: Move all contents except for
29391         libgcc_s entry to ...
29392         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29393         entry from ...
29394         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29395         * sysdeps/ia64/shlib-versions: Move to ...
29396         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29397         entry from ...
29398         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29399         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29400         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29401         * sysdeps/microblaze/shlib-versions: Move to ...
29402         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29403         * sysdeps/mips/shlib-versions: Move to ...
29404         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29405         entry from ...
29406         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29407         * sysdeps/tile/shlib-versions: Move to ...
29408         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29409         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29410         from ...
29411         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29412         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29413         entry from ...
29414         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29416 2014-07-17  Will Newton  <will.newton@linaro.org>
29418         * sysdeps/arm/bits/atomic.h
29419         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29420         (__arch_compare_and_exchange_bool_16_int): Likewise.
29421         (__arch_compare_and_exchange_bool_64_int): Likewise.
29423         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29424         into an #else block.
29426 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29428         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29429         just Linux configurations.  Test empirically that the compiler sets
29430         __ARM_EABI__, rather than using the tuple to decide.
29431         * sysdeps/arm/preconfigure: Regenerated.
29432         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29433         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29434         contents appended ...
29435         * sysdeps/arm/configure.ac: ... here.
29436         * sysdeps/arm/configure: Regenerated.
29438 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29440         * nptl/pthread_kill.c: New file.
29441         * nptl/pthread_sigmask.c: New file.
29442         * nptl/pthread_sigqueue.c: New file.
29444         * sysdeps/nptl/lowlevellock.h: New file.
29445         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29446         * sysdeps/nptl/lowlevellock-futex.h: New file.
29448         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29449         Remove dead declarations.
29451 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29453         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29454         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29455         config-cflags-avx2.
29456         * sysdeps/x86_64/configure.ac: Likewise.
29457         * sysdeps/i386/configure: Regenerated.
29458         * sysdeps/x86_64/configure: Likewise.
29459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29460         memset-avx2 only if config-cflags-avx2 is yes.
29461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29462         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29463         defined.
29464         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29465         only if HAVE_AVX2_SUPPORT is defined.
29466         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29468 2014-07-14  Alan Modra  <amodra@gmail.com>
29470         [BZ #17153]
29471         * elf/elf.h (DT_PPC64_NUM): Correct value.
29472         * NEWS: Add to fixed bug list.
29474 2014-07-13  Jim Meyering  <meyering@fb.com>
29476         [BZ 17150]
29477         regex: don't deref NULL upon heap allocation failure
29478         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29479         failure in one more place.
29480         To trigger the segfault, configure grep -with-included-regex,
29481         build it, and run these commands:
29482         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29484 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29486         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29488 2014-07-11  Richard Henderson  <rth@redhat.com>
29490         * sysdeps/aarch64/libm-test-ulps: Update.
29492 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29494         [BZ #17135]
29495         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29496         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29497         (__nptl_setxid): Initialize error member.  Call
29498         __nptl_setxid_error.
29499         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29500         * nptl/descr.h (struct xid_command): Add error member.
29501         * nptl/tst-setuid3.c: New file.
29502         * nptl/Makefile (tests): Add it.
29504 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29506         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29507         New define.
29508         (__lll_trylock): Use __lll_base_trylock.
29509         (__lll_cond_trylock): Likewise.
29511 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29513         * nptl/pthread_create.c (start_thread): Use atomic_or and
29514         lll_futex_wake directly rather than lll_robust_dead.
29515         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29516         (lll_robust_dead): Macro removed.
29517         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29518         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29519         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29520         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29521         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29522         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29523         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29525         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29527         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29528         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29529         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29530         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29533         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29534         Use atomic_compare_and_exchange_val_acq directly rather than
29535         lll_robust_trylock.
29536         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29537         (__lll_robust_trylock, lll_robust_trylock): Removed.
29538         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29539         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29540         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29542         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29543         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29544         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29545         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29546         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29547         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29548         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29553 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29555         * manual/locale.texi (Locale Names): New section documenting
29556         locale name syntax.  Adjust menu and node chaining accordingly.
29557         (Choosing Locale): Reference Locale Names, Locale Categories.
29558         Mention setting LC_ALL=C.  Reflect that name syntax is now
29559         documented.
29560         (Locale Categories): New section title.  Reference Locale Names.
29561         LC_ALL is an environment variable, but not a category.
29562         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29563         description, now in Locale Name.  Reference that section.  Locale
29564         name syntax is now documented.
29566 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29568         [BZ #17137]
29569         * locale/findlocale.c (name_present, valid_locale_name): New
29570         functions.
29571         (_nl_find_locale): Use the loc_name variable to store name
29572         candidates.  Call name_present and valid_locale_name to check and
29573         validate locale names.  Return an error if the locale is invalid.
29575 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29577         * locale/setlocale.c (setlocale): Use strdup for allocating
29578         composite name copy.
29580 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29582         Sync up with gnulib.
29583         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29584         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29585         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29586         and _GL_ARG_NONNULL.
29587         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29588         [!_LIBC]: Include code for Windows and Cygwin.
29589         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29590         Include prototype for int strerror_r.
29591         [!_LIBC] (is_open): New function.
29592         (flush_stdout): New function.
29593         (print_errno_message): Use it.
29594         (error): Likewise.
29595         (error_at_line): Likewise.
29596         (error_tail) Add function attribute macros.  Use
29597         __builtin_expect.
29599         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29601         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29603         * io/ftw.c: Include sys/param.h unconditionally.
29605         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29607         [BZ #17125]
29608         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29609         libc_freeres_ptr.
29610         (freecache): New function to free CACHE on exit.
29612         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29613         initialization.
29615 2014-07-09  David S. Miller  <davem@davemloft.net>
29617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29619         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29620         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29621         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29622         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29623         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29624         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29625         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29626         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29627         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29628         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29629         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29630         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29631         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29633 2014-07-09  Andreas Schwab  <schwab@suse.de>
29635         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29636         output.
29637         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29638         (do_test): Likewise.
29640         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29642 2014-07-09  Will Newton  <will.newton@linaro.org>
29644         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29645         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29646         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29647         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29648         * sysdeps/hppa/start.S (_start): Likewise.
29650 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29652         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29654         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29655         defined.
29657 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29659         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29660         after checking that it is non-NULL.
29662         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29664 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29666         * sysdeps/powerpc/memmove.c: Remove file.
29667         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29668         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29670         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29671         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29672         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29673         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29674         string memmove instead of removed powerpc one.
29676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29677         [weak_alias]: Fix compiler warning due trailing data.
29678         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29679         [weak_alias]: Likewise.
29680         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29681         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29684         (__libc_ifunc_impl_list): Add memmove functions.
29686 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29688         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29689         Remove code.
29690         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29691         Likewise.
29692         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29693         Likewise.
29694         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29695         Likewise.
29696         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29697         Likewise.
29698         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29699         Likewise.
29700         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29701         Likewise.
29702         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29703         Likewise.
29704         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29705         Likewise.
29706         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29707         Likewise.
29708         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29709         Likewise.
29710         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29711         Likewise.
29712         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29713         Likewise.
29714         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29715         Likewise.
29716         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29717         Likewise.
29718         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29719         Likewise.
29720         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29721         Likewise.
29723 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29725         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29726         to avoid alignment traps in non-cacheable memory.
29727         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29730         multiarch objects.
29731         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29732         file: multiarch power7 memmove.
29733         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29734         multiarch default memmove.
29735         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29736         multiarch memove for powerpc32/power4.
29738         * string/bcopy.c: Use full path to include memmove.c.
29739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29740         multiarch objects.
29741         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29742         bcopy for powerpc64.
29743         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29744         bcopy for powerpc64.
29745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29746         and memmove implementations.
29747         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29748         optimized multiarch memmove for POWER7/powerpc64.
29749         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29750         default multiarch memmove for powerpc64.
29751         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29752         multiarch for powerpc64.
29753         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29754         for POWER7/powerpc64.
29755         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29756         memmove for POWER7/powerpc64.
29758         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29759         glibc default one.
29761         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29762         __ELF_NATIVE_CLASS equal to 64.
29764 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29766         * sysdeps/nptl/lowlevellock.h: File removed.
29768         * NEWS: NPTL is no longer an add-on!
29769         * nptl/internaltypes.h: Moved ...
29770         * sysdeps/nptl/internaltypes.h: ... here.
29771         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29772         * sysdeps/nptl/fork.c: Likewise.
29773         * sysdeps/nptl/gai_misc.h: Likewise.
29774         * sysdeps/nptl/librt-cancellation.c: Likewise.
29775         * sysdeps/nptl/jmp-unwind.c: Likewise.
29776         * sysdeps/nptl/setxid.h: Likewise.
29777         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29778         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29779         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29780         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29781         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29782         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29783         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29784         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29785         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29786         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29787         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29788         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29789         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29790         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29791         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29792         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29793         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29794         * nptl/Makeconfig: Moved ...
29795         * sysdeps/nptl/Makeconfig: ... here.
29796         * nptl/configure: File removed.
29797         * nptl/ANNOUNCE: File removed.
29798         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29799         * sysdeps/unix/sysv/linux/configure: Regenerated.
29801         * nptl/Makefile (routines): Add libc_pthread_init,
29802         libc_multiple_threads, register-atfork and unregister-atfork.
29803         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29804         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29805         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29806         pthread-pi-defines.sym, structsem.sym.
29807         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29808         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29809         [$(subdir) = nptl] (tests): Add tst-setgetname.
29810         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29811         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29812         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29813         [!LIBC_SIGACTION]: Remove aliases.
29814         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29815         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29816         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29817         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29818         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29819         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29820         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29821         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29822         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29823         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29824         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29825         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29826         __libc_allocate_rtsig_private.
29827         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29828         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29829         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29830         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29831         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29832         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29833         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29834         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29835         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29836         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29837         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29838         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29839         * nptl/internaltypes.h: ... here.
29840         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29841         * sysdeps/nptl/jmp-unwind.c: ... here.
29842         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29843         * nptl/libc-lowlevellock.c: ... here.
29844         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29845         * nptl/libc_multiple_threads.c: ... here.
29846         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29847         * nptl/libc_pthread_init.c: ... here.
29848         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29849         * nptl/lowlevelbarrier.sym: ... here.
29850         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29851         * nptl/lowlevelcond.sym: ... here.
29852         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29853         * nptl/lowlevellock.c: ... here.
29854         * nptl/lowlevellock.h: Moved ...
29855         * sysdeps/nptl/lowlevellock.h: ... here.
29856         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29857         * nptl/lowlevelrobustlock.c: ... here.
29858         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29859         * nptl/lowlevelrobustlock.sym: ... here.
29860         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29861         * nptl/lowlevelrwlock.sym: ... here.
29862         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29863         * nptl/pt-fork.c: ... here.
29864         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29865         * nptl/pthread-pi-defines.sym: ... here.
29866         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29867         * nptl/pthread_attr_getaffinity.c: ... here.
29868         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29869         * nptl/pthread_attr_setaffinity.c: ... here.
29870         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29871         * nptl/pthread_mutex_cond_lock.c: ... here.
29872         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29873         Update #include.
29874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29875         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29876         * nptl/pthread_once.c: ... here, replacing old file.
29877         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29878         * nptl/pthread_yield.c: ... here.
29879         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29880         * nptl/register-atfork.c: ... here.
29881         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29882         * nptl/sem_post.c: ... here.
29883         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29884         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29885         * nptl/sem_timedwait.c: ... here.
29886         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29887         * nptl/sem_trywait.c: ... here.
29888         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29889         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29890         * nptl/sem_wait.c: ... here.
29891         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29892         * nptl/structsem.sym: ... here.
29893         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29894         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29895         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29896         * nptl/unregister-atfork.c: ... here.
29897         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29898         * nptl/unwindbuf.sym: ... here.
29899         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29900         * sysdeps/nptl/fork.c: ... here.
29901         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29902         * sysdeps/nptl/fork.h: ... here.
29903         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29904         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29905         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29906         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29907         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29908         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29909         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29910         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29911         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29912         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29913         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29914         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29915         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29916         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29917         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29918         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29919         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29920         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29921         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29922         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29923         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29924         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29925         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29926         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29927         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29928         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29929         * sysdeps/unix/sysv/linux/raise.c: ... here.
29930         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29931         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29932         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29933         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29934         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29935         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29936         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29937         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29938         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29939         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29940         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29941         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29942         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29943         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29944         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29946 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29948         * sysdeps/generic/memcopy.h: Add comment for
29949         MEMCPY_OK_FOR_FWD_MEMMOVE.
29951 2014-07-04  Will Newton  <will.newton@linaro.org>
29953         * string/memchr.c: Merge from gnulib.
29954         [_LIBC]: Remove conditionals.
29955         (__ptr_t): Remove define.
29956         (LONG_MAX_32_BITS): Likewise.
29957         (LONG_MAX): Likewise.
29958         (MEMCHR): Use ANSI prototype and optimize algorithm.
29960         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29962 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29964         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29965         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29967         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29968         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29969         in a bare environment with no <stdlib.h> installed.
29970         * sysdeps/nptl/configure: Regenerated.
29972         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29974         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29975         AC_EGREP_CPP for kernel header checks, so they only succeed if
29976         including <linux/version.h> actually works right.
29977         * sysdeps/unix/sysv/linux/configure: Regenerated.
29979         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29980         value so it's not diagnosed as unused.
29982         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29983         thing) with "ifeq ($(subdir),rt)".
29985 2014-07-03  Richard Henderson  <rth@redhat.com>
29987         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29988         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29989         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29991         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29992         (math_force_eval): New.
29994         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29995         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29997         * sysdeps/alpha/fpu/s_round.c: Remove file.
29998         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30000         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30001         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30002         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30003         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30004         (_dl_start, print_statistics): Likewise.
30005         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30006         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30008         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30009         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30010         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30011         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30012         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30013         (HP_SMALL_TIMING_AVAIL): Define.
30014         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30015         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30016         (HP_SMALL_TIMING_AVAIL): Define.
30017         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30018         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30020         * sysdeps/aarch64/hp-timing.h: New file.
30022         * sysdeps/generic/hp-timing.h: Remove dead comment.
30023         * sysdeps/generic/hp-timing-common.h: New file.
30024         * sysdeps/alpha/hp-timing.h: Include it.
30025         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30026         * sysdeps/i386/i686/hp-timing.h: Likewise.
30027         * sysdeps/ia64/hp-timing.h: Likewise.
30028         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30029         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30030         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30031         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30032         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30033         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30034         (hp_timing_t): New.
30036         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30037         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30038         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30039         * elf/rtld.c (_dl_start_final): Likewise.
30040         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30041         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30042         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30043         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30044         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30045         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30046         (HP_TIMING_DIFF_INIT): Remove.
30047         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30049         (HP_TIMING_DIFF_INIT): Remove.
30050         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30051         * sysdeps/i386/i686/hp-timing.c: Remove file.
30052         * sysdeps/x86_64/hp-timing.c: Remove file.
30053         * sysdeps/ia64/hp-timing.c: Remove file.
30054         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30055         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30056         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30057         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30059         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30060         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30061         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30062         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30064         (HP_TIMING_ACCUM): Remove.
30065         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30067         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30069         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30070         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30071         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30072         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30074         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30075         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30076         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30078         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30080 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30082         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30084 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30086         Sync up with gettext.
30087         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30088         [_MSC_VER]: Include malloc.h
30089         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30090         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30091         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30092         TEMP_FAILURE_RETRY.  Cast return of alloca.
30093         [!_LIBC] Call gl_rwlock_init.
30094         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30096 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30098         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30099         before checking its value.
30101 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30103         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30105         * debug/memcpy_chk.c: Don't include pagecopy.h.
30106         * debug/mempcpy_chk.c: Likewise.
30107         * string/memcpy.c: Likewise.
30108         * string/memmove.c: Likewise.
30109         * sysdeps/powerpc/memmove.c: Likewise.
30110         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30111         definition of PAGE_COPY_FWD_MAYBE here...
30112         * sysdeps/generic/pagecopy.h: ... from here.
30113         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30115 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30116             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30118         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30120         optimizations.
30121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30122         (__libc_ifunc_impl_list): Likewise.
30123         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30124         multiarch strcat for PPC64.
30125         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30126         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30128 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30130         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30132 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30134         * intl/loadmsgcat.c: Remove declaration of
30135         get_sysdep_segment_value.
30136         (get_sysdep_segment_value): Use ISO C style.
30137         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30138         semicolon.  Fix typo and formatting in comment.
30139         (_nl_unload_domain): Use ISO C style.
30141         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30143 2014-07-02  Will Newton  <will.newton@linaro.org>
30145         * malloc/obstack.c: Merge from gnulib master.
30146         [HAVE_CONFIG_H]: Remove conditional code.
30147         [!_LIBC]: Include config.h.
30148         [!ELIDE_CODE]: Don't include inttypes.h, include
30149         stdint.h unconditionally.
30150         (print_and_abort): Mark as _Noreturn.
30151         (_obstack_allocated_p): Mark as __attribute_pure__.
30152         (obstack_free): Rename to __obstack_free.
30153         [!__attribute__]: Remove conditional code.
30154         * malloc/obstack.h: Merge from gnulib master.
30155         [__cplusplus]: Move conditional down.
30156         [!__attribute_pure__]: Define __attribute_pure__ here
30157         if it is not already defined.
30158         (_obstack_memory_used): Mark as __attribute_pure__.
30159         [!__obstack_free]: Define as obstack_free.
30160         [__GNUC__]: Remove check for ancient NeXT gcc.
30162 2014-07-02  Will Newton  <will.newton@linaro.org>
30163             Paul Eggert  <eggert@cs.ucla.edu>
30165         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30169         * resolv/gethnamaddr.c: Add comment warning that the file is
30170         not maintained.
30172 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30174         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30175         entries.
30177         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30178         entry for aio_cancel and aio_cancel64.
30179         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30180         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30181         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30182         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30183         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30184         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30185         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30186         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30187         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30188         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30189         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30190         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30191         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30193 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30195         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30196         * nptl/pthread_mutex_lock.c: Likewise.
30197         * nptl/pthread_mutex_timedlock.c: Likewise.
30198         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30200 2014-07-01  Richard henderson  <rth@redhat.com>
30202         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30203         (__isnan, __isnanl): Remove.
30204         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30206         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30208 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30212 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30214         * resolv/nss_dns/dns-host.c (getanswer_r)
30215         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30217 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30220         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30221         undefine.
30222         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30223         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30225 2014-07-01  Roland McGrath <roland@hack.frob.com>
30227         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30228         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30230         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30231         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30233         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30234         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30235         ... here.
30236         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30237         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30239         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30240         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30241         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30242         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30244         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30245         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30246         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30247         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30248         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30249         Moved ...
30250         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30251         ... here.
30252         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30253         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30254         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30255         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30256         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30257         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30258         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30259         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30261         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30262         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30263         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30264         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30265         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30267         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30268         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30269         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30270         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30271         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30272         ... here.
30273         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30274         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30275         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30276         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30277         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30278         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30279         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30280         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30282 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30284         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30285         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30286         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30287         Add sysdep.
30289 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30293 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30295         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30300         * sysdeps/arm/libm-test-ulps: Regenerated.
30302 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30303             Roland McGrath <roland@hack.frob.com>
30305         * test-skeleton.c (signal_handler): Kill the whole process group
30306         before killing the child individually.
30307         (main): Report any failure on `setpgid'.
30309 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30311         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30312         from _TLS_H to _ARM_NPTL_TLS_H.
30313         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30314         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30316 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30318         [BZ #16539]
30319         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30320         (__expm1l): Return argument unchanged when small but not
30321         subnormal.
30323         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30324         include macro name.
30325         (_FP_UNPACK_RAW_1_P): Likewise.
30326         (_FP_PACK_RAW_1): Likewise.
30327         (_FP_PACK_RAW_1_P): Likewise.
30328         (_FP_MUL_MEAT_1_wide): Likewise.
30329         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30330         (_FP_MUL_MEAT_1_hard): Likewise.
30331         (_FP_DIV_MEAT_1_imm): Likewise.
30332         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30333         (_FP_DIV_MEAT_1_udiv): Likewise.
30334         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30335         (_FP_UNPACK_RAW_2): Likewise.
30336         (_FP_UNPACK_RAW_2_P): Likewise.
30337         (_FP_PACK_RAW_2): Likewise.
30338         (_FP_PACK_RAW_2_P): Likewise.
30339         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30340         (_FP_MUL_MEAT_2_wide): Likewise.
30341         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30342         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30343         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30344         (_FP_MUL_MEAT_2_gmp): Likewise.
30345         (_FP_DIV_MEAT_2_udiv): Likewise.
30346         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30347         (_FP_FRAC_SRL_4): Likewise.
30348         (_FP_FRAC_SRST_4): Likewise.
30349         (_FP_FRAC_SRS_4): Likewise.
30350         (_FP_UNPACK_RAW_4): Likewise.
30351         (_FP_UNPACK_RAW_4_P): Likewise.
30352         (_FP_PACK_RAW_4): Likewise.
30353         (_FP_PACK_RAW_4_P): Likewise.
30354         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30355         (_FP_MUL_MEAT_4_wide): Likewise.
30356         (_FP_MUL_MEAT_4_gmp): Likewise.
30357         (umul_ppppmnnn): Likewise.
30358         (_FP_DIV_MEAT_4_udiv): Likewise.
30359         (__FP_FRAC_ADD_4): Likewise.
30360         (__FP_FRAC_SUB_3): Likewise.
30361         (__FP_FRAC_SUB_4): Likewise.
30362         (__FP_FRAC_DEC_3): Likewise.
30363         (__FP_FRAC_DEC_4): Likewise.
30364         (__FP_FRAC_ADDI_4): Likewise.
30365         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30366         (_FP_FRAC_SRL_8): Likewise.
30367         (_FP_FRAC_SRS_8): Likewise.
30369         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30370         include macro name.
30371         (FP_UNPACK_RAW_EP): Likewise.
30372         (FP_PACK_RAW_E): Likewise.
30373         (FP_PACK_RAW_EP): Likewise.
30374         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30375         (_FP_ISSIGNAN): Likewise.
30376         (_FP_ADD_INTERNAL): Likewise.
30377         (_FP_FMA): Likewise.
30378         (_FP_CMP): Likewise.
30379         (_FP_SQRT): Likewise.
30380         (_FP_TO_INT): Likewise.
30381         (_FP_FROM_INT): Likewise.
30382         (FP_EXTEND): Likewise.
30383         (_FP_DIV_MEAT_N_loop): Likewise.
30385 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30387         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30388         throughout.
30390 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30392         [BZ #17097]
30393         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30394         result with correct sign in case of exponents that produce
30395         overflow except for X very close to 1.
30397 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30399         mktime: merge #if/#ifdef usage from glibc
30400         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30401         as that works with both Glibc's and Gnulib's style.
30402         See thread starting at Siddhesh Poyarekar's bug report at:
30403         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30405 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30407         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30408         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30409         * sysdeps/tile/tilegx/memmove.c: Remove file.
30411 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30413         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30414         abi-name definition.
30415         * scripts/soversions.awk: Do not handle or generate ABI lines.
30416         * shlib-versions: Remove ABI entries.
30417         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30418         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30420 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30423         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30424         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30425         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30427         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30429         Moved ...
30430         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30431         ... here.
30432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30433         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30435         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30437         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30439         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30441         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30443         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30445         Moved ...
30446         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30448         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30450         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30452         Moved ...
30453         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30455         Moved ...
30456         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30458         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30460         Moved ...
30461         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30463         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30465         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30467         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30469         Moved ...
30470         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30472         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30473         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30474         Moved ...
30475         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30477         Moved ...
30478         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30479         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30480         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30481         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30482         Moved ...
30483         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30484         ... here.
30485         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30486         Identical file removed.
30487         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30488         Moved ...
30489         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30491         Identical file removed.
30492         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30495         Moved ...
30496         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30498         Identical file removed.
30499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30500         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30501         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30502         Identical file removed.
30503         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30506         Identical file removed.
30507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30508         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30510         Identical file removed.
30511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30512         Moved ...
30513         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30515         Identical file removed.
30516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30517         Moved ...
30518         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30519         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30520         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30522         Identical file removed.
30523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30526         ... here.
30527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30528         Identical file removed.
30529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30530         Moved ...
30531         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30533         Identical file removed.
30534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30535         Moved ...
30536         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30538         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30540         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30545         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30547         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30548         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30549         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30550         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30551         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30553 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30555         [BZ #17092]
30556         * nscd/nscd.c (monitor_child): Return exit status of child
30557         instead of return value from wait syscall.
30559 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30561         * configure.ac (libc_commonpagesize): Remove variable.
30562         (libc_relro_required): Likewise.
30563         (libc_cv_z_relro): Remove configure test.
30564         * configure: Regenerated.
30565         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30566         variable.
30567         (libc_relro_required): Likewise.
30568         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30569         (libc_relro_required): Likewise.
30570         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30571         (libc_relro_required): Likewise.
30572         * sysdeps/arm/preconfigure: Regenerated.
30573         * sysdeps/ia64/preconfigure: Remove file.
30574         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30575         variable.
30576         (libc_relro_required): Likewise.
30578         [BZ #16561]
30579         [BZ #16562]
30580         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30581         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30582         recompute overflowing results in original rounding mode.
30583         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30584         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30585         recompute overflowing results in original rounding mode.
30586         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30587         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30588         recompute overflowing results in original rounding mode.
30589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30590         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30591         recompute overflowing results in original rounding mode.
30592         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30593         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30594         recompute overflowing results in original rounding mode.
30595         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30596         (libc_feholdsetround_ctx): New macro.
30597         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30598         * sysdeps/i386/fpu/libm-test-ulps: Update.
30599         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30601 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30603         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30604         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30605         corresponding .cpsetup call.
30607 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30609         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30610         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30611         * sysdeps/arm/Makefile [$(subdir) = csu]
30612         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30613         (static-only-routines): Add aeabi_read_tp here.
30614         (shared-only-routines): Add libc-aeabi_read_tp here.
30615         (CFLAGS-libc-start.c): Add -fexceptions here.
30616         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30617         (sysdep_routines, static-only-routines, shared-only-routines):
30618         Don't add to these here.
30619         (CFLAGS-libc-start.c): Likewise.
30621         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30622         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30623         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30624         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30625         * sysdeps/arm/Makefile [$(subdir) = rt]
30626         (librt-sysdep_routines, librt-shared-only-routines):
30627         Append rt-aeabi_unwind_cpp_pr1 here.
30628         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30629         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30630         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30631         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30632         Append nptl-aeabi_unwind_cpp_pr1 here.
30633         (tests): Filter out tst-cleanupx4 here.
30634         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30635         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30636         Don't do those here.
30638 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30640         * scripts/list-sources.sh: Do not handle ports specially.
30642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30644         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30645         * sysdeps/arm/feupdateenv.c: Likewise.
30647         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30649 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30651         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30652         trailing whitespace removed.
30653         * scripts/config.guess: Update to version 2014-03-23.
30654         * scripts/config.sub: Update to version 2014-05-01
30655         * scripts/install-sh: Update to version 2013-12-25.23.
30656         * scripts/move-if-change: Update from gnulib.
30658 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30660         * debug/memmove_chk.c: Remove pagecopy.h include.
30662 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30664         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30665         identical to gnulib mktime.
30667 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30669         * configure.ac: Do not test for machine being rs6000.  Do not test
30670         for powerpc*-*soft.
30671         * configure: Regenerated.
30673         [BZ #11505]
30674         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30675         test.
30676         * configure: Regenerated.
30677         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30678         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30679         Remove configure test.
30680         * sysdeps/arm/configure: Regenerated.
30681         * sysdeps/nptl/configure.ac: Do not check
30682         libc_cv_asm_cfi_directives.
30683         * sysdeps/nptl/configure: Regenerated.
30684         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30685         * sysdeps/x86_64/nptl/configure: Remove generated file.
30686         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30687         unconditional.
30688         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30690 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30692         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30693         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30694         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30695         it is defined.
30697         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30698         instead of whether it is defined.
30699         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30700         * sysdeps/hppa/dl-machine.h: Likewise.
30701         * sysdeps/ia64/dl-machine.h: Likewise.
30702         * sysdeps/m68k/dl-machine.h: Likewise.
30703         * sysdeps/microblaze/dl-machine.h: Likewise.
30704         * sysdeps/mips/dl-machine.: Likewise.
30705         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30706         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30707         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30708         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30709         * sysdeps/sh/dl-machine.h: Likewise.
30710         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30711         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30712         * sysdeps/tile/dl-machine.h: Likewise.
30713         * sysdeps/x86_64/dl-machine.h: Likewise.
30715         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30716         code.
30717         (verify_persistent_db): Likewise.
30719 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30722         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30724         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30726         Moved ...
30727         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30728         ... here.
30729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30730         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30732         Identical file removed.
30733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30736         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30738         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30740         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30742         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30744         Moved ...
30745         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30747         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30749         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30751         Moved ...
30752         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30754         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30756         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30758         Identical file removed.
30759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30760         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30762         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30764         Moved ...
30765         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30766         ... here.
30767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30768         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30770         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30772         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30774         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30776         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30778         Moved ...
30779         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30781         Moved ...
30782         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30784         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30786         Moved ...
30787         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30789         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30791         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30792         folded into ...
30793         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30794         * sysdeps/unix/sysv/linux/s390/Versions
30795         (libpthread: GLIBC_2.19): New version set.
30796         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30797         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30798         (librt: GLIBC_2.3.3): New version set.
30799         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30800         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30801         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30802         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30803         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30805         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30806         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30807         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30808         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30809         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30810         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30811         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30812         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30813         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30814         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30815         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30816         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30817         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30818         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30819         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30821         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30823         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30824         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30825         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30827         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30829         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30835         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30837         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30838         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30839         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30841         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30843         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30846         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30847         (__libc_vfork): Define the function under this name.
30848         [!NOT_IN_libc] (__vfork): Make this an alias.
30849         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30851         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30852         (__libc_vfork): Define the function under this name.
30853         [!NOT_IN_libc] (__vfork): Make this an alias.
30854         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30855         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30856         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30859         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30861         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30862         code that was previously under [RESET_PID].
30863         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30867         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30868         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30869         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30870         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30871         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30872         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30873         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30874         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30875         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30876         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30877         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30878         Moved ...
30879         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30880         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30881         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30882         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30883         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30884         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30885         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30886         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30887         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30888         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30889         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30890         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30891         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30892         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30893         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30894         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30895         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30896         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30897         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30898         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30899         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30900         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30901         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30902         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30903         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30904         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30905         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30907         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30909 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30911         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30912         that was previously under [RESET_PID].
30913         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30915 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30917         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30918         not undefine and redefine.
30919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30920         [O_CLOEXEC]: Make code unconditional.
30921         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30922         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30923         <kernel-features.h>.
30924         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30925         conditional variable definition.
30926         (shm_open) [O_CLOEXEC]: Make code unconditional.
30927         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30928         code.
30930         * configure.ac (USE_REGPARMS): Don't define here.
30931         * configure: Regenerated.
30932         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30933         * sysdeps/i386/configure: Regenerated.
30935         * nptl/createthread.c: Don't include kernel-features.h.
30936         * nptl/pthread_cancel.c: Likewise.
30937         * nptl/pthread_condattr_setclock.c: Likewise.
30938         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30939         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30940         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30941         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30942         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30943         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30944         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30947         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30948         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30949         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30950         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30951         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30952         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30953         * nscd/gai.c: Likewise.
30954         * nss/nss_db/db-open.c: Likewise.
30955         * sysdeps/generic/ldsodefs.h: Likewise.
30956         * sysdeps/sh/nptl/tls.h: Likewise.
30957         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30958         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30959         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30960         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30961         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30962         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30963         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30965         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30966         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30967         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30968         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30969         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30970         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30971         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30972         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30973         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30974         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30975         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30976         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30979         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30980         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30982         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30985         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30986         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30987         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30988         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30989         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30990         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30991         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30992         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30993         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30994         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30995         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30996         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30997         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30998         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30999         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31000         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31001         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31002         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31003         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31004         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31005         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31006         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31007         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31008         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31009         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31010         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31011         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31012         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31013         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31014         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31037         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31038         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31039         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31040         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31041         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31042         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31043         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31044         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31045         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31046         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31047         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31048         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31049         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31050         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31051         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31052         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31053         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31054         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31055         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31056         * sysdeps/unix/sysv/linux/system.c: Likewise.
31057         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31058         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31059         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31060         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31061         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31062         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31063         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31065         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31066         * configure: Regenerated.
31067         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31069         * configure.ac (base_machine): Do not set specially for particular
31070         machines here.
31071         * configure: Regenerated.
31072         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31073         settings from configure.ac.
31074         * sysdeps/i386/preconfigure: New file.
31075         * sysdeps/s390/preconfigure: Likewise.
31076         * sysdeps/sh/preconfigure: Likewise.
31077         * sysdeps/sparc/preconfigure: Likewise.
31079 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31081         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31082         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31083         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31084         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31085         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31086         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31087         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31088         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31089         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31090         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31091         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31092         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31093         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31094         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31095         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31096         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31098         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31099         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31101         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31102         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31103         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31104         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31105         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31106         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31107         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31108         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31109         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31110         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31111         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31112         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31113         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31114         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31115         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31116         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31117         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31118         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31119         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31120         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31122         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31123         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31124         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31126         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31128         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31129         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31132         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31133         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31134         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31135         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31136         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31137         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31138         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31141         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31143         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31145         Moved ...
31146         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31147         ... here.
31148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31149         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31151         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31153         Moved ...
31154         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31158         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31162         Moved ...
31163         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31165         Moved ...
31166         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31170         Moved ...
31171         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31175         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31177         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31181         Moved ...
31182         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31183         ... here.
31184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31185         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31187         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31189         Moved ...
31190         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31192         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31194         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31196         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31198         Moved ...
31199         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31201         Moved ...
31202         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31204         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31206         Moved ...
31207         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31209         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31211         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31213 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31215         * timezone/checktab.awk: Update from tzcode 2014e.
31216         * timezone/private.h: Likewise.
31217         * timezone/tzfile.h: Likewise.
31218         * timezone/zdump.c: Likewise.
31219         * timezone/zic.c: Likewise.
31221         * sysdeps/unix/sysv/linux/kernel-features.h
31222         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31224         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31225         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31226         Remove conditional code.
31228 2014-06-25  Will Newton  <will.newton@linaro.org>
31230         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31231         (_dl_arm_cap_flags): Add HWCAP2 values.
31232         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31233         (_DL_HWCAP_COUNT): Increase to 37.
31234         (_DL_HWCAP_LAST): New define.
31235         (_DL_HWCAP2_LAST): New define.
31236         (_dl_procinfo): Add support for printing
31237         AT_HWCAP2 entries.
31238         (_dl_string_hwcap): Use _dl_hwcap_string.
31240 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31244 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31246         * README: Do not mention ports directory.
31248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31249         Remove macro.
31250         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31251         <kernel-features.h>.
31252         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31253         conditional variable definition.
31254         (__futimes): Update comment.
31255         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31256         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31258         [BZ #16560]
31259         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31260         arguments close to 0.
31261         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31262         Likewise.
31263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31264         Likewise.
31265         * math/auto-libm-test-in: Add more tests of exp10.
31266         * math/auto-libm-test-out: Regenerated.
31267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31269         * sysdeps/unix/sysv/linux/kernel-features.h
31270         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31271         * sysdeps/unix/sysv/linux/readv.c: Do not include
31272         <kernel-features.h>.
31273         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31274         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31275         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31276         unconditional.
31277         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31278         conditional code.
31279         * sysdeps/unix/sysv/linux/writev.c: Do not include
31280         <kernel-features.h>.
31281         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31282         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31283         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31284         unconditional.
31285         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31286         conditional code.
31288 2014-06-25  Will Newton  <will.newton@linaro.org>
31290         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31291         comment changes throughout the file.  Remove checks
31292         for HAVE_*_H definitions that are not required.
31293         (__gen_tempname): Call abort if an unknown kind value is
31294         passed.
31296 2014-06-25  Andreas Schwab  <schwab@suse.de>
31298         [BZ #17086]
31299         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31300         scalbln, scalblnf, scalblnl in libc.
31302 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31304         [BZ #17086]
31305         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31306         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31307         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31309 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31311         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31312         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31313         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31314         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31315         Update #include.
31316         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31317         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31318         Update #include.
31319         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31321         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31322         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31323         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31324         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31325         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31326         * sysdeps/x86/bits/semaphore.h: ... here.
31327         * sysdeps/x86/nptl/elide.h: Moved ...
31328         * sysdeps/x86/elide.h: ... here.
31329         * sysdeps/x86_64/nptl/Implies: File removed.
31330         * sysdeps/i386/nptl/Implies: File removed.
31332 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31334         [BZ #16539]
31335         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31336         return the argument for normal arguments with exponent below -64.
31337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31338         Likewise.
31339         * math/auto-libm-test-in: Add another test of expm1.
31340         * math/auto-libm-test-out: Regenerated.
31342         [BZ #16287]
31343         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31344         calling __erfcl for arguments at least 16.
31345         * math/auto-libm-test-in: Add more tests of erf.
31346         * math/auto-libm-test-out: Regenerated.
31348         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31349         individual architectures.
31350         * sysdeps/unix/sysv/linux/configure: Regenerated.
31351         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31352         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31353         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31354         (ldd_rewrite_script): Define variable.
31355         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31357         file.
31358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31359         generated file.
31360         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31361         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31362         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31363         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31364         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31365         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31366         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31367         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31369 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31371         [BZ #17084]
31372         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31373         Rename member __data.d to __data.__elision_data.
31375 2014-06-24  Wilco  <wdijkstr@arm.com>
31377         * NEWS: Add 16918 to fixed bug list.
31379 2014-06-24  Wilco  <wdijkstr@arm.com>
31381         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31383 2014-06-24  Wilco  <wdijkstr@arm.com>
31385         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31386         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31387         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31388         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31389         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31390         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31391         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31392         Use _FPU_MASK_RM.
31394 2014-06-24  Wilco  <wdijkstr@arm.com>
31396         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31398 2014-06-24  Wilco  <wdijkstr@arm.com>
31400         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31401         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31402         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31403         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31405 2014-06-24  Wilco  <wdijkstr@arm.com>
31407         [BZ #16918]
31408         * sysdeps/arm/feupdateenv.c (feupdateenv):
31409         Rewrite to reduce FPSCR accesses and fix return value.
31411 2014-06-24  Wilco  <wdijkstr@arm.com>
31413         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31414         Optimize to avoid unnecessary FPSCR writes.
31415         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31416         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31417         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31418         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31420 2014-06-24  Wilco  <wdijkstr@arm.com>
31422         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31423         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31424         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31425         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31426         Call libc_fetestexcept_vfp.
31427         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31428         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31429         __SOFTFP__ ifdef so that they can be built for softfp.
31431 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31433         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31434         argument type signed char.
31436         * Makerules (check-abi): Dump diff of symlist if the test
31437         fails.
31439 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31441         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31442         using abort.
31444         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31445         Remove unused variable ST.
31447 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #16354]
31450         [BZ #17061]
31451         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31452         small arguments before calling __expm1.
31453         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31454         small arguments before calling __expm1f.
31455         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31456         small arguments before calling __expm1l.
31457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31458         Likewise.
31459         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31460         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31461         spurious underflow for some cosh tests.
31462         * math/auto-libm-test-out: Regenerated.
31463         * sysdeps/i386/fpu/libm-test-ulps: Update.
31465         [BZ #17050]
31466         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31467         (__ieee754_y1): Set errno if return value overflows.
31468         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31469         (__ieee754_y1f): Set errno if return value overflows.
31470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31471         (__ieee754_y1l): Set errno if return value overflows.
31472         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31473         (__ieee754_y1l): Set errno if return value overflows.
31474         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31475         * math/auto-libm-test-out: Regenerated.
31477         * math/gen-auto-libm-tests.c: Document use of
31478         ignore-zero-inf-sign.
31479         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31480         (input_flags): Add ignore-zero-inf-sign.
31481         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31482         * math/gen-libm-test.pl (generate_testfile): Handle
31483         ignore-zero-inf-sign.
31484         * math/auto-libm-test-in: Mark some cpow tests with
31485         ignore-zero-inf-sign and some with xfail-rounding.
31486         * math/auto-libm-test-out: Regenerated.
31487         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31488         * sysdeps/i386/fpu/libm-test-ulps: Update.
31489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31491         [BZ #16315]
31492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31493         overflowing or underflowing operations take place with sign of
31494         result.
31495         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31496         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31497         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31498         (__ieee754_pow): Recompute overflowing and underflowing results in
31499         original rounding mode.
31500         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31501         (__powl_helper): Allow negative argument X and scale negated value
31502         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31503         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31504         overflowing or underflowing operations take place with sign of
31505         result.
31506         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31507         Include <math.h>.
31508         * math/auto-libm-test-in: Add more tests of pow.
31509         * math/auto-libm-test-out: Regenerated.
31510         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31511         (pow_tonearest_test_data): Remove.
31512         (pow_test_tonearest): Likewise.
31513         (pow_towardzero_test_data): Likewise.
31514         (pow_test_towardzero): Likewise.
31515         (pow_downward_test_data): Likewise.
31516         (pow_test_downward): Likewise.
31517         (pow_upward_test_data): Likewise.
31518         (pow_test_upward): Likewise.
31519         (main): Don't call removed functions.
31520         * sysdeps/i386/fpu/libm-test-ulps: Update.
31521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31523 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31526         Moved ...
31527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31529         Moved ...
31530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31532         Moved ...
31533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31535         Moved ...
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31538         File removed.
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31540         File removed.
31541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31542         File removed.
31543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31544         File removed.
31545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31546         File removed.
31547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31548         File removed.
31549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31550         File removed.
31551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31552         File removed.
31553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31554         File removed.
31555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31556         File removed.
31557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31558         File removed.
31559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31560         File removed.
31561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31562         Moved ...
31563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31565         Moved ...
31566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31567         ... here.
31568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31569         Moved ...
31570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31572         Moved ...
31573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31575         Moved ...
31576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31578         Moved ...
31579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31581         Moved ...
31582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31584         Moved ...
31585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31587         Moved ...
31588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31591         ... here.
31592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31593         Moved ...
31594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31596         Moved ...
31597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31598         ... here.
31599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31600         Moved ...
31601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31602         ... here.
31603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31604         Moved ...
31605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31606         ... here.
31607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31608         Moved ...
31609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31611         Moved ...
31612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31616         Moved ...
31617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31618         ... here.
31619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31620         Moved ...
31621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31622         ... here.
31623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31624         Moved ...
31625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31627         Moved ...
31628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31630         Moved ...
31631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31633         Moved ...
31634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31636         Moved ...
31637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31638         ... here.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31640         Moved ...
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31643         Moved ...
31644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31646         Moved ...
31647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31649         Moved ...
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31654         Moved ...
31655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31657         Moved ...
31658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31660         Moved ...
31661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31662         ... here.
31663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31664         Moved ...
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31666         ... here.
31667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31668         Moved ...
31669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31670         ... here.
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31672         Moved ...
31673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31675         Moved ...
31676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31678         Moved ...
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31681         Moved ...
31682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31683         ... here.
31684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31685         Moved ...
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31687         ... here.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31689         Moved ...
31690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31691         ... here.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31693         Moved ...
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31696         Moved ...
31697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31699 2014-06-23  Will Newton  <will.newton@linaro.org>
31700             Wilco  <wdijkstr@arm.com>
31702         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31703         implementation.  Include get-rounding-mode.h.
31704         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31705         [!libc_feholdsetround_noex_ctx]: Define
31706         libc_feholdsetround_noex_ctx.
31707         [!libc_feholdsetround_noexf_ctx]: Define
31708         libc_feholdsetround_noexf_ctx.
31709         [!libc_feholdsetround_noexl_ctx]: Define
31710         libc_feholdsetround_noexl_ctx.
31711         (libc_feholdsetround_ctx): New function.
31712         (libc_feresetround_ctx): New function.
31713         (libc_feholdsetround_noex_ctx): New function.
31714         (libc_feresetround_noex_ctx): New function.
31716 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31718         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31719         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31720         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31721         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31722         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31723         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31725         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31726         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31727         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31728         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31729         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31730         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31731         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31732         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31736         Moved ...
31737         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31738         ... here.
31739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31740         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31744         Moved ...
31745         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31747         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31749         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31751         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31753         Moved ...
31754         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31756         Moved ...
31757         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31759         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31761         Moved ...
31762         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31764         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31765         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31766         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31767         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31768         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31770         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31772         Moved ...
31773         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31774         ... here.
31775         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31776         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31778         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31780         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31782         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31786         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31787         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31788         Moved ...
31789         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31791         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31793         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31795         Moved ...
31796         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31800         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31802         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31803         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31804         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31805         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31806         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31807         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31808         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31809         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31811         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31812         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31815         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31816         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31817         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31818         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31819         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31820         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31821         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31823         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31825         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31826         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31827         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31831 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31834         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31835         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31836         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31837         (IPV6_PMTUDISC_INTERFACE): Likewise.
31838         (IPV6_PMTUDISC_OMIT): Likewise.
31840 2014-06-23  Andreas Schwab  <schwab@suse.de>
31842         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31843         Remove unused errout label.
31845 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31847         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31848         macro: hardware supports Vector Crypto instructions.
31850 2014-06-23  Will Newton  <will.newton@linaro.org>
31852         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31853         rather than __builtin_expect.
31855         * elf/dl-lookup.c (undefined_msg): Remove variable.
31856         (_dl_lookup_symbol_x): Replace undefined_msg with string
31857         literal.
31859         * elf/dl-lookup.c (do_lookup_unique): New function.
31860         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31861         to a separate function.
31863 2014-06-23  Andreas Schwab  <schwab@suse.de>
31865         [BZ #17079]
31866         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31867         before reading the next line.
31869 2014-06-23  Will Newton  <will.newton@linaro.org>
31871         * test-skeleton.c (signal_handler): Use printf and %m
31872         rather than perror.  Use printf rather than fprintf to
31873         stderr.  Use puts rather than fputs to stderr.
31874         (main): Likewise.
31876 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31878         * nscd/nscd.c (thread_info_t): Remove typedef.
31879         (thread_info): Remove variable.
31881 2014-06-21  Allan McRae  <allan@archlinux.org>
31883         * NEWS: Mention CVE-2014-4043.
31885 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31887         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31888         * nptl/smp.h: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31892         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31893         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31894         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31895         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31897         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31898         * nptl/stack-aliasing.h: New file.
31899         * sysdeps/i386/i686/stack-aliasing.h: New file.
31900         * sysdeps/i386/i686/nptl/Makefile: File removed.
31901         * sysdeps/x86_64/stack-aliasing.h: New file.
31902         * sysdeps/x86_64/nptl/Makefile
31903         (CFLAGS-pthread_create.c): Variable removed.
31905         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31906         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31907         old file.
31908         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31909         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31910         old file.
31912 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31914         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31915         (__ASSUME_SIGFRAME_V2): Remove macro.
31916         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31917         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31918         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31919         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31920         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31921         Declare as function.  Remove conditional macro definitions.
31922         (__default_rt_sa_restorer): Likewise.
31923         (__default_sa_restorer_v1): Remove declaration.
31924         (__default_sa_restorer_v2): Likewise.
31925         (__default_rt_sa_restorer_v1): Likewise.
31926         (__default_rt_sa_restorer_v2): Likewise.
31927         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31928         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31929         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31931 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31933         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31934         (libpthread-routines): Add sysdep.
31935         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31936         * sysdeps/unix/sysv/linux/sparc/Versions
31937         (libpthread: GLIBC_2.3.3): New version set.
31938         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31939         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31940         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31942         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31943         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31944         Moved ...
31945         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31946         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31947         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31948         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31949         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31950         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31951         * sysdeps/sparc/nptl/sem_init.c: ... here.
31952         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31953         * sysdeps/sparc/nptl/sem_post.c: ... here.
31954         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31955         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31956         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31957         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31958         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31959         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31960         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31961         (libpthread-routines): Add cpu_relax.
31962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31963         File removed.
31964         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31965         (librt: GLIBC_2.3.3): New version set.
31966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31967         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31968         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31969         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31972         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31974         Moved ...
31975         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31977         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31979         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31981         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31983         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31985         Moved ...
31986         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31987         Update #include.
31988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31989         Moved ...
31990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31991         Update #include.
31992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31993         Moved ...
31994         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31995         Update #include.
31996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31997         Moved ...
31998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31999         Update #include.
32000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32001         Moved ...
32002         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32003         Update #include.
32004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32005         Moved ...
32006         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32007         Update #include.
32008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32009         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32015         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32017         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32019         Moved ...
32020         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32022         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32024         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32026 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32028         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32029         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32030         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32031         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32032         * nscd/nscd.c: Likewise.
32033         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32034         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32035         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32036         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32038         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32039         <kernel-features.h>.
32040         (init_mq_netlink): Remove conditional have_sock_cloexec
32041         definitions.  Remove code conditional on have_sock_cloexec < 0.
32042         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32043         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32044         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32045         <kernel-features.h>.
32046         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32047         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32049 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32052         Add tests for memset_chk and memset.
32054         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32055         with AVX2_Usable.
32057 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32059         [BZ #16046]
32060         * elf/tst-dl-iter-static.c: New file.
32061         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32063         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32064         error.
32066 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32068         * sysdeps/unix/sysv/linux/kernel-features.h
32069         (__ASSUME_F_GETOWN_EX): Remove macro.
32070         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32071         <kernel-features.h>.
32072         (miss_F_GETOWN_EX): Remove variable or macro.
32073         (do_fcntl): Do not check miss_F_GETOWN_EX.
32074         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32077         Remove macro.
32078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32079         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32080         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32082         * sysdeps/unix/sysv/linux/kernel-features.h
32083         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32084         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32085         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32086         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32088 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32090         [BZ #17075]
32091         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32092         Fix calculation of the symbol's value.
32093         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32094         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32095         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32096         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32097         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32098         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32099         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32100         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32101         (modules-names): Add `tst-armtlsdescmod',
32102         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32103         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32104         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32105         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32106         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32107         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32108         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32109         ($(objpfx)tst-armtlsdescloc): New dependency.
32110         ($(objpfx)tst-armtlsdescextnow): Likewise.
32111         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32112         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32113         TLS scheme support.
32114         * sysdeps/arm/configure: Regenerate.
32116 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32118         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32119         (__atfct_seterrno_2): Likewise.
32120         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32121         <kernel-features.h>.
32122         (__ASSUME_ATFCTS): Do not undefine and redefine.
32123         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32124         (__have_atfcts): Remove conditional definition.
32125         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32126         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32127         unreachable if [__ASSUME_ATFCTS].
32128         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32129         not undefine and redefine.
32130         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32131         <kernel-features.h>.
32132         (faccessat) [__NR_faccessat]: Make code unconditional.
32133         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32134         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32135         <kernel-features.h>.
32136         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32137         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32138         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32139         <kernel-features.h>.
32140         (fchownat) [__NR_fchownat]: Make code unconditional.
32141         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32142         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32143         <kernel-features.h>.
32144         (futimesat) [__NR_futimesat]: Make code unconditional.
32145         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32146         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32147         <kernel-features.h>.
32148         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32149         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32150         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32151         <kernel-features.h>.
32152         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32153         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32154         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32155         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32156         <kernel-features.h>.
32157         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32158         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32159         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32160         <kernel-features.h>.
32161         (linkat) [__NR_linkat]: Make code unconditional.
32162         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32163         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32164         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32165         <kernel-features.h>.
32166         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32167         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32168         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32169         <kernel-features.h>.
32170         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32171         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32172         * sysdeps/unix/sysv/linux/openat.c: Do not include
32173         <kernel-features.h>.
32174         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32175         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32176         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32177         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32178         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32179         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32180         <kernel-features.h>.
32181         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32182         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32183         result of INLINE_SYSCALL directly, not via int variable.
32184         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32185         <kernel-features.h>.
32186         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32187         (renameat) [__NR_renameat]: Make code unconditional.
32188         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32189         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32190         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32191         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32192         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32193         (__ASSUME_ATFCTS): Do not undefine and redefine.
32194         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32195         <kernel-features.h>.
32196         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32197         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32198         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32199         <kernel-features.h>.
32200         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32201         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32202         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32203         (__ASSUME_ATFCTS): Do not undefine and redefine.
32204         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32205         <kernel-features.h>.
32206         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32207         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32208         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32209         <kernel-features.h>.
32210         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32211         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32213 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32215         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32217 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32219         [BZ #17069]
32220         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32221         constructed tree before returning error.
32222         * posix/bug-regexp36.c: Expand test case.
32224 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32226         [BZ #6803]
32227         * math/libm-test.inc (scalbln_test_date):
32228         Add errno expectations.
32229         * math/w_scalblnf.c: New File.
32230         Add wrapper which checks for setting errno to ERANGE.
32231         Add weak_alias for corresponding scalbln function.
32232         * math/w_scalbln.c: Likewise.
32233         * math/w_scalblnl.c: Likewise.
32234         * math/Makefile (libm-calls): Add w_scalbln.
32235         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32236         Remove weak_alias for corresponding scalbln function.
32237         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32238         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32239         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32241         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32242         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32243         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32244         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32245         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32246         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32247         Remove long_double_symbol for scalblnl function in libm, libc.
32248         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32249         Add wrapper which checks for setting errno to ERANGE.
32250         Add long_double_symbol for scalblnl function in libm, libc.
32251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32252         Remove long_double_symbol for scalblnl in libm.
32253         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32254         Add wrapper which checks for setting errno to ERANGE.
32255         Add long_double_symbol for scalblnl function in libm.
32256         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32257         Do not use wrapper because of own implementation.
32259 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32261         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32262         3 bytes for __pad1 for x32.
32263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32265 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32266             H.J. Lu  <hongjiu.lu@intel.com>
32268         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32269         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32270         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32272         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32274 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32276         [BZ #17069]
32277         * posix/regcomp.c (parse_expression): Deallocate partially
32278         constructed tree before returning error.
32279         * posix/Makefile.c (tests): Add bug-regex36.
32280         (generated): Add bug-regex36.mtrace.
32281         (tests-special): Add $(objpfx)bug-regex36-mem.out
32282         (bug-regex36-ENV): New variable.
32283         ($(objpfx)bug-regex36-mem.out): New rule.
32284         * posix/bug-regex36.c: New file.
32286 2014-06-19  Will Newton  <will.newton@linaro.org>
32288         * malloc/malloc.c (systrim): If extra is zero then return
32289         early.
32291 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32293         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32295 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32297         * sysdeps/aarch64/strchr.S: New file.
32299 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32301         [BZ #17022]
32302         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32303         from arguments -2 or below.
32304         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32305         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32307 2014-06-18  Andreas Schwab  <schwab@suse.de>
32309         [BZ #17062]
32310         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32311         of a bracket expr not to run off the end of the string.
32312         * posix/Makefile (tests): Add tst-fnmatch3.
32313         * posix/tst-fnmatch3.c: New file.
32315 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32317         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32318         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32319         [$(cross-compiling) = no]: Likewise.
32320         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32321         [$(cross-compiling) = no]: Likewise.
32323 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32325         [BZ #17031]
32326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32327         double, adjusted for any remainder from the high double.
32328         * math/libm-test.inc (nearbyint): Add tests.
32329         (rint): Likewise.
32331 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32333         * nptl/sysdeps/powerpc/Makefile: Moved ...
32334         * sysdeps/powerpc/nptl/Makefile: ... here.
32335         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32336         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32337         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32338         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32339         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32340         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32341         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32342         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32343         * nptl/sysdeps/powerpc/tls.h: Moved ...
32344         * sysdeps/powerpc/nptl/tls.h: ... here.
32346 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32348         [BZ #16681]
32349         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32350         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32351         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32352         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32353         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32354         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32355         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32356         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32357         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32359 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32361         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32363 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32365         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32366         defined operator.
32368         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32369         $TIMEOUTFACTOR.
32371 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32373         [BZ #17058]
32374         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32375         non-executed part of the test.
32377 2014-06-16  Andreas Schwab  <schwab@suse.de>
32379         * string/bits/string2.h (strdup, strndup): Update feature guard.
32381 2014-06-14  David S. Miller  <davem@davemloft.net>
32383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32385 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32387         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32388         that was previously under [RESET_PID].
32389         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32391         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32392         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32393         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32394         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32395         (__libc_vfork): New strong alias.
32396         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32398 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32400         * sysdeps/generic/elide.h: New file.
32402 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32404         * Makefile (installed-headers): Adjust path of pthread.h header.
32406 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32408         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32409         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32410         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32411         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32413         * nptl/sysdeps/s390/Makefile: Moved ...
32414         * sysdeps/s390/nptl/Makefile: ... here.
32415         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32416         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32417         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32418         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32419         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32420         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32421         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32422         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32423         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32424         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32425         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32426         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32427         * nptl/sysdeps/s390/tls.h: Moved ...
32428         * sysdeps/s390/nptl/tls.h: ... here.
32430         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32431         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32433 2014-06-13  David S. Miller  <davem@davemloft.net>
32435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32438         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32442         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32443         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32444         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32445         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32446         Remove RESET_PID cpp guards.
32447         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32448         Remove RESET_PID cpp guards.
32449         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32451 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32453         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32454         __sp to uintptr_t.
32456 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32458         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32460         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32461         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32463         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32465         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32466         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32467         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32469         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32472         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32476         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32479         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32480         (pthread_rwlock_rdlock): Add elision.
32481         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32482         (pthread_rwlock_wrlock): Add elision.
32483         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32484         (pthread_rwlock_trywrlock): Add elision.
32485         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32486         (pthread_rwlock_tryrdlock): Add elision.
32487         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32488         (pthread_rwlock_tryrdlock): Add elision unlock.
32489         * nptl/sysdeps/pthread/pthread.h:
32490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32491         (PTHREAD_RWLOCK_INITIALIZER,
32492         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32493         Handle new elision field.
32494         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32495         * sysdeps/arm/nptl/bits/pthreadtypes.h
32496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32497         * sysdeps/sh/nptl/bits/pthreadtypes.h
32498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32499         * sysdeps/tile/nptl/bits/pthreadtypes.h
32500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32501         * sysdeps/a/nptl/bits/pthreadtypes.h
32502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32507         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32509         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32511         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32513         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32515         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32516         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32517         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32519         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32520         (elision_init): Set try_xbegin to zero when no RTM.
32521         * sysdeps/x86/nptl/bits/pthreadtypes.h
32522         (pthread_rwlock_t): Change __pad1 to __rwelision.
32523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32525 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32527         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32528         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32529         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32530         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32532 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32534         [BZ #16996]
32535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32536         that the cached result has been set before returning it.
32538 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32540         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32541         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32542         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32543         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32544         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32545         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32547         * nptl/sysdeps/sparc/Makefile: Moved ...
32548         * sysdeps/sparc/nptl/Makefile: ... here.
32549         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32550         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32551         * nptl/sysdeps/sparc/tls.h: Moved ...
32552         * sysdeps/sparc/nptl/tls.h: ... here.
32553         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32554         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32555         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32556         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32557         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32558         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32559         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32560         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32561         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32562         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32563         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32564         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32565         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32566         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32567         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32568         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32569         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32571         Update #include.
32572         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32574         Update #include.
32575         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32577         Update #include.
32578         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32580         Update #include.
32582         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32584         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32585         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32587         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32588         (struct list_links): Type removed.
32589         (struct thread_node, struct timer_node): Replace struct list_links
32590         with struct list_head.
32591         (list_unlink_ip): Likewise.
32592         * sysdeps/pthread/timer_routines.c
32593         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32594         (list_append, list_insbefore): Likewise.
32595         (list_init): Function removed.
32596         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32597         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32598         * sysdeps/pthread/Makefile: ... here, new file.
32600         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32601         * sysdeps/nptl/Implies: ... here.
32602         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32603         * nptl/sysdeps/pthread/list.h: Moved ...
32604         * include/list.h: ... here.
32605         * nptl/sysdeps/pthread/createthread.c: Moved ...
32606         * nptl/createthread.c: ... here.
32607         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32608         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32609         * nptl/pt-longjmp.c: ... here.
32610         * nptl/sysdeps/pthread/Makefile: Moved ...
32611         * sysdeps/nptl/Makefile: ... here.
32612         * nptl/sysdeps/pthread/Subdirs: Moved ...
32613         * sysdeps/nptl/Subdirs: ... here.
32614         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32615         * sysdeps/nptl/aio_misc.h: ... here.
32616         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32617         * sysdeps/nptl/bits/libc-lock.h: ... here.
32618         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32619         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32620         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32621         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32622         * nptl/sysdeps/pthread/configure: Moved ...
32623         * sysdeps/nptl/configure: ... here.
32624         * nptl/sysdeps/pthread/configure.ac: Moved ...
32625         * sysdeps/nptl/configure.ac: ... here.
32626         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32627         * sysdeps/nptl/gai_misc.h: ... here.
32628         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32629         * sysdeps/nptl/librt-cancellation.c: ... here.
32630         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32631         * sysdeps/nptl/malloc-machine.h: ... here.
32632         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32633         * sysdeps/nptl/pthread-functions.h: ... here.
32634         * nptl/sysdeps/pthread/pthread.h: Moved ...
32635         * sysdeps/nptl/pthread.h: ... here.
32636         * nptl/sysdeps/pthread/setxid.h: Moved ...
32637         * sysdeps/nptl/setxid.h: ... here.
32638         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32639         * sysdeps/nptl/sigfillset.c: ... here.
32640         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32641         * sysdeps/nptl/tcb-offsets.h: ... here.
32642         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32643         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32644         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32645         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32646         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32647         * sysdeps/pthread/allocalim.h: ... here.
32648         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32649         * sysdeps/pthread/bits/sigthread.h: ... here.
32650         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32651         * sysdeps/pthread/flockfile.c: ... here.
32652         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32653         * sysdeps/pthread/ftrylockfile.c: ... here.
32654         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32655         * sysdeps/pthread/funlockfile.c: ... here.
32656         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32657         * sysdeps/pthread/posix-timer.h: ... here.
32658         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32659         * sysdeps/pthread/timer_create.c: ... here.
32660         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32661         * sysdeps/pthread/timer_delete.c: ... here.
32662         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32663         * sysdeps/pthread/timer_getoverr.c: ... here.
32664         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32665         * sysdeps/pthread/timer_gettime.c: ... here.
32666         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32667         * sysdeps/pthread/timer_routines.c: ... here.
32668         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32669         * sysdeps/pthread/timer_settime.c: ... here.
32670         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32671         * sysdeps/pthread/tst-timer.c: ... here.
32672         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32673         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32675         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32676         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32678         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32679         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32680         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32681         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32682         Update #include target.
32683         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32684         * sysdeps/i386/i686/nptl/Makefile: ... here.
32685         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32686         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32687         Update #include target.
32688         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32689         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32690         * nptl/sysdeps/i386/Makefile: Moved ...
32691         * sysdeps/i386/nptl/Makefile: ... here.
32692         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32693         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32694         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32695         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32696         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32697         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32698         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32699         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32700         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32701         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32702         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32703         * nptl/sysdeps/i386/tls.h: Moved ...
32704         * sysdeps/i386/nptl/tls.h: ... here.
32706         * sysdeps/sh/Makefile [$(subdir) = csu]
32707         (gen-as-const-headers): Add tcb-offsets.sym.
32708         * nptl/sysdeps/sh/Makefile: File removed.
32709         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32710         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32711         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32712         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32713         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32714         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32715         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32716         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32717         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32718         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32719         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32720         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32721         * nptl/sysdeps/sh/tls.h: Moved ...
32722         * sysdeps/sh/nptl/tls.h: ... here.
32723         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32724         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32725         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32726         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32727         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32728         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32729         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32730         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32731         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32732         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32733         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32734         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32735         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32736         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32737         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32738         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32740         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32742         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32743         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32744         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32745         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32748         Moved ...
32749         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32751         Moved ...
32752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32753         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32754         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32755         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32756         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32757         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32758         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32759         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32760         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32761         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32762         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32763         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32764         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32765         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32766         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32767         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32768         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32769         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32770         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32772 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32774         * posix/spawn_faction_addopen.c: Include string.h.
32776 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32778         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32779         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32780         * nptl/sysdeps/x86_64/Makefile: Moved ...
32781         * sysdeps/x86_64/nptl/Makefile: ... here.
32782         * nptl/sysdeps/x86_64/configure: Moved ...
32783         * sysdeps/x86_64/nptl/configure: ... here.
32784         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32785         * sysdeps/x86_64/nptl/configure.ac: ... here.
32786         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32787         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32788         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32789         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32790         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32791         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32792         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32793         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32794         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32795         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32796         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32797         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32798         * nptl/sysdeps/x86_64/tls.h: Moved ...
32799         * sysdeps/x86_64/nptl/tls.h: ... here.
32800         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32801         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32802         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32803         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32805         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32807 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32811 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32813         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32814         type.
32815         [POSIX] (off_t): Likewise.
32816         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32817         [POSIX] (S_ISBLK): Require macro.
32818         [POSIX] (S_ISCHR): Likewise.
32819         [POSIX] (S_ISDIR): Likewise.
32820         [POSIX] (S_ISFIFO): Likewise.
32821         [POSIX] (S_ISREG): Likewise.
32822         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32823         optional-macro.
32824         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32825         type.
32826         [POSIX] (time_t): Likewise.
32827         [POSIX] (timer_t): Likewise.
32829 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32831         [BZ #17048]
32832         * posix/spawn_int.h (struct __spawn_action): Make the path string
32833         non-const to support deallocation.
32834         * posix/spawn_faction_addopen.c
32835         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32836         * posix/spawn_faction_destroy.c
32837         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32838         path in all spawn_do_open actions.
32839         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32840         posix_spawn_file_actions_addopen.
32842 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32844         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32845         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32846         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32847         conditional code always true.
32848         (__libc_vfork): New alias.
32850 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32852         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32853         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32855         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32857         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32858         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32860         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32861         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32863         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32864         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32866 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32868         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32869         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32870         multiarch strcmp for PPC64.
32871         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32872         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32874         multiarch optimizations.
32875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32876         (__libc_ifunc_impl_list): Likewise.
32878 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32880         * benchtests/scripts/validate_benchout.py: New script.
32881         * benchtests/Makefile (bench-func): Call it.
32882         * benchtests/scripts/benchout.schema.json: New file.
32884 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32886         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32887         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32888         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32889         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32890         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32891         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32892         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32893         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32894         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32895         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32896         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32897         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32898         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32899         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32900         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32901         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32903         Moved ...
32904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32905         ... here.
32906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32907         Moved ...
32908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32910         Moved ...
32911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32912         ... here.
32913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32914         Moved ...
32915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32916         ... here.
32917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32918         Moved ...
32919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32921         Moved ...
32922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32923         ... here.
32924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32925         Moved ...
32926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32927         ... here.
32928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32929         Moved ...
32930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32932         Moved ...
32933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32934         ... here.
32935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32936         Moved ...
32937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32938         ... here.
32939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32940         Moved ...
32941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32942         ... here.
32943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32944         Moved ...
32945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32947         Moved ...
32948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32949         ... here.
32950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32951         Moved ...
32952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32953         ... here.
32954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32955         Moved ...
32956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32957         ... here.
32958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32959         Moved ...
32960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32962         Moved ...
32963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32964         ... here.
32965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32966         Moved ...
32967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32968         ... here.
32969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32970         Moved ...
32971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32973         Moved ...
32974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32975         ... here.
32976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32977         Moved ...
32978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32980         Moved ...
32981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32983         Moved ...
32984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32985         ... here.
32986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32987         Moved ...
32988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32989         ... here.
32990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32991         Moved ...
32992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32993         ... here.
32994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32995         Moved ...
32996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32998         Moved ...
32999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33000         ... here.
33001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33002         Moved ...
33003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33004         ... here.
33005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33006         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33008         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33010         Moved ...
33011         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33012         ... here.
33013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33014         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33016         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33018         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33020         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33022         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33024         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33026         Moved ...
33027         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33029         Moved ...
33030         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33032         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33034         Moved ...
33035         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33037         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33039         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33040         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33041         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33043 2014-06-10  Wilco  <wdijkstr@arm.com>
33045         * math/test-fenv-return.c: New file.
33046         * math/Makefile: Add new test test-fenv-return.
33048 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33050         [BZ #17042]
33051         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33052         when x - 1 is zero.
33053         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33054         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33055         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33056         0.0L for an argument of 1.0L.
33057         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33058         Likewise.
33059         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33060         value when x - 1 is zero.
33061         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33062         * sysdeps/i386/fpu/libm-test-ulps: Update.
33063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33065 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33067         [BZ #15119]
33068         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33070 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33072         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33073         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33075 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33077         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33078         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33080         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33081         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33083         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33084         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33086         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33087         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33089         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33090         if not already defined.
33091         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33092         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33093         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33094         (TLS_INIT_TP): Use it.
33095         (TLS_DEFINE_INIT_TP): New macro.
33096         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33098 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33100         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33101         constant.
33102         [POSIX] (IXANY): Likewise.
33103         [POSIX] (OLCUC): Likewise.
33104         [POSIX || POSIX2008] (CBAUD): Do not allow.
33105         [POSIX || POSIX2008] (DEFECHO): Likewise.
33106         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33107         [POSIX || POSIX2008] (ECHOKE): Likewise.
33108         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33109         [POSIX || POSIX2008] (EXTA): Likewise.
33110         [POSIX || POSIX2008] (EXTB): Likewise.
33111         [POSIX || POSIX2008] (FLUSHO): Likewise.
33112         [POSIX || POSIX2008] (LOBLK): Likewise.
33113         [POSIX || POSIX2008] (PENDIN): Likewise.
33114         [POSIX || POSIX2008] (SWTCH): Likewise.
33115         [POSIX || POSIX2008] (VDISCARD): Likewise.
33116         [POSIX || POSIX2008] (VDSUSP): Likewise.
33117         [POSIX || POSIX2008] (VLNEXT): Likewise.
33118         [POSIX || POSIX2008] (VREPRINT): Likewise.
33119         [POSIX || POSIX2008] (VSTATUS): Likewise.
33120         [POSIX || POSIX2008] (VWERASE): Likewise.
33121         (B*): Change to B[0123456789]*.
33122         * conform/data/time.h-data [POSIX || UNIX98]
33123         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33124         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33125         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33126         [POSIX] (tm_*): Do not allow.
33128 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33130         * Makefile (install): Don't set LANGUAGE.
33131         * Makefile.in (install): Likewise.
33132         * assert/Makefile (test-assert-ENV): Remove variable.
33133         (test-assert-perr-ENV): Likewise.
33134         * elf/Makefile (neededtest4-ENV): Likewise.
33135         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33136         [$(cross-compiling) = no]: Don't set LANGUAGE.
33137         * io/ftwtest-sh (LANG): Remove variable.
33138         * libio/Makefile (tst-widetext-ENV): Likewise.
33139         * manual/install.texi (Running make install): Don't refer to
33140         environment settings for make install.
33141         * INSTALL: Regenerated.
33142         * nptl/tst-tls6.sh: Don't set LANG.
33143         * posix/globtest.sh (LANG): Remove variable.
33144         * string/Makefile (tester-ENV): Likewise.
33145         (inl-tester-ENV): Likewise.
33146         (noinl-tester-ENV): Likewise.
33147         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33148         [$(cross-compiling) = no]: Don't set LANGUAGE.
33149         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33150         without explicit environment settings.
33152 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33154         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33155         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33156         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33157         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33159 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33161         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33162         other files in the crypt directory.
33163         * crypt/crypt.c: Remove duplicate includes.
33164         * crypt/crypt-entry.c: Likewise.
33165         * crypt/crypt_util.c: Likewise.
33167 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33169         * Makeconfig (run-program-env): New variable.
33170         (run-program-prefix-before-env): Likewise.
33171         (run-program-prefix-after-env): Likewise.
33172         (run-program-prefix): Define in terms of new variables.
33173         (built-program-cmd-before-env): New variable.
33174         (built-program-cmd-after-env): Likewise.
33175         (built-program-cmd): Define in terms of new variables.
33176         (test-program-prefix-before-env): New variable.
33177         (test-program-prefix-after-env): Likewise.
33178         (test-program-prefix): Define in terms of new variables.
33179         (test-program-cmd-before-env): New variable.
33180         (test-program-cmd-after-env): Likewise.
33181         (test-program-cmd): Define in terms of new variables.
33182         * Rules (make-test-out): Use $(run-program-env).
33183         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33184         (help): Do not mention environment variables.  Mention
33185         --timeoutfactor option.
33186         (timeoutfactor): New variable.
33187         (blacklist_exports): Remove function.
33188         (exports): Remove variable.
33189         (command): Do not include ${exports}.
33190         * manual/install.texi (Configuring and compiling): Do not mention
33191         test wrappers preserving environment variables.  Mention that last
33192         assignment to a variable must take precedence.
33193         * INSTALL: Regenerated.
33194         * benchtests/Makefile (run-bench): Use $(run-program-env).
33195         * catgets/Makefile ($(objpfx)test1.cat): Use
33196         $(built-program-cmd-before-env), $(run-program-env) and
33197         $(built-program-cmd-after-env).
33198         ($(objpfx)test2.cat): Do not specify environment variables
33199         explicitly.
33200         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33201         $(run-program-env) and $(built-program-cmd-after-env).
33202         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33203         $(run-program-env) and $(test-program-cmd-after-env).
33204         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33205         explicitly.
33206         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33207         run_program_env and test_program_cmd_after_env arguments.
33208         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33209         * elf/tst-pathopt.sh: Use run_program_env argument.
33210         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33211         $(test-wrapper-env) and $(run-program-env).
33212         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33213         run_program_env arguments.
33214         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33215         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33216         $(test-program-prefix-before-env), $(run-program-env) and
33217         $(test-program-prefix-after-env).
33218         ($(objpfx)tst-gettext2.out): Likewise.
33219         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33220         run_program_env and test_program_prefix_after_env arguments.
33221         * intl/tst-gettext2.sh: Likewise.
33222         * intl/tst-gettext4.sh: Do not set environment variables
33223         explicitly.
33224         * intl/tst-gettext6.sh: Likewise.
33225         * intl/tst-translit.sh: Likewise.
33226         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33227         $(test-program-prefix-before-env), $(run-program-env) and
33228         $(test-program-prefix-after-env).
33229         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33230         run_program_env and test_program_prefix_after_env arguments.
33231         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33232         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33233         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33234         explicitly with each use of ${test_wrapper_env}.
33235         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33236         $(test-program-prefix-before-env), $(run-program-env) and
33237         $(test-program-prefix-after-env).
33238         * posix/tst-getconf.sh: Do not set environment variables
33239         explicitly.
33240         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33241         run_program_env and test_program_prefix_after_env arguments.
33242         * stdio-common/tst-printf.sh: Do not set environment variables
33243         explicitly.
33244         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33245         $(test-program-prefix-before-env), $(run-program-env) and
33246         $(test-program-prefix-after-env).
33247         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33248         run_program_env and test_program_prefix_after_env arguments.
33249         Split $test calls into $test_pre and $test.
33250         * timezone/Makefile (build-testdata): Use
33251         $(built-program-cmd-before-env), $(run-program-env) and
33252         $(built-program-cmd-after-env).
33254 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33256         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33257         strlen for non SHARED builds.
33259 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33261         * nptl/allocatestack.c (check_list): Inlined function...
33262         (__reclaim_stacks): ... here.
33264 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33266         [BZ #15698]
33267         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33268         memory overrun.
33270 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33272         * Rules (make-test-out): Include
33273         LOCPATH=$(common-objpfx)localedata in default environment.
33274         * debug/Makefile (tst-chk1-ENV): Remove variable.
33275         (tst-chk2-ENV): Likewise.
33276         (tst-chk3-ENV): Likewise.
33277         (tst-chk4-ENV): Likewise.
33278         (tst-chk5-ENV): Likewise.
33279         (tst-chk6-ENV): Likewise.
33280         (tst-lfschk1-ENV): Likewise.
33281         (tst-lfschk2-ENV): Likewise.
33282         (tst-lfschk3-ENV): Likewise.
33283         (tst-lfschk4-ENV): Likewise.
33284         (tst-lfschk5-ENV): Likewise.
33285         (tst-lfschk6-ENV): Likewise.
33286         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33287         (tst-iconv7-ENV): Likewise.
33288         * intl/Makefile (LOCPATH-ENV): Likewise.
33289         (tst-codeset-ENV): Likewise.
33290         (tst-gettext3-ENV): Likewise.
33291         (tst-gettext5-ENV): Likewise.
33292         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33293         (tst-fopenloc-ENV): Likewise.
33294         (tst-fgetws-ENV): Remove variable.
33295         (tst-ungetwc1-ENV): Likewise.
33296         (tst-ungetwc2-ENV): Likewise.
33297         (bug-ungetwc2-ENV): Likewise.
33298         (tst-swscanf-ENV): Likewise.
33299         (bug-ftell-ENV): Likewise.
33300         (tst-fgetwc-ENV): Likewise.
33301         (tst-fseek-ENV): Likewise.
33302         (tst-ftell-partial-wide-ENV): Likewise.
33303         (tst-ftell-active-handler-ENV): Likewise.
33304         (tst-ftell-append-ENV): Likewise.
33305         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33306         (tst-regexloc-ENV): Likewise.
33307         (bug-regex1-ENV): Likewise.
33308         (tst-regex-ENV): Likewise.
33309         (tst-regex2-ENV): Likewise.
33310         (bug-regex5-ENV): Likewise.
33311         (bug-regex6-ENV): Likewise.
33312         (bug-regex17-ENV): Likewise.
33313         (bug-regex18-ENV): Likewise.
33314         (bug-regex19-ENV): Likewise.
33315         (bug-regex20-ENV): Likewise.
33316         (bug-regex22-ENV): Likewise.
33317         (bug-regex23-ENV): Likewise.
33318         (bug-regex25-ENV): Likewise.
33319         (bug-regex26-ENV): Likewise.
33320         (bug-regex30-ENV): Likewise.
33321         (bug-regex32-ENV): Likewise.
33322         (bug-regex33-ENV): Likewise.
33323         (bug-regex34-ENV): Likewise.
33324         (bug-regex35-ENV): Likewise.
33325         (tst-rxspencer-ENV): Likewise.
33326         (tst-rxspencer-no-utf8-ENV): Likewise.
33327         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33328         (tst-sscanf-ENV): Likewise.
33329         (tst-swprintf-ENV): Likewise.
33330         (tst-swscanf-ENV): Likewise.
33331         (test-vfprintf-ENV): Likewise.
33332         (scanf13-ENV): Likewise.
33333         (bug14-ENV): Likewise.
33334         (tst-grouping-ENV): Likewise.
33335         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33336         (tst-strtod3-ENV): Likewise.
33337         (tst-strtod4-ENV): Likewise.
33338         (tst-strtod5-ENV): Likewise.
33339         (testmb2-ENV): Likewise./
33340         * string/Makefile (tst-strxfrm-ENV): Likewise.
33341         (tst-strxfrm2-ENV): Likewise.
33342         (bug-strcoll1-ENV): Likewise.
33343         (test-strcasecmp-ENV): Likewise.
33344         (test-strncasecmp-ENV): Likewise.
33345         * time/Makefile (tst-strptime-ENV): Likewise.
33346         (tst-ftime_l-ENV): Likewise.
33347         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33348         (tst-mbrtowc-ENV): Likewise.
33349         (tst-wcrtomb-ENV): Likewise.
33350         (tst-mbrtowc2-ENV): Likewise.
33351         (tst-c16c32-1-ENV): Likewise.
33352         (tst-mbsnrtowcs-ENV): Likewise.
33354 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33356         * manual/resource.texi (How to get information about the memory
33357         subsystem?): Fix typo.
33358         Reported by Peon de la Parra Ivan <peon@keba.com>
33360 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33362         [BZ #16882]
33363         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33364         (pthread_spin_lock): Branch out of spin loop to proper location.
33365         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33366         (pthread_spin_lock): Likewise.
33368         * nptl/tst-spin4.c: New test.
33369         * nptl/Makefile (tests): Add tst-spin4.
33371 2014-06-03  Andreas Schwab  <schwab@suse.de>
33373         [BZ #15946]
33374         * resolv/res_send.c (send_dg): Reload file descriptor after
33375         calling reopen.
33377 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33379         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33381 2014-06-03  Richard Henderson  <rth@redhat.com>
33383         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33384         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33385         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33386         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33387         in the SAVE_PID block.
33388         (__libc_vfork): New alias.
33389         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33391         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33392         child in registers, not on the stack.  Remove RESET_PID conditionals.
33393         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33395 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33397         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33399 2014-06-03  Wilco  <wdijkstr@arm.com>
33401         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33402         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33403         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33404         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33405         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33406         Likewise.
33408 2014-06-03  Wilco  <wdijkstr@arm.com>
33410         * sysdeps/aarch64/fpu/math_private.h
33411         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33412         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33413         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33414         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33415         Fix declarations.
33417 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33419         * crypt/crypt-private.h: Include ufc-crypt.h.
33420         (__b64_from_24bit): Declare extern.
33421         * crypt/crypt_util.c(__b64_from_24bit): New function.
33422         (b64t): New static const variable.
33423         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33424         (b64t): Remove variable.
33425         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33426         * crypt/sha256-crypt.c: Include crypt-private.h.
33427         (b64t): Remove variable.
33428         (__sha256_crypt_r): Remove b64_from_24bit and replace
33429         with __b64_from_24bit.
33430         * crypt/sha512-crypt.c: Likewise.
33432 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33434         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33435         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33436         Label the code __libc_vfork rather than __vfork.
33437         [!NOT_IN_libc] (vfork): Define as weak alias.
33438         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33439         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33440         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33442 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33444         * malloc/malloc.c (malloc_info): Fix format specifier for
33445         n_mmaps.
33447 2014-06-02  Wilco  <wdijkstr@arm.com>
33449         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33450         FPCR write.
33452 2014-06-02  Wilco  <wdijkstr@arm.com>
33454         [BZ #17009]
33455         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33456         Rewrite to reduce FPCR/FPSR accesses.
33458 2014-06-01  David S. Miller  <davem@davemloft.net>
33460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33462 2014-05-31  David S. Miller  <davem@davemloft.net>
33464         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33465         to occur in round to nearest mode when |x| >= 2.0
33467 2014-05-30  Richard Henderson  <rth@twiddle.net>
33469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33470         (PSEUDO_RET_NOERRNO): Remove.
33471         (ret): Don't redefine.
33472         (ret_NOERRNO): Define in terms of ret.
33473         (ret_ERRVAL): Likewise.
33475         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33476         use of PSEUDO_RET; perform the error check directly.
33478 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33480         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33481         with __int128_t.
33483 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33485         * malloc/malloc (malloc_info): Fix formatting.
33487 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33488             Roland McGrath  <roland@hack.frob.com>
33490         * malloc/malloc (malloc_info): Also print mmapped statistics.
33492 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33494         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33495         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33497 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33499         * malloc/malloc.c (malloc_info): Inline mi_arena.
33501 2014-05-29  Richard Henderson  <rth@twiddle.net>
33503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33504         Remove comma before expanding ASM_ARGS_##nr.
33505         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33506         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33507         of ASM_ARGS_##nr.
33508         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33509         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33510         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33511         (ASM_ARGS_1): Add leading comma.
33513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33514         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33515         to __errno_location.
33516         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33517         Remove the expected plt for __errno_location.
33519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33520         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33521         call to __read_tp.
33523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33524         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33525         it and break it down.
33526         (DOCARGS_0, DOCARGS_1): Do nothing.
33527         (DOCARGS_2): Update to store into the new stack frame.
33528         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33529         (UNDOCARGS_1): Update to restore from the new stack frame.
33530         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33531         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33533         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33534         (SINGLE_THREAD_P): New parameter for result regno.
33535         (PSEUDO): Update to match; use cbz instead of beq.
33537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33538         Use ENTRY to define the _nocancel entry point.  Share the syscall
33539         and syscall error check paths with the cancel path.
33540         (PSEUDO_END): New.
33542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33543         whitespace; tabs before and after asm mnemonics.
33545 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33547         [BZ #15132]
33548         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33549         Call fstat64 or stat64 internally, depending on arguments passed.
33550         Replace stat buffer argument with file descriptor argument.
33551         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33552         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33553         Pass fd to __internal_statvfs instead of calling fstat64.
33554         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33555         Pass fd to __internal_statvfs64 instead of calling fstat64.
33556         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33557         Pass -1 to __internal_statvfs instead of calling stat64.
33558         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33559         Pass -1 to __internal_statvfs64 instead of calling stat64.
33561 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33563         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33564         that was previously under [RESET_PID].
33565         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33567         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33568         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33570 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33572         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33574         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33575         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33577 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33579         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33581 2014-05-27  Andreas Schwab  <schwab@suse.de>
33583         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33584         TLS_INIT_TP macro.
33585         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33586         * elf/rtld.c (init_tls, dl_main): Likewise.
33587         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33588         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33589         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33590         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33591         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33592         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33593         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33594         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33595         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33596         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33597         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33598         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33599         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33600         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33601         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33602         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33603         * sysdeps/generic/tls.h: Update description.
33605 2014-05-27  Will Newton  <will.newton@linaro.org>
33607         [BZ #16990]
33608         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33609         and restore r2 rather than just restoring.
33611 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33613         [BZ #16724]
33614         * libio/tst-ftell-append.c: New test case.
33615         * libio/Makefile (tests): Add test case.
33616         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33617         append mode.
33618         * libio/wfileops.c (do_ftell_wide): Likewise.
33620 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33624         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33625         ...
33626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33628         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33629         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33630         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33631         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33632         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33635         Moved ...
33636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33638         Moved ...
33639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33640         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33641         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33642         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33643         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33644         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33645         ...
33646         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33647         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33648         Moved ...
33649         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33650         here.
33651         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33652         ...
33653         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33654         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33655         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33657         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33658         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33659         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33660         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33663         merge into ...
33664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33666         ...
33667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33669         ...
33670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33672         Moved ...
33673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33674         here.
33675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33676         Moved ...
33677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33679         Moved ...
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33683         conditional [RESET_PID].
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33686         removed.
33687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33688         removed.
33690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33691         <tcb-offsets.h>.
33692         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33693         (__libc_vfork): New strong alias.
33694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33695         removed.
33696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33697         Removed.
33699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33700         <tcb-offsets.h>.
33701         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33702         (__libc_vfork): New strong alias.
33703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33704         removed.
33705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33706         removed.
33708 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33710         * malloc/malloc.c (mi_arena): New function.
33711         (malloc_info): Remove nested function mi_arena. Call non-nosted
33712         function mi_arena.
33714 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33716         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33717         by insrwi.
33718         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33719         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33720         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33721         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33722         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33723         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33724         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33726 2014-05-26  Andreas Schwab  <schwab@suse.de>
33728         [BZ #16984]
33729         * locale/programs/repertoire.c (repertoire_read): Add slash
33730         between I18NPATH element and file name.
33731         * locale/programs/locfile.c (locfile_read): Likewise.
33733 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33735         * nptl/pthread_mutexattr_settype.c
33736         (__pthread_mutexattr_settype):
33737         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33739 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33741         * nptl/tst-mutex5 (do_test):
33742         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33744 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33746         * benchtests/README: Document 'init' directive.
33747         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33748         BENCH_INIT.
33749         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33750         (parse_file): Recognize 'init' directive.
33752 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33754         [BZ #16796]
33755         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33756         alignment of struct pthread.
33758 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33760         [BZ #16878]
33761         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33762         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33763         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33764         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33766 2014-05-25  Richard Henderson  <rth@twiddle.net>
33768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33769         (SINGLE_THREAD_P_PIC): Remove.
33770         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33771         (SINGLE_THREAD_P_PIC): Remove.
33773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33774         branch to syscall error ...
33775         (PSEUDO): ... here.
33776         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33777         from __local_syscall_error to .Lsyscall_error.
33778         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33779         (SYSCALL_ERROR): Update label name.
33781         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33782         Do not use DOARGS/UNDOARGS.
33783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33784         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33785         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33786         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33787         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33790         block comment.
33792         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33793         define if !NOT_IN_libc.
33794         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33795         define with non-default symbol versions.
33797 2014-05-23  Richard Henderson  <rth@twiddle.net>
33799         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33800         (vfork, __vfork): Define via compat_symbol.
33802         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33803         [!HAVE_IFUNC] (vfork_compat): Remove.
33804         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33806 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33808         [BZ #16978]
33809         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33810         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33811         variable.
33813 2014-05-23  Richard Henderson  <rth@twiddle.net>
33815         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33816         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33817         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33818         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33820         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33821         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33822         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33823         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33824         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33825         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33826         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33827         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33828         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33829         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33830         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33831         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33832         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33833         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33835         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33836         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33837         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33838         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33839         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33840         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33841         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33843         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33846         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33847         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33848         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33849         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33850         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33851         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33852         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33853         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33854         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33855         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33856         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33857         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33858         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33859         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33860         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33861         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33862         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33863         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33864         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33865         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33867         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33869         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33870         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33871         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33872         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33873         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33874         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33875         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33877         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33878         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33879         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33880         before exiting on error.
33881         (__libc_vfork): New strong alias.
33882         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33883         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33885         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33886         that was previously under [RESET_PID].
33887         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33889         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33891 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33893         [BZ #16977]
33894         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33895         value when x - 1 is zero.
33896         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33897         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33898         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33899         0.0L for an argument of 1.0L.
33900         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33901         Likewise.
33902         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33903         value when x - 1 is zero.
33904         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33905         * sysdeps/i386/fpu/libm-test-ulps: Update.
33906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33908 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33910         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33911         alphasort and versionsort.
33913 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33915         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33916         macro.
33917         [copysignf]: Likewise.
33919 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33921         * crypt/md5-crypt.c: Fix formatting.
33923 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33925         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33926         (b64_from_24bit): New function.
33928 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33930         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33931         libc_hidden_builtin_def to ifunc.
33932         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33933         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33935 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33937         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33938         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33940 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33942         * nscd/Depend (linuxthreads): Remove.
33943         (nptl): Add.
33944         * resolv/Depend (linuxthreads): Remove.
33945         * rt/Depend (linuxthreads): Remove.
33947         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33948         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33949         $(common-objpfx)elf/.
33950         (link-libc-before-gnulib): Likewise.
33951         (elfobjdir): Remove variable.
33952         * Makefile (install): Use $(elf-objpfx) instead of
33953         $(common-objpfx)elf/.
33954         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33955         $(elfobjdir)/.
33956         (link-libc-deps): Likewise.
33957         ($(common-objpfx)libc.so): Likewise.
33958         ($(common-objpfx)linkobj/libc.so): Likewise.
33959         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33960         instead of $(common-objpfx)elf/.
33961         (symbolic-link-list): Likewise.
33962         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33963         [$(cross-compiling) = no]: Likewise.
33964         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33965         $(elfobjdir)/.
33966         (static-gnulib-arch): Likewise.
33967         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33968         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33969         $(common-objpfx)elf/.
33971 2014-05-21  Richard Henderson  <rth@redhat.com>
33973         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33974         (SINGLE_THREAD_P): Use the correct width load.  Fold
33975         into the ldr offset.
33977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33978         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33980 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33982         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33983         (libgcc_s_resume): Use __attribute_used__.
33984         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33985         Likewise.
33987 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33989         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33990         optimization when used with float constants.
33992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33994 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33996         [BZ #16915]
33997         * locale/nl_langinfo_l.c: Make direct reference to every
33998         _nl_current_CATEGORY symbol.
33999         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34000         (tests-static): Add tst-langinfo-static.
34001         (tests-special): Add tst-langinfo-static.out.
34002         ($(objpfx)tst-langinfo.out): Redirect output.
34003         ($(objpfx)tst-langinfo-static.out): New.
34004         * localedata/tst-langinfo.sh: Send output to stdout.
34005         * localedata/tst-langinfo-static.c: New file.
34007         [BZ #16965]
34008         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34009         when the shift amount is modulo the limb size.
34011 2014-05-20  Richard Henderson  <rth@redhat.com>
34013         [BZ #16967]
34014         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34015         Change type of sa_flags from unsigned int to int.
34017         [BZ #16966]
34018         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34020         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34022 2014-05-20  Will Newton  <will.newton@linaro.org>
34024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34025         Test the return value of the system call in the nocancel case.
34027 2014-05-20  Will Newton  <will.newton@linaro.org>
34028             Yvan Roux  <yvan.roux@linaro.org>
34030         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34031         #include of asm/ptrace.h.
34032         (PTRACE_GET_THREAD_AREA): Remove #undef.
34033         (PTRACE_GETHBPREGS): Likewise.
34034         (PTRACE_SETHBPREGS): Likewise.
34035         (struct user_regs_struct): New structure.
34036         (struct user_fpsimd_struct): New structure.
34037         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34038         #include of asm/ptrace.h and second #include of sys/user.h.
34039         (PTRACE_GET_THREAD_AREA): Remove #undef.
34040         (PTRACE_GETHBPREGS): Likewise.
34041         (PTRACE_SETHBPREGS): Likewise.
34042         (ELF_NGREG): Use new struct user_regs_struct.
34043         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34045 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34050 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34052         [BZ #16958]
34053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34054         membar to avoid block loads/stores to overlap previous stores.
34056 2014-05-17  Richard Henderson  <rth@redhat.com>
34058         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34059         Create the __##syscall_name##_nocancel entry point.
34060         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34061         Remove; let the sysdep-cancel.h code create it.
34063 2014-05-17  David S. Miller  <davem@davemloft.net>
34065         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34066         Protect with __USE_GNU.
34067         (TIOCSET_TEMPT): Likewise.
34068         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34069         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34070         these are already provided in bits/ioctl-types.h
34072 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34074         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34075         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34077         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34078         Use wait4 regardless of [__NR_waitpid].
34080 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34082         PR libgcc/60166
34083         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34084         (_FP_NANSIGN_Q): Set the quiet bit.
34086 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34088         * benchtests/Makefile
34089         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34090         not $(common-objpfx)math/libm.so.
34091         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34092         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34093         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34094         $(common-objpfx)dlfcn/libdl.so.
34095         ($(objpfx)tst-audit8): Depend on $(libm), not
34096         $(common-objpfx)math/libm.so.
34097         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34098         not $(common-objpfx)dlfcn/libdl.so.
34099         * math/Makefile
34100         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34101         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34102         [$(build-shared) = yes].
34103         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34104         $(common-objpfx)nptl/libpthread.so.
34105         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34106         $(common-objpfx)math/libm.so$(libm.so-version) or
34107         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34108         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34109         $(common-objpfx)dlfcn/libdl.so.
34110         * setjmp/Makefile (link-libm): Remove variable.
34111         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34112         * stdio-common/Makefile (link-libm): Remove variable.
34113         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34114         * stdlib/Makefile (link-libm): Remove variable.
34115         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34116         ($(objpfx)tst-strtod-round): Likewise.
34117         ($(objpfx)tst-tininess): Likewise.
34118         ($(objpfx)tst-strtod-underflow): Likewise.
34119         ($(objpfx)tst-strtod6): Likewise.
34120         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34121         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34122         $(common-objpfx)dlfcn/libdl.so.
34124 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34126         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34127         BSD terminal modes definitions.
34129 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34131         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34132         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34134         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34135         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34136         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34137         Don't do #include_next.
34138         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34139         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34140         Don't do #include_next.
34141         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34142         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34143         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34144         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34146 2014-05-16  Allan McRae  <allan@archlinux.org>
34148         * po/sv.po: Update Swedish translation from translation project.
34150         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34151         in sed expression.
34153 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34155         [BZ #16917]
34156         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34157         errno if the TIOCGPTN ioctl fails with an error different than
34158         EINVAL.
34159         * login/tst-ptsname.c: New file.
34160         * login/Makefile (tests): Add tst-ptsname.
34162         [BZ #16943]
34163         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34164         and prlimit64.
34166 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34168         [BZ #16849]
34169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34170         herrno to return EAI_AGAIN.
34172 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34174         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34175         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34176         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34177         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34178         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34179         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34180         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34181         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34183         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34184         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34185         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34186         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34187         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34188         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34189         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34190         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34191         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34192         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34193         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34194         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34195         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34196         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34197         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34198         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34199         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34200         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34201         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34203         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34205         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34207         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34209         Moved ...
34210         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34212         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34214         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34216         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34218         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34220         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34222         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34224         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34226         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34228         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34230         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34232         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34234         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34236         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34238         Moved ...
34239         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34241         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34245         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34247         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34249         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34251         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34253         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34255         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34257         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34259         Moved ...
34260         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34262         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34264         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34265         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34266         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34267         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34268         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34270         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34272         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34274         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34275         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34276         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34277         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34278         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34279         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34280         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34281         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34282         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34283         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34284         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34285         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34286         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34288         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34290         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34291         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34292         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34294         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34296         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34297         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34299         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34300         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34301         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34302         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34303         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34305         Moved ...
34306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34308         Moved ...
34309         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34311         Moved ...
34312         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34313         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34314         Moved ...
34315         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34316         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34317         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34319         Moved ...
34320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34321         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34322         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34323         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34325         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34326         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34328         Moved ...
34329         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34330         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34331         Moved ...
34332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34333         ... here.
34334         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34335         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34336         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34337         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34339         Moved ...
34340         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34341         ... here.
34342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34343         Moved ...
34344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34345         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34346         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34347         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34348         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34350         Moved ...
34351         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34353         Moved ...
34354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34358         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34359         Moved ...
34360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34361         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34362         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34364         Moved ...
34365         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34366         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34367         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34368         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34369         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34370         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34371         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34372         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34373         Moved ...
34374         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34375         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34376         Moved ...
34377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34378         ... here.
34379         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34380         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34381         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34382         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34384         Moved ...
34385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34386         ... here.
34387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34390         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34391         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34392         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34393         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34394         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34395         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34396         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34397         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34399         Moved ...
34400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34402         Moved ...
34403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34404         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34405         Moved ...
34406         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34407         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34408         Moved ...
34409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34410         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34411         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34412         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34413         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34414         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34415         Moved ...
34416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34417         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34418         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34420         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34421         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34422         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34423         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34424         Moved ...
34425         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34426         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34427         Moved ...
34428         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34429         ... here.
34430         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34431         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34432         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34433         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34435         Moved ...
34436         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34437         ... here.
34438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34439         Moved ...
34440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34441         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34442         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34443         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34444         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34445         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34446         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34447         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34448         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34449         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34450         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34452         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34453         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34455         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34456         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34458         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34459         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34460         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34461         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34462         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34463         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34464         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34465         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34466         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34467         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34468         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34469         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34470         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34471         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34472         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34474         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34476         Moved ...
34477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34480         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34481         Moved ...
34482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34484         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34486         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34487         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34490         Moved ...
34491         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34492         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34493         Moved ...
34494         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34496         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34498         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34500         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34501         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34502         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34503         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34504         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34505         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34506         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34507         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34508         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34509         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34510         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34512         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34513         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34514         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34515         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34516         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34518         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34519         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34520         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34521         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34522         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34523         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34524         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34525         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34526         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34527         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34532         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34533         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34534         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34535         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34536         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34537         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34538         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34539         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34540         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34541         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34542         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34543         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34544         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34545         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34547         Update #include.
34548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34549         Likewise.
34550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34551         Likewise.
34552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34553         Likewise.
34554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34555         Likewise.
34556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34557         Likewise.
34558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34559         Likewise.
34560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34561         Likewise.
34562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34563         Likewise.
34564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34565         Likewise.
34566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34567         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34570         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34571         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34572         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34573         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34574         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34575         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34576         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34578         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34579         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34580         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34582         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34583         that was previously under [RESET_PID].
34584         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34585         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34586         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34588         * sysdeps/i386/nptl/Implies: New file.
34589         * sysdeps/x86_64/nptl/Implies: New file.
34590         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34591         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34592         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34593         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34595         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34596         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34597         (__libc_vfork): New strong alias.
34598         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34599         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34601         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34602         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34603         (__libc_vfork): New strong alias.
34604         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34605         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34607         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34608         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34609         (__libc_vfork): New strong alias.
34610         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34611         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34612         * nptl/pt-vfork.c: New file.
34613         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34614         (libpthread: GLIBC_2.20): New version set (empty).
34616 2014-05-14  Will Newton  <will.newton@linaro.org>
34618         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34619         rather than #if.
34621 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34623         [BZ #16564]
34624         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34625         arguments with exponent 65 or above.
34626         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34627         arguments 0x1p113L or above.
34628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34629         to arguments 0x1p107L or above.
34630         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34631         positive arguments with exponent 65 or above.
34632         * math/auto-libm-test-in: Add more tests of log1p.
34633         * math/auto-libm-test-out: Regenerated.
34635         [BZ #16928]
34636         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34637         non-finite arguments is +0.
34638         * math/s_cacosf.c (__cacosf): Likewise.
34639         * math/s_cacosl.c (__cacosl): Likewise.
34640         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34641         * sysdeps/i386/fpu/libm-test-ulps: Update.
34642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34644         [BZ #16927]
34645         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34646         value.
34647         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34648         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34649         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34650         for explicit high bit of mantissa when testing for argument equal
34651         to 1.
34652         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34653         * sysdeps/i386/fpu/libm-test-ulps: Update.
34654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34656         [BZ #16516]
34657         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34658         (__erf): Scale by 16 instead of 8 in potentially underflowing
34659         case.  Ensure exception if result actually underflows.
34660         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34661         (__erff): Scale by 16 instead of 8 in potentially underflowing
34662         case.  Ensure exception if result actually underflows.
34663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34664         (efx8): Remove variable.
34665         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34666         case.  Ensure exception if result actually underflows.
34667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34668         (efx8): Remove variable.
34669         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34670         case.  Ensure exception if result actually underflows.
34671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34672         (efx8): Remove variable.
34673         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34674         case.  Ensure exception if result actually underflows.
34675         * math/auto-libm-test-in: Add more tests of erf.
34676         * math/auto-libm-test-out: Regenerated.
34678 2014-05-14  Andreas Schwab  <schwab@suse.de>
34680         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34681         Remove code conditionalized on USE___THREAD.
34683         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34684         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34685         not definedness.
34687 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34690         Define unconditionally.
34691         (__ASSUME_O_CLOEXEC): Likewise.
34692         (__ASSUME_SOCK_CLOEXEC): Likewise.
34693         (__ASSUME_IN_NONBLOCK): Likewise.
34694         (__ASSUME_PIPE2): Likewise.
34695         (__ASSUME_EVENTFD2): Likewise.
34696         (__ASSUME_SIGNALFD4): Likewise.
34697         (__ASSUME_DUP3): Likewise.
34698         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34699         (__ASSUME_DUP3): Do not define.
34700         (__ASSUME_EVENTFD2): Likewise.
34701         (__ASSUME_IN_NONBLOCK): Likewise.
34702         (__ASSUME_O_CLOEXEC): Likewise.
34703         (__ASSUME_PIPE2): Likewise.
34704         (__ASSUME_SIGNALFD4): Likewise.
34705         (__ASSUME_SOCK_CLOEXEC): Likewise.
34706         (__ASSUME_UTIMES): Undefine.
34707         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34708         (__ASSUME_UTIMES): Do not define.
34709         (__ASSUME_O_CLOEXEC): Likewise.
34710         (__ASSUME_SOCK_CLOEXEC): Likewise.
34711         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34712         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34713         0x020621].
34714         (__ASSUME_PIPE2): Likewise.
34715         (__ASSUME_EVENTFD2): Likewise.
34716         (__ASSUME_SIGNALFD4): Likewise.
34717         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34718         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34719         Do not define.
34720         (__ASSUME_EVENTFD2): Likewise.
34721         (__ASSUME_SIGNALFD4): Likewise.
34722         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34723         (__ASSUME_32BITUIDS): Likewise.
34724         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34725         (__ASSUME_IPC64): Likewise.
34726         (__ASSUME_ST_INO_64_BIT): Likewise.
34727         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34728         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34730         (__ASSUME_UTIMES): Do not define.
34731         (__ASSUME_PSELECT): Likewise.
34732         (__ASSUME_PPOLL): Likewise.
34733         (__ASSUME_O_CLOEXEC): Likewise.
34734         (__ASSUME_SOCK_CLOEXEC): Likewise.
34735         (__ASSUME_IN_NONBLOCK): Likewise.
34736         (__ASSUME_PIPE2): Likewise.
34737         (__ASSUME_EVENTFD2): Likewise.
34738         (__ASSUME_SIGNALFD4): Likewise.
34739         (__ASSUME_DUP3): Likewise.
34740         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34741         (__ASSUME_UTIMES): Likewise.
34742         (__ASSUME_O_CLOEXEC): Likewise.
34743         (__ASSUME_SOCK_CLOEXEC): Likewise.
34744         (__ASSUME_IN_NONBLOCK): Likewise.
34745         (__ASSUME_PIPE2): Likewise.
34746         (__ASSUME_EVENTFD2): Likewise.
34747         (__ASSUME_SIGNALFD4): Likewise.
34748         (__ASSUME_DUP3): Likewise.
34749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34750         (__ASSUME_UTIMES): Likewise.
34751         (__ASSUME_O_CLOEXEC): Likewise.
34752         (__ASSUME_SOCK_CLOEXEC): Likewise.
34753         (__ASSUME_IN_NONBLOCK): Likewise.
34754         (__ASSUME_PIPE2): Likewise.
34755         (__ASSUME_EVENTFD2): Likewise.
34756         (__ASSUME_SIGNALFD4): Likewise.
34757         (__ASSUME_DUP3): Likewise.
34758         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34759         Likewise.
34760         (__ASSUME_UTIMES): Likewise.
34761         (__ASSUME_EVENTFD2): Likewise.
34762         (__ASSUME_SIGNALFD4): Likewise.
34763         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34764         (__ASSUME_O_CLOEXEC): Likewise.
34765         (__ASSUME_SOCK_CLOEXEC): Likewise.
34766         (__ASSUME_IN_NONBLOCK): Likewise.
34767         (__ASSUME_PIPE2): Likewise.
34768         (__ASSUME_EVENTFD2): Likewise.
34769         (__ASSUME_SIGNALFD4): Likewise.
34770         (__ASSUME_DUP3): Likewise.
34771         (__ASSUME_UTIMES): Undefine.
34773         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34774         feclearexcept.  Remove symbol versioning code.
34775         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34776         symbol versioning code.
34777         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34778         symbol versioning code.
34779         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34780         feupdateenv.  Remove symbol versioning code.
34781         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34782         fegetexceptflag.  Remove symbol versioning code.
34783         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34784         fesetexceptflag.  Remove symbol versioning code.
34785         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34786         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34787         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34788         (__posix_fadvise64_l32): Remove prototype.
34789         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34790         code.
34792 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34794         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34795         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34796         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34797         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34799 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34801         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34802         current working directory
34804 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34806         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34807         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34808         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34809         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34810         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34811         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34812         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34813         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34814         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34815         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34816         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34817         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34818         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34819         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34820         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34821         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34822         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34823         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34824         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34825         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34826         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34827         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34828         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34829         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34830         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34831         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34833         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34835         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34836         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34837         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34838         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34839         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34840         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34841         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34842         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34843         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34844         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34845         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34846         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34847         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34849         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34850         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34852         * sysdeps/unix/sysv/linux/arm/Makefile
34853         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34854         Add rt-aeabi_unwind_cpp_pr1.
34855         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34856         Add nptl-aeabi_unwind_cpp_pr1.
34857         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34858         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34859         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34860         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34861         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34862         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34864         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34865         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34866         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34867         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34869         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34870         Deconditionalize the code that was previously under [RESET_PID].
34871         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34873         * sysdeps/generic/exit-thread.h: New file.
34874         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34875         * include/unistd.h (__exit_thread): Remove declaration.
34876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34877         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34878         * csu/libc-start.c: Include <exit-thread.h>.
34879         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34880         * nptl/pthread_create.c: Include <exit-thread.h>.
34881         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34882         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34883         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34884         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34885         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34886         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34887         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34888         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34889         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34890         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34891         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34892         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34893         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34894         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34895         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34896         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34897         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34899 2014-05-13  Andreas Schwab  <schwab@suse.de>
34901         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34903 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34905         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34906         (__ASSUME_UTIMES): Do not condition on kernel version.
34907         (__ASSUME_PSELECT): Define unconditionally.
34908         (__ASSUME_PPOLL): Likewise.
34909         (__ASSUME_ATFCTS): Likewise.
34910         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34911         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34912         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34913         (__ASSUME_UTIMENSAT): Define unconditionally.
34914         (__ASSUME_PRIVATE_FUTEX): Likewise.
34915         (__ASSUME_FALLOCATE): Likewise.
34916         (__ASSUME_O_CLOEXEC): Likewise.
34917         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34918         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34919         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34920         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34921         (__ASSUME_IN_NONBLOCK): Likewise.
34922         (__ASSUME_PIPE2): Likewise.
34923         (__ASSUME_EVENTFD2): Likewise.
34924         (__ASSUME_SIGNALFD4): Likewise.
34925         (__ASSUME_DUP3): Likewise.
34926         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34927         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34928         (__ASSUME_AT_RANDOM): Likewise.
34929         (__ASSUME_PREADV): Likewise.
34930         (__ASSUME_PWRITEV): Likewise.
34931         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34932         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34933         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34934         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34935         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34936         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34937         (__ASSUME_O_CLOEXEC): Define unconditionally.
34938         (__ASSUME_PSELECT): Do not undefine conditionally.
34939         (__ASSUME_PPOLL): Likewise.
34940         (__ASSUME_ATFCTS): Likewise.
34941         (__ASSUME_SET_ROBUST_LIST): Likewise.
34942         (__ASSUME_UTIMENSAT): Likewise.
34943         (__ASSUME_FDATASYNC): Define unconditionally.
34944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34945         (__ASSUME_SIGFRAME_V2): Likewise.
34946         )__ASSUME_EVENTFD2): Likewise.
34947         (__ASSUME_SIGNALFD4): Likewise.
34948         (__ASSUME_PSELECT): Do not undefine conditionally.
34949         (__ASSUME_PPOLL): Likewise.
34950         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34951         (__ASSUME_PSELECT): Define unconditionally.
34952         (__ASSUME_PPOLL): Likewise.
34953         (__ASSUME_O_CLOEXEC): Likewise.
34954         (__ASSUME_SOCK_CLOEXEC): Likewise.
34955         (__ASSUME_IN_NONBLOCK): Likewise.
34956         (__ASSUME_PIPE2): Likewise.
34957         (__ASSUME_EVENTFD2): Likewise.
34958         (__ASSUME_SIGNALFD4): Likewise.
34959         (__ASSUME_DUP3): Likewise.
34960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34961         (__ASSUME_O_CLOEXEC): Likewise.
34962         (__ASSUME_SOCK_CLOEXEC): Likewise.
34963         (__ASSUME_IN_NONBLOCK): Likewise.
34964         (__ASSUME_PIPE2): Likewise.
34965         (__ASSUME_EVENTFD2): Likewise.
34966         (__ASSUME_SIGNALFD4): Likewise.
34967         (__ASSUME_DUP3): Likewise.
34968         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34969         (__ASSUME_EVENTFD2): Likewise.
34970         (__ASSUME_SIGNALFD4): Likewise.
34971         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34973 2014-05-12  Andreas Schwab  <schwab@suse.de>
34975         [BZ #16932]
34976         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34977         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34978         than maximum RPC packet size.
34979         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34980         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34981         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34982         (_nss_nis_getservbyport_r): Likewise.
34984 2014-05-12  Will Newton  <will.newton@linaro.org>
34986         * malloc/Makefile (tests): Add tst-mallopt.
34987         * malloc/tst-mallopt.c: New file.
34989 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34991         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34992         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34994 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34996         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34997         (tst-tlsmod6.so): Likewise.
34999 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35001         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35003 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35005         [BZ #16064]
35006         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35007         and <dl-procinfo.h>.
35008         (__fegetenv): Save SSE state in envp->__eip if supported.
35009         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35010         envp->__eip if supported.
35011         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35012         and <dl-procinfo.h>.
35013         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35014         __data_offset and __data_selector in environment to 0.  Set SSE
35015         state if supported.
35016         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35017         test-fenv-sse.
35018         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35019         -mfpmath=sse.
35020         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35022 2014-05-09  Will Newton  <will.newton@linaro.org>
35024         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35025         and libc_relro_required for ARM.
35026         * sysdeps/arm/preconfigure: Regenerate.
35028 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35029             Stefan Liebler  <stli@linux.vnet.ibm.com>
35031         * config.make.in (enable-lock-elision): New Makefile variable.
35032         * configure.ac: Likewise.
35033         * configure: Regenerate.
35034         * sysdeps/s390/configure.ac:
35035         Add check for gcc transactions support.
35036         * sysdeps/s390/configure: Regenerate.
35037         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35038         Build elision files if enabled.
35039         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35040         Add lock elision support for s390.
35041         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35042         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35043         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35044         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35045         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35046         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35047         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35048         Likewise.
35049         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35050         Likewise.
35051         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35052         Likewise.
35053         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35054         Likewise.
35055         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35056         (__lll_timedlock_elision, __lll_lock_elision)
35057         (__lll_unlock_elision, __lll_trylock_elision)
35058         (lll_timedlock_elision, lll_lock_elision)
35059         (lll_unlock_elision, lll_trylock_elision): Add.
35060         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35061         (pthread_mutex_t): Add lock elision support for s390.
35063 2014-05-14  Wilco  <wdijkstr@arm.com>
35065         * sysdeps/arm/fclrexcpt.c: Cleanup.
35066         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35067         * sysdeps/arm/feenablxcpt.c: Cleanup.
35068         * sysdeps/arm/fegetenv.c: Cleanup.
35069         * sysdeps/arm/fegetexcept.c: Cleanup.
35070         * sysdeps/arm/fegetround.c: Cleanup.
35071         * sysdeps/arm/feholdexcpt.c: Cleanup.
35072         * sysdeps/arm/fesetenv.c: Cleanup.
35073         * sysdeps/arm/fesetround.c: Cleanup.
35074         * sysdeps/arm/feupdateenv.c: Cleanup.
35075         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35076         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35077         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35078         * sysdeps/arm/ftestexcept.c: Cleanup.
35079         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35080         * sysdeps/arm/setfpucw.c: Cleanup.
35082 2014-05-09  Will Newton  <will.newton@linaro.org>
35084         * sysdeps/arm/armv7/strcmp.S: New file.
35085         * NEWS: Mention addition of ARMv7 optimized strcmp.
35087 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35089         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35090         look for %.ac rather than %.in.
35092         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35093         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35094         * sysdeps/mach/hurd/configure: Regenerated.
35095         * sysdeps/unix/sysv/linux/configure: Regenerated.
35097         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35099 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35101         [BZ# 16922]
35102         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35103         (LONG_SUB): Ditto.
35104         (PTR_SUB): Ditto.
35106 2014-05-07  Andreas Schwab  <schwab@suse.de>
35108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35109         when skipping over non-matching result from nscd.
35111 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35113         [BZ #16876]
35114         * nptl/sockperf.c (client): Check socket return value.
35116         [BZ #16877]
35117         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35118         nscd security class.
35120 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35122         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35123         * sysdeps/arm/unwind.h: ... here.
35125 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35127         [BZ# 16916]
35128         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35129         Define.
35131 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35133         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35134         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35135         multiarch strncpy for PPC64.
35136         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35137         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35139         multiarch optimizations.
35140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35141         (__libc_ifunc_impl_list): Likewise.
35142         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35144         multiarch stpncpy for PPC64.
35145         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35146         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35148 2014-05-06  Andreas Schwab  <schwab@suse.de>
35150         [BZ #16912]
35151         * gmon/mcount.c (_MCOUNT_DECL): Use
35152         atomic_compare_and_exchange_bool_acq instead of
35153         catomic_compare_and_exchange_bool_acq.
35155 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35157         * elf/Makefile (others, install-bin): Remove pldd.
35158         (pldd-modules): Variable removed.
35159         ($(objpfx)pldd): Target removed.
35160         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35161         (others, install-bin): Append pldd here.
35162         ($(objpfx)pldd): New target.
35164         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35165         to 0, so the first #if test emitted later doesn't see it undefined.
35166         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35167         * sysdeps/gnu/errlist.c: Regenerated.
35169 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35171         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35172         [libc_hidden_builtin_def]: Define to empty value.
35173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35174         [libc_hidden_builtin_def]: Likewise.
35175         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35176         [libc_hidden_builtin_def]: Likewise.
35177         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35178         [libc_hidden_builtin_def]: Likewise.
35179         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35180         __redirect_memcpy and define ifunc as default hidden symbol.
35181         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35182         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35184 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35186         * locale/iso-4217.def: Reintroduce XDR currency.
35188 2014-05-04  Allan McRae  <allan@archlinux.org>
35190         * po/eo.po: Update Esperanto translation from translation project.
35192 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35194         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35195         and FEATURE_INDEX_MAX to 1.
35196         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35198 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35200         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35201         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35202         * iconvdata/big5.c (ONE_DIRECTION): Define.
35203         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35204         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35205         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35206         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35207         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35208         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35209         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35210         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35211         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35212         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35213         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35214         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35215         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35216         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35217         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35218         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35219         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35220         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35221         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35222         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35223         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35224         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35225         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35226         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35227         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35228         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35229         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35230         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35231         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35232         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35233         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35234         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35235         * iconvdata/johab.c (ONE_DIRECTION): Define.
35236         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35237         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35238         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35239         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35240         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35241         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35242         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35243         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35244         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35245         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35247 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35249         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35250         (_IO_JUMPS_OFFSET): Define to 0.
35252         * nptl/sysdeps/pthread/bits/libc-lock.h
35253         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35254         (__libc_lock_define_initialized_recursive): Always define using
35255         initializer.  Modern compilers treat uninitialized (implicit zero) and
35256         explicit zero initializers the same (i.e. put the datum in bss).
35258 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35260         * nscd/nscd-client.h: Include <string.h>.
35262 2014-05-01  David S. Miller  <davem@davemloft.net>
35264         [BZ #16885]
35265         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35266         multiple zero bytes exist at the end of a string.
35267         Reported by Aurelien Jarno <aurelien@aurel32.net>
35269         * string/test-strcmp.c (check): Add explicit test for situations where
35270         there are multiple zero bytes after the first.
35272 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35274         [BZ #16890]
35275         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35276         when compiling wprintf.
35277         * stdio-common/tstdiomisc.c (t3): New function.
35278         (main): Call it.
35280 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35282         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35283         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35284         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35285         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35287 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35289         * stdlib/longlong.h: Updated from GCC.
35291 2014-05-01  Will Newton  <will.newton@linaro.org>
35292             Bernard Ogden  <bernie.ogden@linaro.org>
35294         * NEWS: Update fixed bug list.
35296         [BZ #15119]
35297         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35299 2014-04-30  David S. Miller  <davem@davemloft.net>
35301         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35302         (libc_feholdexcept_setround_sparc_ctx): New function.
35303         (libc_fesetenv_sparc_ctx): Likewise.
35304         (libc_feupdateenv_sparc_ctx): Likewise.
35305         (libc_feholdsetround_sparc_ctx): Likewise.
35306         (libc_feholdexcept_setround_ctx): Define.
35307         (libc_feholdexcept_setroundf_ctx): Likewise.
35308         (libc_feholdexcept_setroundl_ctx): Likewise.
35309         (libc_fesetenv_ctx): Likewise.
35310         (libc_fesetenvf_ctx): Likewise.
35311         (libc_fesetenvl_ctx): Likewise.
35312         (libc_feupdateenv_ctx): Likewise.
35313         (libc_feupdateenvf_ctx): Likewise.
35314         (libc_feupdateenvl_ctx): Likewise.
35315         (libc_feresetround_ctx): Likewise.
35316         (libc_feresetroundf_ctx): Likewise.
35317         (libc_feresetroundl_ctx): Likewise.
35318         (libc_feholdsetround_ctx): Likewise.
35319         (libc_feholdsetroundf_ctx): Likewise.
35320         (libc_feholdsetroundl_ctx): Likewise.
35322         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35323         with __USE_GNU instead of XOPEN cpp guards.
35325         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35326         0.
35328         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35329         with XOPEN cpp guards.
35331 2014-04-30  Julian Brown  <julian@codesourcery.com>
35333         [BZ #16888]
35334         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35335         handling.
35337 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35339         [BZ #9894]
35340         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35341         Change to 2.6.32.
35342         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35343         * sysdeps/unix/sysv/linux/configure: Regenerated.
35344         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35345         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35346         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35347         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35348         * README: Update reference to required Linux kernel version.
35349         * manual/install.texi (Linux): Update reference to required Linux
35350         kernel headers version.
35351         * INSTALL: Regenerated.
35353         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35354         header inclusion.
35355         [POSIX] (limits.h): Likewise.
35356         [POSIX] (math.h): Likewise.
35357         [POSIX] (sys/wait.h): Likewise.
35358         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35359         function.
35360         [POSIX] (stddef.h): Do not allow header inclusion.
35362 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35364         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35366 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35368         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35369         Return immediately after lll_futex_wake.
35371 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35373         [BZ #16791]
35374         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35375         structure.
35376         (datahead_init_pos): Call datahead_init_common early.
35377         (datahead_init_neg): Likewise.
35379         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35380         datahead_init_neg): New functions.
35381         * nscd/aicache.c (addhstaiX): Use them.
35382         * nscd/grpcache.c (cache_addgr): Likewise.
35383         * nscd/hstcache.c (cache_addhst): Likewise.
35384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35385         * nscd/netgroupcache.c (do_notfound): Likewise.
35386         (addgetnetgrentX): Likewise.
35387         (addinnetgrX): Likewise.
35388         * nscd/pwdcache.c (cache_addpw): Likewise.
35389         * nscd/servicescache.c (cache_addserv): Likewise.
35391 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35392             Atsushi Onoe  <atsushi@onoe.org>
35394         [BZ #14308]
35395         [BZ #12994]
35396         [BZ #13651]
35397         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35398         one response is valid.
35399         * resolv/res_send.c (send_dg): Check for validity of other
35400         response if the current response is a referral.
35402 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35404         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35406 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35408         [BZ #16823]
35409         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35410         Always divide by positive zero when computing -Inf result.
35411         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35412         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35414 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35416         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35417         FPSCR if value do not change.
35418         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35419         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35420         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35421         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35422         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35423         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35424         function.
35426 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35428         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35429         * sysdeps/unix/sysv/linux/hppa: Move directory from
35430         ports/systeps/unix/sysv/linux/hppa.
35431         * README: Update listing for hppa-*-linux-gnu.
35433 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35435         [BZ #16754]
35436         * manual/stdio.texi (Hook functions): Fix types of stream hook
35437         functions.
35438         [BZ #16854]
35439         * socket/sys/socket.h: Fix typo in comment.
35441 2014-04-28  Wilco  <wdijkstr@arm.com>
35443         * sysdeps/arm/fenv_private.h: New file.
35444         * sysdeps/arm/math_private.h: New file.
35445         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35447 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35449         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35450         with __int128_t.
35451         (La_x86_64_retval): Likewise.
35453 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35455         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35456         fpsr if value didn't change.
35457         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35458         to fpcr if value didn't change.
35459         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35460         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35461         fpsr or fpcr if value didn't change.
35462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35463         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35464         fpcr if value didn't change.
35465         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35466         to fpsr if value didn't change.
35468 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35470         * nptl/tst-sem3.c: Use test-skeleton.c
35471         (main): Rename to do_test.  Use return instead of
35472         exit.
35473         * nptl/tst-sem4.c: Use test-skeleton.c
35474         (main): Rename to do_test.
35476 2014-04-22  David S. Miller  <davem@davemloft.net>
35478         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35479         (struct sigaction): New struct member __glibc_reserved0, change
35480         type of sa_flags to int.
35482 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35484         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35485         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35487 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35489         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35490         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35492 2014-04-22  Will Newton  <will.newton@linaro.org>
35493             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35495         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35496         (__longjmp): Add longjmp and longjmp_target SystemTap
35497         probes.
35498         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35499         (__sigsetjmp): Add setjmp SystemTap probe.
35501 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35503         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35504         match manual order.
35506 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35508         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35510         * sysdeps/powerpc/fpu/fenv_private.h
35511         (libc_feholdexcept_setroundl_ctx): Define to
35512         libc_feholdexcept_setround_ppc_ctx.
35513         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35514         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35515         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35516         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35518 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35520         * sysdeps/aarch64/math-tests.h: New file.
35522 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35524         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35525         New.
35526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35527         Check and set bit_AVX2_Usable.
35528         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35529         macro.
35530         (bit_AVX2): Likewise.
35531         (index_AVX2_Usable): Likewise.
35532         (CPUID_AVX2): Likewise.
35533         (HAS_AVX2): Likewise.
35535 2014-04-17  Will Newton  <will.newton@linaro.org>
35537         * manual/setjmp.texi (System V contexts): Add note that
35538         calling setcontext on a context created by a call to a
35539         signal handler is undefined.  Update text to note that
35540         setcontext from a signal handler is possible but not
35541         recommended.
35543         [BZ #16629]
35544         * stdlib/tst-setcontext.c: Include signal.h.
35545         (main): Check that the signal stack before and
35546         after swapcontext is the same.
35548         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35549         Re-implement to restore registers in user code and avoid
35550         rt_sigreturn system call.
35552 2014-04-17  Wilco  <wdijkstr@arm.com>
35554         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35555         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35556         * math/test-fenv.c: Skip exception trap tests on targets which only
35557         support non-stop mode.
35559 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35560             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35562         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35563         (libc_feholdsetround_aarch64_ctx)
35564         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35565         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35566         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35567         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35568         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35569         (libc_feresetround_noexl_ctx): Define.
35571 2014-04-16  Richard Henderson  <rth@redhat.com>
35573         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35575         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35576         unwind tables.
35578         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35579         const from the non-libc, non-ldso copy.
35581         * sysdeps/alpha/libm-test-ulps: Regenerate.
35583 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35584             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35586         * sysdeps/aarch64/fpu/math_private.h: New file.
35588 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35590         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35592 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35594         [BZ #16275]
35595         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35596         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35598         Intel MPX bound registers before _dl_profile_fixup.
35599         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35600         registers after _dl_profile_fixup.  Save and restore bound
35601         registers bnd0/bnd1 when calling _dl_call_pltexit.
35602         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35603         (LR_BND_OFFSET): Likewise.
35604         (LRV_BND0_OFFSET): Likewise.
35605         (LRV_BND1_OFFSET): Likewise.
35607 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35609         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35610         to...
35611         * sysdeps/mach/hurd/i386/tls.h: ... here.
35612         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35613         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35614         fields.
35616 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35618         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35620 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35624 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35626         [BZ #14770]
35627         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35628         * sysdeps/s390/configure: Regenerate.
35630         [BZ #16824]
35631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35632         Set round-to-nearest internally to reduce error accumulation.
35634 2014-04-16  Alan Modra  <amodra@gmail.com>
35636         [BZ #16740]
35637         [BZ #16619]
35638         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35639         * math/libm-test.inc (frexp_test_data): Add tests.
35640         * NEWS: Update fixed bug list.
35642 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35644         * benchtests/Makefile: Depend on libraries in build directory.
35645         (bench-math): Separate out math tests.
35646         (bench-pthread): Separate out pthread tests.
35647         (bench): Include math and pthread tests.
35649 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35651         [BZ #16831]
35652         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35653         _dl_debug_initialize.
35655         * configure.ac: Remove SELinux header check.
35656         * configure: Regenerate.
35657         * nscd/selinux.c (perms): Array of const char* to permission names.
35658         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35659         default policy. Call string_to_security_class and string_to_av_perm to
35660         translate strings. Enforce default policy and call avs_has_perm with
35661         results of translated strings.
35663 2014-04-13  David S. Miller  <davem@davemloft.net>
35665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35667 2014-04-12  Allan McRae  <allan@archlinux.org>
35669         [BZ #16838]
35670         * manual/string.texi (Collation Functions): Fix qsort argument
35671         order in example.
35672         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35674 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35676         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35677         Make the test a no-op if there are no exceptions defined.
35679 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35681         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35682         enable-hardcoded-path-in-tests
35684 2014-04-11  Will Newton  <will.newton@linaro.org>
35686         * benchtests/Makefile (extra-objs): Add json-lib.o.
35687         (bench-func): Tidy up JSON output.
35688         * benchtests/bench-skeleton.c: Include json-lib.h.
35689         (main): Use JSON library functions to do output of
35690         benchmark results.
35691         * benchtests/bench-timing-type.c (main): Output the
35692         timing type simply, leaving formatting to the user.
35693         * benchtests/json-lib.c: New file.
35694         * benchtests/json-lib.h: Likewise.
35696 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35698         [BZ #15215]
35699         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35700         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35701         memory barriers.  Add comments.
35702         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35703         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35704         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35705         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35706         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35707         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35709 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35711         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35712         * sysdeps/s390/s390-64/configure.ac: ... this ...
35713         * sysdeps/s390/configure.ac: ... to here.
35714         * sysdeps/s390/s390-32/configure: Delete file.
35715         * sysdeps/s390/s390-64/configure: Delete file.
35716         * sysdeps/s390/configure: Regenerate.
35718 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35720         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35722 2014-04-11  Will Newton  <will.newton@linaro.org>
35724         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35725         to zero if it is not defined elsewhere.  (mtrim): Test
35726         the value of MALLOC_DEBUG with #if rather than #ifdef.
35728 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35730         * benchtests/pthread_once-inputs: New file.
35731         * benchtests/pthread_once-source.c: New file.
35732         * benchtests/README: Update documentation.
35734 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35735             H.J. Lu  <hongjiu.lu@intel.com>
35737         [BZ #16275]
35738         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35739         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35740         * sysdeps/x86_64/configure: Regenerated.
35741         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35742         macro.
35743         (REGISTER_SAVE_RAX): Likewise.
35744         (REGISTER_SAVE_RCX): Likewise.
35745         (REGISTER_SAVE_RDX): Likewise.
35746         (REGISTER_SAVE_RSI): Likewise.
35747         (REGISTER_SAVE_RDI): Likewise.
35748         (REGISTER_SAVE_R8): Likewise.
35749         (REGISTER_SAVE_R9): Likewise.
35750         (REGISTER_SAVE_BND0): Likewise.
35751         (REGISTER_SAVE_BND1): Likewise.
35752         (REGISTER_SAVE_BND2): Likewise.
35753         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35754         bound registers when calling _dl_fixup.
35756 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35758         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35759         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35760         of its definition.
35761         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35762         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35763         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35764         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35765         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35766         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35767         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35769 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35771         [BZ #15514]
35772         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35773         pathconf(_PC_NAME_MAX).
35775 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35777         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35778         Remove macro usage.
35779         (__PTHREAD_SPINS): Move definition to ...
35780         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35781         (__PTHREAD_SPINS): ... here.
35782         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35783         (__PTHREAD_SPIN): Likewise.
35784         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35785         (__PTHREAD_SPIN): Likewise.
35786         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35787         (__PTHREAD_SPIN): Likewise.
35788         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35789         (__PTHREAD_SPIN): Likewise.
35790         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35791         (__PTHREAD_SPIN): Likewise.
35792         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35793         (__PTHREAD_SPIN): Likewise.
35794         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35795         (__PTHREAD_SPIN): Likewise.
35796         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35797         (__PTHREAD_SPIN): Likewise.
35798         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35799         (__PTHREAD_SPIN): Likewise.
35800         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35801         (__PTHREAD_SPIN): Likewise.
35802         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35803         (__PTHREAD_SPIN): Likewise.
35804         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35805         (__PTHREAD_SPIN): Likewise.
35807         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35808         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35809         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35810         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35811         imply folder.
35812         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35813         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35814         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35815         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35816         correct imply path.
35817         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35818         strlen symbol for non multi-arch builds.
35819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35820         missing hidden_def and weak_alias.
35822 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35824         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35826 2014-04-07  Will Newton  <will.newton@linaro.org>
35828         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35829         and contents.  [!_LIBC] Remove #ifndef and contents.
35830         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35831         * string/memccpy.c (__memccpy): Use ANSI prototype.
35832         * string/memfrob.c (memfrob): Likewise.
35833         * string/strcoll.c (STRCOLL): Likewise.
35834         * string/strlen.c (strlen): Likewise.
35835         * string/strtok.c (STRTOK): Likewise.
35836         * string/strcat.c: Remove unused #include of memcopy.h.
35837         (strcat): Use ANSI prototype.
35838         * string/strchr.c: Remove unused #include of memcopy.h.
35839         (strchr): Use ANSI prototype.
35840         * string/strcmp.c: Remove unused #include of memcopy.h.
35841         (strcmp): Use ANSI prototype.
35842         * string/strcpy.c: Remove unused #include of memcopy.h.
35843         (strcpy): Use ANSI prototype.
35845 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35847         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35848         * config.make.in (config-extra-cppflags): Set it from
35849         libc_extra_cppflags.
35850         * configure.ac (libc_extra_cflags): Make it accumulate over
35851         configure fragments.
35852         (libc_extra_cppflags): New flag.
35853         * configure. Regenerate.
35854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35855         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35856         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35859         [BZ #16815]
35860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35861         result for FE_DOWNWARD rounding mode.
35862         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35863         Likewise.
35864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35866 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35868         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35869         in function argument name.
35871 2014-04-03  David Svoboda  <svoboda@cert.org>
35873         [BZ #5666]
35874         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35875         explicitly.
35877 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35879         * elf/dl-unmap-segments.h: New file.
35880         * sysdeps/generic/ldsodefs.h
35881         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35882         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35883         * elf/dl-fptr.c: Likewise.
35884         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35885         * sysdeps/aarch64/tlsdesc.c: Likewise.
35886         * sysdeps/arm/tlsdesc.c: Likewise.
35887         * sysdeps/i386/tlsdesc.c: Likewise.
35888         * sysdeps/tile/dl-runtime.c: Likewise.
35889         * sysdeps/x86_64/tlsdesc.c: Likewise.
35890         * elf/dl-load.h: New file.
35891         * elf/dl-load.c: Include it.
35892         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35893         Macros moved to dl-load.h.
35894         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35895         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35896         Use _dl_unmap_segments in place of __munmap.
35897         Break out segment-mapping loop into ...
35898         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35900 2014-04-03  Will Newton  <will.newton@linaro.org>
35902         * elf/dl-lookup.c (do_lookup_x): Remove comment
35903         referring to nested function and move variable
35904         declarations down to before first use.
35906 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35908         [BZ #16799]
35909         [BZ #16800]
35910         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35911         with 0 numerator.
35912         * math/s_catanf.c (__catanf): Likewise.
35913         * math/s_catanh.c (__catanh): Likewise.
35914         * math/s_catanhf.c (__catanhf): Likewise.
35915         * math/s_catanhl.c (__catanhl): Likewise.
35916         * math/s_catanl.c (__catanl): Likewise.
35917         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35918         by positive zero when computing -Inf result.
35919         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35920         (catanh_test): Likewise.
35921         * sysdeps/i386/fpu/libm-test-ulps: Update.
35922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35924         [BZ #16789]
35925         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35926         instead of using underflowing value in computing result.
35927         * math/s_clog10.c (__clog10): Likewise.
35928         * math/s_clog10f.c (__clog10f): Likewise.
35929         * math/s_clog10l.c (__clog10l): Likewise.
35930         * math/s_clogf.c (__clogf): Likewise.
35931         * math/s_clogl.c (__clogl): Likewise.
35932         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35933         (clog10_test): Likewise.
35934         * sysdeps/i386/fpu/libm-test-ulps: Update.
35935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35937 2014-04-02  Alan Modra  <amodra@gmail.com>
35939         [BZ #16739]
35940         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35941         output when value is near a power of two.  Use int64_t for lx and
35942         remove casts.  Use decimal rather than hex exponent constants.
35943         Don't use long double multiplication when double will suffice.
35944         * math/libm-test.inc (nextafter_test_data): Add tests.
35945         * NEWS: Add 16739 and 16786 to bug list.
35947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35949         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35951 2014-04-01  Will Newton  <will.newton@linaro.org>
35953         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35954         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35956 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35958         [BZ #13347]
35959         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35960         * nptl/tst-setuid2.c: New file.
35961         * nptl/Makefile (xtests): Add tst-setuid2.
35963 2014-04-01  Alan Modra  <amodra@gmail.com>
35965         [BZ #16786]
35966         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35968 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35970         [BZ #6803]
35971         [BZ #6804]
35972         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35973         set errno as appropriate.
35974         * math/w_scalbf.c (__scalbf): Likewise.
35975         * math/w_scalbl.c (__scalbl): Likewise.
35976         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35977         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35978         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35979         Add more NaN tests.
35981         [BZ #16349]
35982         * math/w_atan2.c: Include <errno.h>.
35983         (__atan2): Set errno for result underflowing to zero.
35984         * math/w_atan2f.c: Include <errno.h>.
35985         (__atan2f): Set errno for result underflowing to zero.
35986         * math/w_atan2l.c: Include <errno.h>.
35987         (__atan2l): Set errno for result underflowing to zero.
35988         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35989         tests.
35990         * math/auto-libm-test-out: Regenerated.
35992 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35994         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35995         Encode instruction correctly in little endian.
35996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35997         Likewise.
35998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35999         Likewise.
36000         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36001         Likewise.
36002         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36003         Likewise.
36005 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36007         [BZ #9894]
36008         * sysdeps/unix/sysv/linux/kernel-features.h
36009         [__sparc__ && !__arch64__ && !__sparc_v9__]
36010         (__ASSUME_SET_ROBUST_LIST): Do not define.
36011         [__sparc__ && !__arch64__ && !__sparc_v9__]
36012         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36013         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36014         Likewise.
36015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36016         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36017         (__ASSUME_REQUEUE_PI): Likewise.
36018         (__ASSUME_SET_ROBUST_LIST): Likewise.
36019         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36020         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36021         Undefine.
36022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36023         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36024         Likewise.
36025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36026         Likewise.
36027         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36028         Likewise.
36029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36030         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36031         Undefine.
36032         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36033         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36034         Likewise.
36036         [BZ #16648]
36037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36039         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36041 2014-03-31  Will Newton  <will.newton@linaro.org>
36043         * benchtests/Makefile (bench): Add ffs and ffsll to list
36044         of tests.
36045         * benchtests/ffs-inputs: New file.
36046         * benchtests/ffsll-inputs: Likewise.
36048 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36050         [BZ #16770]
36051         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36052         too large before casting to int.
36053         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36054         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36055         * math/libm-test.inc (scalb_test_data): Add more tests.
36057 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36059         * benchtests/Makefile (DETAILED_OPT): New make option.
36060         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36061         set.
36062         * benchtests/bench-skeleton.c: Include stdbool.h.
36063         (main): Store and print timings per input.
36064         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36065         member to each argument value.
36066         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36067         (_print_arg_data): Initialize per-input timing to 0.
36069         * benchtests/Makefile (timing-type): New binary.
36070         (bench-clean): Also remove bench-timing-type.
36071         (bench): New target for timing-type.
36072         (bench-func): Print output in JSON format.
36073         * benchtests/bench-skeleton.c (main): Print output in JSON
36074         format.
36075         * benchtests/bench-timing-type.c: New file.
36076         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36077         (TIMING_PRINT_STATS): Remove.
36078         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36079         name separately.
36081         * benchtests/bench-modf.c: Remove.
36082         * benchtests/modf-inputs: New inputs file.
36084 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36086         [BZ #16362]
36087         * math/s_clog10.c (M_PI_LOG10E): New macro.
36088         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36089         imaginary parts are 0.
36090         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36091         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36092         imaginary parts are 0.
36093         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36094         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36095         imaginary parts are 0.
36096         * math/libm-test.inc (clog10_test_data): Update expected results
36097         for when real and imaginary parts are 0.
36099 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36101         * elf/dl-load.c: Finish conversion of __builtin_expect into
36102         __glibc_{un}likely.
36104 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36106         [BZ #16348]
36107         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36108         1+x for argument with exponent below -67.
36109         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36110         Likewise.
36111         * math/auto-libm-test-in: Add more tests of exp.
36112         * math/auto-libm-test-out: Regenerated.
36114 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36116         [BZ #16759]
36117         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36118         (nscd_getnetgrent): Use it.
36120         [BZ #16760]
36121         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36122         of stpcpy.
36124 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36126         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36127         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36128         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36129         (lll_robust_unlock): Remove out of line section. Use cfi
36130         intrinsics.
36131         (LLL_STUB_UNWIND_INFO*): Remove.
36132         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36133         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36134         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36135         (lll_robust_unlock): Remove out of line section. Use cfi
36136         intrinsics.
36137         (LLL_STUB_UNWIND_INFO*): Remove.
36139 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36141         [BZ #16758]
36142         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36143         blank values.
36145 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36147         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36149 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36151         [BZ #16198]
36152         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36153         fnstenv.
36154         * math/test-fenv-preserve.c: New file.
36155         * math/Makefile (tests): Add test-fenv-preserve.
36157 2014-03-26  Will Newton <will.newton@linaro.org>
36159         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36161 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36163         * scripts/versionlist.awk: Partition the version sets and emit all
36164         GLIBC_* (sorted) before all others (sorted).
36166 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36168         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36169         GLIBC_2.2.5 version.
36171 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36173         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36174         calls.
36176         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36177         previous change.
36179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36181 2014-03-25  Andreas Schwab  <schwab@suse.de>
36183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36184         label to be used after in6ailist is initialized.
36186 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36188         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36189         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36191 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36193         [BZ #16357]
36194         [BZ #16599]
36195         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36196         min_plus_half.
36197         (fp_formats): Update initializers.
36198         (init_fp_formats): Initialize new field.
36199         (output_for_one_input_case): Allow underflow for results up to
36200         min_plus_half.
36201         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36202         * math/auto-libm-test-in: Don't mark some underflows from asin and
36203         atanh as spurious.
36204         * math/auto-libm-test-out: Regenerated.
36205         * sysdeps/i386/fpu/libm-test-ulps: Update.
36206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36208 2014-03-25  Andreas Schwab  <schwab@suse.de>
36210         * libio/Makefile (tst-ftell-partial-wide-ENV)
36211         (tst-ftell-active-handler-ENV): Define.
36213 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36215         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36217 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36219         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36221 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36223         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36224         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36225         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36227 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36229         [BZ #16634]
36230         * elf/dl-load.c (open_verify): Add mode parameter.
36231         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36232         (open_path): Change from boolean 'secure' to complete flag 'mode'
36233         (_dl_map_object): Adjust.
36234         * elf/Makefile (tests): Add tst-dlopen-aout.
36235         * elf/tst-dlopen-aout.c: New test.
36237 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36239         [BZ #16714]
36240         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36241         (struct stat): Rename member pad0 to __glibc_reserved0.
36243         [BZ #16712]
36244         * sysdeps/s390/s390-32/bits/wordsize.h
36245         (__WORDSIZE32_SIZE_ULONG): New define.
36246         * sysdeps/s390/s390-64/bits/wordsize.h
36247         (__WORDSIZE32_SIZE_ULONG): Likewise.
36248         * sysdeps/generic/stdint.h (SIZE_MAX):
36249         Define as UL if __WORDSIZE32_SIZE_ULONG.
36251         [BZ #16713]
36252         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36253         (__glibc_reserved0): New variable.
36254         (sa_flags): Change type to int.
36256         * posix/Makefile (before-compile): Use += before-compile instead
36257         of a :=.
36259         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36260         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36262 2014-03-20  Andreas Schwab  <schwab@suse.de>
36264         [BZ #16743]
36265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36266         non-matching result from nscd.
36268 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36270         * scripts/bench.py: Moved to ...
36271         * benchtests/scripts/bench.py: ... here.
36272         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36274 2014-03-24  Andreas Schwab  <schwab@suse.de>
36276         [BZ #16002]
36277         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36278         alloca_account and account alloca use for struct in6ailist.
36280 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36282         [BZ #16284]
36283         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36284         rounding mode to recompute results that overflow to infinity or
36285         underflow to zero.
36286         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36287         bug 16284.
36288         * math/auto-libm-test-out: Regenerated.
36289         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36290         (ccosh_test): Likewise.
36291         (csin_test_data): Use plus_oflow.
36292         (csin_test): Use ALL_RM_TEST.
36293         (csinh_test_data): Use plus_oflow.
36294         (csinh_test): Use ALL_RM_TEST.
36295         * sysdeps/i386/fpu/libm-test-ulps: Update.
36296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36298 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36300         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36301         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36302         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36304         [BZ #16731]
36305         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36306         when x - 1 is zero.
36307         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36308         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36309         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36310         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36311         argument is 1.
36312         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36313         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36314         zero.
36315         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36316         * sysdeps/i386/fpu/libm-test-ulps: Update.
36317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36319 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36321         * scripts/bench.pl: Remove file.
36322         * scripts/bench.py: New benchmark script.
36323         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36324         * benchtests/README: Mention python dependency.
36325         * scripts/pylintrc: New file.
36326         * scripts/pylint: New file.
36328         * bits/mathdef.h: Use #ifdef instead of #if.
36329         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36330         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36331         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36332         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36333         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36334         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36336 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36337             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36339         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36341         and strpbrk-ppc64 objects.
36342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36343         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36345         multiarch strpbrk for POWER7.
36346         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36347         multiarch strpbrk for PPC64.
36348         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36349         ifunc selector.
36350         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36351         strpbrk for POWER7.
36353 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36355         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36356         (atan_test): Likewise.
36357         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36358         (atanh_test): Use ALL_RM_TEST.
36359         (atan2_test_data): Likewise.
36360         (cabs_test): Likewise.
36361         (cacosh_test): Likewise.
36362         (carg_test): Likewise.
36363         (casin_test): Likewise.
36364         (casinh_test): Likewise.
36365         (cbrt_test): Likewise.
36366         (csqrt_test): Likewise.
36367         (erf_test): Likewise.
36368         (erfc_test): Likewise.
36369         (pow10_test): Likewise.
36370         (exp2_test): Likewise.
36371         (hypot_test): Likewise.
36372         (j0_test): Likewise.
36373         (j1_test): Likewise.
36374         (lgamma_test): Likewise.
36375         (gamma_test): Likewise.
36376         (sincos_test): Likewise.
36377         (tanh_test): Likewise.
36378         (y0_test): Likewise.
36379         (y1_test): Likewise.
36380         * sysdeps/i386/fpu/libm-test-ulps: Update.
36381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36385         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36387         and strcspn-ppc64 objects.
36388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36389         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36390         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36391         multiarch strcspn for POWER7.
36392         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36393         multiarch strcspn for PPC64.
36394         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36395         ifunc selector.
36396         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36397         strcspn for POWER7.
36399 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36401         * math/gen-libm-test.pl (generate_testfile): Expect only function
36402         name as argument to AUTO_TESTS_* and pass results for all rounding
36403         modes to parse_args.
36404         (parse_auto_input): Separate inputs of automatic tests from
36405         outputs before storing in %auto_tests.
36406         * math/libm-test.inc (acos_test_data): Update call to
36407         AUTO_TESTS_f_f.
36408         (acos_test): Use ALL_RM_TEST.
36409         (acos_tonearest_test_data): Remove.
36410         (acos_test_tonearest): Likewise.
36411         (acos_towardzero_test_data): Likewise.
36412         (acos_test_towardzero): Likewise.
36413         (acos_downward_test_data): Likewise.
36414         (acos_test_downward): Likewise.
36415         (acos_upward_test_data): Likewise.
36416         (acos_test_upward): Likewise.
36417         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36418         (asin_test_data): Likewise.
36419         (asin_test): Use ALL_RM_TEST.
36420         (asin_tonearest_test_data): Remove.
36421         (asin_test_tonearest): Likewise.
36422         (asin_towardzero_test_data): Likewise.
36423         (asin_test_towardzero): Likewise.
36424         (asin_downward_test_data): Likewise.
36425         (asin_test_downward): Likewise.
36426         (asin_upward_test_data): Likewise.
36427         (asin_test_upward): Likewise.
36428         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36429         (atan_test_data): Likewise.
36430         (atanh_test_data): Likewise.
36431         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36432         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36433         (carg_test_data): Likewise.
36434         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36435         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36436         (ccosh_test_data): Likewise.
36437         (cexp_test_data): Likewise.
36438         (clog_test_data): Likewise.
36439         (clog10_test_data): Likewise.
36440         (cos_test_data): Update call to AUTO_TESTS_f_f.
36441         (cos_test): Use ALL_RM_TEST.
36442         (cos_tonearest_test_data): Remove.
36443         (cos_test_tonearest): Likewise.
36444         (cos_towardzero_test_data): Likewise.
36445         (cos_test_towardzero): Likewise.
36446         (cos_downward_test_data): Likewise.
36447         (cos_test_downward): Likewise.
36448         (cos_upward_test_data): Likewise.
36449         (cos_test_upward): Likewise.
36450         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36451         (cosh_test): Use ALL_RM_TEST.
36452         (cosh_tonearest_test_data): Remove.
36453         (cosh_test_tonearest): Likewise.
36454         (cosh_towardzero_test_data): Likewise.
36455         (cosh_test_towardzero): Likewise.
36456         (cosh_downward_test_data): Likewise.
36457         (cosh_test_downward): Likewise.
36458         (cosh_upward_test_data): Likewise.
36459         (cosh_test_upward): Likewise.
36460         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36461         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36462         (ctan_test_data): Likewise.
36463         (ctan_test): Use ALL_RM_TEST.
36464         (ctan_tonearest_test_data): Remove.
36465         (ctan_test_tonearest): Likewise.
36466         (ctan_towardzero_test_data): Likewise.
36467         (ctan_test_towardzero): Likewise.
36468         (ctan_downward_test_data): Likewise.
36469         (ctan_test_downward): Likewise.
36470         (ctan_upward_test_data): Likewise.
36471         (ctan_test_upward): Likewise.
36472         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36473         (ctanh_test): Use ALL_RM_TEST.
36474         (ctanh_tonearest_test_data): Remove.
36475         (ctanh_test_tonearest): Likewise.
36476         (ctanh_towardzero_test_data): Likewise.
36477         (ctanh_test_towardzero): Likewise.
36478         (ctanh_downward_test_data): Likewise.
36479         (ctanh_test_downward): Likewise.
36480         (ctanh_upward_test_data): Likewise.
36481         (ctanh_test_upward): Likewise.
36482         (erf_test_data): Update call to AUTO_TESTS_f_f.
36483         (erfc_test_data): Likewise.
36484         (exp_test_data): Likewise.
36485         (exp_test): Use ALL_RM_TEST.
36486         (exp_tonearest_test_data): Remove.
36487         (exp_test_tonearest): Likewise.
36488         (exp_towardzero_test_data): Likewise.
36489         (exp_test_towardzero): Likewise.
36490         (exp_downward_test_data): Likewise.
36491         (exp_test_downward): Likewise.
36492         (exp_upward_test_data): Likewise.
36493         (exp_test_upward): Likewise.
36494         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36495         (exp10_test): Use ALL_RM_TEST.
36496         (exp10_tonearest_test_data): Remove.
36497         (exp10_test_tonearest): Likewise.
36498         (exp10_towardzero_test_data): Likewise.
36499         (exp10_test_towardzero): Likewise.
36500         (exp10_downward_test_data): Likewise.
36501         (exp10_test_downward): Likewise.
36502         (exp10_upward_test_data): Likewise.
36503         (exp10_test_upward): Likewise.
36504         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36505         (expm1_test_data): Likewise.
36506         (expm1_test): Use ALL_RM_TEST.
36507         (expm1_tonearest_test_data): Remove.
36508         (expm1_test_tonearest): Likewise.
36509         (expm1_towardzero_test_data): Likewise.
36510         (expm1_test_towardzero): Likewise.
36511         (expm1_downward_test_data): Likewise.
36512         (expm1_test_downward): Likewise.
36513         (expm1_upward_test_data): Likewise.
36514         (expm1_test_upward): Likewise.
36515         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36516         (fma_test): Use ALL_RM_TEST.
36517         (fma_towardzero_test_data): Remove.
36518         (fma_test_towardzero): Likewise.
36519         (fma_downward_test_data): Likewise.
36520         (fma_test_downward): Likewise.
36521         (fma_upward_test_data): Likewise.
36522         (fma_test_upward): Likewise.
36523         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36524         (j0_test_data): Update call to AUTO_TESTS_f_f.
36525         (j1_test_data): Likewise.
36526         (jn_test_data): Update call to AUTO_TESTS_if_f.
36527         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36528         (log_test_data): Update call to AUTO_TESTS_f_f.
36529         (log10_test_data): Likewise.
36530         (log1p_test_data): Likewise.
36531         (log2_test_data): Likewise.
36532         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36533         (pow_tonearest_test_data): Likewise.
36534         (sin_test_data): Update call to AUTO_TESTS_f_f.
36535         (sin_test): Use ALL_RM_TEST.
36536         (sin_tonearest_test_data): Remove.
36537         (sin_test_tonearest): Likewise.
36538         (sin_towardzero_test_data): Likewise.
36539         (sin_test_towardzero): Likewise.
36540         (sin_downward_test_data): Likewise.
36541         (sin_test_downward): Likewise.
36542         (sin_upward_test_data): Likewise.
36543         (sin_test_upward): Likewise.
36544         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36545         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36546         (sinh_test): Use ALL_RM_TEST.
36547         (sinh_tonearest_test_data): Remove.
36548         (sinh_test_tonearest): Likewise.
36549         (sinh_towardzero_test_data): Likewise.
36550         (sinh_test_towardzero): Likewise.
36551         (sinh_downward_test_data): Likewise.
36552         (sinh_test_downward): Likewise.
36553         (sinh_upward_test_data): Likewise.
36554         (sinh_test_upward): Likewise.
36555         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36556         (sqrt_test): Use ALL_RM_TEST.
36557         (sqrt_tonearest_test_data): Remove.
36558         (sqrt_test_tonearest): Likewise.
36559         (sqrt_towardzero_test_data): Likewise.
36560         (sqrt_test_towardzero): Likewise.
36561         (sqrt_downward_test_data): Likewise.
36562         (sqrt_test_downward): Likewise.
36563         (sqrt_upward_test_data): Likewise.
36564         (sqrt_test_upward): Likewise.
36565         (tan_test_data): Update call to AUTO_TESTS_f_f.
36566         (tan_test): Use ALL_RM_TEST.
36567         (tan_tonearest_test_data): Remove.
36568         (tan_test_tonearest): Likewise.
36569         (tan_towardzero_test_data): Likewise.
36570         (tan_test_towardzero): Likewise.
36571         (tan_downward_test_data): Likewise.
36572         (tan_test_downward): Likewise.
36573         (tan_upward_test_data): Likewise.
36574         (tan_test_upward): Likewise.
36575         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36576         (tgamma_test_data): Likewise.
36577         (y0_test_data): Likewise.
36578         (y1_test_data): Likewise.
36579         (yn_test_data): Update call to AUTO_TESTS_if_f.
36580         (main): Do not call removed functions.
36582 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36584         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36585         (ldexp_test_data): Remove.
36586         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36587         scalbn_test_data.
36588         (scalb_test): Use ALL_RM_TEST.
36590 2014-03-19  Andreas Schwab  <schwab@suse.de>
36592         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36594 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36596         [BZ #16649]
36597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36598         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36599         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36601         (__ASSUME_PREADV): Undefine.
36602         (__ASSUME_PWRITEV): Likewise.
36604 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36606         * bits/mman-linux.h: Add comment about non-Linux use.
36607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36608         bits/mman-linux.h resting place.
36610         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36611         * bits/mman-linux.h: ... here.
36613 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36615         * conform/conformtest.pl: Add standard definition when calling C
36616         preprocessor on data files.
36617         (checknamespace): Remove unused variable.
36619 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36621         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36622         minus_oflow, plus_uflow and minus_uflow in expected results.
36623         * math/libm-test.inc (scalbn_test_data): Add more tests of
36624         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36625         minus_uflow.
36626         (scalbn_test): Use ALL_RM_TEST.
36627         (scalbln_test_data): Add more tests of negative arguments.  Use
36628         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36629         (scalbln_test): Use ALL_RM_TEST.
36631 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36633         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36635 2014-03-18  Will Newton  <will.newton@linaro.org>
36637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36638         inaccurate comment.
36640 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36642         * Makerules [!subdir] (check-abi): Exit with error status if a
36643         test failed.
36645 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36647         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36648         for rint.  Include results for all rounding modes.
36649         (nearbyint_test): Use ALL_RM_TEST.
36650         (rint_test_data): Include all tests used for nearbyint.
36652 2014-03-17  Will Newton  <will.newton@linaro.org>
36654         * nptl/sysdeps/pthread/pthread.h: Revert previous
36655         change.
36657         * sysdeps/generic/ldsodefs.h: Revert previous
36658         change.
36660         * libio/genops.c: Revert previous change.
36661         * libio/libioP.h: Likewise.
36662         * stdio-common/vfprintf.c: Likewise.
36664         * sysdeps/generic/math_private.h: Revert previous
36665         change.
36667         * sysdeps/generic/math_private.h: Check whether
36668         HAVE_RM_CTX is defined with #ifdef rather
36669         than #if.
36671         * argp/argp-fmtstream.h: Check whether
36672         __STRICT_ANSI__ is defined with #ifdef rather
36673         than #if.
36674         * argp/argp.h: Likewise.
36676         * libio/genops.c: Check whether
36677         _IO_JUMPS_OFFSET is defined with #ifdef rather
36678         than #if.
36679         * libio/libioP.h: Likewise.
36680         * stdio-common/vfprintf.c: Likewise.
36682         * sysdeps/generic/ldsodefs.h: Check whether
36683         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36684         than #if.
36686         * nptl/sysdeps/pthread/pthread.h: Check
36687         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36688         its value.
36690 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36692         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36693         setting O_APPEND.
36694         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36695         test case.
36697         [BZ #16680]
36698         * libio/fileops.c (_IO_file_open): Seek to end of file but
36699         don't cache the offset.
36700         (get_file_offset): Remove function.
36701         (do_ftell): Use cached offset when available.
36702         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36703         don't cache the offset.
36704         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36705         case.
36706         (do_one_test): Call it.
36707         (do_ftell_test): Fix up expected old offset for a+ mode.
36708         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36709         available.
36711         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36712         up test status with function return status.
36713         (do_write_test): Likewise.
36714         (do_append_test): Likewise.
36716         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36717         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36718         Remove.
36720 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36722         * math/gen-libm-test.pl (parse_args): Handle results specified for
36723         each rounding mode separately.
36724         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36725         tests and results from lrint_tonearest_test_data,
36726         lrint_towardzero_test_data, lrint_downward_test_data and
36727         lrint_upward_test_data.
36728         (lrint_test): Use ALL_RM_TEST.
36729         (lrint_tonearest_test_data): Remove.
36730         (lrint_test_tonearest): Likewise.
36731         (lrint_towardzero_test_data): Likewise.
36732         (lrint_test_towardzero): Likewise.
36733         (lrint_downward_test_data): Likewise.
36734         (lrint_test_downward): Likewise.
36735         (lrint_upward_test_data): Likewise.
36736         (lrint_test_upward): Likewise.
36737         (llrint_test_data): Merge in per-rounding-mode tests and results
36738         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36739         llrint_downward_test_data and llrint_upward_test_data.
36740         (llrint_test): Use ALL_RM_TEST.
36741         (llrint_tonearest_test_data): Remove.
36742         (llrint_test_tonearest): Likewise.
36743         (llrint_towardzero_test_data): Likewise.
36744         (llrint_test_towardzero): Likewise.
36745         (llrint_downward_test_data): Likewise.
36746         (llrint_test_downward): Likewise.
36747         (llrint_upward_test_data): Likewise.
36748         (llrint_test_upward): Likewise.
36749         (rint_test_data): Merge in per-rounding-mode tests and results
36750         from rint_tonearest_test_data, rint_towardzero_test_data,
36751         rint_downward_test_data and rint_upward_test_data.  Add
36752         per-rounding-mode results for tests not in those arrays.
36753         (rint_test): Use ALL_RM_TEST.
36754         (rint_tonearest_test_data): Remove.
36755         (rint_test_tonearest): Likewise.
36756         (rint_towardzero_test_data): Likewise.
36757         (rint_test_towardzero): Likewise.
36758         (rint_downward_test_data): Likewise.
36759         (rint_test_downward): Likewise.
36760         (rint_upward_test_data): Likewise.
36761         (rint_test_upward): Likewise.
36762         (main): Don't call removed functions.
36764 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36766         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36767         "Compiled on ..." crapola.  It is anti-useful.
36769 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36771         * scripts/evaluate-test.sh: Handle fourth argument to determine
36772         whether test run should stop on failure.
36773         * Makeconfig (stop-on-test-failure): New variable.
36774         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36775         $(stop-on-test-failure).
36776         * Makefile (tests): Give a summary of results from testing and
36777         exit with failure status if they include an ERROR or FAIL.
36778         (xtests): Likewise.
36779         * manual/install.texi (Configuring and compiling): Mention
36780         stop-on-test-failure=y.
36781         * INSTALL: Regenerated.
36783 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36785         * scripts/versionlist.awk: New file.
36786         * Makerules [$(build-shared) = yes]
36787         (postclean-generated): Add Versions.def, not Versions.def.v and
36788         Versions.def.v.i.
36789         ($(common-objpfx)Versions.def.v.i): Target removed.
36790         ($(common-objpfx)Versions.def): New target.
36791         ($(common-objpfx)Versions.all): Depend on that rather that
36792         $(common-objpfx)Versions.def.v.
36793         * Versions.def: File removed.
36795         * Makeconfig (+gccwarn): Add -Wundef.
36796         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36797         a dl-sysdep.h breaking its contract.
36798         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36799         * include/stackinfo.h: New file.
36800         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36801         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36802         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36803         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36804         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36805         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36806         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36807         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36808         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36809         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36810         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36811         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36812         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36813         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36814         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36816 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36818         [BZ #16707]
36819         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36820         implementation.
36821         * math/libm-test.inc (round_test_data): Add more tests.
36823         [BZ #16706]
36824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36825         implementation.
36826         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36828         [BZ #16701]
36829         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36830         implementation.
36831         * math/libm-test.inc (ceil_test_data): Add more tests.
36833         * math/libm-test.inc (trunc_test_data): Add more tests related to
36834         BZ#16414.
36836 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36838         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36839         with #if rather than #ifdef.
36840         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36842 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36844         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36845         first.  Disable AVX-512 GCC support if assembler doesn't support
36846         it.
36847         * sysdeps/x86_64/configure: Regenerated.
36849 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36851         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36852         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36853         (__old_pthread_attr_setstack): Likewise.
36854         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36855         [!_STACK_GROWS_DOWN]: Likewise.
36857 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36859         * config.make.in (have-bash2): Delete.
36860         * configure.ac (libc_cv_have_bash2): Delete.
36861         * configure: Regenerate.
36862         * elf/Makefile (common-ldd-rewrite): Rename to ...
36863         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36864         (sh-ldd-rewrite): Delete.
36865         (bash-ldd-rewrite): Delete.
36866         (have-bash2): Delete checks.
36867         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36868         ldd-rewrite.
36870         * config.make.in (have-ksh): Delete.
36871         (KSH): Delete.
36872         * configure.ac (libc_cv_have_ksh): Delete.
36873         * configure: Regenerate.
36875         * elf/Makefile: Delete $(have-ksh) check.
36876         ($(objpfx)sotruss): Change KSH to BASH.
36877         * elf/sotruss.ksh: Rename to ...
36878         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36879         function style to match POSIX.  Drop ksh vim mode setting.
36881         * manual/time.texi (Specifying the Time Zone with TZ): Change
36882         Tuesday to Thursday.
36884         * debug/tst-longjmp_chk2.c: Update header comment.
36885         (stackoverflow_handler): Add comment.  Call assert on pass value.
36887 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36889         [BZ #16194]
36890         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36891         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36892         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36893         (La_x86_64_vector): Add zmm.
36894         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36895         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36896         ($(objpfx)tst-audit10): New target.
36897         ($(objpfx)tst-audit10.out): Likewise.
36898         (tst-audit10-ENV): New.
36899         (AVX512-CFLAGS): Likewise.
36900         (CFLAGS-tst-audit10.c): Likewise.
36901         (CFLAGS-tst-auditmod10a.c): Likewise.
36902         (CFLAGS-tst-auditmod10b.c): Likewise.
36903         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36904         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36905         * sysdeps/x86_64/configure: Regenerated.
36906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36907         AVX-512 zmm register support.
36908         (_dl_x86_64_save_sse): Likewise.
36909         (_dl_x86_64_restore_sse): Likewise.
36910         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36911         size vector registers.
36912         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36913         (ZMM_SIZE): Likewise.
36914         * sysdeps/x86_64/tst-audit10.c: New file.
36915         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36916         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36918 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36920         * configure.ac (HAVE_EHDR_START): New check.
36921         * configure: Regenerated.
36922         * config.h.in (HAVE_EHDR_START): New #undef.
36923         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36924         assuming the lowest-addressed segment maps the start of the file.
36926 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36928         * INSTALL: Regenerated.
36930 2014-03-13  Will Newton  <will.newton@linaro.org>
36932         * manual/setjmp.texi (System V contexts): Improve
36933         clarity and grammar of documentation.
36935 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36937         [BZ #16381]
36938         * elf/Makefile (tests): Add tst-pie2.
36939         (tests-pie): Add tst-pie2.
36940         * elf/tst-pie2.c: New file.
36941         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36942         for ET_EXEC.
36943         * elf/rtld.c (map_doit): Load executable as lt_executable.
36944         (dl_main): Likewise.
36946 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36948         [BZ #16642]
36949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36950         (__ASSUME_PSELECT): Undefine.
36952 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36954         [BZ #16689]
36955         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36956         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36957         static build.
36958         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36959         selector for static builds.
36961 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36963         [BZ #16695]
36964         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36965         key in the buffer.
36967 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36969         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36970         IFUNC selector for static builds.
36972 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36974         * sysdeps/mips/math_private.h [__mips_hard_float]
36975         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36976         libc_feresetround_mips_ctx.
36977         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36978         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36979         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36981         [BZ #16677]
36982         * math/s_nextafter.c (__nextafter): Do not return value from
36983         overflowing computation.
36984         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36985         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36987         Likewise.
36988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36989         Likewise.
36990         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36991         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36993 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36995         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36996         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36997         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36998         the new mov targetting sp.
37000 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37002         [BZ #16683]
37003         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37004         Define it for static builds as well.
37005         (NO_BZERO_IMPL): Likewise.
37007 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37009         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37010         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37011         multiarch strspn for PPC64.
37012         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37013         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37015         (__libc_ifunc_impl_list): Likewise.
37016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37017         multiarch optimizations
37018         * string/strspn.c (strspn): Using macro to redefine symbol name.
37020 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37021             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37023         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37024         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37025         multiarch strncat for PPC64.
37026         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37027         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37029         (__libc_ifunc_impl_list): Likewise.
37030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37031         multiarch optimizations
37033 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37035         [BZ #16639]
37036         * nscd/nscd.service: Make service type forking.
37038 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37040         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37041         sign in non default rounding modes.
37042         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37044 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37046         * math/libm-test.inc (ALL_RM_TEST): New macro.
37047         (ceil_test): Use ALL_RM_TEST.
37048         (cimag_test): Likewise.
37049         (conj_test): Likewise.
37050         (copysign_test): Likewise.
37051         (cproj_test): Likewise.
37052         (creal_test): Likewise.
37053         (fabs_test): Likewise.
37054         (floor_test): Likewise.
37055         (fmax_test): Likewise.
37056         (fmin_test): Likewise.
37057         (fmod_test): Likewise.
37058         (fpclassify_test): Likewise.
37059         (frexp_test): Likewise.
37060         (ilogb_test): Likewise.
37061         (isfinite_test): Likewise.
37062         (finite_test): Likewise.
37063         (isgreater_test): Likewise.
37064         (isgreaterequal_test): Likewise.
37065         (isinf_test): Likewise.
37066         (isless_test): Likewise.
37067         (islessequal_test): Likewise.
37068         (islessgreater_test): Likewise.
37069         (isnan_test): Likewise.
37070         (isnormal_test): Likewise.
37071         (issignaling_test): Likewise.
37072         (isunordered_test): Likewise.
37073         (logb_test): Likewise.
37074         (logb_downward_test_data): Remove.
37075         (logb_test_downward): Likewise.
37076         (lround_test): Use ALL_RM_TEST.
37077         (llround_test): Likewise.
37078         (modf_test): Likewise.
37079         (nexttoward_test): Likewise.
37080         (remainder_test): Likewise.
37081         (drem_test): Likewise.
37082         (remainder_tonearest_test_data): Likewise.
37083         (remainder_test_tonearest): Likewise.
37084         (drem_test_tonearest): Likewise.
37085         (remainder_towardzero_test_data): Likewise.
37086         (remainder_test_towardzero): Likewise.
37087         (drem_test_towardzero): Likewise.
37088         (remainder_downward_test_data): Likewise.
37089         (remainder_test_downward): Likewise.
37090         (drem_test_downward): Likewise.
37091         (remainder_upward_test_data): Likewise.
37092         (remainder_test_upward): Likewise.
37093         (drem_test_upward): Likewise.
37094         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37095         (round_test): Use ALL_RM_TEST.
37096         (signbit_test): Likewise.
37097         (trunc_test): Likewise.
37098         (significand_test): Likewise.
37099         (main): Don't call removed functions.
37101 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37103         [BZ #16674]
37104         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37105         || __USE_XOPEN2K8].
37106         (ILL_ILLOPN): Likewise.
37107         (ILL_ILLADR): Likewise.
37108         (ILL_ILLTRP): Likewise.
37109         (ILL_PRVOPC): Likewise.
37110         (ILL_PRVREG): Likewise.
37111         (ILL_COPROC): Likewise.
37112         (ILL_BADSTK): Likewise.
37113         (FPE_INTDIV): Likewise.
37114         (FPE_INTOVF): Likewise.
37115         (FPE_FLTDIV): Likewise.
37116         (FPE_FLTOVF): Likewise.
37117         (FPE_FLTUND): Likewise.
37118         (FPE_FLTRES): Likewise.
37119         (FPE_FLTINV): Likewise.
37120         (FPE_FLTSUB): Likewise.
37121         (SEGV_MAPERR): Likewise.
37122         (SEGV_ACCERR): Likewise.
37123         (BUS_ADRALN): Likewise.
37124         (BUS_ADRERR): Likewise.
37125         (BUS_OBJERR): Likewise.
37126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37127         (TRAP_TRACE): Likewise.
37128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37129         __USE_XOPEN2K8].
37130         (CLD_KILLED): Likewise.
37131         (CLD_DUMPED): Likewise.
37132         (CLD_TRAPPED): Likewise.
37133         (CLD_STOPPED): Likewise.
37134         (CLD_CONTINUED): Likewise.
37135         (POLL_IN): Likewise.
37136         (POLL_OUT): Likewise.
37137         (POLL_MSG): Likewise.
37138         (POLL_ERR): Likewise.
37139         (POLL_PRI): Likewise.
37140         (POLL_HUP): Likewise.
37141         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37142         Likewise.
37143         (ILL_ILLOPN): Likewise.
37144         (ILL_ILLADR): Likewise.
37145         (ILL_ILLTRP): Likewise.
37146         (ILL_PRVOPC): Likewise.
37147         (ILL_PRVREG): Likewise.
37148         (ILL_COPROC): Likewise.
37149         (ILL_BADSTK): Likewise.
37150         (FPE_INTDIV): Likewise.
37151         (FPE_INTOVF): Likewise.
37152         (FPE_FLTDIV): Likewise.
37153         (FPE_FLTOVF): Likewise.
37154         (FPE_FLTUND): Likewise.
37155         (FPE_FLTRES): Likewise.
37156         (FPE_FLTINV): Likewise.
37157         (FPE_FLTSUB): Likewise.
37158         (SEGV_MAPERR): Likewise.
37159         (SEGV_ACCERR): Likewise.
37160         (BUS_ADRALN): Likewise.
37161         (BUS_ADRERR): Likewise.
37162         (BUS_OBJERR): Likewise.
37163         (BUS_MCEERR_AR): Likewise.
37164         (BUS_MCEERR_AO): Likewise.
37165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37166         (TRAP_TRACE): Likewise.
37167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37168         __USE_XOPEN2K8].
37169         (CLD_KILLED): Likewise.
37170         (CLD_DUMPED): Likewise.
37171         (CLD_TRAPPED): Likewise.
37172         (CLD_STOPPED): Likewise.
37173         (CLD_CONTINUED): Likewise.
37174         (POLL_IN): Likewise.
37175         (POLL_OUT): Likewise.
37176         (POLL_MSG): Likewise.
37177         (POLL_ERR): Likewise.
37178         (POLL_PRI): Likewise.
37179         (POLL_HUP): Likewise.
37180         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37181         (ILL_ILLOPN): Likewise.
37182         (ILL_ILLADR): Likewise.
37183         (ILL_ILLTRP): Likewise.
37184         (ILL_PRVOPC): Likewise.
37185         (ILL_PRVREG): Likewise.
37186         (ILL_COPROC): Likewise.
37187         (ILL_BADSTK): Likewise.
37188         (FPE_INTDIV): Likewise.
37189         (FPE_INTOVF): Likewise.
37190         (FPE_FLTDIV): Likewise.
37191         (FPE_FLTOVF): Likewise.
37192         (FPE_FLTUND): Likewise.
37193         (FPE_FLTRES): Likewise.
37194         (FPE_FLTINV): Likewise.
37195         (FPE_FLTSUB): Likewise.
37196         (SEGV_MAPERR): Likewise.
37197         (SEGV_ACCERR): Likewise.
37198         (BUS_ADRALN): Likewise.
37199         (BUS_ADRERR): Likewise.
37200         (BUS_OBJERR): Likewise.
37201         (BUS_MCEERR_AR): Likewise.
37202         (BUS_MCEERR_AO): Likewise.
37203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37204         (TRAP_TRACE): Likewise.
37205         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37206         __USE_XOPEN2K8].
37207         (CLD_KILLED): Likewise.
37208         (CLD_DUMPED): Likewise.
37209         (CLD_TRAPPED): Likewise.
37210         (CLD_STOPPED): Likewise.
37211         (CLD_CONTINUED): Likewise.
37212         (POLL_IN): Likewise.
37213         (POLL_OUT): Likewise.
37214         (POLL_MSG): Likewise.
37215         (POLL_ERR): Likewise.
37216         (POLL_PRI): Likewise.
37217         (POLL_HUP): Likewise.
37218         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37219         Likewise.
37220         (ILL_ILLOPN): Likewise.
37221         (ILL_ILLADR): Likewise.
37222         (ILL_ILLTRP): Likewise.
37223         (ILL_PRVOPC): Likewise.
37224         (ILL_PRVREG): Likewise.
37225         (ILL_COPROC): Likewise.
37226         (ILL_BADSTK): Likewise.
37227         (ILL_BADIADDR): Likewise.
37228         (ILL_BREAK): Likewise.
37229         (FPE_INTDIV): Likewise.
37230         (FPE_INTOVF): Likewise.
37231         (FPE_FLTDIV): Likewise.
37232         (FPE_FLTOVF): Likewise.
37233         (FPE_FLTUND): Likewise.
37234         (FPE_FLTRES): Likewise.
37235         (FPE_FLTINV): Likewise.
37236         (FPE_FLTSUB): Likewise.
37237         (FPE_DECOVF): Likewise.
37238         (FPE_DECDIV): Likewise.
37239         (FPE_DECERR): Likewise.
37240         (FPE_INVASC): Likewise.
37241         (FPE_INVDEC): Likewise.
37242         (SEGV_MAPERR): Likewise.
37243         (SEGV_ACCERR): Likewise.
37244         (SEGV_PSTKOVF): Likewise.
37245         (BUS_ADRALN): Likewise.
37246         (BUS_ADRERR): Likewise.
37247         (BUS_OBJERR): Likewise.
37248         (BUS_MCEERR_AR): Likewise.
37249         (BUS_MCEERR_AO): Likewise.
37250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37251         (TRAP_TRACE): Likewise.
37252         (TRAP_BRANCH): Likewise.
37253         (TRAP_HWBKPT): Likewise.
37254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37255         __USE_XOPEN2K8].
37256         (CLD_KILLED): Likewise.
37257         (CLD_DUMPED): Likewise.
37258         (CLD_TRAPPED): Likewise.
37259         (CLD_STOPPED): Likewise.
37260         (CLD_CONTINUED): Likewise.
37261         (POLL_IN): Likewise.
37262         (POLL_OUT): Likewise.
37263         (POLL_MSG): Likewise.
37264         (POLL_ERR): Likewise.
37265         (POLL_PRI): Likewise.
37266         (POLL_HUP): Likewise.
37267         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37268         (ILL_ILLOPN): Likewise.
37269         (ILL_ILLADR): Likewise.
37270         (ILL_ILLTRP): Likewise.
37271         (ILL_PRVOPC): Likewise.
37272         (ILL_PRVREG): Likewise.
37273         (ILL_COPROC): Likewise.
37274         (ILL_BADSTK): Likewise.
37275         (FPE_INTDIV): Likewise.
37276         (FPE_INTOVF): Likewise.
37277         (FPE_FLTDIV): Likewise.
37278         (FPE_FLTOVF): Likewise.
37279         (FPE_FLTUND): Likewise.
37280         (FPE_FLTRES): Likewise.
37281         (FPE_FLTINV): Likewise.
37282         (FPE_FLTSUB): Likewise.
37283         (SEGV_MAPERR): Likewise.
37284         (SEGV_ACCERR): Likewise.
37285         (BUS_ADRALN): Likewise.
37286         (BUS_ADRERR): Likewise.
37287         (BUS_OBJERR): Likewise.
37288         (BUS_MCEERR_AR): Likewise.
37289         (BUS_MCEERR_AO): Likewise.
37290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37291         (TRAP_TRACE): Likewise.
37292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37293         __USE_XOPEN2K8].
37294         (CLD_KILLED): Likewise.
37295         (CLD_DUMPED): Likewise.
37296         (CLD_TRAPPED): Likewise.
37297         (CLD_STOPPED): Likewise.
37298         (CLD_CONTINUED): Likewise.
37299         (POLL_IN): Likewise.
37300         (POLL_OUT): Likewise.
37301         (POLL_MSG): Likewise.
37302         (POLL_ERR): Likewise.
37303         (POLL_PRI): Likewise.
37304         (POLL_HUP): Likewise.
37305         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37306         (ILL_ILLOPN): Likewise.
37307         (ILL_ILLADR): Likewise.
37308         (ILL_ILLTRP): Likewise.
37309         (ILL_PRVOPC): Likewise.
37310         (ILL_PRVREG): Likewise.
37311         (ILL_COPROC): Likewise.
37312         (ILL_BADSTK): Likewise.
37313         (FPE_INTDIV): Likewise.
37314         (FPE_INTOVF): Likewise.
37315         (FPE_FLTDIV): Likewise.
37316         (FPE_FLTOVF): Likewise.
37317         (FPE_FLTUND): Likewise.
37318         (FPE_FLTRES): Likewise.
37319         (FPE_FLTINV): Likewise.
37320         (FPE_FLTSUB): Likewise.
37321         (SEGV_MAPERR): Likewise.
37322         (SEGV_ACCERR): Likewise.
37323         (BUS_ADRALN): Likewise.
37324         (BUS_ADRERR): Likewise.
37325         (BUS_OBJERR): Likewise.
37326         (BUS_MCEERR_AR): Likewise.
37327         (BUS_MCEERR_AO): Likewise.
37328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37329         (TRAP_TRACE): Likewise.
37330         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37331         __USE_XOPEN2K8].
37332         (CLD_KILLED): Likewise.
37333         (CLD_DUMPED): Likewise.
37334         (CLD_TRAPPED): Likewise.
37335         (CLD_STOPPED): Likewise.
37336         (CLD_CONTINUED): Likewise.
37337         (POLL_IN): Likewise.
37338         (POLL_OUT): Likewise.
37339         (POLL_MSG): Likewise.
37340         (POLL_ERR): Likewise.
37341         (POLL_PRI): Likewise.
37342         (POLL_HUP): Likewise.
37343         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37344         (ILL_ILLOPN): Likewise.
37345         (ILL_ILLADR): Likewise.
37346         (ILL_ILLTRP): Likewise.
37347         (ILL_PRVOPC): Likewise.
37348         (ILL_PRVREG): Likewise.
37349         (ILL_COPROC): Likewise.
37350         (ILL_BADSTK): Likewise.
37351         (FPE_INTDIV): Likewise.
37352         (FPE_INTOVF): Likewise.
37353         (FPE_FLTDIV): Likewise.
37354         (FPE_FLTOVF): Likewise.
37355         (FPE_FLTUND): Likewise.
37356         (FPE_FLTRES): Likewise.
37357         (FPE_FLTINV): Likewise.
37358         (FPE_FLTSUB): Likewise.
37359         (SEGV_MAPERR): Likewise.
37360         (SEGV_ACCERR): Likewise.
37361         (BUS_ADRALN): Likewise.
37362         (BUS_ADRERR): Likewise.
37363         (BUS_OBJERR): Likewise.
37364         (BUS_MCEERR_AR): Likewise.
37365         (BUS_MCEERR_AO): Likewise.
37366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37367         (TRAP_TRACE): Likewise.
37368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37369         __USE_XOPEN2K8].
37370         (CLD_KILLED): Likewise.
37371         (CLD_DUMPED): Likewise.
37372         (CLD_TRAPPED): Likewise.
37373         (CLD_STOPPED): Likewise.
37374         (CLD_CONTINUED): Likewise.
37375         (POLL_IN): Likewise.
37376         (POLL_OUT): Likewise.
37377         (POLL_MSG): Likewise.
37378         (POLL_ERR): Likewise.
37379         (POLL_PRI): Likewise.
37380         (POLL_HUP): Likewise.
37381         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37382         (ILL_ILLOPN): Likewise.
37383         (ILL_ILLADR): Likewise.
37384         (ILL_ILLTRP): Likewise.
37385         (ILL_PRVOPC): Likewise.
37386         (ILL_PRVREG): Likewise.
37387         (ILL_COPROC): Likewise.
37388         (ILL_BADSTK): Likewise.
37389         (ILL_DBLFLT): Likewise.
37390         (ILL_HARDWALL): Likewise.
37391         (FPE_INTDIV): Likewise.
37392         (FPE_INTOVF): Likewise.
37393         (FPE_FLTDIV): Likewise.
37394         (FPE_FLTOVF): Likewise.
37395         (FPE_FLTUND): Likewise.
37396         (FPE_FLTRES): Likewise.
37397         (FPE_FLTINV): Likewise.
37398         (FPE_FLTSUB): Likewise.
37399         (SEGV_MAPERR): Likewise.
37400         (SEGV_ACCERR): Likewise.
37401         (BUS_ADRALN): Likewise.
37402         (BUS_ADRERR): Likewise.
37403         (BUS_OBJERR): Likewise.
37404         (BUS_MCEERR_AR): Likewise.
37405         (BUS_MCEERR_AO): Likewise.
37406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37407         (TRAP_TRACE): Likewise.
37408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37409         __USE_XOPEN2K8].
37410         (CLD_KILLED): Likewise.
37411         (CLD_DUMPED): Likewise.
37412         (CLD_TRAPPED): Likewise.
37413         (CLD_STOPPED): Likewise.
37414         (CLD_CONTINUED): Likewise.
37415         (POLL_IN): Likewise.
37416         (POLL_OUT): Likewise.
37417         (POLL_MSG): Likewise.
37418         (POLL_ERR): Likewise.
37419         (POLL_PRI): Likewise.
37420         (POLL_HUP): Likewise.
37421         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37422         (ILL_ILLOPN): Likewise.
37423         (ILL_ILLADR): Likewise.
37424         (ILL_ILLTRP): Likewise.
37425         (ILL_PRVOPC): Likewise.
37426         (ILL_PRVREG): Likewise.
37427         (ILL_COPROC): Likewise.
37428         (ILL_BADSTK): Likewise.
37429         (FPE_INTDIV): Likewise.
37430         (FPE_INTOVF): Likewise.
37431         (FPE_FLTDIV): Likewise.
37432         (FPE_FLTOVF): Likewise.
37433         (FPE_FLTUND): Likewise.
37434         (FPE_FLTRES): Likewise.
37435         (FPE_FLTINV): Likewise.
37436         (FPE_FLTSUB): Likewise.
37437         (SEGV_MAPERR): Likewise.
37438         (SEGV_ACCERR): Likewise.
37439         (BUS_ADRALN): Likewise.
37440         (BUS_ADRERR): Likewise.
37441         (BUS_OBJERR): Likewise.
37442         (BUS_MCEERR_AR): Likewise.
37443         (BUS_MCEERR_AO): Likewise.
37444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37445         (TRAP_TRACE): Likewise.
37446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37447         __USE_XOPEN2K8].
37448         (CLD_KILLED): Likewise.
37449         (CLD_DUMPED): Likewise.
37450         (CLD_TRAPPED): Likewise.
37451         (CLD_STOPPED): Likewise.
37452         (CLD_CONTINUED): Likewise.
37453         (POLL_IN): Likewise.
37454         (POLL_OUT): Likewise.
37455         (POLL_MSG): Likewise.
37456         (POLL_ERR): Likewise.
37457         (POLL_PRI): Likewise.
37458         (POLL_HUP): Likewise.
37459         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37460         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37462         [BZ #16670]
37463         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37464         before #include of <time.h>.
37465         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37466         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37467         (test-xfail-UNIX98/sched.h/conform): Likewise.
37469 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37471         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37472         error absence of trapping exception support.
37473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37475 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37477         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37478         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37479         * timezone/Makefile (testdata): Move definition above include of
37480         Rules.
37481         (test-zones): New variable.
37482         (tests-special): Add zone files.
37483         (build-testdata): Use $(evaluate-test).
37485         * elf/Makefile (tests-special): Rename tests to end with .out.
37486         ($(objpfx)noload-mem): Likewise.
37487         ($(objpfx)tst-leaks1-mem): Likewise.
37488         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37489         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37490         $(objpfx)test-iconvconfig.out.
37491         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37492         set -e inside subshell and redirect output to file.
37493         * iconvdata/Makefile (generated): Rename tests to end with .out.
37494         Correct type.
37495         (tests-special): Rename tests to end with .out.
37496         ($(objpfx)mtrace-tst-loading): Likewise.
37497         * intl/Makefile (generated): Likewise.
37498         (tests-special): Likewise.
37499         ($(objpfx)mtrace-tst-gettext): Likewise.
37500         * misc/Makefile (generated): Likewise.
37501         (tests-special): Likewise.
37502         ($(objpfx)tst-error1-mem): Likewise.
37503         * nptl/Makefile (tests-special): Likewise.
37504         ($(objpfx)tst-stack3-mem): Likewise.
37505         (generated): Likewise.
37506         * posix/Makefile (generated): Likewise.
37507         (tests-special): Likewise.
37508         (xtests-special): Likewise.
37509         ($(objpfx)tst-fnmatch-mem): Likewise.
37510         ($(objpfx)bug-regex2-mem): Likewise.
37511         ($(objpfx)bug-regex14-mem): Likewise.
37512         ($(objpfx)bug-regex21-mem): Likewise.
37513         ($(objpfx)bug-regex31-mem): Likewise.
37514         ($(objpfx)tst-vfork3-mem): Likewise.
37515         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37516         ($(objpfx)tst-pcre-mem): Likewise.
37517         ($(objpfx)tst-boost-mem): Likewise.
37518         ($(objpfx)bug-ga2-mem): Likewise.
37519         ($(objpfx)bug-glob2-mem): Likewise.
37520         * resolv/Makefile (generate): Likewise.
37521         (tests-special): Likewise.
37522         (xtests-special): Likewise.
37523         (generated): Likewise.
37524         ($(objpfx)mtrace-tst-leaks): Likewise.
37525         ($(objpfx)mtrace-tst-leaks2): Likewise.
37527         * scripts/merge-test-results.sh: New file.
37528         * Makefile (tests-special-notdir): New variable.
37529         (tests): Run merge-test-results.sh.
37530         (xtests): Likewise.
37531         * Rules (tests-special-notdir): New variable.
37532         (xtests-special-notdir): Likewise.
37533         (tests): Run merge-test-results.sh
37534         (xtests): Likewise.
37536         * Makeconfig (test-xfail-name): New variable.
37537         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37538         compute variable name for expected failures.
37539         * conform/Makefile (conformtest-headers-data): New variable.
37540         (conformtest-standards): Likewise.
37541         (conformtest-headers-ISO): Likewise.
37542         (conformtest-headers-ISO99): Likewise.
37543         (conformtest-headers-ISO11): Likewise.
37544         (conformtest-headers-POSIX): Likewise.
37545         (conformtest-headers-XPG3): Likewise.
37546         (conformtest-headers-XPG4): Likewise.
37547         (conformtest-headers-UNIX98): Likewise.
37548         (conformtest-headers-XOPEN2K): Likewise.
37549         (conformtest-headers-POSIX2008): Likewise.
37550         (conformtest-headers-XOPEN2K8): Likewise.
37551         (conformtest-header-list-base): Likewise.
37552         (conformtest-header-list-tests): Likewise.
37553         (conformtest-header-base): Likewise.
37554         (conformtest-header-tests): Likewise.
37555         (tests-special): Add $(conformtest-header-list-tests).  If
37556         [$(fast-check) && !$(cross-compiling)], add
37557         $(conformtest-header-tests) instead of
37558         $(objpfx)run-conformtest.out.
37559         (generated): Add $(conformtest-header-list-base).  If
37560         [$(fast-check) && !$(cross-compiling)], add
37561         $(conformtest-header-base).  Remove previous setting.
37562         ($(conformtest-header-list-tests)): New target.
37563         (test-xfail-run-conformtest): Remove variable.
37564         ($(objpfx)run-conformtest.out): Remove target.
37565         (test-xfail-ISO11/complex.h/conform): New variable.
37566         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37567         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37568         (test-xfail-XPG3/varargs.h/conform): Likewise.
37569         (test-xfail-XPG4/varargs.h/conform): Likewise.
37570         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37571         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37572         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37573         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37574         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37575         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37576         (test-xfail-XPG3/ftw.h/conform): Likewise.
37577         (test-xfail-XPG3/grp.h/conform): Likewise.
37578         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37579         (test-xfail-XPG3/limits.h/conform): Likewise.
37580         (test-xfail-XPG3/pwd.h/conform): Likewise.
37581         (test-xfail-XPG3/search.h/conform): Likewise.
37582         (test-xfail-XPG3/signal.h/conform): Likewise.
37583         (test-xfail-XPG3/stdio.h/conform): Likewise.
37584         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37585         (test-xfail-XPG3/string.h/conform): Likewise.
37586         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37587         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37588         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37589         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37590         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37591         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37592         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37593         (test-xfail-XPG3/termios.h/conform): Likewise.
37594         (test-xfail-XPG3/time.h/conform): Likewise.
37595         (test-xfail-XPG3/unistd.h/conform): Likewise.
37596         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37597         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37598         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37599         (test-xfail-XPG4/netdb.h/conform): Likewise.
37600         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37601         (test-xfail-XPG4/signal.h/conform): Likewise.
37602         (test-xfail-XPG4/stdio.h/conform): Likewise.
37603         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37604         (test-xfail-XPG4/stropts.h/conform): Likewise.
37605         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37606         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37607         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37608         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37609         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37610         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37611         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37612         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37613         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37614         (test-xfail-XPG4/termios.h/conform): Likewise.
37615         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37616         (test-xfail-XPG4/unistd.h/conform): Likewise.
37617         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37618         (test-xfail-POSIX/sched.h/conform): Likewise.
37619         (test-xfail-POSIX/signal.h/conform): Likewise.
37620         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37621         (test-xfail-POSIX/tar.h/conform): Likewise.
37622         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37623         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37624         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37625         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37626         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37627         (test-xfail-UNIX98/sched.h/conform): Likewise.
37628         (test-xfail-UNIX98/signal.h/conform): Likewise.
37629         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37630         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37631         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37632         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37633         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37634         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37635         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37636         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37637         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37638         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37639         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37640         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37641         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37642         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37643         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37644         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37645         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37646         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37647         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37648         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37649         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37650         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37651         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37652         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37653         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37654         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37655         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37656         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37657         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37658         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37659         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37660         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37661         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37662         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37663         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37664         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37665         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37666         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37667         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37668         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37669         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37670         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37671         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37672         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37673         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37674         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37675         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37676         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37677         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37678         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37679         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37680         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37681         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37682         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37683         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37684         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37685         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37686         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37687         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37688         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37689         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37690         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37691         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37692         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37693         (conformtest-cc-flags): Likewise.
37694         ($(conformtest-header-tests): New target.
37695         * conform/check-header-lists.sh: New file.
37696         * conform/run-conformtest.sh: Remove.
37698         * conform/conformtest.pl: Allow ' and \ in values given for
37699         constants.
37700         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37701         inclusion.
37702         [POSIX] (sys/types.h): Likewise.
37703         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37704         inclusion.
37705         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37706         inclusion.
37707         * conform/data/signal.h-data (SIGIO): Remove expectation.
37708         [XPG3] (SIGBUS): Do not expect.
37709         [POSIX || XPG3] (SIGPOLL): Likewise.
37710         [POSIX || XPG3] (SIGPROF): Likewise.
37711         [POSIX || XPG3] (SIGSYS): Likewise.
37712         [XPG3] (SIGTRAP): Likewise.
37713         [POSIX || XPG3] (SIGURG): Likewise.
37714         [POSIX || XPG3] (SIGVTALRM): Likewise.
37715         [POSIX || XPG3] (SIGXCPU): Likewise.
37716         [POSIX || XPG3] (SIGXFSZ): Likewise.
37717         [POSIX] (SA_SIGINFO): Expect.
37718         [XPG3] (siginfo_t): Do not expect type or contents.
37719         [POSIX] (si_pid): Do not expect element.
37720         [POSIX] (si_uid): Likewise.
37721         [POSIX] (si_addr): Likewise.
37722         [POSIX] (si_status): Likewise.
37723         [POSIX] (si_band): Likewise.
37724         [XPG4] (si_value): Likewise.
37725         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37726         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37727         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37728         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37729         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37730         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37731         [POSIX || XPG3] (ILL_COPROC): Likewise.
37732         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37733         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37734         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37735         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37736         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37737         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37738         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37739         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37740         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37741         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37742         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37743         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37744         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37745         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37746         [POSIX || XPG3] (CLD_EXITED): Likewise.
37747         [POSIX || XPG3] (CLD_KILLED): Likewise.
37748         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37749         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37750         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37751         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37752         [POSIX || XPG3] (POLL_IN): Likewise.
37753         [POSIX || XPG3] (POLL_OUT): Likewise.
37754         [POSIX || XPG3] (POLL_MSG): Likewise.
37755         [POSIX || XPG3] (POLL_ERR): Likewise.
37756         [POSIX || XPG3] (POLL_PRI): Likewise.
37757         [POSIX || XPG3] (POLL_HUP): Likewise.
37758         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37759         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37760         (SIG*): Do not allow.
37761         [XPG3] (si_*): Likewise.
37762         [XPG3] (SI_*): Likewise.
37763         [XPG3 || XPG4] (sigev_*): Likewise.
37764         [XPG3 || XPG4] (SIGEV_*): Likewise.
37765         [XPG3 || XPG4] (sival_*): Likewise.
37766         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37767         [POSIX || XPG3] (BUS_*): Likewise.
37768         [POSIX || XPG3] (CLD_*): Likewise.
37769         [POSIX || XPG3] (FPE_*): Likewise.
37770         [POSIX || XPG3] (ILL_*): Likewise.
37771         [POSIX || XPG3] (POLL_*): Likewise.
37772         [POSIX || XPG3] (SEGV_*): Likewise.
37773         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37774         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37775         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37776         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37777         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37778         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37779         Specify type and value.
37780         (TVERSLEN): Likewise.
37781         (REGTYPE): Likewise.
37782         (AREGTYPE): Likewise.
37783         (LNKTYPE): Likewise.
37784         (SYMTYPE): Likewise.
37785         (CHRTYPE): Likewise.
37786         (BLKTYPE): Likewise.
37787         (DIRTYPE): Likewise.
37788         (FIFOTYPE): Likewise.
37789         (CONTTYPE): Likewise.
37790         (TSUID): Likewise.
37791         (TSGID): Likewise.
37792         (TSVTX): Likewise.
37793         (TUREAD): Likewise.
37794         (TUWRITE): Likewise.
37795         (TUEXEC): Likewise.
37796         (TGREAD): Likewise.
37797         (TGWRITE): Likewise.
37798         (TGEXEC): Likewise.
37799         (TOREAD): Likewise.
37800         (TOWRITE): Likewise.
37801         (TOEXEC): Likewise.
37802         [POSIX] (TSVTX): Expect constant.
37804 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37806         * Makefile (tests): Change dependencies to ....
37807         (tests-special): ... additions to this variable.
37808         (tests): Depend on $(tests-special).
37809         * Makerules (check-abi-list): New variable.
37810         (check-abi): Depend on $(check-abi-list).
37811         [$(subdir) = elf] (tests-special): Add
37812         $(objpfx)check-abi-libc.out.
37813         [$(build-shared) = yes && subdir] (tests-special): Add
37814         $(check-abi-list).
37815         [$(build-shared) = yes && subdir] (tests): Do not depend on
37816         check-abi.
37817         * Rules (tests): Depend on $(tests-special).
37818         (xtests): Depend on $(xtests-special).
37819         * catgets/Makefile (tests): Change dependencies to ....
37820         (tests-special): ... additions to this variable.
37821         * conform/Makefile (tests): Change dependencies to ....
37822         (tests-special): ... additions to this variable.
37823         * elf/Makefile (tests): Change dependencies to ....
37824         (tests-special): ... additions to this variable.
37825         * grp/Makefile (tests): Change dependencies to ....
37826         (tests-special): ... additions to this variable.
37827         * iconv/Makefile (xtests): Change dependencies to ....
37828         (xtests-special): ... additions to this variable.
37829         * iconvdata/Makefile (tests): Change dependencies to ....
37830         (tests-special): ... additions to this variable.
37831         * intl/Makefile (tests): Change dependencies to ....
37832         (tests-special): ... additions to this variable.  Also add
37833         $(objpfx)tst-gettext.out.
37834         * io/Makefile (tests): Change dependencies to ....
37835         (tests-special): ... additions to this variable.
37836         * libio/Makefile (tests): Change dependencies to ....
37837         (tests-special): ... additions to this variable.
37838         * malloc/Makefile (tests): Change dependencies to ....
37839         (tests-special): ... additions to this variable.
37840         * misc/Makefile (tests): Change dependencies to ....
37841         (tests-special): ... additions to this variable.
37842         * nptl/Makefile (tests): Change dependencies to ....
37843         (tests-special): ... additions to this variable.
37844         * nptl_db/Makefile (tests): Change dependencies to ....
37845         (tests-special): ... additions to this variable.
37846         * posix/Makefile (tests): Change dependencies to ....
37847         (tests-special): ... additions to this variable.
37848         (xtests): Change dependencies to ....
37849         (xtests-special): ... additions to this variable.
37850         * resolv/Makefile (tests): Change dependencies to ....
37851         (tests-special): ... additions to this variable.
37852         (xtests): Change dependencies to ....
37853         (xtests-special): ... additions to this variable.
37854         * stdio-common/Makefile (tests): Change dependencies to ....
37855         (tests-special): ... additions to this variable.
37856         (do-tst-unbputc): Remove target.
37857         (do-tst-printf): Likewise.
37858         * stdlib/Makefile (tests): Change dependencies to ....
37859         (tests-special): ... additions to this variable.
37860         * string/Makefile (tests): Change dependencies to ....
37861         (tests-special): ... additions to this variable.
37862         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37863         (tests-special): ... additions to this variable.
37865         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37866         whole file.
37867         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37868         whole file.
37869         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37870         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37872         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37873         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37874         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37875         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37876         * conform/data/libgen.h-data [XPG3]: Likewise.
37877         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37878         * conform/data/ndbm.h-data [XPG3]: Likewise.
37879         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37880         * conform/data/netdb.h-data [XPG3]: Likewise.
37881         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37882         * conform/data/poll.h-data [XPG3]: Likewise.
37883         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37884         * conform/data/strings.h-data [XPG3]: Likewise.
37885         * conform/data/stropts.h-data [XPG3]: Likewise.
37886         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37887         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37888         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37889         Likewise.
37890         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37891         * conform/data/sys/time.h-data [XPG3]: Likewise.
37892         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37893         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37894         * conform/data/sys/un.h-data [XPG3]: Likewise.
37895         * conform/data/syslog.h-data [XPG3]: Likewise.
37896         * conform/data/ucontext.h-data [XPG3]: Likewise.
37897         * conform/data/utmpx.h-data [XPG3]: Likewise.
37898         * conform/data/varargs.h-data [UNIX98]: Enable file.
37900         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37902         * math/libm-test.inc (struct test_f_f_data): Move expected results
37903         into structure for each rounding mode.
37904         (struct test_ff_f_data): Likewise.
37905         (struct test_ff_f_data_nexttoward): Likewise.
37906         (struct test_fi_f_data): Likewise.
37907         (struct test_fl_f_data): Likewise.
37908         (struct test_if_f_data): Likewise.
37909         (struct test_fff_f_data): Likewise.
37910         (struct test_c_f_data): Likewise.
37911         (struct test_f_f1_data): Likewise.
37912         (struct test_fF_f1_data): Likewise.
37913         (struct test_ffI_f1_data): Likewise.
37914         (struct test_c_c_data): Likewise.
37915         (struct test_cc_c_data): Likewise.
37916         (struct test_f_i_data): Likewise.
37917         (struct test_ff_i_data): Likewise.
37918         (struct test_f_l_data): Likewise.
37919         (struct test_f_L_data): Likewise.
37920         (struct test_fFF_11_data): Likewise.
37921         (RM_): New macro.
37922         (RM_FE_DOWNWARD): Likewise.
37923         (RM_FE_TONEAREST): Likewise.
37924         (RM_FE_TOWARDZERO): Likewise.
37925         (RM_FE_UPWARD): Likewise.
37926         (RUN_TEST_LOOP_f_f): Update references to expected results.
37927         (RUN_TEST_LOOP_2_f): Likewise.
37928         (RUN_TEST_LOOP_fff_f): Likewise.
37929         (RUN_TEST_LOOP_c_f): Likewise.
37930         (RUN_TEST_LOOP_f_f1): Likewise.
37931         (RUN_TEST_LOOP_fF_f1): Likewise.
37932         (RUN_TEST_LOOP_fI_f1): Likewise.
37933         (RUN_TEST_LOOP_ffI_f1): Likewise.
37934         (RUN_TEST_LOOP_c_c): Likewise.
37935         (RUN_TEST_LOOP_cc_c): Likewise.
37936         (RUN_TEST_LOOP_f_i): Likewise.
37937         (RUN_TEST_LOOP_f_i_tg): Likewise.
37938         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37939         (RUN_TEST_LOOP_f_b): Likewise.
37940         (RUN_TEST_LOOP_f_b_tg): Likewise.
37941         (RUN_TEST_LOOP_f_l): Likewise.
37942         (RUN_TEST_LOOP_f_L): Likewise.
37943         (RUN_TEST_LOOP_fFF_11): Likewise.
37944         * math/gen-libm-test.pl (parse_args): Output four copies of
37945         expected results for each test.
37947         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37948         (__ASSUME_UTIMES): Remove.
37949         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37950         (__ASSUME_UTIMES): Likewise.
37952         * math/gen-auto-libm-tests.c: Update comment on output format.
37953         (output_for_one_input_case): Generate before-rounding and
37954         after-rounding information as conditions on output flags not
37955         floating-point format.
37956         * math/auto-libm-test-out: Regenerated.
37957         * math/gen-libm-test.pl (cond_value): New function.
37958         (or_cond_value): Use cond_value.
37959         (generate_testfile): Handle conditional exceptions.
37961 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37963         * math/libm-test.inc (max_valid_error): New variable.
37964         (init_max_error): Take new argument specifying whether function
37965         results are exactly determined.  Set max_valid_error and bound
37966         other variables for errors based on this argument.
37967         (set_max_error): Do not record results above max_valid_error.
37968         (check_float_internal): Only accept errors of up to 0.5ulps if
37969         also at most max_valid_error.
37970         (START): Take new argument EXACT and pass it to init_max_error.
37971         (acos_test): Update call to START.
37972         (acos_test_tonearest): Likewise.
37973         (acos_test_towardzero): Likewise.
37974         (acos_test_downward): Likewise.
37975         (acos_test_upward): Likewise.
37976         (acosh_test): Likewise.
37977         (asin_test): Likewise.
37978         (asin_test_tonearest): Likewise.
37979         (asin_test_towardzero): Likewise.
37980         (asin_test_downward): Likewise.
37981         (asin_test_upward): Likewise.
37982         (asinh_test): Likewise.
37983         (atan_test): Likewise.
37984         (atanh_test): Likewise.
37985         (atan2_test): Likewise.
37986         (cabs_test): Likewise.
37987         (cacos_test): Likewise.
37988         (cacosh_test): Likewise.
37989         (carg_test): Likewise.
37990         (casin_test): Likewise.
37991         (casinh_test): Likewise.
37992         (catan_test): Likewise.
37993         (catanh_test): Likewise.
37994         (cbrt_test): Likewise.
37995         (ccos_test): Likewise.
37996         (ccosh_test): Likewise.
37997         (ceil_test): Likewise.
37998         (cexp_test): Likewise.
37999         (cimag_test): Likewise.
38000         (clog_test): Likewise.
38001         (clog10_test): Likewise.
38002         (conj_test): Likewise.
38003         (copysign_test): Likewise.
38004         (cos_test): Likewise.
38005         (cos_test_tonearest): Likewise.
38006         (cos_test_towardzero): Likewise.
38007         (cos_test_downward): Likewise.
38008         (cos_test_upward): Likewise.
38009         (cosh_test): Likewise.
38010         (cosh_test_tonearest): Likewise.
38011         (cosh_test_towardzero): Likewise.
38012         (cosh_test_downward): Likewise.
38013         (cosh_test_upward): Likewise.
38014         (cpow_test): Likewise.
38015         (cproj_test): Likewise.
38016         (creal_test): Likewise.
38017         (csin_test): Likewise.
38018         (csinh_test): Likewise.
38019         (csqrt_test): Likewise.
38020         (ctan_test): Likewise.
38021         (ctan_test_tonearest): Likewise.
38022         (ctan_test_towardzero): Likewise.
38023         (ctan_test_downward): Likewise.
38024         (ctan_test_upward): Likewise.
38025         (ctanh_test): Likewise.
38026         (ctanh_test_tonearest): Likewise.
38027         (ctanh_test_towardzero): Likewise.
38028         (ctanh_test_downward): Likewise.
38029         (ctanh_test_upward): Likewise.
38030         (erf_test): Likewise.
38031         (erfc_test): Likewise.
38032         (exp_test): Likewise.
38033         (exp_test_tonearest): Likewise.
38034         (exp_test_towardzero): Likewise.
38035         (exp_test_downward): Likewise.
38036         (exp_test_upward): Likewise.
38037         (exp10_test): Likewise.
38038         (exp10_test_tonearest): Likewise.
38039         (exp10_test_towardzero): Likewise.
38040         (exp10_test_downward): Likewise.
38041         (exp10_test_upward): Likewise.
38042         (pow10_test): Likewise.
38043         (exp2_test): Likewise.
38044         (expm1_test): Likewise.
38045         (expm1_test_tonearest): Likewise.
38046         (expm1_test_towardzero): Likewise.
38047         (expm1_test_downward): Likewise.
38048         (expm1_test_upward): Likewise.
38049         (fabs_test): Likewise.
38050         (fdim_test): Likewise.
38051         (floor_test): Likewise.
38052         (fma_test): Likewise.
38053         (fma_test_towardzero): Likewise.
38054         (fma_test_downward): Likewise.
38055         (fma_test_upward): Likewise.
38056         (fmax_test): Likewise.
38057         (fmin_test): Likewise.
38058         (fmod_test): Likewise.
38059         (fpclassify_test): Likewise.
38060         (frexp_test): Likewise.
38061         (hypot_test): Likewise.
38062         (ilogb_test): Likewise.
38063         (isfinite_test): Likewise.
38064         (finite_test): Likewise.
38065         (isgreater_test): Likewise.
38066         (isgreaterequal_test): Likewise.
38067         (isinf_test): Likewise.
38068         (isless_test): Likewise.
38069         (islessequal_test): Likewise.
38070         (islessgreater_test): Likewise.
38071         (isnan_test): Likewise.
38072         (isnormal_test): Likewise.
38073         (issignaling_test): Likewise.
38074         (isunordered_test): Likewise.
38075         (j0_test): Likewise.
38076         (j1_test): Likewise.
38077         (jn_test): Likewise.
38078         (ldexp_test): Likewise.
38079         (lgamma_test): Likewise.
38080         (gamma_test): Likewise.
38081         (lrint_test): Likewise.
38082         (lrint_test_tonearest): Likewise.
38083         (lrint_test_towardzero): Likewise.
38084         (lrint_test_downward): Likewise.
38085         (lrint_test_upward): Likewise.
38086         (llrint_test): Likewise.
38087         (llrint_test_tonearest): Likewise.
38088         (llrint_test_towardzero): Likewise.
38089         (llrint_test_downward): Likewise.
38090         (llrint_test_upward): Likewise.
38091         (log_test): Likewise.
38092         (log10_test): Likewise.
38093         (log1p_test): Likewise.
38094         (log2_test): Likewise.
38095         (logb_test): Likewise.
38096         (logb_test_downward): Likewise.
38097         (lround_test): Likewise.
38098         (llround_test): Likewise.
38099         (modf_test): Likewise.
38100         (nearbyint_test): Likewise.
38101         (nextafter_test): Likewise.
38102         (nexttoward_test): Likewise.
38103         (pow_test): Likewise.
38104         (pow_test_tonearest): Likewise.
38105         (pow_test_towardzero): Likewise.
38106         (pow_test_downward): Likewise.
38107         (pow_test_upward): Likewise.
38108         (remainder_test): Likewise.
38109         (drem_test): Likewise.
38110         (remainder_test_tonearest): Likewise.
38111         (drem_test_tonearest): Likewise.
38112         (remainder_test_towardzero): Likewise.
38113         (drem_test_towardzero): Likewise.
38114         (remainder_test_downward): Likewise.
38115         (drem_test_downward): Likewise.
38116         (remainder_test_upward): Likewise.
38117         (drem_test_upward): Likewise.
38118         (remquo_test): Likewise.
38119         (rint_test): Likewise.
38120         (rint_test_tonearest): Likewise.
38121         (rint_test_towardzero): Likewise.
38122         (rint_test_downward): Likewise.
38123         (rint_test_upward): Likewise.
38124         (round_test): Likewise.
38125         (scalb_test): Likewise.
38126         (scalbn_test): Likewise.
38127         (scalbln_test): Likewise.
38128         (signbit_test): Likewise.
38129         (sin_test): Likewise.
38130         (sin_test_tonearest): Likewise.
38131         (sin_test_towardzero): Likewise.
38132         (sin_test_downward): Likewise.
38133         (sin_test_upward): Likewise.
38134         (sincos_test): Likewise.
38135         (sinh_test): Likewise.
38136         (sinh_test_tonearest): Likewise.
38137         (sinh_test_towardzero): Likewise.
38138         (sinh_test_downward): Likewise.
38139         (sinh_test_upward): Likewise.
38140         (sqrt_test): Likewise.
38141         (sqrt_test_tonearest): Likewise.
38142         (sqrt_test_towardzero): Likewise.
38143         (sqrt_test_downward): Likewise.
38144         (sqrt_test_upward): Likewise.
38145         (tan_test): Likewise.
38146         (tan_test_tonearest): Likewise.
38147         (tan_test_towardzero): Likewise.
38148         (tan_test_downward): Likewise.
38149         (tan_test_upward): Likewise.
38150         (tanh_test): Likewise.
38151         (tgamma_test): Likewise.
38152         (trunc_test): Likewise.
38153         (y0_test): Likewise.
38154         (y1_test): Likewise.
38155         (yn_test): Likewise.
38156         (significand_test): Likewise.
38158         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38159         individual tests in comment.
38160         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38161         (prev_max_error): New variable.
38162         (prev_real_max_error): Likewise.
38163         (prev_imag_max_error): Likewise.
38164         (compare_ulp_data): Don't refer to test names in comment.
38165         (find_test_ulps): Remove function.
38166         (find_function_ulps): Likewise.
38167         (find_complex_function_ulps): Likewise.
38168         (init_max_error): Take function name as argument.  Look up ulps
38169         for that function.
38170         (print_ulps): Remove function.
38171         (print_max_error): Use prev_max_error instead of calling
38172         find_function_ulps.
38173         (print_complex_max_error): Use prev_real_max_error and
38174         prev_imag_max_error instead of calling find_complex_function_ulps.
38175         (check_float_internal): Take max_ulp parameter instead of calling
38176         find_test_ulps.  Don't call print_ulps.
38177         (check_float): Update call to check_float_internal.
38178         (check_complex): Update calls to check_float_internal.
38179         (START): Pass argument to init_max_error.
38180         * math/gen-libm-test.pl (%results): Don't include "kind"
38181         information.
38182         (parse_ulps): Don't handle ulps of individual tests.
38183         (print_ulps_file): Likewise.
38184         (output_ulps): Likewise.
38185         * math/README.libm-test: Update.
38186         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38187         individual tests.
38188         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38189         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38190         * sysdeps/arm/libm-test-ulps: Likewise.
38191         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38192         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38193         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38194         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38195         * sysdeps/microblaze/libm-test-ulps: Likewise.
38196         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38197         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38199         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38200         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38201         * sysdeps/sh/libm-test-ulps: Likewise.
38202         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38203         * sysdeps/tile/libm-test-ulps: Likewise.
38204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38206 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38208         * math/libm-test.inc (print_complex_max_error): Check separately
38209         whether real and imaginary errors are within allowed range and
38210         pass 0 to print_complex_function_ulps instead of value within
38211         allowed range.
38213 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38215         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38216         formatting.
38217         (get_handles_fopen): Likewise.
38218         (do_write_test): Likewise.
38220         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38222         * libio/fileops.c (do_ftell): Use cached offset when
38223         available.
38224         * libio/iofwide.c (do_ftell_wide): Likewise.
38225         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38226         _IO_file_attach.
38227         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38229         [BZ #16532]
38230         * libio/libioP.h (get_file_offset): New function.
38231         * libio/fileops.c (get_file_offset): Likewise.
38232         (do_ftell): Likewise.
38233         (_IO_new_file_seekoff): Split out ftell logic.
38234         * libio/wfileops.c (do_ftell_wide): Likewise.
38235         (_IO_wfile_seekoff): Split out ftell logic.
38236         * libio/tst-ftell-active-handler.c: New test case.
38237         * libio/Makefile (tests): Add it.
38239 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38241         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38242         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38244 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38246         [BZ #16639]
38247         * nscd/connections.c (nscd_init): Call do_exit.
38248         (start_threads): Call do_exit and notify_parent.
38249         (begin_drop_privileges): Call do_exit.
38250         (finish_drop_privileges): Likewise.
38251         * nscd/selinux.c (preserve_capabilities): Likewise.
38252         (install_real_capabilities): Likewise.
38253         (nscd_selinux_enabled): Likewise.
38254         (avc_create_thread): Likewise.
38255         (avc_alloc_lock): Likewise.
38256         (nscd_avc_init): Likewise.
38257         * nscd/nscd.c (parent_fd): New static variable.
38258         (main): Create a pipe between parent and child processes.
38259         Skip closing parent_fd.
38260         (monitor_child): New function.
38261         (do_exit): Likewise.
38262         (notify_parent): Likewise.
38263         * nscd/nscd.h (notify_parent): Likewise.
38264         (do_exit): Likewise.
38266 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38268         * malloc/malloc.c (__libc_calloc): Revert last change.
38270 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38274 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38276         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38278         implementation.
38279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38280         (__libc_ifunc_impl_list): Likewise.
38281         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38282         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38283         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38284         * string/strrchr.c: Define STRRCHR.
38286 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38288         * benchtest/bench-strtok.c (simple_strtok): Delete.
38289         (strtok_string): Use as benchmark.
38290         * string/strtok (STRTOK): New macro.
38292 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38294         * manual/threads.texi: Add header and standard comments to all
38295         functions.
38297         * elf/dl-lookup.c (check_match): New function.
38298         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38299         (do_lookup_x): Remove nested function check_match. Use non-nested
38300         function check_match.
38302 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38304         * csu/Makefile (generated, before-compile): Use += rather than =.
38305         * catgets/Makefile (generated, generated-dirs): Likewise.
38306         * debug/Makefile (generated): Likewise.
38307         * dlfcn/Makefile (generated): Likewise.
38308         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38309         * iconvdata/Makefile (before-compile, generated): Likewise.
38310         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38311         * libio/Makefile (generated): Likewise.
38312         * malloc/Makefile (generated): Likewise.
38313         * manual/Makefile (generated, generated-dirs): Likewise.
38314         * misc/Makefile (generated): Likewise.
38315         * posix/Makefile (generated): Likewise.
38316         * resolv/Makefile (generated): Likewise.
38317         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38318         * timezone/Makefile (generated, generated-dirs): Likewise.
38320         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38322 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38325         power8 implementation.
38326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38327         file: POWER8 llround ifunc implementation.
38328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38329         (__lllround): Add POWER8 implementation.
38330         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38331         POWER8 llround implementation.
38333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38334         power8 implementation.
38335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38336         file: POWER8 llrint ifunc implementation.
38337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38338         Add POWER8 implementation.
38339         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38340         POWER8 llrint implementation.
38342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38343         power8 implementation.
38344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38345         file: POWER8 finite ifunc implementation.
38346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38347         Add POWER8 implementation.
38348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38349         Likewise.
38350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38351         POWER8 finite implementation.
38352         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38355         power8 implementation.
38356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38357         file: POWER8 isinf ifunc implementation.
38358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38359         POWER8 implementation.
38360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38361         Likewise.
38362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38363         isinf implementation.
38364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38366         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38367         (INIT_ARCH): Add hwcap2 initialization.
38368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38369         power8 implementation.
38370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38371         file: POWER8 isnan ifunc implementation.
38372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38373         POWER8 implementation.
38374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38375         Likewise.
38376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38377         isnan implementation.
38378         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38380 2014-02-27  Joey Ye  <joey.ye@arm.com>
38382         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38383         (_FP_NANFRAC_Q): Set to zero.
38385 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38387         [BZ #16623]
38388         * math/auto-libm-test-in: New test inputs.
38389         * math/auto-libm-test-out: Regenerate.
38390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38391         and DA.
38392         (__cos): Likewise.
38393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38395 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38397         * scripts/evaluate-test.sh: Take new argument indicating whether
38398         failure is expected.
38399         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38400         indicating whether failure is expected.
38401         * conform/Makefile (test-xfail-run-conformtest): New variable.
38402         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38403         level.
38404         * posix/Makefile (test-xfail-annexc): New variable.
38405         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38407 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38409         * argp/Makefile: Include Makeconfig immediately after defining
38410         subdir.
38411         * assert/Makefile: Likewise.
38412         * benchtests/Makefile: Likewise.
38413         * catgets/Makefile: Likewise.
38414         * conform/Makefile: Likewise.
38415         * crypt/Makefile: Likewise.
38416         * csu/Makefile: Likewise.
38417         (all): Remove target.
38418         * ctype/Makefile: Include Makeconfig immediately after defining
38419         subdir.
38420         * debug/Makefile: Likewise.
38421         * dirent/Makefile: Likewise.
38422         * dlfcn/Makefile: Likewise.
38423         * gmon/Makefile: Likewise.
38424         * gnulib/Makefile: Likewise.
38425         * grp/Makefile: Likewise.
38426         * gshadow/Makefile: Likewise.
38427         * hesiod/Makefile: Likewise.
38428         * hurd/Makefile: Likewise.
38429         (all): Remove target.
38430         * iconvdata/Makefile: Include Makeconfig immediately after
38431         defining subdir.
38432         * inet/Makefile: Likewise.
38433         * intl/Makefile: Likewise.
38434         * io/Makefile: Likewise.
38435         * libio/Makefile: Likewise.
38436         (all): Remove target.
38437         * locale/Makefile: Include Makeconfig immediately after defining
38438         subdir.
38439         * login/Makefile: Likewise.
38440         * mach/Makefile: Likewise.
38441         (all): Remove target.
38442         * malloc/Makefile: Include Makeconfig immediately after defining
38443         subdir.
38444         (all): Remove target.
38445         * manual/Makefile: Include Makeconfig immediately after defining
38446         subdir.
38447         * math/Makefile: Likewise.
38448         * misc/Makefile: Likewise.
38449         * nis/Makefile: Likewise.
38450         * nss/Makefile: Likewise.
38451         * po/Makefile: Likewise.
38452         (all): Remove target.
38453         * posix/Makefile: Include Makeconfig immediately after defining
38454         subdir.
38455         * pwd/Makefile: Likewise.
38456         * resolv/Makefile: Likewise.
38457         * resource/Makefile: Likewise.
38458         * rt/Makefile: Likewise.
38459         * setjmp/Makefile: Likewise.
38460         * shadow/Makefile: Likewise.
38461         * signal/Makefile: Likewise.
38462         * socket/Makefile: Likewise.
38463         * soft-fp/Makefile: Likewise.
38464         * stdio-common/Makefile: Likewise.
38465         * stdlib/Makefile: Likewise.
38466         * streams/Makefile: Likewise.
38467         * string/Makefile: Likewise.
38468         * sunrpc/Makefile: Likewise.
38469         (all): Remove target.
38470         * sysvipc/Makefile: Include Makeconfig immediately after defining
38471         subdir.
38472         * termios/Makefile: Likewise.
38473         * time/Makefile: Likewise.
38474         * timezone/Makefile: Likewise.
38475         (all): Remove target.
38476         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38477         subdir.
38478         * wctype/Makefile: Likewise.
38480 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38482         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38483         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38484         (libc_feholdexcept_setround_mips): Ditto.
38485         (libc_feholdsetround): New.
38486         (libc_feholdsetroundf): New.
38487         (libc_feholdsetroundl): New.
38488         (libc_feupdateenv_test_mips): New.
38489         (libc_feupdateenv_test): New.
38490         (libc_feupdateenv_testf): New.
38491         (libc_feupdateenv_testl): New.
38492         (libc_feresetround): New.
38493         (libc_feresetroundf): New.
38494         (libc_feresetroundl): New.
38495         (libc_fetestexcept_mips): New.
38496         (libc_fetestexcept): New.
38497         (libc_fetestexceptf): New.
38498         (libc_fetestexceptl): New.
38499         (HAVE_RM_CTX): New.
38500         (libc_feholdexcept_setround_mips_ctx): New.
38501         (libc_feholdexcept_setround_ctx): New.
38502         (libc_feholdexcept_setroundf_ctx): New.
38503         (libc_feholdexcept_setroundl_ctx): New.
38504         (libc_fesetenv_mips_ctx): New.
38505         (libc_fesetenv_ctx): New.
38506         (libc_fesetenv_ctxf): New.
38507         (libc_fesetenv_ctxl): New.
38508         (libc_feupdateenv_mips_ctx): New.
38509         (libc_feupdateenv_ctx): New.
38510         (libc_feupdateenvf_ctx): New.
38511         (libc_feupdateenvl_ctx): New.
38512         (libc_feholdsetround_mips_ctx): New.
38513         (libc_feholdsetround_ctx): New.
38514         (libc_feholdsetroundf_ctx): New.
38515         (libc_feholdsetroundl_ctx): New.
38516         (libc_feresetround_mips_ctx): New.
38517         (libc_feresetround_ctx): New.
38518         (libc_feresetroundf_ctx): New.
38519         (libc_feresetroundl_ctx): New.
38521 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38523         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38525         * manual/ipc.texi: New file.
38526         * manual/Makefile (chapters): Add ipc.
38527         * manual/job.texi: Add "Inter-Process Communication" to next.
38528         * manual/process.texi: Add "Inter-Process Communication" to prev.
38530 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38534 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38536         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38538         * manual/arith.texi: Fix spaces after sentences.
38539         * manual/charset.texi: Likewise.
38540         * manual/errno.texi: Likewise.
38541         * manual/install.texi: Likewise.
38542         * manual/llio.texi: Likewise.
38543         * manual/locale.texi: Likewise.
38544         * manual/maint.texi: Likewise.
38545         * manual/math.texi: Likewise.
38546         * manual/memory.texi: Likewise.
38547         * manual/message.texi: Likewise.
38548         * manual/probes.texi: Likewise.
38549         * manual/resource.texi: Likewise.
38550         * manual/signal.texi: Likewise.
38551         * manual/socket.texi: Likewise.
38552         * manual/stdio.texi: Likewise.
38553         * manual/string.texi: Likewise.
38554         * manual/time.texi: Likewise.
38555         * manual/users.texi: Likewise.
38557 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38559         [BZ #16632]
38560         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38561         _DEFAULT_SOURCE is defined.
38563 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38564             Carlos O'Donell  <carlos@redhat.com>
38566         [BZ #16613]
38567         * elf/dl-tls.c (_dl_count_modids): New function.
38568         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38569         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38570         audit library and increment generation counter.
38571         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38572         * elf/tst-audit9.c: New file.
38573         * elf/tst-auditmod9a.c: New file.
38574         * elf/tst-auditmod9b.c: New file.
38575         * elf/Makefile: Add rules to build and run tst-audit9.
38577 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38579         [BZ #15347]
38580         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38582 2014-02-25  Will Newton  <will.newton@linaro.org>
38584         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38585         (__longjmp): Restore sp and lr before restoring callee
38586         saved registers.  Add longjmp and longjmp_target
38587         SystemTap probe point.
38588         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38589         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38590         Define to zero to match jmpbuf layout.
38591         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38592         (__sigsetjmp): Save sp and lr before saving callee
38593         saved registers.  Add setjmp SystemTap probe point.
38595 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38597         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38599 2014-02-24  Andreas Schwab  <schwab@suse.de>
38601         [BZ #15804]
38602         * elf/pldd.c (wait_for_ptrace_stop): New function.
38603         (main): Call it after attaching.
38605 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38607         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38608         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38609         Versions files is now verboten.
38610         * hurd/Versions (libc: GLIBC_2.0):
38611         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38612         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38613         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38614         * mach/Versions: Likewise.
38616         * csu/Versions: Remove unused %include.
38617         * resolv/Versions: Likewise.
38619 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38621         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38622         ($(objpfx)check-local-headers.out): Likewise.
38623         ($(objpfx)begin-end-check.out): Likewise.
38624         * Makerules (check-abi-%.out): Likewise.
38625         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38626         ($(objpfx)test2.cat): Likewise.
38627         ($(objpfx)de/libc.cat): Likewise.
38628         ($(objpfx)test-gencat.out): Likewise.
38629         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38630         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38631         ($(objpfx)noload-mem): Likewise.
38632         ($(objpfx)tst-pathopt.out): Likewise.
38633         ($(objpfx)tst-rtld-load-self.out): Likewise.
38634         ($(objpfx)tst-array1-cmp.out): Likewise.
38635         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38636         ($(objpfx)tst-array2-cmp.out): Likewise.
38637         ($(objpfx)tst-array3-cmp.out): Likewise.
38638         ($(objpfx)tst-array4-cmp.out): Likewise.
38639         ($(objpfx)tst-array5-cmp.out): Likewise.
38640         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38641         ($(objpfx)check-textrel.out): Likewise.
38642         ($(objpfx)check-execstack.out): Likewise.
38643         ($(objpfx)check-localplt.out): Likewise.
38644         ($(objpfx)order2-cmp.out): Likewise.
38645         ($(objpfx)tst-leaks1-mem): Likewise.
38646         ($(objpfx)tst-leaks1-static-mem): Likewise.
38647         ($(objpfx)tst-initorder-cmp.out): Likewise.
38648         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38649         ($(objpfx)tst-unused-dep.out): Likewise.
38650         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38651         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38652         * iconv/Makefile (test-iconvconfig): Likewise.
38653         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38654         ($(objpfx)iconv-test.out): Likewise.
38655         ($(objpfx)tst-tables.out): Likewise.
38656         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38657         ($(objpfx)tst-gettext.out): Likewise.
38658         ($(objpfx)tst-translit.out): Likewise.
38659         ($(objpfx)tst-gettext2.out): Likewise.
38660         ($(objpfx)tst-gettext4.out): Likewise.
38661         ($(objpfx)tst-gettext6.out): Likewise.
38662         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38663         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38664         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38665         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38666         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38667         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38668         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38669         ($(objpfx)wordexp-tst.out): Likewise.
38670         ($(objpfx)annexc.out): Likewise.
38671         ($(objpfx)tst-fnmatch-mem): Likewise.
38672         ($(objpfx)bug-regex2-mem): Likewise.
38673         ($(objpfx)bug-regex14-mem): Likewise.
38674         ($(objpfx)bug-regex21-mem): Likewise.
38675         ($(objpfx)bug-regex31-mem): Likewise.
38676         ($(objpfx)tst-vfork3-mem): Likewise.
38677         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38678         ($(objpfx)tst-pcre-mem): Likewise.
38679         ($(objpfx)tst-boost-mem): Likewise.
38680         ($(objpfx)tst-getconf.out): Likewise.
38681         ($(objpfx)bug-ga2-mem): Likewise.
38682         ($(objpfx)bug-glob2-mem): Likewise.
38683         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38684         ($(objpfx)mtrace-tst-leaks2): Likewise.
38685         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38686         ($(objpfx)tst-printf.out): Likewise.
38687         ($(objpfx)tst-setvbuf1.out): Likewise.
38688         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38689         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38690         ($(objpfx)tst-fmtmsg.out): Likewise.
38691         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38692         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38694         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38695         * bits/sigaction.h [__USE_MISC]: Likewise.
38696         * bits/waitstatus.h: Update #endif comments.
38697         * ctype/ctype.h: Likewise.
38698         * dirent/dirent.h: Likewise.
38699         [__USE_MISC]: Remove redundant conditionals.
38700         * grp/grp.h: Update #endif comments.
38701         [__USE_GNU]: Remove redundant conditionals.
38702         [__USE_MISC]: Likewise.
38703         * inet/netinet/in.h [__USE_GNU]: Likewise.
38704         * io/sys/stat.h [__USE_MISC]: Likewise.
38705         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38706         * libio/bits/stdio.h: Update #endif comments.
38707         [__USE_MISC]: Remove redundant conditionals.
38708         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38709         * libio/stdio.h: Update #endif comments.
38710         [__USE_MISC]: Remove redundant conditionals.
38711         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38712         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38713         * math/math.h: Update #else and #endif comments.
38714         [__USE_MISC]: Remove redundant conditionals.
38715         * misc/sys/uio.h: Update #endif comments.
38716         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38717         * posix/glob.h [__USE_MISC]: Likewise.
38718         * posix/sys/types.h: Update #endif comments.
38719         [__USE_MISC]: Remove redundant conditionals.
38720         * posix/sys/wait.h: Update #endif comments.
38721         [__USE_MISC]: Remove redundant conditionals.
38722         * posix/unistd.h: Update #endif comments.
38723         [__USE_MISC]: Remove redundant conditionals.
38724         * pwd/pwd.h [__USE_GNU]: Likewise.
38725         [__USE_MISC]: Likewise.
38726         * resolv/netdb.h [__USE_GNU]: Likewise.
38727         * signal/signal.h: Update #endif comments.
38728         [__USE_MISC]: Remove redundant conditionals.
38729         * stdlib/stdlib.h: Update #else and #endif comments.
38730         [__USE_MISC]: Remove redundant conditionals.
38731         [__USE_GNU]: Likewise.
38732         * string/bits/string2.h [__USE_MISC]: Likewise.
38733         * string/string.h: Update #endif comments.
38734         [__USE_MISC]: Remove redundant conditionals.
38735         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38736         Likewise.
38737         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38738         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38739         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38740         Likewise.
38741         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38742         Likewise.
38743         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38744         comments.
38745         [__USE_MISC]: Remove redundant conditionals.
38746         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38747         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38748         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38749         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38750         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38751         Likewise.
38752         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38753         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38754         Likewise.
38755         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38756         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38757         Likewise.
38758         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38759         Likewise.
38760         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38761         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38762         Likewise.
38763         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38764         Likewise.
38765         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38766         * sysdeps/x86/bits/string.h: Update #endif comments.
38767         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38768         conditionals.
38769         * time/sys/time.h: Update #endif comments.
38770         * time/time.h: Likewise.
38771         [__USE_MISC]: Remove redundant conditionals.
38773 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38775         [BZ #16600]
38776         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38778 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38780         * Versions.def (librt): Add GLIBC_2.17.
38782 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38784         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38785         synonym for _SYS_AUXV_H to allow direct inclusion.
38786         * sysdeps/sparc/bits/hwcap.h: Likewise.
38787         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38788         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38789         * sysdeps/sparc/sysdep.h: Likewise.
38791 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38793         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38795 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38797         * benchtests/bench-strrchr.c: Print length instead of position.
38799 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38801         [BZ #16611]
38802         * sysdeps/unix/sysv/linux/kernel-features.h
38803         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38804         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38805         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38806         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38807         Likewise.
38808         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38809         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38810         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38811         (__ASSUME_SENDMMSG): Define instead of using previous
38812         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38813         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38814         (__ASSUME_SENDMMSG_SYSCALL): Define.
38815         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38816         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38817         Likewise.
38818         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38819         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38820         Likewise.
38821         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38822         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38823         Likewise.
38824         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38825         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38826         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38827         [__ASSUME_SENDMMSG]: Change conditionals to
38828         [__ASSUME_SENDMMSG_SOCKETCALL].
38829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38830         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38831         Define.
38832         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38833         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38834         Likewise.
38835         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38836         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38837         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38838         [!__ASSUME_SENDMMSG]: Change conditional to
38839         [!__ASSUME_SENDMMSG_SOCKETCALL].
38840         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38841         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38842         Define.
38844         [BZ #16610]
38845         * sysdeps/unix/sysv/linux/kernel-features.h
38846         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38847         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38848         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38849         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38850         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38851         [__i386__ || __sparc__]
38852         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38853         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38854         (__ASSUME_RECVMMSG): Define instead of using previous
38855         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38856         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38857         (__ASSUME_RECVMMSG_SYSCALL): Define.
38858         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38860         Likewise.
38861         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38863         Likewise.
38864         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38865         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38866         Likewise.
38867         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38868         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38869         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38870         [__ASSUME_RECVMMSG]: Change condition to
38871         [__ASSUME_RECVMMSG_SOCKETCALL].
38872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38873         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38874         Define.
38875         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38876         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38878         Likewise.
38879         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38880         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38881         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38882         [!__ASSUME_RECVMMSG]: Change condition to
38883         [!__ASSUME_RECVMMSG_SOCKETCALL].
38884         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38885         (__ASSUME_RECVMMSG_SYSCALL): Define.
38887         [BZ #16609]
38888         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38889         __powerpc__ || __s390__ || __sh__ || __sparc__]
38890         (__ASSUME_SOCKETCALL): Define.
38891         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38892         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38893         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38894         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38895         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38896         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38897         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38898         (__ASSUME_ACCEPT4): Define instead of using previous
38899         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38900         __powerpc__ || __sparc__ || __s390__)] condition.
38901         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38902         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38903         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38904         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38905         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38906         [!__ASSUME_ACCEPT4]: Change condition to
38907         [!__ASSUME_ACCEPT4_SOCKETCALL].
38908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38909         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38910         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38912         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38913         __ASSUME_ACCEPT4_SYSCALL.
38914         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38915         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38916         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38917         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38918         __ASSUME_ACCEPT4_SYSCALL.
38919         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38920         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38921         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38922         [__ASSUME_ACCEPT4]: Change condition to
38923         [__ASSUME_ACCEPT4_SOCKETCALL].
38924         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38925         (__ASSUME_SOCKETCALL): Define.
38926         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38927         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38928         (__ASSUME_SOCKETCALL): Define.
38929         (__ASSUME_ACCEPT4): Remove.
38930         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38931         Define.
38932         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38933         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38934         Likewise.
38935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38936         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38938         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38939         macro.
38940         (HWCAP_ARM_LPAE): Likewise.
38941         (HWCAP_ARM_EVTSTRM): Likewise.
38942         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38943         Add vpfd32, lpae and evtstrm.
38944         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38945         Increase to 22.
38947 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38949         * math/auto-libm-test-in: Add tests of clog10.
38950         * math/auto-libm-test-out: Regenerated.
38951         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38952         * sysdeps/i386/fpu/libm-test-ulps: Update.
38953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38955 2014-02-18  Andreas Schwab  <schwab@suse.de>
38957         [BZ #16574]
38958         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38959         Store non-zero if the second buffer was newly allocated.
38960         (send_dg): Likewise.
38961         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38962         to send_vc and send_dg.
38963         (res_nsend): Pass NULL for ansp2_malloced.
38964         * resolv/res_query.c (__libc_res_nquery): Add parameter
38965         answerp2_malloced and pass it down to __libc_res_nsend.
38966         (res_nquery): Pass additional NULL to __libc_res_nquery.
38967         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38968         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38969         second answer buffer if answerp2_malloced was set.
38970         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38971         (__libc_res_nquerydomain): Add parameter
38972         answerp2_malloced and pass it down to __libc_res_nquery.
38973         (res_nquerydomain): Pass additional NULL to
38974         __libc_res_nquerydomain.
38975         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38976         additional NULL to __libc_res_nsend and __libc_res_nquery.
38977         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38978         additional NULL to __libc_res_nsearch.
38979         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38980         parameter of __libc_res_nsearch to check for separately allocated
38981         second buffer.
38982         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38983         __libc_res_nquery.
38984         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38985         additional NULL to __libc_res_nquery.
38986         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38987         __libc_res_nsearch.
38988         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38989         * include/resolv.h: Update prototypes of __libc_res_nquery,
38990         __libc_res_nsearch, __libc_res_nsend.
38992 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38994         * math/auto-libm-test-in: Add tests of fma.
38995         * math/auto-libm-test-out: Regenerated.
38996         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38997         (fma_towardzero_test_data): Likewise.
38998         (fma_downward_test_data): Likewise.
38999         (fma_upward_test_data): Likewise.
39000         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39001         mpc_mode.
39002         (rounding_modes): Add values for new field.
39003         (func_calc_method): Add value mpfr_fff_f.
39004         (func_calc_desc): Add mpfr_fff_f union field.
39005         (test_function): Add field exact_args.
39006         (FUNC): Add macro argument EXACT_ARGS.
39007         (FUNC_mpfr_f_f): Update call to FUNC.
39008         (FUNC_mpfr_f_f): Likewise.
39009         (FUNC_mpfr_ff_f): Likewise.
39010         (FUNC_mpfr_if_f): Likewise.
39011         (FUNC_mpc_c_f): Likewise.
39012         (FUNC_mpc_c_c): Likewise.
39013         (test_functions): Add fma.  Update calls to FUNC.
39014         (handle_input_arg): Add argument exact_args.
39015         (add_test): Update call to handle_input_arg.
39016         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39017         (output_for_one_input_case): Update call to calc_generic_results.
39018         Recalculate exact zero results in each rounding mode.
39020         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39021         non-negative before setting low bit.
39022         * math/auto-libm-test-in: Mark one asin test possibly having
39023         spurious underflow.
39024         * math/auto-libm-test-out: Regenerated.
39025         * sysdeps/i386/fpu/libm-test-ulps: Update.
39026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39028 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39030         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39031         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39032         ports/sysdeps/unix/sysv/linux/microblaze.
39033         * README: Add missing listing for microblaze*-*-linux-gnu.
39035 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39037         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39038         duplicate code
39040 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39042         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39043         * sysdeps/unix/sysv/linux/ia64: Move directory from
39044         ports/sysdeps/unix/sysv/linux/ia64.
39045         * README: Update listing for ia64-*-linux-gnu.
39047 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39048             Joseph Myers  <joseph@codesourcery.com>
39050         * Makeconfig (test-name): New variable.
39051         (evaluate-test): Likewise.
39052         * Makerules (do-test-clean): Remove .test-result files.
39053         (common-mostlyclean): Likewise.
39054         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39055         * scripts/evaluate-test.sh: New file.
39057 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39059         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39060         separate $(objpfx)tst-fopenloc-cmp.out and
39061         $(objpfx)tst-fopenloc-mem.out targets.
39062         (tests): Update dependencies.
39063         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39064         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39065         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39066         (tst-rxspencer-no-utf8-ARGS): New variable.
39067         (tst-rxspencer-no-utf8-ENV): Likewise.
39068         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39069         instead of $(objpfx)tst-rxspencer-mem.
39070         ($(objpfx)tst-rxspencer-mem): Change target to
39071         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39072         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39073         * posix/tst-rxspencer-no-utf8.c: New file.
39075         * elf/Makefile ($(objpfx)order.out): Remove rule.
39076         [$(run-built-tests) = yes] (tests): Depend on
39077         $(objpfx)order-cmp.out.
39078         ($(objpfx)order-cmp.out): New rule.
39079         [$(run-built-tests) = yes] (tests): Depend on
39080         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39081         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39082         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39083         $(objpfx)tst-array5-static-cmp.out.
39084         ($(objpfx)tst-array1.out): Remove rule.
39085         ($(objpfx)tst-array1-cmp.out): New rule.
39086         ($(objpfx)tst-array1-static.out): Remove rule.
39087         ($(objpfx)tst-array1-static-cmp.out): New rule.
39088         ($(objpfx)tst-array2.out): Remove rule.
39089         ($(objpfx)tst-array2-cmp.out): New rule.
39090         ($(objpfx)tst-array3.out): Remove rule.
39091         ($(objpfx)tst-array3-cmp.out): New rule.
39092         ($(objpfx)tst-array4.out): Remove rule.
39093         ($(objpfx)tst-array4-cmp.out): New rule.
39094         ($(objpfx)tst-array5.out): Remove rule.
39095         ($(objpfx)tst-array5-cmp.out): New rule.
39096         ($(objpfx)tst-array5-static.out): Remove rule.
39097         ($(objpfx)tst-array5-static-cmp.out): New rule.
39098         [$(run-built-tests) = yes] (tests): Depend on
39099         $(objpfx)order2-cmp.out.
39100         ($(objpfx)order2.out): Remove rule.
39101         ($(objpfx)order2-cmp.out): New rule.
39102         ($(objpfx)tst-initorder.out): Remove rule.
39103         [$(run-built-tests) = yes] (tests): Depend on
39104         $(objpfx)tst-initorder-cmp.out.
39105         ($(objpfx)tst-initorder-cmp.out): New rule.
39106         ($(objpfx)tst-initorder2.out): Remove rule.
39107         [$(run-built-tests) = yes] (tests): Depend on
39108         $(objpfx)tst-initorder2-cmp.out.
39109         ($(objpfx)tst-initorder2-cmp.out): New rule.
39110         [$(run-built-tests) = yes] (tests): Depend on
39111         $(objpfx)tst-unused-dep-cmp.out.
39112         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39113         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39114         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39115         on $(objpfx)tst-setvbuf1-cmp.out.
39116         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39117         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39118         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39119         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39120         ($(objpfx)tst-svc.out): Remove rule.
39121         ($(objpfx)tst-svc-cmp.out): New rule.
39123 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39125         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39126         * ctype/ctype.h [__USE_MISC]: Likewise.
39127         * dirent/dirent.h [__USE_MISC]: Likewise.
39128         * grp/grp.h [__USE_MISC]: Likewise.
39129         * io/fcntl.h [__USE_MISC]: Likewise.
39130         * io/sys/stat.h [__USE_MISC]: Likewise.
39131         * libio/stdio.h [__USE_MISC]: Likewise.
39132         * posix/unistd.h [__USE_MISC]: Likewise.
39133         * pwd/pwd.h [__USE_MISC]: Likewise.
39134         * stdlib.h [__USE_MISC]: Likewise.
39135         * string/bits/string2.h [__USE_MISC]: Likewise.
39136         * string/string.h [__USE_MISC]: Likewise.
39137         * time/time.h [__USE_MISC]: Likewise.
39139 2014-02-13  Andreas Schwab  <schwab@suse.de>
39141         [BZ #16574]
39142         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39143         second answer buffer if it was separately allocated.
39145 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39147         * sysdeps/mips/math-tests.h: Include <features.h>.
39148         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39149         (ROUNDING_TESTS_long_double): Do not define.
39150         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39151         (EXCEPTION_TESTS_long_double): Likewise.
39152         * sysdeps/mips/mips64/libm-test-ulps: Update.
39154         * include/features.h (__USE_BSD): Remove macro definitions.
39155         (__USE_SVID): Likewise.
39156         (_BSD_SOURCE): Likewise.
39157         (_SVID_SOURCE): Likewise.
39158         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39159         from definition of _DEFAULT_SOURCE.
39160         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39161         [_DEFAULT_SOURCE].
39162         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39163         * bits/mman.h [__USE_BSD]: Likewise.
39164         * bits/termios.h [__USE_BSD]: Likewise.
39165         * bits/waitstatus.h [__USE_BSD]: Likewise.
39166         * ctype/ctype.h [__USE_SVID]: Likewise.
39167         * dirent/dirent.h [__USE_BSD]: Likewise.
39168         * grp/grp.h [__USE_SVID]: Likewise.
39169         [__USE_BSD]: Likewise.
39170         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39171         * io/fcntl.h [__USE_BSD]: Likewise.
39172         * io/ftw.h [__USE_BSD]: Likewise.
39173         * io/sys/stat.h [__USE_BSD]: Likewise.
39174         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39175         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39176         * libio/stdio.h [__USE_SVID]: Likewise.
39177         [__USE_BSD]: Likewise.
39178         * math/math.h [__USE_SVID]: Likewise.
39179         [__USE_BSD]: Likewise.
39180         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39181         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39182         * misc/search.h [__USE_SVID]: Likewise.
39183         * misc/sys/mman.h [__USE_BSD]: Likewise.
39184         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39185         * misc/sys/uio.h [__USE_BSD]: Likewise.
39186         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39187         * posix/glob.h [__USE_BSD]: Likewise.
39188         * posix/regex.h [__USE_BSD]: Likewise.
39189         * posix/sys/types.h [__USE_BSD]: Likewise.
39190         [__USE_SVID]: Likewise.
39191         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39192         * posix/sys/wait.h [__USE_BSD]: Likewise.
39193         [__USE_SVID]: Likewise.
39194         * posix/unistd.h [__USE_BSD]: Likewise.
39195         [__USE_SVID]: Likewise.
39196         * pwd/pwd.h [__USE_SVID]: Likewise.
39197         * resolv/netdb.h [__USE_BSD]: Likewise.
39198         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39199         * signal/signal.h [__USE_BSD]: Likewise.
39200         [__USE_SVID]: Likewise.
39201         * socket/sys/socket.h [__USE_BSD]: Likewise.
39202         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39203         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39204         [__USE_SVID]: Likewise.
39205         * string/bits/string2.h [__USE_BSD]: Likewise.
39206         [__USE_SVID]: Likewise.
39207         * string/bits/string3.h [__USE_BSD]: Likewise.
39208         * string/endian.h [__USE_BSD]: Likewise.
39209         * string/string.h [__USE_SVID]: Likewise.
39210         [__USE_BSD]: Likewise.
39211         * string/strings.h [__USE_BSD]: Likewise.
39212         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39213         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39214         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39215         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39216         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39217         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39218         Likewise.
39219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39220         Likewise.
39221         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39222         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39223         Likewise.
39224         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39225         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39226         Likewise.
39227         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39228         Likewise.
39229         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39230         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39232         Likewise.
39233         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39234         Likewise.
39235         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39236         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39237         * termios/termios.h [__USE_BSD]: Likewise.
39238         * time/sys/time.h [__USE_BSD]: Likewise.
39239         * time/time.h [__USE_BSD]: Likewise.
39240         [__USE_SVID]: Likewise.
39242         * Makefile (subdir_targets): Remove subdir_lint.out.
39244         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39245         (do-tst-printf): Likewise.
39246         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39247         $(objpfx)tst-printf.out.
39249         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39251         * Makerules (check-abi-%): Change target to
39252         $(objpfx)check-abi-%.out.
39253         (check-abi target): Update dependencies.
39254         (check-abi-pattern variable): Redirect output of diff to $@.
39255         (check-abi variable): Likewise.
39256         * elf/Makefile (check-abi): Update dependencies.
39258         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39259         unused.
39260         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39261         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39262         subnormal range.
39263         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39264         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39265         value has largest subnormal exponent.
39266         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39267         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39268         * sysdeps/aarch64/soft-fp/sfp-machine.h
39269         (_FP_TININESS_AFTER_ROUNDING): New macro.
39270         * sysdeps/alpha/soft-fp/sfp-machine.h
39271         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39272         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39273         Likewise.
39274         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39275         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39276         * sysdeps/mips/soft-fp/sfp-machine.h
39277         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39278         * sysdeps/powerpc/soft-fp/sfp-machine.h
39279         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39280         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39281         Likewise.
39282         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39283         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39285         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39286         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39287         Likewise.
39289 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39291         [BZ #16545]
39292         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39293         model 1.
39295 2014-02-12  Richard Henderson  <rth@redhat.com>
39297         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39298         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39299         * sysdeps/unix/sysv/linux/alpha: Move directory from
39300         ports/sysdeps/unix/sysv/linux/alpha.
39301         * README: Update listing for alpha-*-linux-gnu.
39303 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39305         * include/features.h: Update comment documenting feature test
39306         macros.
39307         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39308         _DEFAULT_SOURCE.
39309         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39310         (_SVID_SOURCE): Likewise.
39311         (_DEFAULT_SOURCE): Update description of default features.
39312         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39313         with _GNU_SOURCE.
39314         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39315         (S_ISVTX): Likewise.
39316         * manual/math.texi (Mathematical Constants): Likewise.
39317         * manual/signal.texi (Interrupted Primitives): Likewise.
39318         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39319         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39320         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39321         Don't refer to _SVID_SOURCE in warning text.
39323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39325         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39326         already defined.
39327         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39328         * sysdeps/mips/dl-lookup.c: Remove.
39329         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39331 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39333         [BZ #16447]
39334         * math/auto-libm-test-in: Add testcase for expl.
39335         * math/auto-libm-test-out: Regenerate.
39336         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39337         calculation of unsafe.
39338         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39340 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39342         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39343         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39344         ports/sysdeps/unix/sysv/linux/aarch64.
39345         * README: Update listing for aarch64*-*-linux-gnu.
39347 2014-02-11  Will Newton  <will.newton@linaro.org>
39349         * manual/probes.texi (Mathematical Function Probes): Use
39350         "triggered" instead of "hit".
39352         * manual/probes.texi (Internal Probes): Add documentation
39353         of setjmp, longjmp and longjmp_target probes.
39355         * include/stap-probe.h: Add comment about probe argument
39356         format.
39358         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39359         definition.  (tr_where, tr_freehook, tr_mallochook,
39360         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39362 2014-02-11  David S. Miller  <davem@davemloft.net>
39364         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39365         processing int_tests.
39367 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39369         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39370         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39371         * sysdeps/unix/sysv/linux/mips: Move directory from
39372         ports/sysdeps/unix/sysv/linux/mips.
39373         * README: Update listing for mips-*-linux-gnu and
39374         mips64-*-linux-gnu.
39376 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39378         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39379         * sysdeps/unix/sysv/linux/m68k: Move directory from
39380         ports/sysdeps/unix/sysv/linux/m68k.
39381         * README: Update listing for m68k-*-linux-gnu.
39383 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39385         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39386         * sysdeps/unix/sysv/linux/generic: Move directory from
39387         ports/sysdeps/unix/sysv/linux/generic.
39388         * sysdeps/unix/sysv/linux/tile: Move directory from
39389         ports/sysdeps/unix/sysv/linux/tile.
39390         * README: Update listing for tile*-*-linux-gnu.
39392 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39394         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39395         __builtin_expect.
39396         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39397         * catgets/open_catalog.c (__open_catalog): Likewise.
39398         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39399         * debug/confstr_chk.c: Likewise.
39400         * debug/fread_chk.c (__fread_chk): Likewise.
39401         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39402         * debug/getgroups_chk.c: Likewise.
39403         * debug/mbsnrtowcs_chk.c: Likewise.
39404         * debug/mbsrtowcs_chk.c: Likewise.
39405         * debug/mbstowcs_chk.c: Likewise.
39406         * debug/memcpy_chk.c: Likewise.
39407         * debug/memmove_chk.c: Likewise.
39408         * debug/mempcpy_chk.c: Likewise.
39409         * debug/memset_chk.c: Likewise.
39410         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39411         * debug/strcat_chk.c (__strcat_chk): Likewise.
39412         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39413         * debug/strncat_chk.c (__strncat_chk): Likewise.
39414         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39415         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39416         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39417         * debug/wcpncpy_chk.c: Likewise.
39418         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39419         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39420         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39421         * debug/wcsncpy_chk.c: Likewise.
39422         * debug/wcsnrtombs_chk.c: Likewise.
39423         * debug/wcsrtombs_chk.c: Likewise.
39424         * debug/wcstombs_chk.c: Likewise.
39425         * debug/wmemcpy_chk.c: Likewise.
39426         * debug/wmemmove_chk.c: Likewise.
39427         * debug/wmempcpy_chk.c: Likewise.
39428         * debug/wmemset_chk.c: Likewise.
39429         * dirent/scandirat.c (SCANDIRAT): Likewise.
39430         * dlfcn/dladdr1.c (dladdr1): Likewise.
39431         * dlfcn/dladdr.c (dladdr): Likewise.
39432         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39433         * dlfcn/dlerror.c (__dlerror): Likewise.
39434         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39435         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39436         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39437         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39438         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39439         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39440         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39441         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39442         Likewise.
39443         * elf/dl-conflict.c: Likewise.
39444         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39445         * elf/dl-dst.h: Likewise.
39446         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39447         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39448         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39449         * elf/dl-init.c (call_init, _dl_init): Likewise.
39450         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39451         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39452         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39453         Likewise.
39454         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39455         Likewise.
39456         * elf/dl-minimal.c (__libc_memalign): Likewise.
39457         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39458         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39459         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39460         * elf/dl-sym.c (do_sym): Likewise.
39461         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39462         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39463         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39464         * elf/dl-writev.h (_dl_writev): Likewise.
39465         * elf/ldconfig.c (search_dir): Likewise.
39466         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39467         (dl_main): Likewise.
39468         * elf/setup-vdso.h (setup_vdso): Likewise.
39469         * grp/compat-initgroups.c (compat_call): Likewise.
39470         * grp/fgetgrent.c (fgetgrent): Likewise.
39471         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39472         * grp/putgrent.c (putgrent): Likewise.
39473         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39474         Likewise.
39475         * hurd/hurdinit.c: Likewise.
39476         * iconvdata/8bit-gap.c (struct): Likewise.
39477         * iconvdata/ansi_x3.110.c : Likewise.
39478         * iconvdata/big5.c : Likewise.
39479         * iconvdata/big5hkscs.c : Likewise.
39480         * iconvdata/cp1255.c: Likewise.
39481         * iconvdata/cp1258.c : Likewise.
39482         * iconvdata/cp932.c : Likewise.
39483         * iconvdata/euc-cn.c: Likewise.
39484         * iconvdata/euc-jisx0213.c : Likewise.
39485         * iconvdata/euc-jp.c: Likewise.
39486         * iconvdata/euc-jp-ms.c : Likewise.
39487         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39488         * iconvdata/gb18030.c : Likewise.
39489         * iconvdata/gbbig5.c (const): Likewise.
39490         * iconvdata/gbgbk.c: Likewise.
39491         * iconvdata/gbk.c : Likewise.
39492         * iconvdata/ibm1364.c : Likewise.
39493         * iconvdata/ibm930.c : Likewise.
39494         * iconvdata/ibm932.c: Likewise.
39495         * iconvdata/ibm933.c : Likewise.
39496         * iconvdata/ibm935.c : Likewise.
39497         * iconvdata/ibm937.c : Likewise.
39498         * iconvdata/ibm939.c : Likewise.
39499         * iconvdata/ibm943.c: Likewise.
39500         * iconvdata/iso_11548-1.c: Likewise.
39501         * iconvdata/iso-2022-cn.c : Likewise.
39502         * iconvdata/iso-2022-cn-ext.c : Likewise.
39503         * iconvdata/iso-2022-jp-3.c: Likewise.
39504         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39505         * iconvdata/iso-2022-kr.c : Likewise.
39506         * iconvdata/iso646.c (gconv_end): Likewise.
39507         * iconvdata/iso_6937-2.c : Likewise.
39508         * iconvdata/iso_6937.c : Likewise.
39509         * iconvdata/iso8859-1.c: Likewise.
39510         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39511         * iconvdata/shift_jisx0213.c : Likewise.
39512         * iconvdata/sjis.c : Likewise.
39513         * iconvdata/t.61.c : Likewise.
39514         * iconvdata/tcvn5712-1.c : Likewise.
39515         * iconvdata/tscii.c: Likewise.
39516         * iconvdata/uhc.c : Likewise.
39517         * iconvdata/unicode.c (gconv_end): Likewise.
39518         * iconvdata/utf-16.c (gconv_end): Likewise.
39519         * iconvdata/utf-32.c (gconv_end): Likewise.
39520         * iconvdata/utf-7.c (base64): Likewise.
39521         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39522         * iconv/gconv_close.c (__gconv_close): Likewise.
39523         * iconv/gconv_open.c (__gconv_open): Likewise.
39524         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39525         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39526         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39527         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39528         (ucs4le_internal_loop_single): Likewise.
39529         * iconv/iconv.c (iconv): Likewise.
39530         * iconv/iconv_close.c: Likewise.
39531         * iconv/loop.c (SINGLE): Likewise.
39532         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39533         * include/atomic.h: Likewise.
39534         * inet/inet6_option.c (option_alloc): Likewise.
39535         * intl/bindtextdom.c (set_binding_values): Likewise.
39536         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39537         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39538         * intl/localealias.c (read_alias_file): Likewise.
39539         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39540         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39541         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39542         * libio/fmemopen.c (fmemopen): Likewise.
39543         * libio/iofgets.c (_IO_fgets): Likewise.
39544         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39545         * libio/iofgetws.c (fgetws): Likewise.
39546         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39547         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39548         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39549         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39550         * locale/findlocale.c (_nl_find_locale): Likewise.
39551         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39552         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39553         Likewise.
39554         * locale/setlocale.c (setlocale): Likewise.
39555         * login/programs/pt_chown.c (main): Likewise.
39556         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39557         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39558         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39559         (mmap, mmap64, mremap, munmap): Likewise.
39560         * math/e_exp2l.c: Likewise.
39561         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39562         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39563         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39564         * math/s_catan.c (__catan): Likewise.
39565         * math/s_catanf.c (__catanf): Likewise.
39566         * math/s_catanh.c (__catanh): Likewise.
39567         * math/s_catanhf.c (__catanhf): Likewise.
39568         * math/s_catanhl.c (__catanhl): Likewise.
39569         * math/s_catanl.c (__catanl): Likewise.
39570         * math/s_ccosh.c (__ccosh): Likewise.
39571         * math/s_ccoshf.c (__ccoshf): Likewise.
39572         * math/s_ccoshl.c (__ccoshl): Likewise.
39573         * math/s_cexp.c (__cexp): Likewise.
39574         * math/s_cexpf.c (__cexpf): Likewise.
39575         * math/s_cexpl.c (__cexpl): Likewise.
39576         * math/s_clog10.c (__clog10): Likewise.
39577         * math/s_clog10f.c (__clog10f): Likewise.
39578         * math/s_clog10l.c (__clog10l): Likewise.
39579         * math/s_clog.c (__clog): Likewise.
39580         * math/s_clogf.c (__clogf): Likewise.
39581         * math/s_clogl.c (__clogl): Likewise.
39582         * math/s_csin.c (__csin): Likewise.
39583         * math/s_csinf.c (__csinf): Likewise.
39584         * math/s_csinh.c (__csinh): Likewise.
39585         * math/s_csinhf.c (__csinhf): Likewise.
39586         * math/s_csinhl.c (__csinhl): Likewise.
39587         * math/s_csinl.c (__csinl): Likewise.
39588         * math/s_csqrt.c (__csqrt): Likewise.
39589         * math/s_csqrtf.c (__csqrtf): Likewise.
39590         * math/s_csqrtl.c (__csqrtl): Likewise.
39591         * math/s_ctan.c (__ctan): Likewise.
39592         * math/s_ctanf.c (__ctanf): Likewise.
39593         * math/s_ctanh.c (__ctanh): Likewise.
39594         * math/s_ctanhf.c (__ctanhf): Likewise.
39595         * math/s_ctanhl.c (__ctanhl): Likewise.
39596         * math/s_ctanl.c (__ctanl): Likewise.
39597         * math/w_pow.c: Likewise.
39598         * math/w_powf.c: Likewise.
39599         * math/w_powl.c: Likewise.
39600         * math/w_scalb.c (sysv_scalb): Likewise.
39601         * math/w_scalbf.c (sysv_scalbf): Likewise.
39602         * math/w_scalbl.c (sysv_scalbl): Likewise.
39603         * misc/error.c (error_tail): Likewise.
39604         * misc/pselect.c (__pselect): Likewise.
39605         * nis/nis_callback.c (__nis_create_callback): Likewise.
39606         * nis/nis_call.c (__nisfind_server): Likewise.
39607         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39608         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39609         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39610         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39611         * nis/nis_lookup.c (nis_lookup): Likewise.
39612         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39613         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39614         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39615         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39616         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39617         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39618         * nis/nss_compat/compat-initgroups.c (add_group)
39619         (internal_getgrent_r): Likewise.
39620         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39621         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39622         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39623         (internal_getspnam_r): Likewise.
39624         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39625         (_nss_nis_getaliasbyname_r): Likewise.
39626         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39627         (_nss_nis_getntohost_r): Likewise.
39628         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39629         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39630         (_nss_nis_getgrgid_r): Likewise.
39631         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39632         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39633         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39634         (_nss_nis_gethostbyname4_r): Likewise.
39635         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39636         (initgroups_netid): Likewise.
39637         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39638         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39639         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39640         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39641         (_nss_nis_getprotobynumber_r): Likewise.
39642         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39643         (_nss_nis_getsecretkey): Likewise.
39644         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39645         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39646         (_nss_nis_getpwuid_r): Likewise.
39647         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39648         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39649         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39650         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39651         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39652         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39653         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39654         Likewise.
39655         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39656         (_nss_nisplus_getntohost_r): Likewise.
39657         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39658         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39659         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39660         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39661         Likewise.
39662         * nis/nss_nisplus/nisplus-initgroups.c
39663         (_nss_nisplus_initgroups_dyn): Likewise.
39664         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39665         (_nss_nisplus_getnetbyaddr_r): Likewise.
39666         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39667         (_nss_nisplus_getprotobynumber_r): Likewise.
39668         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39669         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39670         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39671         Likewise.
39672         * nis/nss_nisplus/nisplus-service.c
39673         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39674         (_nss_nisplus_getservbyport_r): Likewise.
39675         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39676         (_nss_nisplus_getspnam_r): Likewise.
39677         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39678         Likewise.
39679         * nscd/aicache.c (addhstaiX): Likewise.
39680         * nscd/cache.c (cache_search, prune_cache): Likewise.
39681         * nscd/connections.c (register_traced_file, send_ro_fd)
39682         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39683         (main_loop_epoll): Likewise.
39684         * nscd/grpcache.c (addgrbyX): Likewise.
39685         * nscd/hstcache.c (addhstbyX): Likewise.
39686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39687         * nscd/mem.c (gc, mempool_alloc): Likewise.
39688         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39689         (addinnetgrX): Likewise.
39690         * nscd/nscd-client.h (__nscd_acquire_maplock)
39691         (__nscd_drop_map_ref): Likewise.
39692         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39693         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39694         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39695         Likewise.
39696         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39697         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39698         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39699         (__nscd_get_map_ref): Likewise.
39700         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39701         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39702         Likewise.
39703         * nscd/pwdcache.c (addpwbyX): Likewise.
39704         * nscd/selinux.c (preserve_capabilities): Likewise.
39705         * nscd/servicescache.c (addservbyX): Likewise.
39706         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39707         * posix/fnmatch.c (fnmatch): Likewise.
39708         * posix/getopt.c (_getopt_internal_r): Likewise.
39709         * posix/glob.c (glob, glob_in_dir): Likewise.
39710         * posix/wordexp.c (exec_comm_child): Likewise.
39711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39712         (getanswer_r, gaih_getanswer_slice): Likewise.
39713         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39714         * resolv/res_init.c: Likewise.
39715         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39716         * resolv/res_query.c (__libc_res_nquery): Likewise.
39717         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39718         Likewise.
39719         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39720         * stdio-common/perror.c (perror): Likewise.
39721         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39722         * stdio-common/tmpnam.c (tmpnam): Likewise.
39723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39724         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39725         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39726         Likewise.
39727         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39728         * stdlib/putenv.c (putenv): Likewise.
39729         * stdlib/setenv.c (__add_to_environ): Likewise.
39730         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39731         * stdlib/strtol_l.c (INTERNAL): Likewise.
39732         * string/memmem.c (memmem): Likewise.
39733         * string/strerror.c (strerror): Likewise.
39734         * string/strnlen.c (__strnlen): Likewise.
39735         * string/test-memmem.c (simple_memmem): Likewise.
39736         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39737         * sunrpc/pm_getport.c (__get_socket): Likewise.
39738         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39739         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39740         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39741         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39742         Likewise.
39743         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39744         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39745         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39746         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39748         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39749         Likewise.
39750         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39751         Likewise.
39752         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39753         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39754         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39755         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39756         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39759         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39760         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39761         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39762         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39763         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39764         Likewise.
39765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39766         Likewise.
39767         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39768         Likewise.
39769         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39770         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39772         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39773         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39775         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39776         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39778         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39779         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39781         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39782         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39784         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39785         Likewise.
39786         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39787         Likewise.
39788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39789         Likewise.
39790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39791         Likewise.
39792         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39794         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39795         Likewise.
39796         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39797         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39798         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39799         * sysdeps/posix/sleep.c: Likewise.
39800         * sysdeps/posix/tempname.c: Likewise.
39801         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39802         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39803         Likewise.
39804         * sysdeps/powerpc/powerpc32/dl-machine.h
39805         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39808         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39809         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39810         Likewise.
39811         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39813         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39815         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39816         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39817         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39818         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39819         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39820         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39822         (elf_machine_lazy_rel): Likewise.
39823         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39825         (elf_machine_lazy_rel): Likewise.
39826         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39827         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39828         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39829         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39830         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39831         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39832         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39834         Likewise.
39835         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39836         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39837         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39838         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39839         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39840         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39841         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39842         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39843         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39844         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39845         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39846         Likewise.
39847         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39848         (__posix_fallocate64_l64): Likewise.
39849         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39850         (posix_fallocate): Likewise.
39851         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39852         Likewise.
39853         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39854         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39855         (getifaddrs_internal): Likewise.
39856         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39857         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39858         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39859         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39860         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39861         (__posix_fallocate64_l64): Likewise.
39862         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39863         Likewise.
39864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39866         (__get_clockfreq): Likewise.
39867         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39868         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39869         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39870         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39872         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39873         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39874         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39875         Likewise.
39876         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39877         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39878         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39880         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39881         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39882         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39883         Likewise.
39884         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39885         (posix_fallocate): Likewise.
39886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39887         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39888         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39889         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39890         (elf_machine_rela, elf_machine_rela_relative)
39891         (elf_machine_lazy_rel): Likewise.
39892         * time/asctime.c (asctime_internal): Likewise.
39893         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39894         * time/tzset.c (__tzset_parse_tz): Likewise.
39895         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39896         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39897         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39898         * wcsmbs/wcsmbsload.h: Likewise.
39900         [BZ #15894]
39901         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39903         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39904         (arena_get2): Remove THREAD_STATS conditionals.
39905         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39906         (__malloc_stats, int): Likewise.
39908 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39910         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39911         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39913         * manual/setjmp.texi: Fix typos/grammar errors.
39915         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39916         Only return early when n is <= 0.  Delete unused return statement.
39918         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39919         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39920         * debug/tst-longjmp_chk3.c: New file.
39922         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39923         (test_main): Replace code with set_fortify_handler call.
39924         * debug/test-strcpy_chk.c: Likewise.
39925         * debug/tst-chk1.c: Likewise.
39926         * debug/tst-longjmp_chk.c: Likewise.
39927         * test-skeleton.c: Include fcntl.h & paths.h
39928         (set_fortify_handler): Define.
39930         * debug/tst-longjmp_chk.c: Add header comment and include
39931         ../test-skeleton.c.
39932         (do_test): Mark static.
39933         (TEST_FUNCTION): Define.
39935         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39936         (IP_PMTUDISC_INTERFACE): Likewise.
39937         (IP_MULTICAST_IF): Likewise.
39938         (IP_MULTICAST_TTL): Likewise.
39939         (IP_MULTICAST_LOOP): Likewise.
39940         (IP_ADD_MEMBERSHIP): Likewise.
39941         (IP_DROP_MEMBERSHIP): Likewise.
39942         (IP_UNBLOCK_SOURCE): Likewise.
39943         (IP_BLOCK_SOURCE): Likewise.
39944         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39945         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39946         (IP_MSFILTER): Likewise.
39947         (MCAST_JOIN_GROUP): Likewise.
39948         (MCAST_BLOCK_SOURCE): Likewise.
39949         (MCAST_UNBLOCK_SOURCE): Likewise.
39950         (MCAST_LEAVE_GROUP): Likewise.
39951         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39952         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39953         (MCAST_MSFILTER): Likewise.
39954         (IP_MULTICAST_ALL): Likewise.
39955         (IP_UNICAST_IF): Likewise.
39957         * timezone/Makefile: Delete $(have-ksh) check.
39958         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39959         * timezone/tzselect.ksh: Add +x mode bits.
39961         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39962         (ANON_INODE_FS_MAGIC): Likewise.
39963         (BDEVFS_MAGIC): Likewise.
39964         (BINFMTFS_MAGIC): Likewise.
39965         (BTRFS_TEST_MAGIC): Likewise.
39966         (CRAMFS_MAGIC_WEND): Likewise.
39967         (DEBUGFS_MAGIC): Likewise.
39968         (ECRYPTFS_SUPER_MAGIC): Likewise.
39969         (EXT3_SUPER_MAGIC): Likewise.
39970         (EXT4_SUPER_MAGIC): Likewise.
39971         (FUTEXFS_SUPER_MAGIC): Likewise.
39972         (HOSTFS_SUPER_MAGIC): Likewise.
39973         (HUGETLBFS_MAGIC): Likewise.
39974         (MINIX3_SUPER_MAGIC): Likewise.
39975         (MTD_INODE_FS_MAGIC): Likewise.
39976         (NILFS_SUPER_MAGIC): Likewise.
39977         (OPENPROM_SUPER_MAGIC): Likewise.
39978         (PIPEFS_MAGIC): Likewise.
39979         (PSTOREFS_MAGIC): Likewise.
39980         (QNX6_SUPER_MAGIC): Likewise.
39981         (RAMFS_MAGIC): Likewise.
39982         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39983         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39984         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39985         (SECURITYFS_MAGIC): Likewise.
39986         (SELINUX_MAGIC): Likewise.
39987         (SMACK_MAGIC): Likewise.
39988         (SOCKFS_MAGIC): Likewise.
39989         (SQUASHFS_MAGIC): Likewise.
39990         (STACK_END_MAGIC): Likewise.
39991         (TMPFS_MAGIC): Likewise.
39992         (USBDEVICE_SUPER_MAGIC): Likewise.
39993         (V9FS_MAGIC): Likewise.
39994         (XENFS_SUPER_MAGIC): Likewise.
39995         (CRAMFS_MAGIC): Fix typo in comment.
39996         (EXT2_SUPER_MAGIC): Update comment.
39997         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39999 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40001         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40002         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40003         * sysdeps/unix/sysv/linux/arm: Move directory from
40004         ports/sysdeps/unix/sysv/linux/arm.
40005         * README: Update listing for arm-*-linux-gnueabi.
40007         * README: Remove mention of am33.
40009 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40011         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40012         than the comma operator, to avoid "rhs of comma has no effect"
40013         compiler warnings.
40014         (__sigfillset, __sigandset, __sigorset): Likewise.
40015         * include/signal.h (__sigemptyset): Likewise.
40016         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40018 2014-02-07  Allan McRae  <allan@archlinux.org>
40020         * version.h (RELEASE): Set to "development".
40021         (VERSION): Set to "2.19.90"
40022         * NEWS: Add 2.20 section.
40024 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40026         [BZ #16529]
40027         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40029 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40031         * manual/contrib.texi: Update entry for Carlos O'Donell,
40032         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40034 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40036         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40038         * sysdeps/unix/sysv/linux/kernel-features.h
40039         [__LINUX_KERNEL_VERSION >= 0x020621]
40040         (__ASSUME_PROC_PID_TASK_COMM): Define.
40042 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40044         [BZ #16398]
40045         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40046         conversion when destination buffer does not have enough space.
40047         * libio/tst-ftell-partial-wide.c: New test case.
40048         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40050         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40051         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40052         Leonard and Allan McRae.
40054 2014-02-04  David S. Miller  <davem@davemloft.net>
40056         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40057         32-bit.
40059 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40062         New file
40063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40064         New file
40065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40066         New file.
40067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40068         New file.
40069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40070         New file.
40071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40072         New file.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40074         New file.
40075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40076         New file.
40077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40078         New file.
40079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40080         New file.
40081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40082         New file.
40083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40084         New file.
40085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40086         New file.
40088 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40090         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40091         * shlib-versions: Likewise.
40093 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40094             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40096         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40097         (abilist-pattern): New variable, set to %-le.abilist.
40099         * Makerules (abilist-pattern): New variable.
40100         (vpath): Use $(abilist-pattern) in place of %.abilist.
40101         (check-abi-% pattern rule): Likewise.
40102         (check-abi, update-abi): Likewise.
40104 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40108 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40110         * manual/startup.texi: Add next, previous, and top entries for
40111         the `Program Arguments' and `Environment Variables' nodes.
40113 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40115         * manual/macros.texi: Add comments before MTASC-safety macros.
40117         * manual/users.texi: Document MTASC-safety properties.
40119         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40120         (pthread_getspecific, pthread_setspecific): Format with
40121         @deftypefun, and add @safety note.
40122         * manual/signal.texi: Move comments that analyze the above
40123         functions to their home place.
40125 2014-02-03  Allan McRae  <allan@archlinux.org>
40127         * po/sl.po: Update Slovenian translation from translation project.
40129 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40131         * manual/time.texi (timegm): Add missing blank after @c.
40132         Reported by Joseph Myers <joseph@codesourcery.com>.
40134 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40136         * manual/check-safety.sh: New.
40137         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40139         * manual/terminal.texi: Document MTASC-safety properties.
40141         * manual/filesys.texi: Document MTASC-safety properties.
40143         * manual/errno.texi: Document MTASC-safety properties.
40145         * manual/intro.texi: Document safety identifiers and
40146         conditionals.
40148         * manual/string.texi (wcstok): Fix prototype.
40149         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40151         * manual/time.texi: Document MTASC-safety properties.
40153         * manual/string.texi: Document MTASC-safety properties.
40155         * manual/threads.texi: Document MTASC-safety properties.
40157         * manual/stdio.texi: Document MTASC-safety properties.
40159         * manual/syslog.texi: Document MTASC-safety properties.
40161         * manual/sysinfo.texi: Document MTASC-safety properties.
40163         * manual/startup.texi: Document MTASC-safety properties.
40165         * manual/socket.texi: Document MTASC-safety properties.
40167         * manual/signal.texi: Document MTASC-safety properties.
40169 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40171         * manual/setjmp.texi: Document MTASC-safety properties.
40173         * manual/search.texi: Document MTASC-safety properties.
40175         * manual/resource.texi: Document MTASC-safety properties.
40177         * manual/process.texi: Document MTASC-safety properties.
40179         * manual/platform.texi: Document MTASC-safety properties.
40181         * manual/pipe.texi: Document MTASC-safety properties.
40183         * manual/pattern.texi: Document MTASC-safety properties.
40185         * manual/message.texi: Document MTASC-safety properties.
40187         [BZ #12751]
40188         * manual/memory.texi: Document MTASC-safety properties.
40190         * manual/math.texi: Document MTASC-safety properties.
40192         * manual/locale.texi: Document MTASC-safety properties.
40194         * manual/llio.texi: Document MTASC-safety properties.
40196         * manual/libdl.texi: New.
40198         * manual/lang.texi: Document MTASC-safety properties.
40200         * manual/job.texi: Document MTASC-safety properties.
40202         * manual/getopt.texi: Document MTASC-safety properties.
40204         * manual/ctype.texi: Document MTASC-safety properties.
40206 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40208         [BZ #16046]
40209         * csu/libc-tls.c (static_map): Remove variable.
40210         (__libc_setup_tls): Use main executable's link map for TLS data.
40211         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40212         casing for LM_ID_BASE and GL(dl_nns).
40213         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40214         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40215         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40216         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40217         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40218         member.
40219         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40220         l_phnum members.
40222 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40224         * manual/debug.texi: Document MTASC-safety properties.
40226 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40228         [BZ #16510]
40229         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40230         of __x86_64__ when disabling x87 inline functions.
40232 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40234         * manual/charset.texi: Document MTASC-safety properties.
40236         * manual/crypt.texi: Document MTASC-safety properties.
40238         * manual/conf.texi: Document MTASC-safety properties.
40240         * manual/arith.texi: Document MTASC-safety properties.
40242         * manual/argp.texi: Document MTASC-safety properties.
40244         * manual/macros.texi: Introduce macros to document multi
40245         thread, asynchronous signal and asynchronous cancellation
40246         safety properties.
40247         * manual/intro.texi: Introduce the properties themselves.
40249 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40251         * sysdeps/sh/sh4/Makefile: New file.
40253 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40255         * math/gen-libm-test.pl ($srcdir): New variable.
40256         ($auto_input): Use it.
40258 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40260         [BZ #16506]
40261         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40262         access beyond array bounds when parsing netgroups file.
40264         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40265         the old buffer before realloc.
40267 2014-01-27  Allan McRae  <allan@archlinux.org>
40269         * po/fr.po: Update French translation from translation project.
40271 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40273         * sysdeps/sh/libm-test-ulps: Regenerate.
40275 2014-01-24  David S. Miller  <davem@davemloft.net>
40277         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40279 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40282         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40284 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40286         [BZ #16474]
40287         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40288         string pointers after reallocation.
40290 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40292         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40293         __SH4A__ instead of __SH_FPU_ANY__.
40295 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40297         * sysdeps/sh/fpu_control.h: New file.
40298         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40299         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40300         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40301         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40302         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40303         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40304         * sysdeps/sh/sys/ucontext.h: Remove.
40305         * sysdeps/sh/sys: Remove directory.
40307 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40309         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40310         s390/sys/ucontext.h.
40311         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40312         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40314 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40316         [BZ #15605]
40317         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40319 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40321         [BZ#16431]
40322         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40323         Adjust the vDSO correctly for internal calls.
40324         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40326 2014-01-20  Allan McRae  <allan@archlinux.org>
40328         * po/ca.po: Update Catalan translation from translation project.
40330 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40332         * sysdeps/s390/sotruss-lib.c: New file.
40334 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40336         [BZ#16430]
40337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40338         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40339         local calls issues by not having a PLT stub required for IFUNC calls.
40340         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40342 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40344         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40345         * math/test-fpucw-static.c: Likewise.
40347 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40349         [BZ #16453]
40350         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40352 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40354         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40355         implementation for powerpc.
40357 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40359         [BZ #14782]
40360         * sysdeps/posix/system.c (__libc_system): Do not enable
40361         asynchronous cancellation.
40363 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40365         [BZ #16427]
40366         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40367         handling only for numbers special also in the IEEE case.
40369 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40371         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40373 2014-01-11  Allan McRae  <allan@archlinux.org>
40375         * po/bg.po: Update Bulgarian translation from translation project.
40377         * po/de.po: Update German translation from translation project.
40379 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40381         * sysdeps/generic/gcc-compat.h: New file.
40383 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40385         * benchtests/asin-inputs: Correct slow inputs.
40386         * benchtests/acos-inputs: Likewise.
40388 2014-01-10  Allan McRae  <allan@archlinux.org>
40390         * po:sv.po: Update Swedish translation from translation project.
40392         * po/vi.po: Update Vietnamese translation from translation project.
40394         * po/eo.po: Update Esperanto translation from translation project.
40396         * po/cs.po: Update Czech translation from translation project.
40398         * po/nl.po: Update Dutch translation from translation project.
40400         * po/pl.po: Update Polish translation from translation project.
40402         * po/ru.po: Update Russian translation from translation project.
40404         * po/uk.po: Update Ukrainian translation from translation project.
40406 2014-01-08  Brooks Moses  <bmoses@google.com>
40408         * elf/dl-load.c: Fix comment typo.
40410 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40412         * po/header.pot: Rename to...
40413         * po/pot.header: ... this.
40414         * po/Makefile: Use pot.header.
40416 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40417             Maxim Kuvyrkov  <maxim@kugelworks.com>
40419         [BZ #16394]
40420         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40421         SRC and DEST against LEN.
40423 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40425         [BZ #16414]
40426         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40427         implementation.
40428         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40430 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40434 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40436         [BZ #16408]
40437         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40438         for large positive arguments.
40440 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40442         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40444         * math/auto-libm-test-in: Mark various tests with
40445         xfail-rounding:ldbl-128ibm.
40446         * math/auto-libm-test-out: Regenerated.
40448         [BZ #16407]
40449         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40450         Increase overflow threshold.
40452 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40454         [BZ #14286]
40455         * stdio-common/vfprintf.c: Check for integer overflow.
40457 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40459         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40460         the first argument and return value of __tls_get_addr_internal.
40462 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40464         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40465         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40467 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40469         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40470         * sysdeps/s390/rtld-global-offsets.sym: New file.
40471         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40472         GLIBC_2.19 symbol.
40473         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40476         ... this.
40477         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40478         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40479         ... this.
40480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40481         Regenerate.
40482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40483         Regenerate.
40484         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40485         halfs of GPRs for high_gprs contexts.
40486         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40487         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40488         field.
40489         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40490         uc_flags field.
40491         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40492         64 bit versions:
40493         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40494         for high GPRs (uc_high_gprs) and for future extensions
40495         (__reserved).
40496         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40497         for future extensions (__reserved).
40498         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40499         64 bit versions:
40500         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40501         SC_HIGHGPRS offset definition.
40502         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40503         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40505         * Versions.def: Add GLIBC_2.19 for libpthread.
40506         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40507         siglongjmp for libpthread with GLIBC_2.19 symver.
40508         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40509         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40510         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40511         * sysdeps/s390/__longjmp.c: New file.
40512         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40513         * sysdeps/s390/longjmp.c: New file.
40514         * sysdeps/s390/setjmp.S: New file.
40515         * sysdeps/s390/sigjmp.S: New file.
40516         * sysdeps/s390/v1-longjmp.c: New file.
40517         * sysdeps/s390/v1-setjmp.h: New file.
40518         * sysdeps/s390/v1-sigjmp.c: New file.
40519         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40520         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40521         GLIBC_2.19 version.
40522         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40523         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40524         versioned symbols for ____longjmp_chk.
40525         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40526         Likewise.
40527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40528         Regenerate.
40529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40530         Regenerate.
40531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40532         Regenerate.
40533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40534         Regenerate.
40535         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40536         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40537         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40538         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40539         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40540         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40541         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40542         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40543         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40544         * sysdeps/s390/rtld-__longjmp.c: New file.
40545         * sysdeps/s390/rtld-setjmp.S: New file.
40547 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40549         [BZ #16400]
40550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40551         Return -__logl (x) for small positive arguments without evaluating
40552         a polynomial.
40554 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40556         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40557         Rename to ...
40558         (__ptrace_peeksiginfo_args): ... this.
40559         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40560         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40561         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40563 2014-01-06  Allan McRae  <allan@archlinux.org>
40565         * inet/netinet/in.h: Fix typo in comment.
40567 2014-01-05  Andreas Jaeger  <aj@suse.de>
40569         * sysdeps/i386/fpu/libm-test-ulps: Update.
40571 2014-01-05  Allan McRae  <allan@archlinux.org>
40573         * po/libc.pot: Regenerated.
40575         * malloc/memusagestat.c: Fix gettext call formatting.
40577 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40579         * nscd/nscd.c: Improve usage() output.
40581 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40583         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40584         * sysdeps/unix/sysv/linux/configure: Regenerated.
40585         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40586         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40588 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40590         [BZ #16390]
40591         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40592         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40594 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40596         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40597         extra tokens at end of #undef directive.
40598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40599         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40602 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40604         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40606         * math/auto-libm-test-in: Mark various tests with
40607         xfail-rounding:ldbl-128ibm.
40608         * math/auto-libm-test-out: Regenerated.
40610 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40612         [BZ #16386]
40613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40614         numbers with subnormal high part when calculating exponent.
40616         [BZ #16385]
40617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40618         fabs.
40620         [BZ #16384]
40621         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40622         M_LN2l.
40623         (__ieee754_acoshl): Use __log1pl not __log1p.
40625 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40627         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40628         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40629         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40630         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40631         (reused_arena, arena_get2): Convert to GNU style.
40632         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40633         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40634         (memalign_check, __malloc_set_state): Likewise.
40635         * malloc/mallocbug.c (main): Likewise.
40636         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40637         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40638         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40639         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40640         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40641         (__posix_memalign, malloc_info): Likewise.
40642         * malloc/malloc.h: Likewise.
40643         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40644         (mallochook, memalignhook, reallochook, mabort): Likewise.
40645         * malloc/mcheck.h: Likewise.
40646         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40647         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40648         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40649         * malloc/morecore.c (__default_morecore): Likewise.
40650         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40651         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40652         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40653         (print_and_abort): Likewise.
40654         * malloc/obstack.h: Likewise.
40655         * malloc/set-freeres.c (__libc_freeres): Likewise.
40656         * malloc/tst-mallocstate.c (main): Likewise.
40657         * malloc/tst-mtrace.c (main): Likewise.
40658         * malloc/tst-realloc.c (do_test): Likewise.
40660 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40662         [BZ #16366]
40663         * nscd/netgroupcache.c (do_notfound): New function.
40664         (addgetnetgrentX): Use it.
40666         [BZ # 16365]
40667         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40668         NSS_STATUS_NOTFOUND.
40670 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40672         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40675 2014-01-01  Allan McRae  <allan@archlinux.org>
40677         * scripts/update-copyrights: Update configure input file suffix.
40679         * NEWS: Update copyright year.
40680         * catgets/gencat.c: Likewise.
40681         * csu/version.c: Likewise.
40682         * debug/catchsegv.sh: Likewise.
40683         * debug/pcprofiledump.c: Likewise.
40684         * debug/xtrace.sh: Likewise.
40685         * elf/ldconfig.c: Likewise.
40686         * elf/ldd.bash.in: Likewise.
40687         * elf/pldd.c: Likewise.
40688         * elf/sotruss.ksh: Likewise.
40689         * elf/sprof.c: Likewise.
40690         * iconv/iconv_prog.c: Likewise.
40691         * iconv/iconvconfig.c: Likewise.
40692         * locale/programs/locale.c: Likewise.
40693         * locale/programs/localedef.c: Likewise.
40694         * login/programs/pt_chown.c: Likewise.
40695         * malloc/memusage.sh: Likewise.
40696         * malloc/memusagestat.c: Likewise.
40697         * malloc/mtrace.pl: Likewise.
40698         * manual/libc.texinfo: Likewise.
40699         * nscd/nscd.c: Likewise.
40700         * nss/getent.c: Likewise.
40701         * nss/makedb.c: Likewise.
40702         * posix/getconf.c: Likewise.
40703         * scripts/test-installation.pl: Likewise.
40705         * All files with FSF copyright notices: Update copyright dates
40706         using scripts/update-copyrights.
40707         * intl/plural.c: Regenerated.
40708         * locale/programs/charmap-kw.h: Likewise.
40709         * locale/programs/locfile-kw.h: Likewise.
40711 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40713         * sysdeps/unix/sysv/linux/configure: Regenerated.
40714         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40715         the linux/fanotify.h header.
40716         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40717         HAVE_LINUX_FANOTIFY_H is defined.
40719 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40721         * benchtests/cos-inputs: New inputs.
40722         * benchtests/sin-inputs: Likewise.
40724         * benchtests/atan-inputs: New inputs. Fix name of multiple
40725         precision fallback inputs.
40727         * benchtests/atanh-inputs: New inputs.
40728         * benchtests/tanh-inputs: Likewise.
40730         * benchtests/acosh-inputs: New inputs.
40731         * benchtests/asinh-inputs: Likewise.
40733         * benchtests/cosh-inputs: New inputs.
40734         * benchtests/sinh-inputs: Likewise.
40736         * benchtests/acos-inputs: Add more inputs.
40737         * benchtests/asin-inputs: Likewise.
40739 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40741         [BZ #16375]
40742         * manual/arith.texi: Fix spelling.
40743         * manual/charset.texi: Likewise.
40744         * manual/errno.texi: Likewise.
40745         * manual/filesys.texi: Likewise.
40746         * manual/lang.texi: Likewise.
40747         * manual/llio.texi: Likewise.
40748         * manual/locale.texi: Likewise.
40749         * manual/message.texi: Likewise.
40750         * manual/resource.texi: Likewise.
40751         * manual/search.texi: Likewise.
40752         * manual/setjmp.texi: Likewise.
40753         * manual/stdio.texi: Likewise.
40754         * manual/string.texi: Likewise.
40755         * manual/sysinfo.texi: Likewise.
40756         * manual/time.texi: Likewise.
40758 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40760         * po/sl.po: New file.
40762 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40764         * .gitignore: Add core/.gdbinit/.gdb_history.
40766 2013-12-27  Allan McRae  <allan@archlinux.org>
40768         [BZ #16369]
40769         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40770         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40772 2013-12-24  Brooks Moses  <bmoses@google.com>
40774         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40775         all compilers that claim C++98 compliance, not just GCC.
40776         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40777         Likewise.
40779 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40781         * NEWS: Restore accidentally deleted bug-fix entries.
40783 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40784             Ondřej Bílka  <neleai@seznam.cz>
40786         [BZ #15073]
40787         * malloc/malloc.c (_int_free): Perform sanity check only if we
40788         have_lock.
40790 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40792         [BZ #12986]
40793         * manual/stdio.texi (String Input Conversions): Clarify that character
40794         classes are not supported.
40796 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40800 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40802         [BZ #16337]
40803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40804         Calculate results for small negative arguments directly rather
40805         than using reflection formula with special underflow handling.
40807         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40808         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40809         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40810         (fchflags): Likewise.
40811         (revoke): Likewise.
40812         (setlogin): Likewise.
40813         (sigaltstack): Likewise.
40814         (wait4): Likewise.
40815         (sigblock): Remove.
40816         (sigsetmask): Likewise.
40817         (wait3): Likewise.
40818         (waitpid): Likewise.
40819         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40820         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40821         file.
40822         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40823         * sysdeps/unix/bsd/Makefile: ... here.
40824         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40825         * sysdeps/unix/bsd/Versions: ... here.
40826         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40827         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40828         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40829         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40830         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40831         * sysdeps/unix/bsd/sigblock.c: ... here.
40832         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40833         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40834         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40835         * sysdeps/unix/bsd/sigvec.c: ... here.
40836         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40837         * sysdeps/unix/bsd/tcdrain.c: ... here.
40838         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40839         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40840         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40841         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40842         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40843         * sysdeps/unix/bsd/wait.c: ... here.
40844         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40845         * sysdeps/unix/bsd/wait3.c: ... here.
40846         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40847         * sysdeps/unix/bsd/waitpid.c: ... here.
40849 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40851         [BZ #16356]
40852         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40853         round-to-nearest for [!USE_AS_EXPM1L].
40854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40855         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40856         more tests of exp and exp10.  Expect some exp10 tests to miss
40857         exceptions or fail in directed rounding modes.
40858         * math/auto-libm-test-out: Regenerated.
40859         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40860         (exp10_test_tonearest): New function.
40861         (exp10_towardzero_test_data): New array.
40862         (exp10_test_towardzero): New function.
40863         (exp10_downward_test_data): New array.
40864         (exp10_test_downward): New function.
40865         (exp10_upward_test_data): New array.
40866         (exp10_test_upward): New function.
40867         (main): Call the new functions.
40868         * sysdeps/i386/fpu/libm-test-ulps: Update.
40869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40871 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40873         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40874         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40875         * math/auto-libm-test-out: Regenerated.
40876         * math/libm-test.inc (acosh_test_data): Add more tests.
40877         (atanh_test_data): Likewise.
40878         (ceil_test_data): Likewise.
40879         (copysign_test_data): Likewise.
40880         * sysdeps/i386/fpu/libm-test-ulps: Update.
40881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40883         * timezone/checktab.awk: Update from tzcode 2013i.
40884         * timezone/private.h: Likewise.
40885         * timezone/scheck.c: Likewise.
40886         * timezone/tzfile.h: Likewise.
40887         * timezone/tzselect.ksh: Likewise.
40888         * timezone/zdump.c: Likewise.
40889         * timezone/zic.c: Likewise.
40891         * math/auto-libm-test-in: Add tests of cpow.
40892         * math/auto-libm-test-out: Regenerated.
40893         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40895         mpc_cc_c.
40896         (func_calc_desc): Add mpc_cc_c union field.
40897         (test_functions): Add cpow.
40898         (special_fill_2pi): New function.
40899         (special_real_inputs): Add 2pi.
40900         (calc_generic_results): Handle mpc_cc_c.
40901         * sysdeps/i386/fpu/libm-test-ulps: Update.
40902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40904         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40905         csqrt, ctan and ctanh.
40906         * math/auto-libm-test-out: Regenerated.
40907         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40908         (TEST_COND_x86): Likewise.
40909         (ccos_test_data): Use AUTO_TESTS_c_c.
40910         (ccosh_test_data): Likewise.
40911         (cexp_test_data): Likewise.
40912         (clog_test_data): Likewise.
40913         (csqrt_test_data): Likewise.
40914         (ctan_test_data): Likewise.
40915         (ctan_tonearest_test_data): Likewise.
40916         (ctan_towardzero_test_data): Likewise.
40917         (ctan_downward_test_data): Likewise.
40918         (ctan_upward_test_data): Likewise.
40919         (ctanh_test_data): Likewise.
40920         (ctanh_tonearest_test_data): Likewise.
40921         (ctanh_towardzero_test_data): Likewise.
40922         (ctanh_downward_test_data): Likewise.
40923         (ctanh_upward_test_data): Likewise.
40924         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40925         mpc_c_c.
40926         (func_calc_desc): Add mpc_c_c union field.
40927         (FUNC_mpc_c_c): New macro.
40928         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40929         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40930         ctanh.
40931         (special_fill_min_subnorm_p120): New function.
40932         (special_real_inputs): Add min_subnorm_p120.
40933         (calc_generic_results): Handle mpc_c_c.
40934         * sysdeps/i386/fpu/libm-test-ulps: Update.
40935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40937 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40939         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40940         (do_sin_slow): New functions.
40941         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40942         (cslow2, csloww1, csloww2): Use the new functions.
40944         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40945         Use M to change sign of result instead of X.  Assume X is
40946         positive.
40947         (csloww1): Likewise.
40948         (__sin): Adjust.
40949         (__cos): Adjust.
40951         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40952         arguments A and DA.
40953         (__sin): Adjust.
40954         (__cos): Likewise.
40956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40957         (__cos): Likewise.
40958         (sloww1): Don't adjust sign of DX.
40959         (csloww1): Likewise.
40960         (sloww2): Use X directly and don't adjust sign of DX.
40961         (csloww2): Likewise.
40963 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40965         * math/auto-libm-test-in: Add tests of cabs and carg.
40966         * math/auto-libm-test-out: Regenerated.
40967         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40968         (carg_test_data): Likewise.
40969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40970         mpc_c_f.
40971         (func_calc_desc): Add mpc_c_f union field.
40972         (test_functions): Add cabs and carg.
40973         (calc_generic_results): Handle mpc_c_f.
40975         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40976         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40977         as a macro and a compat symbol.
40978         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40979         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40980         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40981         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40982         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40983         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40984         not use .hidden.
40985         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40986         Likewise.
40987         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40988         Likewise.
40989         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40990         Likewise.
40991         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40992         Likewise.
40993         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40994         Likewise.
40995         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40996         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40997         from GLIBC_2.3.2.
40999 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41003 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41005         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41006         trailing whitespace removed.
41007         * scripts/config.guess: Update to version 2013-11-29.
41008         * scripts/config.sub: Update to version 2013-10-01.
41010         * math/auto-libm-test-in: Add tests of sincos.
41011         * math/auto-libm-test-out: Regenerated.
41012         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41013         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41014         mpfr_f_11.
41015         (func_calc_desc): Add mpfr_f_11 union field.
41016         (test_functions): Add sincos.
41017         (calc_generic_results): Handle mpfr_f_11.
41018         * sysdeps/i386/fpu/libm-test-ulps: Update.
41019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41021 2013-12-19  Andreas Schwab  <schwab@suse.de>
41023         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41024         CALL_MCOUNT.
41025         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41026         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41027         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41029 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41031         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41032         * sysdeps/i386/fpu/libm-test-ulps: Update.
41033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41035         [BZ #16293]
41036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41037         round-to-nearest mode when using frndint.
41038         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41039         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41041         Likewise.
41042         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41043         sinh test to fail.
41044         * math/auto-libm-test-out: Regenerated.
41045         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41046         (TEST_COND_x86): Likewise.
41047         (expm1_tonearest_test_data): New array.
41048         (expm1_test_tonearest): New function.
41049         (expm1_towardzero_test_data): New array.
41050         (expm1_test_towardzero): New function.
41051         (expm1_downward_test_data): New array.
41052         (expm1_test_downward): New function.
41053         (expm1_upward_test_data): New array.
41054         (expm1_test_upward): New function.
41055         (main): Run the new test functions.
41056         * sysdeps/i386/fpu/libm-test-ulps: Update.
41057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41059         * include/features.h: Update comment documenting feature test
41060         macros.  Mention _DEFAULT_SOURCE in comment.
41061         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41062         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41063         _BSD_SOURCE and _SVID_SOURCE.
41064         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41065         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41066         !_SVID_SOURCE]: Likewise.
41067         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41068         (__USE_POSIX_IMPLICITLY): Define.
41069         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41070         (_POSIX_SOURCE): Undefine and redefine.
41071         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41072         (_POSIX_C_SOURCE): Likewise.
41073         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41074         (Feature Test Macros): Update documentation of default features.
41076 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41078         * benchtests/Makefile: Add bench-strtok.
41079         * benchtests/bench-strtok.c: New file: strtok benchtest.
41081 2013-12-19  Allan McRae  <allan@archlinux.org>
41083         * manual/install.texi: Suppress menu for plain text output.
41084         * INSTALL: Regenerated.
41086 2013-12-18  Brooks Moses  <bmoses@google.com>
41088         [BZ #15846]
41089         * misc/getauxval.c: Include errno.h.
41090         (__getauxval): Set errno to ENOENT if the requested type is not
41091         found.
41092         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41093         don't declare with __attribute_const__.
41094         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41095         * manual/startup.texi: Document that getauxval sets errno.
41097 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41099         * math/auto-libm-test-in: Add tests of jn and yn.
41100         * math/auto-libm-test-out: Regenerated.
41101         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41102         (yn_test_data): Likewise.
41103         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41104         mpfr_if_f.
41105         (func_calc_desc): Add mpfr_if_f union field.
41106         (FUNC_mpfr_if_f): New macro.
41107         (test_functions): Add jn and yn.
41108         (calc_generic_results): Assert type of second input for
41109         mpfr_ff_f.  Handle mpfr_if_f.
41110         (output_for_one_input_case): Disable all checking for arguments
41111         fitting floating-point types in case of an integer argument.
41112         * sysdeps/i386/fpu/libm-test-ulps: Update.
41113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41116         Don't expect fegetround reference in libm.so.
41118 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41120         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41121         $(config-cflags-nofma).
41123 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41125         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41126         * math/auto-libm-test-out: Regenerated.
41128         [BZ #16338]
41129         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41130         to determine exponent and adjust argument to have exponent of -1.
41131         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41132         log2.
41133         * math/auto-libm-test-out: Regenerated.
41134         * sysdeps/i386/fpu/libm-test-ulps: Update.
41135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41137 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41139         * manual/probes.texi: Remove cases when per-thread arenas are
41140         disabled.
41142 2013-12-18  Andreas Schwab  <schwab@suse.de>
41144         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41145         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41146         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41147         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41148         * sysdeps/i386/i686/multiarch/Makefile: Update.
41149         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41151 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41153         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41154         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41156 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41158         [BZ #15968]
41159         Support TZ transition times < 00:00:00.
41160         This is needed for version-3 tz-format files; it supports time
41161         stamps past 2037 for America/Godthab (the only entry in the tz
41162         database for which this change is relevant).
41163         * manual/time.texi (TZ Variable): Document transition times
41164         from -167:59:59 through -00:00:01.
41165         * time/tzset.c (tz_rule): Time of day is now signed.
41166         (__tzset_parse_tz): Parse negative time of day.
41168         Document TZ transition times >= 25:00:00.
41169         * manual/time.texi (TZ Variable): Document transition times from
41170         25:00:00 through 167:59:59.  These are already supported, and this
41171         support will help with version-3 tz-format files.
41173         * manual/time.texi (TZ Variable): Modernize North America example
41174         to reflect current (i.e., 2007-and-later) daylight saving rules.
41176         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41178 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41180         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41181         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41184         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41185         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41186         * sysdeps/unix/bsd/clock.c: Likewise.
41187         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41188         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41189         * sysdeps/unix/bsd/init-posix.c: Likewise.
41190         * sysdeps/unix/bsd/poll.c: Likewise.
41191         * sysdeps/unix/bsd/ptsname.c: Likewise.
41192         * sysdeps/unix/bsd/seekdir.c: Likewise.
41193         * sysdeps/unix/bsd/setegid.c: Likewise.
41194         * sysdeps/unix/bsd/seteuid.c: Likewise.
41195         * sysdeps/unix/bsd/setgid.c: Likewise.
41196         * sysdeps/unix/bsd/setrgid.c: Likewise.
41197         * sysdeps/unix/bsd/setruid.c: Likewise.
41198         * sysdeps/unix/bsd/setsid.c: Likewise.
41199         * sysdeps/unix/bsd/setuid.c: Likewise.
41200         * sysdeps/unix/bsd/sigaction.c: Likewise.
41201         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41202         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41203         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41204         * sysdeps/unix/bsd/telldir.c: Likewise.
41205         * sysdeps/unix/bsd/times.c: Likewise.
41206         * sysdeps/unix/bsd/usleep.c: Likewise.
41208         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41209         ($(objpfx)libbsd-compat.a): Remove rule.
41211         * include/features.h (__FAVOR_BSD): Do not define.
41212         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41213         features conflicting with POSIX.
41214         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41215         (_BSD_SOURCE): Remove description of not being a subset of other
41216         feature test macros.
41217         * manual/job.texi (getpgrp): Do not document BSD version.
41218         (getpgid): Do not document by reference to BSD getpgrp.
41219         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41220         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41221         * signal/signal.h [__FAVOR_BSD]: Likewise.
41222         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41223         instead of making contents conditional on [__FAVOR_BSD].
41224         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41226 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41230 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41232         [BZ #16314]
41233         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41234         values below 2**-450, not 2**-500.
41235         * math/auto-libm-test-in: Don't allow spurious underflow from
41236         hypot.
41237         * math/auto-libm-test-out: Regenerated.
41239         [BZ #16316]
41240         [BZ #16330]
41241         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41242         values of ha and hb and sort them after adjusting subnormal
41243         arguments.
41244         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41245         Likewise.
41246         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41247         values of ea and eb and sort them after adjusting subnormal
41248         arguments.
41249         * math/auto-libm-test-in: Do not expect some hypot tests of
41250         subnormals to fail.  Add more hypot tests.
41251         * math/auto-libm-test-out: Regenerated.
41253 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41255         [BZ #13304]
41256         * sysdeps/sh/s_fma.c: New file.
41257         * sysdeps/sh/s_fmaf.c: New file.
41258         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41259         version.
41260         * sysdeps/sh/Implies: Add sh/soft-fp.
41262 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41264         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41265         level of indirection to members `objname', `errstring', `malloced'.
41266         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41267         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41268         it as the __longjmp argument (just pass 1 instead).
41269         (_dl_catch_error): Initialize C with argument pointers and address of
41270         volatile local ERRCODE rather than copying values out of C at return.
41272 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41274         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41275         * math/auto-libm-test-out: Regenerated.
41276         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41277         (hypot_test_data): Likewise.
41278         (pow_test_data): Likewise.
41279         (pow_tonearest_test_data): Likewise.
41280         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41281         mpfr_ff_f.
41282         (func_calc_desc): Add mpfr_ff_f union field.
41283         (FUNC_mpfr_ff_f): New macro.
41284         (test_functions): Add atan2, hypot and pow.
41285         (special_fill_min): New function.
41286         (special_fill_minus_min): Likewise.
41287         (special_fill_min_subnorm): Likewise.
41288         (special_fill_minus_min_subnorm): Likewise.
41289         (special_real_inputs): Add min, -min, min_subnorm and
41290         -min_subnorm.
41291         (calc_generic_results): Handle mpfr_ff_f.
41292         * sysdeps/i386/fpu/libm-test-ulps: Update.
41293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41295 2013-12-16  Will Newton  <will.newton@linaro.org>
41297         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41298         (Aligned Memory Blocks): Add documentation for aligned_alloc
41299         and suggest it as an alternative to posix_memalign.
41300         (Hooks for Malloc): Document __memalign_hook is also called
41301         for aligned_alloc.  (Summary of Malloc): Add summary for
41302         aligned alloc.  Document __memalign_hook is also called
41303         for aligned_alloc.
41305 2013-12-16  Will Newton  <will.newton@linaro.org>
41307         * manual/memory.texi (Malloc Examples): Clarify default
41308         alignment documentation.  Suggest posix_memalign rather
41309         than memalign or valloc.
41310         (Aligned Memory Blocks): Remove suggestion to use memalign
41311         or valloc.  Remove obsolete comment about BSD.
41312         Document memalign errno values and mark the function obsolete.
41313         Document posix_memalign returned error codes.  Mark valloc
41314         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41315         called for posix_memalign and valloc.
41316         (Summary of Malloc): Add posix_memalign to function summary.
41317         __memalign_hook is also called for posix_memalign and valloc.
41319 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41321         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41322         TAYLOR_SIN.
41323         (__sin): Adjust.
41324         (__cos): Likewise.
41325         (sloww): Use mynumber union.  Expand ternary operator into
41326         if-else statements.
41327         (cslow): use mynumber union.
41329 2013-12-16  Allan McRae  <allan@archlinux.org>
41331         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41332         * configure: Regenerated.
41334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41336         [BZ #14120]
41337         * configure.ac: Added --enable-maintainer-mode. Check for
41338         autoconf when enabled.
41339         * configure: Regenerated.
41341         * nscd/nscd.service: New file.
41342         * nscd/nscd.tmpfiles: New file.
41344 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41346         [BZ #12100]
41347         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41348         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41349         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41350         (strstr): Add __strstr_sse2_unaligned ifunc.
41351         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41352         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41353         (strcasestr): Remove __strcasestr_sse42 ifunc.
41354         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41358 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41360         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41361         * sysdeps/sh/bits/fenv.h: ... here.
41362         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41366         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41369         hypotf multiarch implementations.
41370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41371         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41372         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41373         multiarch hypot for PPC64.
41374         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41375         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41376         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41377         multiarch hypotf for PPC64.
41379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41380         modff multiarch implementations.
41381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41384         multiarch modf for PPC64.
41385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41388         multiarch modff for PPC64.
41390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41391         and logl multiarch implementations.
41392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41395         multiarch logb for PPC64.
41396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41399         multiarch logb for PPC64.
41400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41403         multiarch logb for PPC64.
41405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41406         isinff multiarch implementation.
41407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41408         file.
41409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41411         multiarch isinf for PPC64.
41412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41413         file.
41414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41415         multiarch isinff for PPC64.
41417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41418         finitef multiarch implementation.
41419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41420         file.
41421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41423         multiarch finite for PPC64.
41424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41425         file.
41426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41427         multiarch finitef for PPC64.
41429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41430         lrint multiarch implementation.
41431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41432         file.
41433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41435         multiarch llrint for PPC64.
41436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41437         multiarch lrint for PPC64.
41439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41440         copysignf multiarch implementation.
41441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41442         file.
41443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41444         file.
41445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41446         multiarch copysign for PPC64.
41447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41448         multiarch copysignf for PPC64.
41450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41451         multiarch implementation.
41452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41453         file.
41454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41455         file.
41456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41457         file.
41458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41459         file.
41460         multiarch llround for PPC64.
41461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41462         multiarch trunc for PPC64.
41463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41464         multiarch truncf for PPC64.
41466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41467         multiarch implementation.
41468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41469         file.
41470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41471         file.
41472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41473         file.
41474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41475         file.
41476         multiarch llround for PPC64.
41477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41478         multiarch round for PPC64.
41479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41480         multiarch roundf for PPC64.
41482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41483         multiarch implementation.
41484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41485         file.
41486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41487         file.
41488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41489         file.
41490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41491         file.
41492         multiarch llround for PPC64.
41493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41494         multiarch floor for PPC64.
41495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41496         multiarch floorf for PPC64.
41498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41499         multiarch implementation.
41500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41501         file.
41502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41503         file.
41504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41505         file.
41506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41507         file.
41508         multiarch llround for PPC64.
41509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41510         multiarch ceil for PPC64.
41511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41512         multiarch ceilf for PPC64.
41514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41515         multiarch implementation.
41516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41517         file.
41518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41519         file.
41520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41521         file.
41522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41523         multiarch llround for PPC64.
41524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41525         multiarch lround for PPC64.
41527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41528         multiarch implementation.
41529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41532         file.
41533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41536         multiarch isnan for PPC64.
41537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41538         multiarch isnanf for PPC64.
41540         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41541         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41542         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41543         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41544         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41547         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41548         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41553         multiarch implementations.
41554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41555         (__libc_ifunc_impl_list): Likewise.
41556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41559         multiarch stpcpy for PPC64.
41561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41562         multiarch implementations.
41563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41564         (__libc_ifunc_impl_list): Likewise.
41565         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41567         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41568         multiarch strcpy for PPC64.
41570         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41571         redefine function name.
41572         (_wordcopy_fwd_dest_aligned): Likewise.
41573         (_wordcopy_bwd_aligned): Likewise.
41574         (_wordcopy_bwd_dest_aligned): Likewise.
41575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41576         multiarch implementations.
41577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41578         (__libc_ifunc_impl_list): Likewise.
41579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41580         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41581         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41582         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41583         multiarch wcscpy for PPC64.
41585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41586         multiarch implementations.
41587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41588         (__libc_ifunc_impl_list): Likewise.
41589         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41590         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41591         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41592         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41593         multiarch wcscpy for PPC64.
41595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41596         multiarch implementations.
41597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41598         (__libc_ifunc_impl_list): Likewise.
41599         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41600         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41601         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41602         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41603         multiarch wcsrchr for PPC64.
41605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41606         multiarch implementations.
41607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41608         (__libc_ifunc_impl_list): Likewise.
41609         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41610         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41611         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41612         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41613         multiarch wcschr for PPC64.
41615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41616         multiarch implementations.
41617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41618         (__libc_ifunc_impl_list): Likewise.
41619         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41620         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41621         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41622         multiarch strchrnul for PPC64.
41624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41625         implementations.
41626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41627         (__libc_ifunc_impl_list): Likewise.
41628         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41629         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41630         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41631         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41632         strchr for PPC64.
41634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41635         implementations.
41636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41637         (__libc_ifunc_impl_list): Likewise.
41638         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41639         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41640         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41641         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41642         strncmp for PPC64.
41644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41645         multiarch implementations.
41646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41647         (__libc_ifunc_impl_list): Likewise.
41648         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41649         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41650         strncasecmp for PPC64.
41651         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41652         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41653         multiarch strncasecmp_l for PPC64.
41655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41656         multiarch implementations.
41657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41658         (__libc_ifunc_impl_list): Likewise.
41659         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41660         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41661         multiarch strcasecmp for PPC64.
41662         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41663         file.
41664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41665         multiarch strcasecmp_l for PPC64.
41667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41668         implementations.
41669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41670         (__libc_ifunc_impl_list): Likewise.
41671         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41672         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41673         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41674         strnlen for PPC64.
41676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41677         implementations.
41678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41679         (__libc_ifunc_impl_list): Likewise.
41680         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41682         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41683         strlen for PPC64.
41685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41686         implementations.
41687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41688         (__libc_ifunc_impl_list): Likewise.
41689         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41690         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41691         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41692         rawmemrchr for PPC64.
41694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41695         implementation.
41696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41697         (__libc_ifunc_impl_list): Likewise.
41698         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41699         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41700         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41701         memrchr for PPC64.
41703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41704         implementation.
41705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41706         (__libc_ifunc_impl_list): Likewise.
41707         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41708         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41709         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41710         memchr for PPC64.
41712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41713         implementation.
41714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41715         (__libc_ifunc_impl_list): Likewise.
41716         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41717         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41718         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41719         mempcpy for PPC64.
41721         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41722         avoid cretion of __bzero symbol.
41723         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41724         Likewise.
41725         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41726         Likewise.
41727         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41728         Likewise.
41729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41730         multiarch implementations.
41731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41732         (__libc_ifunc_impl_list): Likewise.
41733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41734         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41735         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41736         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41737         bzero for PPC32.
41738         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41739         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41740         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41741         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41742         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41743         memset for PPC64.
41744         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41746         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41748         implementations.
41749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41750         (__libc_ifunc_impl_list): Likewise.
41751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41752         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41753         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41754         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41755         memcmp for PPC64.
41757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41758         multiarch for POWER/PPC64.
41759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41760         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41767         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41768         memcpy for PPC64.
41770         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41771         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41772         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41773         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41774         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41775         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41776         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41777         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41778         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41779         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41780         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41781         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41782         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41783         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41784         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41793 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41797 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41799         * benchtests/Makefile (bench): Add exp2 and log2.
41800         (LDLIBS-bench-exp2): Add -lm.
41801         (LDLIBS-bench-log2): Likewise.
41802         * benchtests/exp2-inputs: New inputs file.
41803         * benchtests/log2-inputs: New inputs file.
41804         * benchtests/log-inputs: Add new inputs.
41805         * benchtests/tan-inputs: Likewise.
41807 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41809         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41810         definition...
41811         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41812         (csloww2): ... from here.
41814         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41815         instead of structures.
41816         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41817         (POLYNOMIAL): Likewise.
41818         (TAYLOR_SLOW): Likewise.
41819         (__sin): Likewise.
41820         (__cos): Likewise.
41821         (slow1): Likewise.
41822         (slow2): Likewise.
41823         (sloww): Likewise.
41824         (sloww1); Likewise.
41825         (sloww2): Likewise.
41826         (bsloww1): Likewise.
41827         (bsloww2): Likewise.
41828         (cslow2): Likewise.
41829         (csloww): Likewise.
41830         (csloww1): Likewise.
41831         (csloww2): Likewise.
41833 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41835         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41836         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41837         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41838         * malloc/hooks.c (realloc_check): Likewise.
41840         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41841         * malloc/arena.c: Remove PER_THREAD conditional.
41842         [!PER_THREAD]: Remove code.
41843         (ptmalloc_unlock_all2): Likewise.
41844         (ptmalloc_init): Likewise.
41845         (_int_new_arena): Likewise.
41846         (arena_get2): Likewise.
41847         * malloc/hooks.c (__malloc_get_state): Likewise.
41848         (__malloc_set_state): Likewise.
41849         * malloc/malloc.c: Likewise.
41850         (struct malloc_state): Likewise.
41851         (struct malloc_par): Likewise.
41852         (__libc_realloc): Likewise.
41853         (__libc_mallopt): Likewise.
41855 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41857         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41859 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41861         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41862         macro to a function.  Check for zero perturb_byte.
41863         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41865         * malloc/malloc.c: (force_reg): Remove.
41866         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41867         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41868         force_reg by atomic_forced_read.
41869         * malloc/arena.c (ptmalloc_init): Likewise.
41870         * malloc/hooks.c (top_check): Likewise.
41872 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41876 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41880 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41882         * math/auto-libm-test-in: Add tests of lgamma.
41883         * math/auto-libm-test-out: Regenerated.
41884         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41885         (M_LOG_2_SQRT_PIl): Likewise.
41886         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41887         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41888         mpfr_f_f1.
41889         (func_calc_desc): Add mpfr_f_f1 union field.
41890         (ARGS1): New macro.
41891         (ARGS2): Likewise.
41892         (ARGS3): Likewise.
41893         (ARGS4): Likewise.
41894         (RET1): Likewise.
41895         (RET2): Likewise.
41896         (CALC): Likewise.
41897         (FUNC): Likewise.
41898         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41899         (test_functions): Add lgamma.
41900         (calc_generic_results): Handle mpfr_f_f1.
41901         * sysdeps/i386/fpu/libm-test-ulps: Update.
41902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41904 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41906         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41907         __mpn_add_n for PowerPC64/POWER7.
41908         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41909         __mpn_sub_n for PowerPC64/POWER7.
41911         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41912         __mpn_addmul_1 for PowerPC64.
41913         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41914         __mpn_submul_1 for PowerPC64.
41915         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41916         for PowerPC64.
41917         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41918         for PowerPC64.
41920 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41922         [BZ #15089]
41923         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41925 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41927         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41929         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41930         add multiarch folders.
41931         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41932         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41933         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41934         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41935         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41936         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41937         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41938         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41939         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41940         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41941         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41950         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41952         New file.
41953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41954         New file.
41955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41956         multiarch __ieee754_hypot for PowerPC32.
41957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41958         New file.
41959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41960         New file.
41961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41962         multiarch __ieee754_hypotf for PowerPC32.
41964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41965         long_double_symbol only if __logbl is defined.
41966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41967         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41969         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41971         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41973         path for implementation.
41974         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41975         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41977         logb, and logbl multiarch implementations for PowerPC32.
41978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41979         file.
41980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41981         file.
41982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41983         multiarch logb for PowerPC32.
41984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41985         file.
41986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41987         file.
41988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41989         multiarch logbf for PowerPC32.
41990         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41992         file.
41993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41994         multiarch logbl implementation for PowerPC32.
41996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41997         and modff multiarch implementations.
41998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41999         New file.
42000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42001         New file.
42002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42003         multiarch modf for PowerPC32.
42004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42005         New file.
42006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42007         New file.
42008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42009         multiarch modff for PowerPC32.
42011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42012         and lrintf multiarch implementations.
42013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42014         New file.
42015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42016         New file.
42017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42018         multiarch lrint for PowerPC32.
42019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42020         file: multiarch lrintf for PowerPC32.
42022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42023         and lroundf multiarch implementations.
42024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42025         New file.
42026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42027         New file.
42028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42029         New file.
42030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42031         multiarch lround for PowerPC32.
42032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42033         file: multiarch lroundf for PowerPC32.
42035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42036         copysign and copysignf multiarch implementations.
42037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42038         New file.
42039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42040         New file.
42041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42042         file: multiarch copysign for PowerPC32.
42043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42044         file: multiarch copysignf for PowerPC32.
42046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42047         and truncf multiarch implementations.
42048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42049         New file.
42050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42051         file.
42052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42053         multiarch trunc for PowerPC32.
42054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42055         New file.
42056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42057         New file.
42058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42059         multiarch truncf for PowerPC32.
42061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42062         and roundf multiarch implementations.
42063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42064         New file.
42065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42066         file.
42067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42068         multiarch round for PowerPC32.
42069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42070         New file.
42071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42072         New file.
42073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42074         multiarch roundf for PowerPC32.
42076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42077         and floorf multiarch implementations.
42078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42079         New file.
42080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42081         file.
42082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42083         multiarch floor for PowerPC32.
42084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42085         New file.
42086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42087         New file.
42088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42089         multiarch floorf for PowerPC32.
42091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42092         and ceilf multiarch implementations.
42093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42094         New file.
42095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42096         file.
42097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42098         multiarch ceil for PowerPC32.
42099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42100         New file.
42101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42102         file.
42103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42104         multiarch ceilf for PowerPC32.
42106         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42107         is defined.
42108         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42109         FINITEF is defined.
42110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42111         and finitef multiarch implementations.
42112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42113         New file.
42114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42115         file.
42116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42117         multiarch finite for PowerPC32.
42118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42119         New file.
42120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42121         file: multiarch finitef for PowerPC32.
42123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42124         and isinff multiarch implementations.
42125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42126         file.
42127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42128         file.
42129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42130         multiarch isinf for PowerPC32.
42131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42132         New file.
42133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42134         multiarch isinff for PowerPC32.
42136         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42137         alias when __isnan is defined.
42138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42139         and isnanf multiarch implementations.
42140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42141         file.
42142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42143         file.
42144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42145         file.
42146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42147         file.
42148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42149         multiarch isnan for PowerPC32.
42150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42151         New file.
42152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42153         New file.
42154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42155         multiarch isnanf for PowerPC32.
42157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42158         and sqrtf multiarch implementations.
42159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42160         file.
42161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42162         file.
42163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42164         multiarch sqrt for PowerPC32.
42165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42166         file.
42167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42168         file.
42169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42170         multiarch sqrtf for PowerPC32.
42172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42173         and llroundf multiarch implementations.
42174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42175         New file.
42176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42177         New file.
42178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42179         New file.
42180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42181         file: multiarch llround for PowerPC32.
42182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42183         file: multiarch llroundf for PowerPC32.
42185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42186         multiarch PowerPC32 fpu implementations.
42187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42188         New file.
42189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42190         New file.
42191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42192         multiarch llrint for PowerPC32.
42193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42194         New file.
42195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42196         New file.
42197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42198         file.
42200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42203         file.
42204         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42205         file.
42206         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42207         file.
42208         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42209         multiarch wordcopy for PPC32.
42210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42211         wordcopy objects.
42212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42213         (__libc_ifunc_impl_list): Likewise.
42214         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42215         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42216         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42217         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42218         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42219         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42221         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42223         file.
42224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42225         file.
42226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42227         file.
42228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42229         multiarch wcscpy for PPC32.
42230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42231         multiarch objects.
42232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42233         (__libc_ifunc_impl_list): Likewise.
42234         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42235         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42236         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42237         sysdeps/powerpc/power6/wcscpy.c.
42239         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42241         file.
42242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42243         file.
42244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42245         file.
42246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42247         multiarch wcsrchr for PPC32.
42248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42249         multiarch objects.
42250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42251         (__libc_ifunc_impl_list): Likewise.
42252         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42253         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42254         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42255         sysdeps/powerpc/power6/wcsrchr.c.
42257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42258         file.
42259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42260         file.
42261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42263         multiarch wcschr for PPc32.
42264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42265         multiarch objects.
42266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42267         (__libc_ifunc_impl_list): Likewise.
42268         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42269         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42270         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42271         sysdeps/powerpc/power6/wcschr.c.
42273         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42274         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42275         file.
42276         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42277         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42278         file: multiarch strchr for PPC32.
42279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42280         multiarch objects.
42281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42282         (__libc_ifunc_impl_list): Likewise.
42284         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42285         name.
42286         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42287         file.
42288         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42289         file.
42290         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42291         multiarch strchrnul for PPC32.
42292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42293         multiarch objects.
42294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42295         (__libc_ifunc_impl_list): Likewise.
42297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42298         file.
42299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42300         multiarch strncasecmp for PPC32.
42301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42302         file.
42303         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42304         multiarch strncasecmp_l for PPC32.
42305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42306         strncasecmp multiarch objects.
42307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42308         (__libc_ifunc_impl_list): Likewise.
42310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42311         file.
42312         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42313         multiarch strncasecmp for PPC32.
42314         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42315         New file.
42316         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42317         multiarch strcasecmp_l for PPC32.
42318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42319         multiarch objects.
42320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42321         (__libc_ifunc_impl_list): Likewise.
42323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42324         file.
42325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42326         file.
42327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42328         multiarch strncmp for PPC32.
42329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42330         multiarch objects.
42331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42332         (__libc_ifunc_impl_list): Likewise.
42334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42335         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42336         file.
42337         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42338         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42340         multiarch objects.
42341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42342         (__libc_ifunc_impl_list): Likewise.
42344         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42345         file.
42346         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42347         file.
42348         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42350         multiarch objects.
42351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42352         (__libc_ifunc_impl_list): Likewise.
42354         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42355         file.
42356         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42357         file.
42358         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42359         multiarch rawmemchr for PPC32.
42360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42361         multiarch objects.
42362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42363         (__libc_ifunc_impl_list): Likewise.
42365         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42366         file.
42367         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42368         file.
42369         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42370         file: memrchr multiarch for PPC32.
42371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42372         multiarch objects.
42373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42374         (__libc_ifunc_impl_list): Likewise.
42376         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42377         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42378         file.
42379         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42381         multiarch memchr for PPC32.
42382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42383         multiarch objects.
42384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42385         (__libc_ifunc_impl_list): Likewise.
42387         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42388         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42389         file.
42390         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42391         file.
42392         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42393         file: multiarch mempcpy for PPC32.
42394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42395         multiarch objects.
42396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42397         (__libc_ifunc_impl_list): Likewise.
42399         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42400         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42401         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42402         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42403         multiarch bzero for PPC32.
42404         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42405         file.
42406         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42407         file.
42408         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42409         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42410         file: multiarch memset for PPC32.
42411         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42413         memset multiarch objects.
42414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42415         (__libc_ifunc_impl_list): Likewise.
42417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42418         file.
42419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42421         memcmp for PPC32.
42422         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42424         multiarch objects.
42425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42426         (__libc_ifunc_impl_list): Likewise.
42428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42431         file.
42432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42433         file.
42434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42435         file.
42436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42437         multiarch memcpy for PPC32.
42438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42439         multiarch objects.
42440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42441         (__libc_ifunc_impl_list): Likewise.
42443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42444         support multiarch for POWER/PPC32.
42445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42446         Likewise.
42447         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42449         Implies file to make multiarch folder appers before the fpu and
42450         default folder for power4 configuration.
42452 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42454         * scripts/bench.pl: Append volatile keyword to type.
42456 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42458         * sysdeps/sh/sotruss-lib.c: New file.
42459         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42461 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42465 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42467         [BZ #6810]
42468         * math/w_tgamma.c: Include <errno.h>.
42469         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42470         * math/w_tgammaf.c: Include <errno.h>.
42471         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42472         * math/w_tgammal.c: Include <errno.h>.
42473         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42474         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42475         underflow.  Add more tgamma tests.
42476         * math/auto-libm-test-out: Regenerated.
42477         * sysdeps/i386/fpu/libm-test-ulps: Update.
42478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42480         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42481         sin, sinh, tan, tanh, tgamma, y0 and y1.
42482         * math/auto-libm-test-out: Regenerated.
42483         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42484         (TEST_COND_x86): Likewise.
42485         (M_E2l): Remove macro.
42486         (M_E3l): Likewise.
42487         (M_2_SQRT_PIl): Likewise.
42488         (M_SQRT_PIl): Likewise.
42489         (M_1_DIV_El): Likewise.
42490         (log_test_data): Use AUTO_TESTS_f_f.
42491         (log10_test_data): Likewise.
42492         (log1p_test_data): Likewise.
42493         (log2_test_data): Likewise.
42494         (sin_test_data): Likewise.
42495         (sin_tonearest_test_data): Likewise.
42496         (sin_towardzero_test_data): Likewise.
42497         (sin_downward_test_data): Likewise.
42498         (sin_upward_test_data): Likewise.
42499         (sinh_test_data): Likewise.
42500         (sinh_tonearest_test_data): Likewise.
42501         (sinh_towardzero_test_data): Likewise.
42502         (sinh_downward_test_data): Likewise.
42503         (sinh_upward_test_data): Likewise.
42504         (tan_test_data): Likewise.
42505         (tan_tonearest_test_data): Likewise.
42506         (tan_towardzero_test_data): Likewise.
42507         (tan_downward_test_data): Likewise.
42508         (tan_upward_test_data): Likewise.
42509         (tanh_test_data): Likewise.
42510         (tgamma_test_data): Likewise.
42511         (y0_test_data): Likewise.
42512         (y1_test_data): Likewise.
42513         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42514         (special_real_inputs): Add pi/4.
42515         * sysdeps/i386/fpu/libm-test-ulps: Update.
42516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42518 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42520         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42521         "longjmp_target" static probes.
42522         (__longjmp): Rename to __longjmp_symbol.
42523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42524         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42525         on which longjmp to generate.
42526         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42527         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42528         probe.
42529         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42530         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42531         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42532         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42533         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42536         __longjmp_symbol based on which __longjmp to generate.
42537         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42538         probe.
42539         (setjmp): Rename to setjmp_symbol.
42540         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42541         (_setjmp): Rename to _setjmp_symbol.
42542         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42543         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42544         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42545         which setjmp to generate.
42546         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42547         "longjmp_target" static probes.
42549 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42551         * benchtests/README: Add note about output arguments.
42552         * benchtests/bench-sincos.c: Remove file.
42553         * benchtests/sincos-inputs: New file.
42554         * scripts/bench.pl: Identify output arguments and define
42555         static variables for them.
42557         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42559         [BZ #15941]
42560         * Makefile (INSTALL): Add install-plain.texi as the primary
42561         dependency.
42562         * manual/install-plain.texi: New file.
42563         * manual/install.texi: Include node directive only for
42564         non-plaintext output.
42566 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42568         * stdlib/longlong.h: Update from GCC.
42570         [BZ #6807]
42571         [BZ #15901]
42572         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42573         * math/w_j0f.c (y0f): Likewise.
42574         * math/w_j0l.c (__y0l): Likewise.
42575         * math/w_j1.c (y1): Likewise.
42576         * math/w_j1f.c (y1f): Likewise.
42577         * math/w_j1l.c (__y1l): Likewise.
42578         * math/w_jn.c (yn): Likewise.
42579         * math/w_jnf.c (ynf): Likewise.
42580         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42581         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42582         value for Bessel function domain errors outside _SVID_ mode.
42583         Adjust sign of return value for yn (negative integer, 0).
42584         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42585         by zero in return for negative x and set sign appropriately for
42586         negative n.
42587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42589         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42590         expectations in error cases.
42591         (y1_test_data): Likewise.
42592         (yn_test_data): Likewise.
42593         * sysdeps/i386/fpu/libm-test-ulps: Update.
42594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42596 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42598         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42599         "64" to "64-v1".  Add "64-v2".
42600         (abi-64-options): Rename to ...
42601         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42602         (abi-64-condition): Rename to ...
42603         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42604         (abi-64-ld-soname): Rename to ...
42605         (abi-64-v1-ld-soname): ... this.
42606         (abi-64-v2-options): Define.
42607         (abi-64-v2-condition): Likewise.
42608         (abi-64-v2-ld-soname): Likewise.
42609         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42610         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42615 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42616             Alan Modra  <amodra@gmail.com>
42618         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42619         New versions for use with the ELFv2 ABI.
42620         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42621         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42622         declaration.
42623         (struct La_ppc64v2_retval): Likewise.
42624         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42625         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42626         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42627         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42628         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42629         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42630         Do not save or restore CR.
42631         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42632         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42633         return values for ELFv2 ABI.  Fix location of FPR return registers.
42634         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42635         updated values for _CALL_ELF == 2.
42636         (La_regs, La_retval, int_retval): Likewise.
42638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42640         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42641         (FRAME_MIN_SIZE_PARM): Likewise.
42642         (FRAME_BACKCHAIN): Likewise.
42643         (FRAME_CR_SAVE): Likewise.
42644         (FRAME_LR_SAVE): Likewise.
42645         (FRAME_TOC_SAVE): Likewise.
42646         (FRAME_PARM_SAVE): Likewise.
42647         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42648         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42649         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42650         (call_mcount_parm_offset): New macro.
42651         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42652         (PROF): Use symbolic stack frame offsets.
42653         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42654         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42655         Redefine in terms of FRAME_MIN_SIZE.
42656         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42657         (_dl_profile_resolve): Likewise.  Update comment.
42658         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42659         symbols stack frame offsets.
42660         (__sigsetjmp): Likewise.
42661         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42662         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42663         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42664         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42667         (FRAME_BACKCHAIN): Remove.
42668         (FRAME_CR_SAVE): Likewise.
42669         (FRAME_LR_SAVE): Likewise.
42670         (FRAME_COMPILER_DW): Likewise.
42671         (FRAME_LINKER_DW): Likewise.
42672         (FRAME_TOC_SAVE): Likewise.
42673         (FRAME_PARM_SAVE): Likewise.
42674         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42675         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42676         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42678         (CHECK_SP): Use symbolic stack frame offsets.
42679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42680         zone" instead of caller's parameter save area for temp storage.
42681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42682         Likewise.  Also, use symbolic stack frame offsets.
42683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42684         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42685         our own stack frame instead of the caller's.
42686         (__socket): Use symbolic stack frame offsets.
42688 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42689             Alan Modra  <amodra@gmail.com>
42691         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42692         Define.
42693         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42694         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42695         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42696         New function.
42697         (elf_machine_fixup_plt): Call it.
42698         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42699         reloc arguments.
42700         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42701         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42702         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42703         r2 before calling target.
42705 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42706             Alan Modra  <amodra@gmail.com>
42708         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42709         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42710         versions of macros to support ELFv2 ABI.
42711         (LOCALENTRY): New macro.
42712         (ENTRY, EALIGN): Use it.
42713         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42714         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42715         fall through into ENTRY entry point.
42716         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42717         Only define if _CALL_ELF != 2.
42719         (elf_machine_matches_host): Verify ABI version matches.
42720         (RTLD_START): Use LOCALENTRY.
42721         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42722         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42723         (PLT_ENTRY_WORDS): New macro.
42724         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42725         (elf_machine_runtime_setup): Support ELFv2 ABI.
42726         (elf_machine_fixup_plt): Likewise.
42727         (elf_machine_plt_conflict): Likewise.
42728         (resolve_ifunc): Likewise.
42729         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42731         Likewise.
42732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42733         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42735         (makecontext): Support ELFv2 ABI.
42736         * elf/elf.h (EF_PPC64_ABI): Define.
42738 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42740         * sysdeps/powerpc/powerpc64/sysdep.h
42741         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42742         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42743         (ENTRY) [ASSEMBLER]: ... but instead here ...
42744         (EALIGN) [ASSEMBLER]: ... and here.
42745         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42746         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42747         (ENTRY_2) [!ASSEMBLER]: Use it.
42748         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42749         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42750         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42751         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42752         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42754         Use PPC64_LOAD_FUNCPTR.
42756         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42758 2013-12-04  Alan Modra  <amodra@gmail.com>
42760         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42761         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42762         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42763         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42765         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42766         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42767         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42768         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42769         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42770         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42775         (__makecontext): Fix incorrect CFI when backtracing out of
42776         context created via makecontext.
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42778         (__setcontext): Fix incorrect CFI during switch to new context.
42779         (__novec_setcontext): Likewise.
42781 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42783         [BZ #4772]
42784         * time/strptime_l.c (__strptime_internal): Allow modifiers
42785         in strptime.
42786         * time/tst-strptime.c (day_tests): Add testcase.
42788 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42790         * scripts/bench.pl: Skip over blank lines.
42792 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42794         [BZ #926]
42795         * manual/time.texi (Calendar Time): Clarify what timezone functions
42796         use.
42798 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42802 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42804         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42805         implementation.
42806         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42807         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42808         * debug/memset_chk.c (__memset_chk): Likewise.
42809         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42810         * debug/strncpy_chk.c: Likewise.
42812 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42814         [BZ #15268]
42815         [BZ #15425]
42816         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42817         (__ieee754_exp): For possibly underflowing results, check size of
42818         result and force underflow exception if required.
42819         * math/auto-libm-test-in: Add more tests of exp.
42820         * math/auto-libm-test-out: Regenerated.
42821         * sysdeps/i386/fpu/libm-test-ulps: Update.
42822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42824         [BZ #16283]
42825         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42826         * math/w_exp2f.c (__exp2f): Likewise.
42827         * math/w_exp2l.c (__exp2l): Likewise.
42828         * math/auto-libm-test-in: Do not allow missing errno on exp2
42829         underflow.
42830         * math/auto-libm-test-out: Regenerated.
42832 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42834         [BZ #16274]
42835         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42836         handle filename validation.
42837         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42838         (do_open): Delete.
42840 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42842         [BZ #6786]
42843         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42844         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42845         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42846         <float.h>.
42847         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42849         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42851         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42853         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42854         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42855         Add more erfc tests.
42856         * math/auto-libm-test-out: Regenerated.
42857         * sysdeps/i386/fpu/libm-test-ulps: Update.
42858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42860         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42861         exp2, expm1, j0 and j1.
42862         * math/auto-libm-test-out: Regenerated.
42863         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42864         (erfc_test_data): Likewise.
42865         (exp_test_data): Likewise.
42866         (exp_tonearest_test_data): Likewise.
42867         (exp_towardzero_test_data): Likewise.
42868         (exp_downward_test_data): Likewise.
42869         (exp_upward_test_data): Likewise.
42870         (exp10_test_data): Likewise.
42871         (exp2_test_data): Likewise.
42872         (expm1_test_data): Likewise.
42873         (j0_test_data): Likewise.
42874         (j1_test_data): Likewise.
42875         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42876         (input_flag_type): Add flag_xfail_rounding.
42877         (input_flags): Add xfail-rounding.
42878         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42879         (output_for_one_input_case): Handle flag_xfail_rounding.
42880         * sysdeps/i386/fpu/libm-test-ulps: Update.
42881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42883 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42885         [BZ #16289]
42886         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42887         division by 0.
42889 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42891         [BZ #16195]
42892         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42893         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42894         (STAP_PROBE0): New macro.
42895         (STAP_PROBE1): Likewise.
42896         (STAP_PROBE2): Likewise.
42897         (STAP_PROBE3): Likewise.
42898         (STAP_PROBE4): Likewise.
42900 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42902         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42904 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42906         * benchtests/Makefile (bench): Add sqrt.
42907         (LDLIBS-bench-sqrt): New.
42908         * benchtests/sqrt-input: New.
42910 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42912         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42913         (GAIH_EAI): Likewise.
42914         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42915         (gaih_inet): Likewise.
42916         (getaddrinfo): Don't use GAIH_EAI.
42918         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42919         (struct gaih): Remove definition.
42921 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42923         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42924         Use HERRNOP directly.
42926 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42930 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42932         * math/gen-auto-libm-tests.c (test_functions): Add more
42933         single-argument functions.
42934         (special_fill_pi_2): New function.
42935         (special_fill_minus_pi_2): Likewise.
42936         (special_fill_pi_6): Likewise.
42937         (special_fill_minus_pi_6): Likewise.
42938         (special_fill_pi_3): Likewise.
42939         (special_fill_2pi_3): Likewise.
42940         (special_fill_e): Likewise.
42941         (special_fill_1_e): Likewise.
42942         (special_fill_e_minus_1): Likewise.
42943         (special_real_inputs): Add more special inputs.
42944         (output_for_one_input_case): Do not require ERANGE on underflow to
42945         zero if round-to-nearest result does not underflow to zero, unless
42946         exact results required.
42947         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42948         atan, atanh, cbrt, cos and cosh.
42949         * math/auto-libm-test-out: Regenerated.
42950         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42951         (acos_tonearest_test_data): Likewise.
42952         (acos_towardzero_test_data): Likewise.
42953         (acos_downward_test_data): Likewise.
42954         (acos_upward_test_data): Likewise.
42955         (acosh_test_data): Likewise.
42956         (asin_test_data): Likewise.
42957         (asin_tonearest_test_data): Likewise.
42958         (asin_towardzero_test_data): Likewise.
42959         (asin_upward_test_data): Likewise.
42960         (asinh_test_data): Likewise.
42961         (atan_test_data): Likewise.
42962         (atanh_test_data): Likewise.
42963         (cbrt_test_data): Likewise.
42964         (cos_test_data): Likewise.
42965         (cos_tonearest_test_data): Likewise.
42966         (cos_towardzero_test_data): Likewise.
42967         (cos_downward_test_data): Likewise.
42968         (cos_upward_test_data): Likewise.
42969         (cosh_test_data): Likewise.
42970         (cosh_tonearest_test_data): Likewise.
42971         (cosh_towardzero_test_data): Likewise.
42972         (cosh_downward_test_data): Likewise.
42973         (cosh_upward_test_data): Likewise.
42974         * sysdeps/i386/fpu/libm-test-ulps: Update.
42975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42977 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42979         [BZ #6787]
42980         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42981         * math/w_exp10f.c (__exp10f): Likewise.
42982         * math/w_exp10l.c (__exp10l): Likewise.
42983         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42984         errno settings in existing tests.
42986         [BZ #14032]
42987         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42988         precision control set to double precision.
42989         * sysdeps/i386/fpu/w_sqrt.c: New file.
42990         * math/auto-libm-test-in: Add more tests.
42991         * math/auto-libm-test-out: Update.
42993         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42994         (sqrt_test_tonearest): New function.
42995         (sqrt_towardzero_test_data): New variable.
42996         (sqrt_test_towardzero): New function.
42997         (sqrt_downward_test_data): New variable.
42998         (sqrt_test_downward): New function.
42999         (sqrt_upward_test_data): New variable.
43000         (sqrt_test_upward): New function.
43001         (main): Call the new functions.
43003         * math/gen-auto-libm-tests.c: New file.
43004         * math/auto-libm-test-in: Likewise.
43005         * math/auto-libm-test-out: New generated file.
43006         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43007         variables.
43008         (%beautify): Add generated representations of zero.
43009         (top level): Set $auto_input and call parse_auto_input.
43010         (beautify): Remove trailing "f" from hex float constants.
43011         (parse_args): Handle XFAIL_TEST.
43012         (convert_condition): New function.
43013         (or_value): Likewise.
43014         (or_cond_value): Likewise.
43015         (generate_testfile): Handle AUTO_TESTS_* lines.
43016         (parse_auto_input): New function.
43017         * math/libm-test.inc (XFAIL_TEST): New macro.
43018         (ERRNO_UNCHANGED): Update value.
43019         (ERRNO_EDOM): Likewise.
43020         (ERRNO_ERANGE): Likewise.
43021         (IGNORE_RESULT): Likewise.
43022         (TEST_COND_flt_32): New macro.
43023         (TEST_COND_dbl_64): Likewise.
43024         (TEST_COND_ldbl_96_intel): Likewise.
43025         (TEST_COND_ldbl_96_m68k): Likewise.
43026         (TEST_COND_ldbl_128): Likewise.
43027         (TEST_COND_ldbl_128ibm): Likewise.
43028         (TEST_COND_long32): Likewise.
43029         (TEST_COND_long64): Likewise.
43030         (TEST_COND_before_rounding): Likewise.
43031         (TEST_COND_after_rounding): Likewise.
43032         (enable_test): Handle XFAIL_TEST flag.
43033         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43034         with finite results.
43035         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43036         auto-libm-test-out.
43038 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43041         [BZ #16214]
43042         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43043         __tls_get_addr_internal instead of __tls_get_offset in order to
43044         avoid GOT pointer dependency.  Make rtld export
43045         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43046         __tls_get_addr since we are a __tls_get_offset platform.
43047         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43048         GOT pointer being set up before.
43049         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43051 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43053         * manual/math.texi (Errors in Math Functions): Document accuracy
43054         goals.
43056         [BZ #15004]
43057         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43058         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43059         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43060         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43061         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43062         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43063         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43064         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43065         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43066         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43067         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43068         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43074         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43075         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43076         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43077         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43078         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43079         Likewise.
43080         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43081         Likewise.
43082         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43083         Likewise.
43084         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43085         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43086         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43087         atomic-feupdateenv and flt-rounds.
43088         * sysdeps/powerpc/nofpu/Versions (libc): Add
43089         __atomic_feholdexcept, __atomic_feclearexcept,
43090         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43091         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43092         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43093         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43094         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43095         here.
43096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43097         Update.
43099         * manual/arith.texi (FP Exceptions): Document that exceptions may
43100         not be raised when matherr is used.
43101         (Math Error Reporting): Document overflow in directed rounding
43102         modes.  Document that errno may not be set when finite values are
43103         returned on overflow.  Document intent to set errno on underflow
43104         only for underflow to zero.
43106         [BZ #16271]
43107         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43108         round-to-nearest then adjust result for other rounding modes.
43109         * include/fenv.h (fegetround): Use libm_hidden_proto.
43110         * math/fegetround.c (fegetround): Use libm_hidden_def.
43111         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43112         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43113         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43115         Likewise.
43116         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43117         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43118         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43119         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43121 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43123         [BZ #16077]
43124         * nss/Versions (libnss_files): Add
43125         _nss_files_gethostbyname3_r.
43126         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43127         New function.
43128         (HOST_DB_LOOKUP): Remove macro.
43129         (_nss_files_gethostbyname_r): Implement function without the
43130         HOST_DB_LOOKUP macro.
43131         (_nss_files_gethostbyname2_r): Likewise.
43133 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43135         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43137 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43139         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43140         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43141         warning.
43143 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43146         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43147         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43148         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43150         __fe_nomask_env_priv and attribute_hidden.
43151         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43152         (libc_feupdateenv_test_ppc): Likewise.
43153         (libc_feresetround_ppc): Likewise.
43154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43155         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43156         compat_symbol macro.
43157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43158         (__fe_nomask_env): Likewise.
43159         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43163         * string/Makefile: Remove ifunc tests.
43164         * string/test-string.h: Define TEST_IFUNC.
43165         * string/test-bcopy-ifunc.c: Remove.
43166         * string/test-bzero-ifunc.c: Likewise.
43167         * string/test-memccpy-ifunc.c: Likewise.
43168         * string/test-memchr-ifunc.c: Likewise.
43169         * string/test-memcmp-ifunc.c: Likewise.
43170         * string/test-memcpy-ifunc.c: Likewise.
43171         * string/test-memmem-ifunc.c: Likewise.
43172         * string/test-memmove-ifunc.c: Likewise.
43173         * string/test-mempcpy-ifunc.c: Likewise.
43174         * string/test-memrchr-ifunc.c: Likewise.
43175         * string/test-memset-ifunc.c: Likewise.
43176         * string/test-rawmemchr-ifunc.c: Likewise.
43177         * string/test-stpcpy-ifunc.c: Likewise.
43178         * string/test-stpncpy-ifunc.c: Likewise.
43179         * string/test-strcasecmp-ifunc.c: Likewise.
43180         * string/test-strcasestr-ifunc.c: Likewise.
43181         * string/test-strcat-ifunc.c: Likewise.
43182         * string/test-strchr-ifunc.c: Likewise.
43183         * string/test-strchrnul-ifunc.c: Likewise.
43184         * string/test-strcmp-ifunc.c: Likewise.
43185         * string/test-strcpy-ifunc.c: Likewise.
43186         * string/test-strcspn-ifunc.c: Likewise.
43187         * string/test-strlen-ifunc.c: Likewise.
43188         * string/test-strncasecmp-ifunc.c: Likewise.
43189         * string/test-strncat-ifunc.c: Likewise.
43190         * string/test-strncmp-ifunc.c: Likewise.
43191         * string/test-strncpy-ifunc.c: Likewise.
43192         * string/test-strnlen-ifunc.c: Likewise.
43193         * string/test-strpbrk-ifunc.c: Likewise.
43194         * string/test-strrchr-ifunc.c: Likewise.
43195         * string/test-strspn-ifunc.c: Likewise.
43196         * string/test-strstr-ifunc.c: Likewise.
43198 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43200         * benchtests/Makefile: Remove ifunc tests.
43201         * benchtests/bench-string.h: Define TEST_IFUNC.
43202         * benchtests/bench-bcopy-ifunc.c: Remove.
43203         * benchtests/bench-bzero-ifunc.c: Likewise.
43204         * benchtests/bench-memccpy-ifunc.c: Likewise.
43205         * benchtests/bench-memchr-ifunc.c: Likewise.
43206         * benchtests/bench-memcmp-ifunc.c: Likewise.
43207         * benchtests/bench-memcpy-ifunc.c: Likewise.
43208         * benchtests/bench-memmem-ifunc.c: Likewise.
43209         * benchtests/bench-memmove-ifunc.c: Likewise.
43210         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43211         * benchtests/bench-memrchr-ifunc.c: Likewise.
43212         * benchtests/bench-memset-ifunc.c: Likewise.
43213         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43214         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43215         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43216         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43217         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43218         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43219         * benchtests/bench-strcat-ifunc.c: Likewise.
43220         * benchtests/bench-strchr-ifunc.c: Likewise.
43221         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43222         * benchtests/bench-strcmp-ifunc.c: Likewise.
43223         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43224         * benchtests/bench-strcpy-ifunc.c: Likewise.
43225         * benchtests/bench-strcspn-ifunc.c: Likewise.
43226         * benchtests/bench-strlen-ifunc.c: Likewise.
43227         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43228         * benchtests/bench-strncat-ifunc.c: Likewise.
43229         * benchtests/bench-strncmp-ifunc.c: Likewise.
43230         * benchtests/bench-strncpy-ifunc.c: Likewise.
43231         * benchtests/bench-strnlen-ifunc.c: Likewise.
43232         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43233         * benchtests/bench-strrchr-ifunc.c: Likewise.
43234         * benchtests/bench-strsep-ifunc.c: Likewise.
43235         * benchtests/bench-strspn-ifunc.c: Likewise.
43236         * benchtests/bench-strstr-ifunc.c: Likewise.
43238 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43240         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43244         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43245         * rt/aio.h: Likewise.
43246         * sysdeps/gnu/bits/utmp.h: Likewise.
43247         * sysdeps/gnu/bits/utmpx.h: Likewise.
43248         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43249         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43250         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43251         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43252         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43253         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43254         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43255         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43256         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43257         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43258         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43259         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43260         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43263         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43264         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43265         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43266         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43267         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43268         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43269         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43270         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43271         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43272         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43274         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43275         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43276         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43277         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43278         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43279         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43280         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43281         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43282         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43283         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43284         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43285         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43286         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43287         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43288         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43289         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43291 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43293         [BZ #16245]
43294         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43295         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43297 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43299         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43300         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43301         Likewise.
43303 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43306         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43307         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43308         (__fesetround): Remove define.
43309         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43310         rounding and exceptions handling.
43311         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43313         (__fe_nomask_env): Likewise.
43314         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43315         __fegetround instead of fegetround.
43316         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43319 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43321         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43322         it's there.
43324         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43326 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43328         [BZ #11157]
43329         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43330         (encrypt_r): Likewise.
43331         * malloc/obstack.h (obstack_free): Likewise.
43332         * posix/unistd.h (encrypt): Likewise.
43334 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43336         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43337         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43338         DL_CALL_DT_FINI() that call the functions directly.
43339         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43340         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43341         * elf/dl-fini.c: Likewise.
43343 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43345         * malloc/hooks.c (memalign_check): Add alignment rounding.
43346         * malloc/malloc.c (_mid_memalign): New function.
43347         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43348         Implement by calling _mid_memalign.
43349         * manual/probes.texi (Memory Allocation Probes): Remove
43350         memory_valloc_retry and memory_pvalloc_retry.
43352 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43354         * locale/programs/locarchive.c (open_archive): Add const
43355         qualifier to ARCHIVEFNAME and copy default fname to
43356         DEFAULT_FNAME.
43358         [BZ #15601]
43359         * libio/tst-widetext.input: Rename Oriya to Odia.
43360         * locale/iso-639.def: Likewise.
43362         * manual/probes.texi (Mathematical Function Probes): Add
43363         documentation for sin, cos, asin and acos probes.
43364         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43365         (__sin32): Add slowasin probe.
43366         (__cos32): Add slowacos probe.
43367         (__mpsin): Add slowsin probe.
43368         (__mpcos): Add slowcos probe.
43370 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43372         [BZ #15483]
43373         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43374         thread-local __sim_exceptions_thread and global
43375         __sim_exceptions_global.
43376         (__sim_disabled_exceptions): Change to thread-local
43377         __sim_disabled_exceptions_thread and global
43378         __sim_disabled_exceptions_global.
43379         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43380         and global __sim_round_mode_global.
43381         (__simulate_exceptions): Use thread-local floating-point state and
43382         set global state from it as needed.
43383         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43384         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43385         __sim_round_mode_thread.
43386         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43387         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43388         and global __sim_exceptions_global.
43389         (__sim_disabled_exceptions): Change to thread-local
43390         __sim_disabled_exceptions_thread and global
43391         __sim_disabled_exceptions_global.
43392         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43393         and global __sim_round_mode_global.
43394         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43395         (SIM_SET_GLOBAL): Likewise.
43396         * sysdeps/powerpc/soft-fp/sfp-machine.h
43397         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43398         __sim_round_mode_thread.
43399         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43400         __sim_disabled_exceptions_thread.
43401         (__sim_exceptions): Change to __sim_exceptions_thread.
43402         (__sim_disabled_exceptions): Change to
43403         __sim_disabled_exceptions_thread.
43404         (__sim_round_mode): Change to __sim_round_mode_thread.
43405         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43406         thread-local floating-point state and set global state from it as
43407         needed.
43408         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43409         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43410         (__sim_disabled_exceptions): Remove extern declaration.
43411         (feenableexcept): Use thread-local floating-point state and set
43412         global state from it as needed.
43413         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43414         extern declaration.
43415         (__sim_disabled_exceptions): Likewise.
43416         (__sim_round_mode): Likewise.
43417         (__fegetenv): Use thread-local floating-point state.
43418         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43419         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43420         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43421         floating-point state and set global state from it as needed.
43422         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43423         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43424         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43425         Likewise.
43426         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43427         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43428         Likewise.
43429         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43430         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43431         Use __sim_round_mode_thread.
43432         * math/test-fenv-tls.c: New file.
43433         * math/Makefile (tests): Add test-fenv-tls.
43434         ($(objpfx)test-fenv-tls): Depend on
43435         $(common-objpfx)nptl/libpthread.so.
43437 2013-11-19  Andreas Schwab  <schwab@suse.de>
43439         * locale/programs/locale.c (show_info): Decode wordarray elements.
43440         * locale/categories.def (LC_MONETARY): Add element for
43441         _NL_MONETARY_CRNCYSTR.
43442         * locale/C-monetary.c (conversion_rate): New variable.
43443         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43444         element.
43446 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43448         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43449         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43451 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43453         * elf/Makefile (tst-auxv): New test.
43454         * elf/tst-auxv.c: New
43455         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43457 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43459         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43460         (hidden_proto): Caller changed.
43461         (hidden_tls_proto): New macro.
43462         (libc_hidden_tls_proto): Likewise.
43463         (rtld_hidden_tls_proto): Likewise.
43464         (libm_hidden_tls_proto): Likewise.
43465         (libresolv_hidden_tls_proto): Likewise.
43466         (librt_hidden_tls_proto): Likewise.
43467         (libdl_hidden_tls_proto): Likewise.
43468         (libnss_files_hidden_tls_proto): Likewise.
43469         (libnsl_hidden_tls_proto): Likewise.
43470         (libnss_nisplus_hidden_tls_proto): Likewise.
43471         (libutil_hidden_tls_proto): Likewise.
43473 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43475         [BZ #10253]
43476         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43477         (decompose_rpath): Defer expansion to fillin_rpath.
43478         (_dl_init_paths): Pass linkmap to fillin_rpath.
43480 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43482         * benchtests/Makefile: Add strsep.
43483         * benchtests/bench-strsep.c: New file: strsep benchtest.
43484         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43486 2013-11-18  Andreas Schwab  <schwab@suse.de>
43488         * locale/programs/locale.c (show_info) [case byte]: Check for
43489         '\377' instead of '\177'.
43490         * locale/C-monetary.c (not_available): Always use "\377".
43491         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43492         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43493         detect unavailable sign_posn locale elements.
43494         * locale/localeconv.c (__localeconv): For grouping and
43495         mon_grouping handle "\177" and "\377" like no grouping.
43496         (INT_ELEM): New macro.  Use it to set all numeric members.
43497         * locale/programs/ld-monetary.c (monetary_read)
43498         <tok_mon_grouping>: Normalize single -1 to the empty string.
43499         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43500         Likewise.
43502 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43504         [BZ #16055]
43505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43506         when we match (nil).
43507         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43509 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43511         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43512         (NO_TEST_INLINE): Update value.
43513         (ERRNO_UNCHANGED): Likewise.
43514         (ERRNO_EDOM): Likewise.
43515         (ERRNO_ERANGE): Likewise.
43516         (IGNORE_RESULT): Likewise.
43517         (check_float_internal): Check signs of NaN results if
43518         TEST_NAN_SIGN used.
43519         (check_complex): Pass TEST_NAN_SIGN flag through to second
43520         check_float_internal call.
43521         (copysign_test_data): Add tests with quiet NaNs as second
43522         argument.  Use TEST_NAN_SIGN.
43523         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43524         TEST_NAN_SIGN.
43525         (signbit_test_data): Add tests of quiet NaN argument.
43526         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43528         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43529         $ignore_result.
43530         (parse_args): Handle function results specified as IGNORE.
43531         * math/libm-test.inc (IGNORE_RESULT): New macro.
43532         (check_float_internal): Do not check numerical result if flag
43533         IGNORE_RESULT set.
43534         (check_complex): Pass through IGNORE_RESULT to second
43535         check_float_internal call.
43536         (check_int): Do not check numerical result if flag IGNORE_RESULT
43537         set.
43538         (check_long): Likewise.
43539         (check_bool): Likewise.
43540         (check_longlong): Likewise.
43541         (lrint_test_data): Add tests of infinite and NaN arguments.
43542         (lrint_tonearest_test_data): Likewise.
43543         (lrint_towardzero_test_data): Likewise.
43544         (lrint_downward_test_data): Likewise.
43545         (lrint_upward_test_data): Likewise.
43546         (llrint_test_data): Likewise.
43547         (llrint_tonearest_test_data): Likewise.
43548         (llrint_towardzero_test_data): Likewise.
43549         (llrint_downward_test_data): Likewise.
43550         (llrint_upward_test_data): Likewise.
43551         (lround_test_data): Likewise.
43552         (llround_test_data): Likewise.
43554         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43555         (ERRNO_UNCHANGED): Update value.
43556         (ERRNO_EDOM): Likewise.
43557         (ERRNO_ERANGE): Likewise.
43558         (NO_TEST_INLINE_FLOAT): New macro.
43559         (NO_TEST_INLINE_DOUBLE): Likewise.
43560         (enable_test): New function.
43561         (RUN_TEST_f_f): Check enable_test before running test.
43562         (RUN_TEST_2_f): Likewise.
43563         (RUN_TEST_fff_f): Likewise.
43564         (RUN_TEST_c_f): Likewise.
43565         (RUN_TEST_f_f1): Likewise.
43566         (RUN_TEST_fF_f1): Likewise.
43567         (RUN_TEST_fI_f1): Likewise.
43568         (RUN_TEST_ffI_f1): Likewise.
43569         (RUN_TEST_c_c): Likewise.
43570         (RUN_TEST_cc_c): Likewise.
43571         (RUN_TEST_f_i): Likewise.
43572         (RUN_TEST_f_i_tg): Likewise.
43573         (RUN_TEST_ff_i_tg): Likewise.
43574         (RUN_TEST_f_b): Likewise.
43575         (RUN_TEST_f_b_tg): Likewise.
43576         (RUN_TEST_f_l): Likewise.
43577         (RUN_TEST_f_L): Likewise.
43578         (RUN_TEST_fFF_11): Likewise.
43579         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43580         conditionals.
43581         (cosh_test_data): Likewise.
43582         (exp_test_data): Likewise.
43583         (expm1_test_data): Likewise.
43584         (hypot_test_data): Likewise.
43585         (pow_test_data): Likewise.
43586         (sinh_test_data): Likewise.
43587         (tanh_test_data): Likewise.
43588         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43589         flags argument.
43591         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43592         tests with quiet NaN input and output.
43593         (acosh_test_data): Likewise.
43594         (asin_test_data): Likewise.
43595         (asinh_test_data): Likewise.
43596         (atan_test_data): Likewise.
43597         (atanh_test_data): Likewise.
43598         (atan2_test_data): Likewise.
43599         (cbrt_test_data): Likewise.
43600         (cos_test_data): Likewise.
43601         (cosh_test_data): Likewise.
43602         (erf_test_data): Likewise.
43603         (erfc_test_data): Likewise.
43604         (exp_test_data): Likewise.
43605         (exp10_test_data): Likewise.
43606         (exp2_test_data): Likewise.
43607         (expm1_test_data): Likewise.
43608         (hypot_test_data): Likewise.
43609         (j0_test_data): Likewise.
43610         (j1_test_data): Likewise.
43611         (jn_test_data): Likewise.
43612         (lgamma_test_data): Likewise.
43613         (log_test_data): Likewise.
43614         (log10_test_data): Likewise.
43615         (log1p_test_data): Likewise.
43616         (log2_test_data): Likewise.
43617         (pow_test_data): Likewise.
43618         (scalb_test_data): Likewise.
43619         (sin_test_data): Likewise.
43620         (sincos_test_data): Likewise.
43621         (sinh_test_data): Likewise.
43622         (tan_test_data): Likewise.
43623         (tanh_test_data): Likewise.
43624         (tgamma_test_data): Likewise.
43625         (y0_test_data): Likewise.
43626         (y1_test_data): Likewise.
43627         (yn_test_data): Likewise.
43629         [BZ #16167]
43630         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43631         argument being NaN and avoid computations with second argument in
43632         that case.
43633         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43634         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43635         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43637 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43639         * locale/iso-639.def: Add Chitwani Tharu (the).
43641 2013-11-14  Andreas Schwab  <schwab@suse.de>
43643         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43644         word instead of empty string.
43646 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43649         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43651         (__fe_nomask_env): Likewise.
43653 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43655         * benchtests/bench-timing.h: Include time.h.
43657 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43659         [BZ #15997]
43660         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43661         to 3.4.0 for x32.
43662         * sysdeps/unix/sysv/linux/configure: Regenerated.
43664 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43666         [BZ #16151]
43667         * stdlib/strtod_l.c (round_and_return): Do not consider
43668         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43669         exponent one less than half the least subnormal exponent.
43670         * stdlib/test-strtod-round-data: Add more tests.
43671         * stdlib/tst-strtod-round.c (tests): Regenerated.
43673 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43675         [BZ #14143]
43676         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43677         (__fe_mask_env): Likewise.
43678         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43679         libm_hidden_proto and add function prototype.
43680         (__fe_mask_env): Add function prototype.
43681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43682         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43684         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43686         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43688 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43690         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43691         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43693 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43695         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43696         of htab_find_slot().
43698 2013-11-11  David S. Miller  <davem@davemloft.net>
43700         [BZ #16150]
43701         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43702         symbol in the non-vis3 case in static builds.
43703         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43704         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43705         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43706         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43708 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43710         [BZ #387]
43711         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43712         it is empty.
43714 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43716         * benchtests/Makefile: Add bench-strtod.
43717         * benchtests/bench-strtod.c: New file: strtod benchtest
43719 2013-11-11  Andreas Schwab  <schwab@suse.de>
43721         [BZ #16153]
43722         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43723         terminating NUL in key length.
43725 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43728         Add artificial ODP entry for vDSO symbol for PPC64.
43729         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43730         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43732 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43734         [BZ #15374]
43735         * nss/getent.c (services_keys): Recognize services starting with digit.
43737 2013-11-06  David S. Miller  <davem@davemloft.net>
43739         [BZ #15985]
43740         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43741         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43743 2013-11-06  Will Newton  <will.newton@linaro.org>
43745         * manual/memory.texi (Malloc Examples): Remove register
43746         keyword from examples.
43748 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43750         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43752 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43754         [BZ #6981]
43755         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43756         depending on [__GCC_IEC_559 > 0].
43757         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43758         depending on [__GCC_IEC_559_COMPLEX > 0].
43760 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43762         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43763         to iso-639.def.
43765 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43767         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43769 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43771         [BZ #16112]
43772         * malloc/malloc (malloc_info): Do not handle first bin as
43773         special case.
43775 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43777         * locale/iso-639.def: Add Central Nahuatl (nhn).
43779 2013-11-01  Bruno Haible  <bruno@clisp.org>
43781         [BZ #7003]
43782         * manual/math.texi (BSD Random): Specify range upper bound as
43783         in POSIX.
43785 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43787         * locale/iso-639.def: Add Meadow Mari (mhr).
43789 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43791         [BZ #14752], [BZ #15763]
43792         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43793         Validate name.
43794         * rt/tst_shm.c: Add test for escaping directory.
43796 2013-10-31  Andreas Schwab  <schwab@suse.de>
43798         [BZ #15917]
43799         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43800         followed by 'x' as part of digit sequence.
43801         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43803 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43805         [BZ #16037]
43806         * configure.ac: allow GNU Make 4.0 and greater.
43807         * configure: Regenerated.
43809 2013-10-30  Will Newton  <will.newton@linaro.org>
43811         [BZ #16038]
43812         * malloc/hooks.c (memalign_check): Limit alignment to the
43813         maximum representable power of two.
43814         * malloc/malloc.c (__libc_memalign): Likewise.
43815         * malloc/tst-memalign.c (do_test): Add test for very
43816         large alignment values.
43817         * malloc/tst-posix_memalign.c (do_test): Likewise.
43819 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43821         [BZ #11087]
43822         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43823         (munmap_chunk): Likewise.
43824         (mremap_chunk): Likewise.
43826 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43828         [BZ #15799]
43829         * stdlib/div.c (div): Remove obsolete code.
43830         * stdlib/ldiv.c (ldiv): Likewise.
43831         * stdlib/lldiv.c (lldiv): Likewise.
43833 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43835         [BZ #16071]
43836         * nss/nss_files/files-XXX.c (get_contents_ret): New
43837         enumerator.
43838         (get_contents): New function.
43839         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43841 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43843         * configure.in: Moved to ...
43844         * configure.ac: ... here. Change reference to configure.in
43845         to configure.ac.
43846         * sysdeps/arm/preconfigure.ac: ... here.
43847         configure.in to configure.ac.
43848         * sysdeps/gnu/configure.in: Moved to ...
43849         * sysdeps/gnu/configure.ac: ... here.
43850         * sysdeps/i386/configure.in: Moved to ...
43851         * sysdeps/i386/configure.ac: ... here.
43852         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43853         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43854         * sysdeps/mach/configure.in: Moved to ...
43855         * sysdeps/mach/configure.ac: ... here.
43856         * sysdeps/mach/hurd/configure.in: Moved to ...
43857         * sysdeps/mach/hurd/configure.ac: ... here.
43858         * sysdeps/powerpc/configure.in: Moved to ...
43859         * sysdeps/powerpc/configure.ac: ... here.
43860         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43861         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43862         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43863         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43864         * sysdeps/s390/s390-32/configure.in: Moved to ...
43865         * sysdeps/s390/s390-32/configure.ac: ... here.
43866         * sysdeps/s390/s390-64/configure.in: Moved to ...
43867         * sysdeps/s390/s390-64/configure.ac: ... here.
43868         * sysdeps/sh/configure.in: Moved to ...
43869         * sysdeps/sh/configure.ac: ... here.
43870         * sysdeps/sparc/configure.in: Moved to ...
43871         * sysdeps/sparc/configure.ac: ... here.
43872         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43873         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43874         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43875         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43876         * sysdeps/x86_64/configure.in: Moved to ...
43877         * sysdeps/x86_64/configure.ac: ... here.
43878         * sysdeps/x86_64/preconfigure.in: Moved to ...
43879         * sysdeps/x86_64/preconfigure.ac: ... here.
43880         * aclocal.m4: Change reference to configure.in to configure.ac.
43881         * config.h.in: Likewise.
43882         * manual/install.texi: Likewise.
43883         * manual/maint.texi: Likewise.
43884         * Makefile: Likewise.
43885         * malloc/Makefile: Likewise.
43886         * nscd/Makefile: Likewise.
43887         * Makeconfig: Change reference to configure.in and
43888         preconfigure.in to configure.ac and preconfigure.ac
43889         respectively.
43890         * INSTALL: Regenerated.
43891         * configure: Likewise.
43892         * sysdeps/gnu/configure: Likewise.
43893         * sysdeps/i386/configure: Likewise.
43894         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43895         * sysdeps/mach/configure: Likewise.
43896         * sysdeps/mach/hurd/configure: Likewise.
43897         * sysdeps/powerpc/configure: Likewise.
43898         * sysdeps/powerpc/powerpc32/configure: Likewise.
43899         * sysdeps/powerpc/powerpc64/configure: Likewise.
43900         * sysdeps/s390/s390-32/configure: Likewise.
43901         * sysdeps/s390/s390-64/configure: Likewise.
43902         * sysdeps/sh/configure: Likewise.
43903         * sysdeps/sparc/configure: Likewise.
43904         * sysdeps/unix/sysv/linux/configure: Likewise.
43905         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43906         * sysdeps/x86_64/configure: Likewise.
43907         * sysdeps/x86_64/preconfigure: Likewise.
43909 2013-10-29  Andreas Schwab  <schwab@suse.de>
43911         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43913 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43915         * benchtests/pow-inputs: Add new inputs.
43917         * benchtests/exp-inputs: Add new inputs.
43919         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43920         conditional check for return value.
43921         (__cos32): Likewise.
43923 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43925         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43926         to provide a boost for large inputs with word alignment.
43927         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43928         implementation based on optimized PPC64 strcpy.
43929         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43930         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43931         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43932         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43934 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43936         [BZ #2801]
43937         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43939 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43941         [BZ #14876]
43942         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43943         * time/tst-strptime.c (day_tests): Add testcase.
43945 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43947         [BZ #14029]
43948         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43950 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43952         [BZ #16074]
43953         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43954         MAP_FAILED on error.
43956 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43958         [BZ #16072]
43959         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43960         heap for large requests.
43962 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43964         [BZ #9954]
43965         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43966         result if the result has no associated interface.
43967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43968         interface for all 127.X.Y.Z addresses.
43970 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43972         * locale/iso-639.def: Add Ligurian (lij)
43974 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43976         [BZ #15825]
43977         * sunrpc/rpc_main.c: Document rpcgen -5.
43979 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43981         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43983 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43985         [BZ #10278]
43986         * posix/glob.c: Match only directories when trailing slash is present.
43987         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43988         (main): Add testcase.
43990 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43992         [BZ #15670]
43993         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43995 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43997         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43998         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43999         AUTH_DES and cindex for FIPS 140-2.
44000         (DES Encryption): Add cindex FIPS 46-3.
44002         * locale/locarchive.h (struct locarhandle): Add fname.
44003         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44004         if an optional argument was specified to --list-archive,
44005         otherwise NULL.
44006         * locale/programs/locarchive.c (show_archive_content): Take new
44007         argument fname and pass it via ah.fname to open_archive.
44008         * locale/programs/localedef.h: Update decl.
44009         (open_archive): If AH->fname is non-null, open that file
44010         rather than the default file name, and don't ignore ENOENT.
44011         (create_archive): Set AH.fname to NULL.
44012         (delete_locales_from_archive): Likewise.
44013         (add_locales_to_archive): Likewise.
44014         * locale/programs/locfile.c (write_all_categories): Likewise.
44016 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44017             Aldy Hernandez  <aldyh@redhat.com>
44019         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44020         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44021         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44022         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44023         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44025         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44026         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44027         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44028         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44029         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44030         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44031         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44032         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44033         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44034         Likewise.
44035         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44036         Likewise.
44037         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44038         Likewise.
44039         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44040         Likewise.
44041         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44042         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44043         Likewise.
44044         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44045         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44046         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44047         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44048         Likewise.
44049         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44050         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44051         * sysdeps/powerpc/preconfigure: Likewise.
44052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44053         Likewise.
44054         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44055         Replace contents of file by #include of <fenv_libc.h>.
44056         * sysdeps/powerpc/soft-fp/sfp-machine.h
44057         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44058         and <sys/prctl.h>.
44059         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44062         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44068         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44070         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44072         Allow copysignl PLT reference to be missing.
44074 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44075             Joseph Myers  <joseph@codesourcery.com
44077         [BZ #15948]
44078         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44079         single character.
44080         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44082 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44084         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44085         * elf/tst-tls1.c: Likewise.
44086         * elf/tst-tls10.h: Likewise.
44087         * elf/tst-tls14.c: Likewise.
44088         * elf/tst-tls2.c: Likewise.
44089         * elf/tst-tls3.c: Likewise.
44090         * elf/tst-tls4.c: Likewise.
44091         * elf/tst-tls5.c: Likewise.
44092         * elf/tst-tls6.c: Likewise.
44093         * elf/tst-tls7.c: Likewise.
44094         * elf/tst-tls8.c: Likewise.
44095         * elf/tst-tls9.c: Likewise.
44096         * elf/tst-tlsmod1.c: Likewise.
44097         * elf/tst-tlsmod13.c: Likewise.
44098         * elf/tst-tlsmod13a.c: Likewise.
44099         * elf/tst-tlsmod14a.c: Likewise.
44100         * elf/tst-tlsmod16a.c: Likewise.
44101         * elf/tst-tlsmod16b.c: Likewise.
44102         * elf/tst-tlsmod2.c: Likewise.
44103         * elf/tst-tlsmod3.c: Likewise.
44104         * elf/tst-tlsmod4.c: Likewise.
44105         * elf/tst-tlsmod5.c: Likewise.
44106         * elf/tst-tlsmod6.c: Likewise.
44108 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44110         [BZ #12486]
44111         * malloc/malloc.c: remove checks for statistics.
44113 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44115         [BZ #15277]
44116         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44117         * inet/tst-network.c: Add testcase.
44119 2013-10-17  Andreas Schwab  <schwab@suse.de>
44121         [BZ #15218]
44122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44123         to determine canonical name.
44125 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44127         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44128         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44129         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44130         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44132         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44133         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44134         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44135         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44136         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44137         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44138         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44139         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44140         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44144         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44145         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44146         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44147         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44149         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44150         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44151         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44152         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44153         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44154         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44155         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44156         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44157         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44158         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44159         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44160         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44161         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44162         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44163         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44164         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44165         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44166         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44167         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44168         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44169         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44170         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44171         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44173         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44174         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44175         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44176         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44177         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44178         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44179         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44180         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44181         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44182         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44183         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44184         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44186 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44188         [BZ #16041]
44189         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44190         make result into a quiet NaN.
44192 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44194         * soft-fp/adddf3.c: Fix horizontal whitespace.
44195         * soft-fp/addsf3.c: Likewise.
44196         * soft-fp/addtf3.c: Likewise.
44197         * soft-fp/divdf3.c: Likewise.
44198         * soft-fp/divsf3.c: Likewise.
44199         * soft-fp/divtf3.c: Likewise.
44200         * soft-fp/double.h: Likewise.
44201         * soft-fp/eqdf2.c: Likewise.
44202         * soft-fp/eqsf2.c: Likewise.
44203         * soft-fp/eqtf2.c: Likewise.
44204         * soft-fp/extenddftf2.c: Likewise.
44205         * soft-fp/extended.h: Likewise.
44206         * soft-fp/extendsfdf2.c: Likewise.
44207         * soft-fp/extendsftf2.c: Likewise.
44208         * soft-fp/extendxftf2.c: Likewise.
44209         * soft-fp/fixdfdi.c: Likewise.
44210         * soft-fp/fixdfsi.c: Likewise.
44211         * soft-fp/fixdfti.c: Likewise.
44212         * soft-fp/fixsfdi.c: Likewise.
44213         * soft-fp/fixsfsi.c: Likewise.
44214         * soft-fp/fixsfti.c: Likewise.
44215         * soft-fp/fixtfdi.c: Likewise.
44216         * soft-fp/fixtfsi.c: Likewise.
44217         * soft-fp/fixtfti.c: Likewise.
44218         * soft-fp/fixunsdfdi.c: Likewise.
44219         * soft-fp/fixunsdfsi.c: Likewise.
44220         * soft-fp/fixunsdfti.c: Likewise.
44221         * soft-fp/fixunssfdi.c: Likewise.
44222         * soft-fp/fixunssfsi.c: Likewise.
44223         * soft-fp/fixunssfti.c: Likewise.
44224         * soft-fp/fixunstfdi.c: Likewise.
44225         * soft-fp/fixunstfsi.c: Likewise.
44226         * soft-fp/fixunstfti.c: Likewise.
44227         * soft-fp/floatdidf.c: Likewise.
44228         * soft-fp/floatdisf.c: Likewise.
44229         * soft-fp/floatditf.c: Likewise.
44230         * soft-fp/floatsidf.c: Likewise.
44231         * soft-fp/floatsisf.c: Likewise.
44232         * soft-fp/floatsitf.c: Likewise.
44233         * soft-fp/floattidf.c: Likewise.
44234         * soft-fp/floattisf.c: Likewise.
44235         * soft-fp/floattitf.c: Likewise.
44236         * soft-fp/floatundidf.c: Likewise.
44237         * soft-fp/floatundisf.c: Likewise.
44238         * soft-fp/floatunditf.c: Likewise.
44239         * soft-fp/floatunsidf.c: Likewise.
44240         * soft-fp/floatunsisf.c: Likewise.
44241         * soft-fp/floatunsitf.c: Likewise.
44242         * soft-fp/floatuntidf.c: Likewise.
44243         * soft-fp/floatuntisf.c: Likewise.
44244         * soft-fp/floatuntitf.c: Likewise.
44245         * soft-fp/fmadf4.c: Likewise.
44246         * soft-fp/fmasf4.c: Likewise.
44247         * soft-fp/fmatf4.c: Likewise.
44248         * soft-fp/gedf2.c: Likewise.
44249         * soft-fp/gesf2.c: Likewise.
44250         * soft-fp/getf2.c: Likewise.
44251         * soft-fp/ledf2.c: Likewise.
44252         * soft-fp/lesf2.c: Likewise.
44253         * soft-fp/letf2.c: Likewise.
44254         * soft-fp/muldf3.c: Likewise.
44255         * soft-fp/mulsf3.c: Likewise.
44256         * soft-fp/multf3.c: Likewise.
44257         * soft-fp/negdf2.c: Likewise.
44258         * soft-fp/negsf2.c: Likewise.
44259         * soft-fp/negtf2.c: Likewise.
44260         * soft-fp/op-1.h: Likewise.
44261         * soft-fp/op-2.h: Likewise.
44262         * soft-fp/op-4.h: Likewise.
44263         * soft-fp/op-8.h: Likewise.
44264         * soft-fp/op-common.h: Likewise.
44265         * soft-fp/quad.h: Likewise.
44266         * soft-fp/single.h: Likewise.
44267         * soft-fp/soft-fp.h: Likewise.
44268         * soft-fp/sqrtdf2.c: Likewise.
44269         * soft-fp/sqrtsf2.c: Likewise.
44270         * soft-fp/sqrttf2.c: Likewise.
44271         * soft-fp/subdf3.c: Likewise.
44272         * soft-fp/subsf3.c: Likewise.
44273         * soft-fp/subtf3.c: Likewise.
44274         * soft-fp/truncdfsf2.c: Likewise.
44275         * soft-fp/trunctfdf2.c: Likewise.
44276         * soft-fp/trunctfsf2.c: Likewise.
44277         * soft-fp/trunctfxf2.c: Likewise.
44278         * soft-fp/unorddf2.c: Likewise.
44279         * soft-fp/unordsf2.c: Likewise.
44280         * soft-fp/unordtf2.c: Likewise.
44282 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44284         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44285         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44287 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44289         * elf/dl-libc.c: Clear initfini list after freeing.
44291 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44293         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44294         * soft-fp/addsf3.c: Likewise.
44295         * soft-fp/addtf3.c: Likewise.
44296         * soft-fp/divdf3.c: Likewise.
44297         * soft-fp/divsf3.c: Likewise.
44298         * soft-fp/divtf3.c: Likewise.
44299         * soft-fp/double.h: Likewise.
44300         * soft-fp/eqdf2.c: Likewise.
44301         * soft-fp/eqsf2.c: Likewise.
44302         * soft-fp/eqtf2.c: Likewise.
44303         * soft-fp/extenddftf2.c: Likewise.
44304         * soft-fp/extended.h: Likewise.
44305         * soft-fp/extendsfdf2.c: Likewise.
44306         * soft-fp/extendsftf2.c: Likewise.
44307         * soft-fp/extendxftf2.c: Likewise.
44308         * soft-fp/fixdfdi.c: Likewise.
44309         * soft-fp/fixdfsi.c: Likewise.
44310         * soft-fp/fixdfti.c: Likewise.
44311         * soft-fp/fixsfdi.c: Likewise.
44312         * soft-fp/fixsfsi.c: Likewise.
44313         * soft-fp/fixsfti.c: Likewise.
44314         * soft-fp/fixtfdi.c: Likewise.
44315         * soft-fp/fixtfsi.c: Likewise.
44316         * soft-fp/fixtfti.c: Likewise.
44317         * soft-fp/fixunsdfdi.c: Likewise.
44318         * soft-fp/fixunsdfsi.c: Likewise.
44319         * soft-fp/fixunsdfti.c: Likewise.
44320         * soft-fp/fixunssfdi.c: Likewise.
44321         * soft-fp/fixunssfsi.c: Likewise.
44322         * soft-fp/fixunssfti.c: Likewise.
44323         * soft-fp/fixunstfdi.c: Likewise.
44324         * soft-fp/fixunstfsi.c: Likewise.
44325         * soft-fp/fixunstfti.c: Likewise.
44326         * soft-fp/floatdidf.c: Likewise.
44327         * soft-fp/floatdisf.c: Likewise.
44328         * soft-fp/floatditf.c: Likewise.
44329         * soft-fp/floatsidf.c: Likewise.
44330         * soft-fp/floatsisf.c: Likewise.
44331         * soft-fp/floatsitf.c: Likewise.
44332         * soft-fp/floattidf.c: Likewise.
44333         * soft-fp/floattisf.c: Likewise.
44334         * soft-fp/floattitf.c: Likewise.
44335         * soft-fp/floatundidf.c: Likewise.
44336         * soft-fp/floatundisf.c: Likewise.
44337         * soft-fp/floatunsidf.c: Likewise.
44338         * soft-fp/floatunsisf.c: Likewise.
44339         * soft-fp/floatuntidf.c: Likewise.
44340         * soft-fp/floatuntisf.c: Likewise.
44341         * soft-fp/floatuntitf.c: Likewise.
44342         * soft-fp/fmadf4.c: Likewise.
44343         * soft-fp/fmasf4.c: Likewise.
44344         * soft-fp/fmatf4.c: Likewise.
44345         * soft-fp/gedf2.c: Likewise.
44346         * soft-fp/gesf2.c: Likewise.
44347         * soft-fp/getf2.c: Likewise.
44348         * soft-fp/ledf2.c: Likewise.
44349         * soft-fp/lesf2.c: Likewise.
44350         * soft-fp/letf2.c: Likewise.
44351         * soft-fp/muldf3.c: Likewise.
44352         * soft-fp/mulsf3.c: Likewise.
44353         * soft-fp/multf3.c: Likewise.
44354         * soft-fp/negdf2.c: Likewise.
44355         * soft-fp/negsf2.c: Likewise.
44356         * soft-fp/negtf2.c: Likewise.
44357         * soft-fp/op-1.h: Likewise.
44358         * soft-fp/op-2.h: Likewise.
44359         * soft-fp/op-4.h: Likewise.
44360         * soft-fp/op-8.h: Likewise.
44361         * soft-fp/op-common.h: Likewise.
44362         * soft-fp/quad.h: Likewise.
44363         * soft-fp/single.h: Likewise.
44364         * soft-fp/soft-fp.h: Likewise.
44365         * soft-fp/sqrtdf2.c: Likewise.
44366         * soft-fp/sqrtsf2.c: Likewise.
44367         * soft-fp/sqrttf2.c: Likewise.
44368         * soft-fp/subdf3.c: Likewise.
44369         * soft-fp/subsf3.c: Likewise.
44370         * soft-fp/subtf3.c: Likewise.
44371         * soft-fp/truncdfsf2.c: Likewise.
44372         * soft-fp/trunctfdf2.c: Likewise.
44373         * soft-fp/trunctfsf2.c: Likewise.
44374         * soft-fp/trunctfxf2.c: Likewise.
44375         * soft-fp/unorddf2.c: Likewise.
44376         * soft-fp/unordsf2.c: Likewise.
44377         * soft-fp/unordtf2.c: Likewise.
44379 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44381         [BZ #15672]
44382         * misc/error.c (error_tail): Fix possible buffer overflow.
44384 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44386         [BZ #13028]
44387         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44388         address.
44390 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44392         [BZ #832]
44393         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44394         testing pipefail option.
44396 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44398         * soft-fp/double.h: Indent preprocessor directives inside #if.
44399         * soft-fp/extended.h: Likewise.
44400         * soft-fp/op-2.h: Likewise.
44401         * soft-fp/op-4.h: Likewise.
44402         * soft-fp/op-common.h: Likewise.
44403         * soft-fp/quad.h: Likewise.
44404         * soft-fp/single.h: Likewise.
44405         * soft-fp/soft-fp.h: Likewise.
44407 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44409         * iconv/iconv_prog.c: Fix typos.
44410         * stdio-common/psiginfo-data.h: Likewise.
44412 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44414         [BZ #15764]
44415         * locale/setlocale.c: Fix typo.
44417 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44419         [BZ #16036]
44420         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44421         signaling NaN arguments.
44422         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44423         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44425         [BZ #14910]
44426         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44427         unordered operands.
44428         * soft-fp/gesf2.c (__gesf2): Likewise.
44429         * soft-fp/getf2.c (__getf2): Likewise.
44430         * soft-fp/ledf2.c (__ledf2): Likewise.
44431         * soft-fp/lesf2.c (__lesf2): Likewise.
44432         * soft-fp/letf2.c (__letf2): Likewise.
44434         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44435         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44436         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44437         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44438         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44439         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44440         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44441         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44442         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44443         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44444         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44445         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44446         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44447         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44448         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44449         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44450         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44451         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44452         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44453         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44454         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44455         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44456         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44457         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44458         * soft-fp/floattidf.c (__floattidf): Likewise.
44459         * soft-fp/floattisf.c (__floattisf): Likewise.
44460         * soft-fp/floattitf.c (__floattitf): Likewise.
44461         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44462         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44463         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44464         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44465         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44466         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44467         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44468         * soft-fp/gesf2.c (__gesf2): Likewise.
44469         * soft-fp/getf2.c (__getf2): Likewise.
44470         * soft-fp/ledf2.c (__ledf2): Likewise.
44471         * soft-fp/lesf2.c (__lesf2): Likewise.
44472         * soft-fp/letf2.c (__letf2): Likewise.
44474         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44475         Undefine and redefine.
44476         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44477         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44478         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44479         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44480         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44481         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44482         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44483         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44484         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44485         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44486         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44487         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44488         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44489         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44490         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44492         [BZ #16032]
44493         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44494         without decrementing exponent if mantissa >= that for the
44495         denominator, not >.
44496         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44497         denominator, not >.  Decrement exponent in < case instead of
44498         incrementing in >= case.
44499         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44500         without decrementing exponent if mantissa >= that for the
44501         denominator, not >.
44503         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44504         computing saturated result for unsigned overflow.
44506 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44507             Jeff Law  <law@redhat.com>
44509         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44510         (atan2Mp): Add systemtap probe marker.
44511         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44512         (__ieee754_log): Add systemtap probe marker.
44513         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44514         (atanMp): Add systemtap probe marker.
44515         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44516         (tanMp): Add systemtap probe marker.
44517         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44518         (__slowexp): Add systemtap probe marker.
44519         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44520         (__slowpow): Add systemtap probe marker.
44521         * manual/probes.texi: Document probes.
44523 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44525         [BZ #15362]
44526         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44527         written.
44528         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44529         written.
44530         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44531         written to buffer but not flushed.
44532         * libio/iofwrite_u.c:  Likewise.
44533         * libio/iopadn.c:  Return bytes returned even if EOF was
44534         encountered.
44535         * libio/iowpadn.c:  Likewise.
44536         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44537         if _IO_padn does not write the whole buffer.
44538         [!COMPILE_WPRINTF] (PAD): Likewise.
44540 2013-10-10  David S. Miller  <davem@davemloft.net>
44542         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44543         directory block.
44545 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44547         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44548         instead of FSF address.
44549         * soft-fp/fixdfti.c: Likewise.
44550         * soft-fp/fixsfti.c: Likewise.
44551         * soft-fp/fixtfti.c: Likewise.
44552         * soft-fp/fixunsdfti.c: Likewise.
44553         * soft-fp/fixunssfti.c: Likewise.
44554         * soft-fp/fixunstfti.c: Likewise.
44555         * soft-fp/floattidf.c: Likewise.
44556         * soft-fp/floattisf.c: Likewise.
44557         * soft-fp/floattitf.c: Likewise.
44558         * soft-fp/floatuntidf.c: Likewise.
44559         * soft-fp/floatuntisf.c: Likewise.
44560         * soft-fp/floatuntitf.c: Likewise.
44561         * soft-fp/trunctfxf2.c: Likewise.
44563         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44564         * soft-fp/fixdfti.c: Likewise.
44565         * soft-fp/fixsfti.c: Likewise.
44566         * soft-fp/fixtfti.c: Likewise.
44567         * soft-fp/fixunsdfti.c: Likewise.
44568         * soft-fp/fixunssfti.c: Likewise.
44569         * soft-fp/fixunstfti.c: Likewise.
44570         * soft-fp/floattidf.c: Likewise.
44571         * soft-fp/floattisf.c: Likewise.
44572         * soft-fp/floattitf.c: Likewise.
44573         * soft-fp/floatuntidf.c: Likewise.
44574         * soft-fp/floatuntisf.c: Likewise.
44575         * soft-fp/floatuntitf.c: Likewise.
44576         * soft-fp/trunctfxf2.c: Likewise.
44578 2013-10-10  David S. Miller  <davem@davemloft.net>
44580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44582 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44584         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44585         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44586         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44587         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44588         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44589         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44590         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44592         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44593         for NaNs before doing comparisons on argument.
44594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44595         Likewise.
44597 2013-10-10  Will Newton  <will.newton@linaro.org>
44599         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44600         passed to _int_memalign does not overflow.
44602 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44604         * scripts/bench.pl: Add include-sources directive.
44605         * benchtests/README: Update documentation.
44607 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44609         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44610         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44611         instead of FP_INIT_ROUNDMODE.
44612         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44613         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44615         [BZ #16034]
44616         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44617         copy class of input value.
44618         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44619         not handle exceptions.
44620         * soft-fp/negsf2.c (__negsf2): Likewise.
44621         * soft-fp/negtf2.c (__negtf2): Likewise.
44622         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44624 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44626         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44627         semicolon.  From Linux kernel.
44629 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44631         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44633 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44635         [BZ #156]
44636         * manual/socket.texi: Added statement about buffer
44637         for gethostbyname2_r.
44639 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44641         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44642         Use .p2align directive instead, throughout.
44643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44644         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44645         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44646         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44647         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44648         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44649         * sysdeps/x86_64/strchr.S: Likewise.
44650         * sysdeps/x86_64/strrchr.S: Likewise.
44652 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44654         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44656         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44658         * sysdeps/generic/math_private.h (__mpsin1): Remove
44659         declaration.
44660         (__mpcos1): Likewise.
44661         (__mpsin): New argument __range_reduce.
44662         (__mpcos): Likewise.
44663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44664         (slow): Use __mpsin and __mpcos.
44665         (slow1): Likewise.
44666         (slow2): Likewise.
44667         (sloww): Likewise.
44668         (sloww1): Likewise.
44669         (sloww2): Likewise.
44670         (bsloww): Likewise.
44671         (bsloww1): Likewise.
44672         (bsloww2): Likewise.
44673         (cslow2): Likewise.
44674         (csloww): Likewise.
44675         (csloww1): Likewise.
44676         (csloww2): Likewise.
44677         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44678         range_reduce.  Merge in __mpsin1.
44679         (__mpcos): Likewise.
44680         (__mpsin1): Remove.
44681         (__mpcos1): Likewise.
44683 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44685         * locale/loadlocale.c (_nl_intern_locale_data): Use
44686         LOCFILE_ALIGNED_P.
44687         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44688         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44689         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44690         obstack data is appropriately aligned.
44691         (obstack_int32_grow_fast): Likewise.
44692         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44693         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44694         (add_locale_uint32_array): Likewise.
44696 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44698         * benchtests/Makefile: Remove ARGLIST and RET variables.
44699         ($(objpfx)bench-%.c): Pass only function name to the script.
44700         * benchtests/README: Update documentation.
44701         * benchtests/acos-inputs: Add new directives.
44702         * benchtests/acosh-inputs: Likewise.
44703         * benchtests/asin-inputs: Likewise.
44704         * benchtests/asinh-inputs: Likewise.
44705         * benchtests/atan-inputs: Likewise.
44706         * benchtests/atanh-inputs: Likewise.
44707         * benchtests/cos-inputs: Likewise.
44708         * benchtests/cosh-inputs: Likewise.
44709         * benchtests/exp-inputs: Likewise.
44710         * benchtests/log-inputs: Likewise.
44711         * benchtests/pow-inputs: Likewise.
44712         * benchtests/rint-inputs: Likewise.
44713         * benchtests/sin-inputs: Likewise.
44714         * benchtests/sinh-inputs: Likewise.
44715         * benchtests/tan-inputs: Likewise.
44716         * benchtests/tanh-inputs: Likewise.
44717         * scripts/bench.pl: Add support for new directives.
44719 2013-10-07  Alan Modra  <amodra@gmail.com>
44721         * README: Fix careless merge.
44723 2013-10-05  Alan Modra  <amodra@gmail.com>
44725         * NEWS: Mention powerpc64le support and bugs fixed.
44726         * README: Both big-endian and little-endian powerpc64 supported.
44728 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44730         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44731         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44732         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44733         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44735 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44737         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44738         match prototype.
44740 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44742         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44743         Move -mhard-float appending from
44744         ports/sysdeps/powerpc/powerpc32/Makefile.
44745         [$(with-fp) = yes] (ASFLAGS): Likewise.
44746         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44747         * sysdeps/powerpc/nofpu: Move directory from
44748         ports/sysdeps/powerpc/nofpu.
44749         * sysdeps/powerpc/soft-fp: Move directory from
44750         ports/sysdeps/powerpc/soft-fp.
44751         * sysdeps/powerpc/powerpc32/405: Move directory from
44752         ports/sysdeps/powerpc/powerpc32/405.
44753         * sysdeps/powerpc/powerpc32/440: Move directory from
44754         ports/sysdeps/powerpc/powerpc32/440.
44755         * sysdeps/powerpc/powerpc32/464: Move directory from
44756         ports/sysdeps/powerpc/powerpc32/464.
44757         * sysdeps/powerpc/powerpc32/476: Move directory from
44758         ports/sysdeps/powerpc/powerpc32/476.
44759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44760         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44762         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44764         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44766         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44768         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44769         * README: Update for powerpc-*-linux-gnu software floating point
44770         support in libc.
44772         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44773         case to powerpc/powerpc32*.
44774         * sysdeps/unix/sysv/linux/configure: Regenerated.
44776         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44777         (_FPU_MASK_OM): Define as 0x04.
44778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44780         0x00c10080.
44781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44782         0x0000003c.
44783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44786         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44787         getcontext_e500.
44788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44789         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44790         setcontext_e500.
44791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44792         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44793         and setcontext_e500.
44795 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44797         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44799 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44801         * manual/threads.texi (Default Thread Attributes): Fix typo.
44803 2013-10-04  Will Newton  <will.newton@linaro.org>
44805         * malloc/Makefile: Add tst-memalign.
44806         * malloc/tst-memalign.c: New file.
44808         * malloc/tst-posix_memalign.c: Add comments.
44809         (do_test): Add comments and call free on all potentially
44810         allocated pointers. Add space after cast.
44812         * malloc/tst-pvalloc.c: Add comments.
44813         (do_test): Add comments and call free on all potentially
44814         allocated pointers. Remove duplicate check for NULL pointer.
44815         Add space after cast.
44817         * malloc/tst-valloc.c: Add comments.
44818         (do_test): Add comments and call free on all potentially
44819         allocated pointers. Remove duplicate check for NULL pointer.
44820         Add space after cast.
44822 2013-10-04  Alan Modra  <amodra@gmail.com>
44824         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44825         Use stdint types in rather than __attribute__((mode())).
44826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44828 2013-10-04  Alan Modra  <amodra@gmail.com>
44830         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44831         Correct handling of unaligned relocs for little-endian.
44832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44834 2013-10-04  Alan Modra  <amodra@gmail.com>
44836         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44837         * configure: Regenerate.
44838         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44839         * shlib-versions: Likewise.
44841 2013-10-04  Alan Modra  <amodra@gmail.com>
44843         * string/tester.c (test_memrchr): Increment reported test cycle.
44845 2013-10-04  Alan Modra  <amodra@gmail.com>
44847         * string/test-memcpy.c (do_one_test): When reporting errors, print
44848         string address and don't overrun end of string.
44850 2013-10-04  Alan Modra  <amodra@gmail.com>
44852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44853         insrdi.  Make better use of reg selection to speed exit slightly.
44854         Schedule entry path a little better.  Remove useless "are we done"
44855         checks on entry to main loop.  Handle wrapping around zero address.
44856         Correct main loop count.  Handle single left-over word from main
44857         loop inline rather than by using loop_small.  Remove extra word
44858         case in loop_small caused by wrong loop count.  Add little-endian
44859         support.
44860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44861         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44862         cache hint.
44863         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44864         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44865         support.  Avoid rlwimi.
44866         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44868 2013-10-04  Alan Modra  <amodra@gmail.com>
44870         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44871         insrdi.  Formatting.
44872         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44873         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44874         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44875         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44876         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44877         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44879 2013-10-04  Alan Modra  <amodra@gmail.com>
44881         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44883         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44884         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44885         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44886         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44888         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44889         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44890         use of regs.  Use power7 mtocrf.  Tidy function tails.
44892 2013-10-04  Alan Modra  <amodra@gmail.com>
44894         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44895         Formatting.  Consistently use rXXX register defines or rN defines.
44896         Use early exit labels that avoid restoring unused non-volatile regs.
44897         Make cr field use more consistent with rWORDn compares.  Rename
44898         regs used as shift registers for unaligned loop, using rN defines
44899         for short lifetime/multiple use regs.
44900         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44901         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44902         addi 1,1,64 to pop stack frame.  Simplify return value code.
44903         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44905 2013-10-04  Alan Modra  <amodra@gmail.com>
44907         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44908         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44909         rather than rlwimi.
44910         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44911         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44912         little-endian support.  Correct typos.
44913         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44914         rather than rlwimi.
44915         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44916         in loop and entry code to keep "and." results.
44917         (strchr): Add little-endian support.  Comment.  Move cntlzd
44918         earlier in tail.
44919         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44921 2013-10-04  Alan Modra  <amodra@gmail.com>
44923         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44924         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44925         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44926         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44928 2013-10-04  Alan Modra  <amodra@gmail.com>
44930         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44931         (rTMP): Define as r11.
44932         (strcmp): Add little-endian support.  Optimise tail.
44933         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44934         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44935         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44937         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44939         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44941 2013-10-04  Alan Modra  <amodra@gmail.com>
44943         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44944         little-endian support.  Remove unnecessary "are we done" tests.
44945         Handle "s" wrapping around zero and extremely large "size".
44946         Correct main loop count.  Handle single left-over word from main
44947         loop inline rather than by using small_loop.  Correct comments.
44948         Delete "zero" tail, use "end_max" instead.
44949         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44951 2013-10-04  Alan Modra  <amodra@gmail.com>
44953         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44954         support.  Don't branch over align.
44955         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44956         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44957         support.  Rearrange tmp reg use to suit.  Comment.
44958         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44960 2013-10-04  Alan Modra  <amodra@gmail.com>
44962         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44964 2013-10-04  Alan Modra  <amodra@gmail.com>
44966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44967         conditional form of branch and link when obtaining pc.
44968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44970 2013-10-04  Alan Modra  <amodra@gmail.com>
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44973         HIWORD/LOWORD.
44974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44977 2013-10-04  Alan Modra  <amodra@gmail.com>
44979         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44980         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44981         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44982         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44983         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44984         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44985         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44986         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44987         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44988         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44990 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44991             Alistair Popple <alistair@ozlabs.au.ibm.com>
44992             Alan Modra <amodra@gmail.com>
44994         [BZ #15723]
44995         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44996         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44997         _dl_hwcap access for little-endian.
44998         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44999         destroy vmx regs when saving unaligned.
45000         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45001         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45002         destroy vmx regs when saving unaligned.
45004 2013-10-04  Alan Modra  <amodra@gmail.com>
45006         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45007         Don't use a union to pack hi/low value.
45009 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45011         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45012         for little-endian.
45013         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45014         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45015         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45016         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45017         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45019 2013-10-04  Alan Modra  <amodra@gmail.com>
45021         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45022         constants to usual value for .cst8 section, and remove redundant
45023         high address load.
45024         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45025         constant for 0x1p52.  Load little-endian words of double from
45026         correct stack offsets.
45028 2013-10-04  Alan Modra  <amodra@gmail.com>
45030         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45031         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45032         words of double from correct stack offsets.
45033         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45034         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45035         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45036         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45039         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45040         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45041         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45044         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45045         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45046         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45047         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45048         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45049         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45051 2013-10-04  Alan Modra  <amodra@gmail.com>
45053         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45054         64-bit int/double union.
45055         (_FPU_SETCW): Likewise.
45056         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45057         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45059 2013-10-04  Alan Modra  <amodra@gmail.com>
45061         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45062         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45064 2013-10-04  Alan Modra  <amodra@gmail.com>
45066         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45067         use vector int constants.
45068         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45070 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45072         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45073         array with long long.
45074         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45075         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45076         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45077         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45078         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45079         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45080         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45081         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45082         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45083         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45084         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45085         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45086         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45088 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45090         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45091         (__signbit): Likewise.  Correct for little-endian.
45092         (__signbitl): Call __signbit.
45093         (lrint): Correct for little-endian.
45094         (lrintf): Call lrint.
45096 2013-10-04  Alan Modra  <amodra@gmail.com>
45098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45099         union 32-bit int array member with 64-bit int array.
45100         (t515, tm256): Double rather than long double.
45101         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45103 2013-10-04  Alan Modra  <amodra@gmail.com>
45105         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45106         Delete.
45107         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45109         version of math_ldbl.h.
45111 2013-10-04  Alan Modra  <amodra@gmail.com>
45113         [BZ #15734], [BZ #15735]
45114         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45115         all uses of ieee875 long double macros and unions.  Simplify test
45116         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45117         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45118         normalize after ldbl_extract_mantissa, and don't add hidden bit
45119         already handled.  Don't treat low word of ieee854 mantissa like
45120         low word of IBM long double and mask off bit when testing for
45121         zero.
45122         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45123         all uses of ieee875 long double macros and unions.  Simplify tests
45124         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45125         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45126         two1022, instead use their values.  Recognise that tests for large
45127         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45128         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45129         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45130         test for 0.0L and nan.  Correct negation.
45131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45132         ieee875 long double macros and unions.  Correct output for large
45133         magnitude x.  Correct absolute value calculation.
45134         (__erfcl): Likewise.
45135         * math/libm-test.inc: Add tests for errors discovered in IBM long
45136         double versions of fmodl, remainderl, erfl and erfcl.
45138 2013-10-04  Alan Modra  <amodra@gmail.com>
45140         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45141         all uses of ieee854 long double macros and unions.  Simplify tests
45142         for long doubles that are fully specified by the high double.
45143         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45144         Likewise.
45145         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45146         Remove dead code too.
45147         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45148         (__ieee754_ynl): Likewise.
45149         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45150         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45152         Remove dead code too.
45153         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45154         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45155         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45156         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45157         Simplify.
45158         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45159         Simplify.
45160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45161         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45162         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45163         Comment on variable precision.
45164         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45165         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45166         Likewise.
45167         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45168         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45169         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45170         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45171         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45173 2013-10-04  Alan Modra  <amodra@gmail.com>
45175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45177         all uses of ieee854 long double macros and unions.
45178         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45179         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45180         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45181         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45183         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45184         Likewise.
45185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45186         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45187         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45188         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45189         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45190         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45191         Simplify sign and nan test too.
45192         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45193         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45194         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45195         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45196         Likewise.
45197         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45198         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45199         Likewise.
45200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45201         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45202         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45203         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45204         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45207 2013-10-04  Alan Modra  <amodra@gmail.com>
45209         * stdio-common/printf_size.c (__printf_size): Don't use
45210         union ieee854_long_double in fpnum union.
45211         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45212         signbit macro to retrieve sign from long double.
45213         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45214         retrieve sign from long double.
45215         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45216         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45217         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45218         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45219         * math/test-misc.c (main): Don't use union ieee854_long_double.
45221 2013-10-04  Alan Modra  <amodra@gmail.com>
45223         [BZ #15680]
45224         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45225         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45226         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45227         calculation.  Remove unnecessary test for denormal exponent.
45228         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45229         Correct handling of denormals.  Avoid undefined shift behaviour.
45230         Correct normalisation of low mantissa when low double is denormal.
45231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45232         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45233         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45234         Correct normalisation of low mantissa.  Test for overflow of high
45235         mantissa and normalise.
45236         (ldbl_nearbyint): Use more readable constant for two52.
45237         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45238         (__mpn_construct_long_double): Fix test for overflow of high
45239         mantissa and correct normalisation.  Avoid undefined shift.
45241 2013-10-04  Alan Modra  <amodra@gmail.com>
45243         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45244         (union ibm_extended_long_double): Define as an array of ieee754_double.
45245         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45246         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45247         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45248         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45250         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45251         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45252         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45253         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45254         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45255         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45257 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45259         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45260         page size instead of calling getpagesize.
45262         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45263         (LOCFILE_ALIGN_MASK): Likewise.
45264         (LOCFILE_ALIGN_UP): Likewise.
45265         (LOCFILE_ALIGNED_P): Likewise.
45266         * locale/programs/ld-collate.c (collate_output): Use the new
45267         macros instead of __alignof__ (int32_t).
45268         * locale/weight.h (findidx): Likewise.
45270 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45272         [BZ #431]
45273         * manual/string.texi: Fix strncat and wcsncat.
45275 2013-10-03  Brooks Moses  <bmoses@google.com>
45277         [BZ #15915]
45278         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45279         * Makerules: ...here, and adjust associated comments.
45281 2013-10-02  Will Newton  <will.newton@linaro.org>
45283         * malloc/Makefile: Add tst-pvalloc.
45284         * malloc/tst-pvalloc.c: New file.
45286 2013-10-02  Will Newton  <will.newton@linaro.org>
45288         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45289         improve test coverage.
45291 2013-10-02  Will Newton  <will.newton@linaro.org>
45293         * malloc/Makefile: Add tst-posix_memalign.
45294         * malloc/tst-posix_memalign.c: New file.
45296 2013-10-01  Eric Blake  <eblake@redhat.com>
45298         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45299         Use __THROWNL rather than __THROW on static functions.
45301 2013-09-30  Petr Machata  <pmachata@redhat.com>
45303         * elf/elf.h (R_AARCH64_ABS16): New macro.
45304         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45305         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45306         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45307         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45308         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45309         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45310         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45311         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45312         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45313         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45314         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45315         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45316         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45317         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45318         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45319         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45320         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45321         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45322         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45323         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45324         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45325         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45326         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45327         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45328         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45329         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45330         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45331         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45332         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45333         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45334         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45335         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45336         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45337         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45338         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45339         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45340         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45341         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45342         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45343         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45344         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45345         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45346         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45347         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45348         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45349         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45350         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45351         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45352         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45353         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45354         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45355         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45356         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45357         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45358         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45359         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45360         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45361         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45362         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45363         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45364         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45365         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45366         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45367         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45368         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45369         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45370         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45371         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45372         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45373         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45374         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45375         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45376         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45377         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45378         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45379         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45380         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45381         (R_AARCH64_TLSDESC_LDR): Likewise.
45382         (R_AARCH64_TLSDESC_ADD): Likewise.
45383         (R_AARCH64_TLSDESC_CALL): Likewise.
45385 2013-09-30  Andreas Schwab  <schwab@suse.de>
45387         [BZ #15048]
45388         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45389         the nss database lookup.
45390         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45393 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45395         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45397 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45399         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45400         ${Bash-specific parameter/pattern/string} parameter expansion.
45401         * sysdeps/unix/make-syscalls.sh: Likewise.
45403 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45405         * sysdeps/sh/stackguard-macros.h: New file.
45407 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45410         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45411         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45412         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45413         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45414         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45416 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45418         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45419         Fix thread ID register.
45421 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45423         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45424         [POSIX || UNIX98]: Require rather than permitting all symbols from
45425         <time.h>.
45426         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45427         element of struct sched_param.
45428         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45429         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45430         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45431         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45432         constant.
45434 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45436         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45437         argument calculation.
45439 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45441         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45442         Expect macro.
45443         [POSIX] (pthread_attr_t): Do not require type.
45444         [POSIX] (pthread_cond_t): Likewise.
45445         [POSIX] (pthread_condattr_t): Likewise.
45446         [POSIX] (pthread_key_t): Likewise.
45447         [POSIX] (pthread_mutex_t): Likewise.
45448         [POSIX] (pthread_mutexattr_t): Likewise.
45449         [POSIX] (pthread_once_t): Likewise.
45450         [POSIX] (pthread_t): Likewise.
45451         [POSIX-based standards] (pthread_atfork): Expect function.
45453 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45454             Richard Sandiford  <richard@codesourcery.com>
45456         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45457         (swap_endianness_p): New extern variable.
45458         (set_big_endian): New inline function.
45459         (maybe_swap_uint32): Likewise.
45460         (maybe_swap_uint32_array): Likewise.
45461         (maybe_swap_uint32_obstack): Likewise.
45462         * locale/programs/locfile.c: Include <stdbool.h>.
45463         (swap_endianness_p): New variable.
45464         (add_locale_uint32): Call maybe_swap_uint32.
45465         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45466         (write_locale_data): Call maybe_swap_uint32_array.
45467         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45468         maybe_swap_uint32.
45469         (obstack_int32_grow_fast): Likewise.
45470         (output_weightwc): Call maybe_swap_uint32_obstack.
45471         (collate_output): Likewise.
45472         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45473         (OPT_LITTLE_ENDIAN): Likewise.
45474         (options): Add --little-endian and --big-endian options.
45475         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45476         * locale/programs/locarchive.c: Include "locfile.h".
45477         (GET): New macro.
45478         (SET): Likewise.
45479         (INC): Likewise.
45480         (create_archive): Use the new macros to access fields of
45481         structures directly mapped from or written to locale archives.
45482         (oldlocrecentcmp): Likewise.
45483         (enlarge_archive): Likewise.
45484         (insert_name): Likewise.
45485         (add_alias): Likewise.
45486         (add_locale): Likewise.
45487         (delete_locales_from_archive): Likewise.
45488         (show_archive_content): Likewise.
45489         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45490         locale data.
45492 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45494         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45495         http://www.gnu.org/doc/freemanuals.texi.
45496         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45498 2013-09-24  Will Newton  <will.newton@linaro.org>
45500         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45501         macro.
45503 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45505         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45506         unsigned char.
45508 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45510         * manual/threads.texi (POSIX Threads): Fix a typo.
45512 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45514         [BZ #14547]
45515         * string/tst-strcoll-overflow.c: New test case.
45516         * string/Makefile (xtests): Add tst-strcoll-overflow.
45517         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45518         cache if string sizes may cause integer overflow.
45520         [BZ #14547]
45521         * string/strcoll_l.c (coll_seq): New members rule, idx,
45522         save_idx and back_us.
45523         (get_next_seq_nocache): New function.
45524         (do_compare_nocache): New function.
45525         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45526         when malloc fails.
45528 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45530         [BZ #15754]
45531         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45532         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45533         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45535         [BZ #15754]
45536         * elf/Makefile (tests): Add tst-ptrguard1.
45537         (tests-static): Add tst-ptrguard1-static.
45538         (tst-ptrguard1-ARGS): Define.
45539         (tst-ptrguard1-static-ARGS): Define.
45540         * elf/tst-ptrguard1.c: New file.
45541         * elf/tst-ptrguard1-static.c: New file.
45542         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45543         * sysdeps/i386/stackguard-macros.h: Likewise.
45544         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45545         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45546         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45547         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45548         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45549         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45551 2013-09-23  Hector Marco  <hecmargi@upv.es>
45552             Ismael Ripoll  <iripoll@disca.upv.es>
45553             Carlos O'Donell  <carlos@redhat.com>
45555         [BZ #15754]
45556         * sysdeps/generic/stackguard-macros.h: Define
45557         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45558         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45559         Define __pointer_chk_guard_local.
45560         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45561         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45563 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45565         [BZ #15859]
45566         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45568 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45570         * include/string.h (__ffs): Declare as hidden.
45571         * string/ffs.c (__ffs): Define as hidden.
45572         * sysdeps/i386/ffs.c (__ffs): Likewise.
45573         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45574         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45575         * sysdeps/s390/ffs.c (__ffs): Likewise.
45576         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45578 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45580         * NEWS: Mention malloc probes.
45582         * malloc/arena.c (new_heap): New memory_heap_new probe.
45583         (grow_heap): New memory_heap_more probe.
45584         (shrink_heap): New memory_heap_less probe.
45585         (heap_trim): New memory_heap_free probe.
45586         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45587         (systrim): New memory_sbrk_less probe.
45588         * manual/probes.texi: Document them.
45590         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45591         * manual/probes.texi: Document it.
45593         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45594         (__libc_realloc): Add memory_realloc_retry probe.
45595         (__libc_memalign): Add memory_memalign_retry probe.
45596         (__libc_valloc): Add memory_valloc_retry probe.
45597         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45598         (__libc_calloc): Add memory_calloc_retry probe.
45599         * manual/probes.texi: Document them.
45601         * malloc/arena.c (get_free_list): Add probe
45602         memory_arena_reuse_free_list.
45603         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45604         and memory_arena_reuse.
45605         (arena_get2) [!PER_THREAD]: Likewise.
45606         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45607         memory_arena_reuse_realloc.
45608         * manual/probes.texi: Document them.
45610         * malloc/malloc.c (__libc_free): Add
45611         memory_mallopt_free_dyn_thresholds probe.
45612         (__libc_mallopt): Add multiple memory_mallopt probes.
45613         * manual/probes.texi: Document them.
45615         * malloc/malloc.c: Include stap-probe.h.
45616         (__libc_mallopt): Add memory_mallopt probe.
45617         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45618         * manual/probes.texi: New.
45619         * manual/Makefile (chapters): Add probes.
45620         * manual/threads.texi: Set next node.
45622 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45624         [BZ #15963, #13985]
45625         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45626         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45627         Add `Chinese' to `nan' entry name.
45629 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45631         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45632         (POLYNOMIAL): Likewise.
45633         (TAYLOR_SINCOS): Likewise.
45634         (TAYLOR_SLOW): Likewise.
45635         (__sin): Use TAYLOR_SINCOS.
45636         (__cos): Likewise.
45637         (slow): Use TAYLOR_SLOW.
45638         (sloww): Likewise.
45639         (bsloww): Likewise.
45640         (csloww): Likewise.
45642 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45644         * stdlib/strtod_l.c: Fix buffer overrun.
45646 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45648         * benchtests/Makefile (bench): Add sincos.
45649         * benchtests/bench-sincos.c: New file.
45651         * math/libm-test.inc (cos_test_data): New test inputs.
45652         (sin_test_data): Likewise.
45654         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45655         macro.
45656         (__sin): Use it.
45657         (__cos): Likewise.
45658         (slow1): Likewise.
45659         (slow2): Likewise.
45660         (sloww1): Likewise.
45661         (sloww2): Likewise.
45662         (bsloww1): Likewise.
45663         (bsloww2): Likewise.
45664         (cslow2): Likewise.
45665         (csloww1): Likewise.
45666         (csloww2): Likewise.
45668         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45669         function.
45670         (__sin): Use it.
45671         (__cos): Likewise.
45673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45674         gotos.
45675         (__cos): Likewise.
45677 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45679         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45680         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45681         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45682         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45683         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45684         * elf/cache.c (print_entry): Handle the new cache flags.
45686 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45687             Aldy Hernandez  <aldyh@redhat.com>
45689         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45690         Change condition to [_SOFT_FLOAT].
45691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45703         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45706         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45707         declaration.
45709 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45711         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45712         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45713         (__longjmp): Use LOAD_GP to load saved GPRs.
45714         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45715         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45716         (__sigsetjmp): Use SAVE_GP to save GPRs.
45718         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45719         Do not append -msoft-float.
45720         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45722 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45724         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45726 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45728         [BZ #15966]
45729         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45730         (_FPU_GETCW): Use initial "__" on variable and field names but not
45731         on macro parameter name.
45732         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45733         parentheses around reference to macro parameter.
45735 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45737         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45738         prototype.
45739         (ctype_startup): Use uint32_t in cast and sizeof for
45740         ctype->charnames.
45742 2013-09-11  Jia Liu  <proljc@gmail.com>
45744         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45745         __daddr_t_defined.
45746         [__FreeBSD__]: Likewise.
45748 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45751         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45752         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45753         (strchr): Remove __strchr_sse42 ifunc selection.
45754         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45755         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45757 2013-09-11  Will Newton  <will.newton@linaro.org>
45759         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45760         parameter to RES. Remove hardcoded 1000 value.
45761         * benchtests/bench-skeleton.c (main): Pass RES parameter
45762         to TIMING_INIT and multiply result by 1000.
45764 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45768 2013-09-11  Andreas Schwab  <schwab@suse.de>
45770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45771         if not defined.
45772         (O_TMPFILE) [__USE_GNU]: Define.
45773         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45774         Define.
45776 2013-09-11  Will Newton  <will.newton@linaro.org>
45778         [BZ #15857]
45779         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45780         does not overflow.
45782 2013-09-11  Will Newton  <will.newton@linaro.org>
45784         [BZ #15856]
45785         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45786         does not overflow.
45788 2013-09-11  Will Newton  <will.newton@linaro.org>
45790         [BZ #15855]
45791         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45792         does not overflow.
45794 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45796         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45797         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45800         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45802 2013-09-10  Allan McRae  <allan@archlinux.org>
45804         [BZ #15748]
45805         * manual/arith.texi (Parsing of Floats): Clarify
45806         cross-reference.
45808         [BZ #15849]
45809         * manual/install.texi (Running make install): Mention
45810         --enable-pt-chown.
45811         * INSTALL: Regenerated.
45813 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45815         * csu/init-first.c (_init): Remove the !SHARED condition around
45816         FPU control word initialization.
45817         * elf/dl-support.c (_dl_fpu_control): New variable.
45818         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45819         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45820         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45821         * math/test-fpucw-static.c: New file.
45822         * math/test-fpucw-ieee.c: New file.
45823         * math/test-fpucw-ieee-static.c: New file.
45824         * math/Makefile (tests): Add `test-fpucw-ieee' and
45825         `$(tests-static)'.
45826         (tests-static): New variable.
45827         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45828         dependency to...
45829         [($(build-shared),yes)]
45830         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45831         ... this.
45832         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45833         New dependency.
45835 2013-09-09  Allan McRae  <allan@archlinux.org>
45837         [BZ #15939]
45838         * manual/string.texi (Collation Functions): Fix typo in
45839         strcoll example.
45840         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45842         [BZ #15893]
45843         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45845         [BZ #15892]
45846         * libio/memstream.c (open_memstream): Fix memory leak.
45847         * libio/wmemstream.c (open_wmemstream): Likewise.
45849         [BZ #15895]
45850         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45852 2013-09-09  Will Newton  <will.newton@linaro.org>
45854         * malloc/Makefile: Add tst-realloc to tests.
45855         * malloc/tst-realloc.c: New file.
45857 2013-09-09  Allan McRae  <allan@archlinux.org>
45859         [BZ #15844]
45860         * COPYING: Update from GNU website to fix FSF address.
45861         * COPYING.LIB: Likewise.
45863 2013-09-06  David S. Miller  <davem@davemloft.net>
45865         * po/zh_TW.po: Update Chinese (traditional) translation from
45866         translation project.
45868 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45869             Joseph Myers  <joseph@codesourcery.com>
45871         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45872         "localeinfo.h".
45873         (obstack_chunk_alloc): New macro.
45874         (obstack_chunk_free): Likewise.
45875         (record_offset): New function.
45876         (init_locale_data): Likewise.
45877         (align_locale_data): Likewise.
45878         (add_locale_empty): Likewise.
45879         (add_locale_raw_data): Likewise.
45880         (add_locale_raw_obstack): Likewise.
45881         (add_locale_string): Likewise.
45882         (add_locale_wstring): Likewise.
45883         (add_locale_uint32): Likewise.
45884         (add_locale_uint32_array): Likewise.
45885         (add_locale_char): Likewise.
45886         (start_locale_structure): Likewise.
45887         (end_locale_structure): Likewise.
45888         (start_locale_prelude): Likewise.
45889         (end_locale_prelude): Likewise.
45890         (write_locale_data): Take locale_file structure rather than an
45891         iovec.
45892         * locale/programs/locfile.h: Include "obstack.h".
45893         (struct locale_file): Change to store locale file contents instead
45894         of header.
45895         (init_locale_data): New prototype.
45896         (align_locale_data): Likewise.
45897         (add_locale_empty): Likewise.
45898         (add_locale_raw_data): Likewise.
45899         (add_locale_raw_obstack): Likewise.
45900         (add_locale_string): Likewise.
45901         (add_locale_wstring): Likewise.
45902         (add_locale_uint32): Likewise.
45903         (add_locale_uint32_array): Likewise.
45904         (add_locale_char): Likewise.
45905         (start_locale_structure): Likewise.
45906         (end_locale_structure): Likewise.
45907         (start_locale_prelude): Likewise.
45908         (end_locale_prelude): Likewise.
45909         (write_locale_data): Update prototype.
45910         * locale/programs/3level.h (struct TABLE): Remove result field.
45911         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45912         Use new locale_file interface.
45913         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45914         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45915         * locale/programs/ld-address.c (address_output): Use new
45916         locale_file interface.
45917         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45918         NO_ADD_LOCALE.
45919         (collate_finish): Don't call collseq_table_finalize.
45920         (collate_output): Use new locale_file interface.
45921         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45922         in file.
45923         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45924         (TABLE): Move defines earlier in file.
45925         (ELEMENT): Likewise.
45926         (DEFAULT): Likewise.
45927         (wctrans_table_add): Move macro and inline function earlier in
45928         file.
45929         (struct wctype_table): Move type earlier in file.
45930         (add_locale_wctype_table): New static prototype.
45931         (struct locale_ctype_t): Use logical types instead of struct iovec
45932         pointers for members.
45933         (ctype_output): Use new locale_file interface.
45934         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45935         new locale_file interface.
45936         (allocate_arrays): Update for use of new locale_file interface.
45937         * locale/programs/ld-identification.c (identification_output): Use
45938         new locale_file interface.
45939         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45940         * locale/programs/ld-messages.c (messages_output): Likewise.
45941         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45942         * locale/programs/ld-name.c (name_output): Likewise.
45943         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45944         * locale/programs/ld-paper.c (paper_output): Likewise.
45945         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45946         * locale/programs/ld-time.c (time_output): Likewise.
45948 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45950         * benchtests/Makefile: Add memrchr benchmark.
45951         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45952         benchmark as memrchr.
45953         * benchtests/bench-memrchr-ifunc.c: New file.
45954         * benchtests/bench-memrchr.c: New file.
45956 2013-09-06   Will Newton  <will.newton@linaro.org>
45958         * benchtests/Makefile (string-bench): Add memcpy.
45960 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45961             Cong Wang  <amwang@redhat.com>
45963         [BZ #15850]
45964         * sysdeps/unix/sysv/linux/bits/in.h
45965         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45966         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45967         before __USE_KERNEL_IPV6_DEFS uses.
45968         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45969         IPPROTO_BEETPH.
45970         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45971         sockaddr_in6, or ipv6_mreq.
45973 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45975         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45976         memory access for final bytes in some large inputs.
45977         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45979 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45981         * string/test-memrchr.c: New file.
45982         * string/test-memrchr-ifunc.c: New file.
45983         * string/Makefile: Add new memrchr testcase.
45985 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45987         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45988         fanotify_init returns EPERM.
45990 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45992         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45993         errors.
45994         (top level): Treat second token from macro or constant entries for
45995         allowed headers as allowed.
45996         * include/complex.h: Condition internal declarations on
45997         [!_ISOMAC].
45998         * include/fenv.h: Condition include of <stdbool.h> and internal
45999         declarations on [!_ISOMAC].
46001 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46003         [BZ #15923]
46004         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46006 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46008         * configure.in (--enable-versioning): Remove configure option.
46009         (libc_cv_asm_symver_directive): Remove configure test.
46010         (libc_cv_ld_version_script_option): Likewise.
46011         (VERSIONING): Remove variable and AC_SUBST.
46012         (DO_VERSIONING): Remove AC_DEFINE.
46013         * configure: Regenerated.
46014         * config.h.in (DO_VERSIONING): Remove macro.
46015         * Makerules [$(versioning) = yes]: Change conditionals to
46016         [$(build-shared) = yes].
46017         * config.make.in (versioning): Remove variable.
46018         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46019         [$(build-shared) = yes].
46020         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46021         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46022         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46023         [$(build-shared) = yes].
46024         * extra-lib.mk [$(versioning) = yes]: Likewise.
46025         * hurd/Makefile [$(versioning) = yes]: Likewise.
46026         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46027         [SHARED].
46028         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46029         [SHARED].
46030         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46031         [SHARED && !NO_HIDDEN].
46032         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46033         [SHARED].
46034         [SHARED && DO_VERSIONING]: Likewise..
46035         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46036         [$(build-shared) = yes].
46037         * manual/install.texi (--disable-versioning): Remove
46038         documentation.
46039         * INSTALL: Regenerated.
46040         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46041         to [SHARED].
46042         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46043         [$(build-shared) = yes].
46044         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46045         * sysdeps/i386/i686/multiarch/strstr-c.c
46046         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46047         [SHARED && !NO_HIDDEN].
46048         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46049         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46050         * sysdeps/powerpc/powerpc32/dl-machine.c
46051         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46052         * sysdeps/powerpc/powerpc32/sysdep.h
46053         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46054         to [SHARED && PIC && !NO_HIDDEN].
46055         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46056         conditional to [SHARED].
46058 2013-09-04   Will Newton  <will.newton@linaro.org>
46060         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46061         * benchtests/bench-string.h: Include bench-timing.h instead
46062         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46063         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46064         call to HP_TIMING_DIFF_INIT.
46065         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46066         instead of hp-timing.h macros.
46067         * benchtests/bench-memchr.c: Likewise.
46068         * benchtests/bench-memcmp.c: Likewise.
46069         * benchtests/bench-memcpy.c: Likewise.
46070         * benchtests/bench-memmem.c: Likewise.
46071         * benchtests/bench-memmove.c: Likewise.
46072         * benchtests/bench-memset.c: Likewise.
46073         * benchtests/bench-rawmemchr.c: Likewise.
46074         * benchtests/bench-strcasecmp.c: Likewise.
46075         * benchtests/bench-strcasestr.c: Likewise.
46076         * benchtests/bench-strcat.c: Likewise.
46077         * benchtests/bench-strchr.c: Likewise.
46078         * benchtests/bench-strcmp.c: Likewise.
46079         * benchtests/bench-strcpy.c: Likewise.
46080         * benchtests/bench-strcpy_chk.c: Likewise.
46081         * benchtests/bench-strlen.c: Likewise.
46082         * benchtests/bench-strncasecmp.c: Likewise.
46083         * benchtests/bench-strncat.c: Likewise.
46084         * benchtests/bench-strncmp.c: Likewise.
46085         * benchtests/bench-strncpy.c: Likewise.
46086         * benchtests/bench-strnlen.c: Likewise.
46087         * benchtests/bench-strpbrk.c: Likewise.
46088         * benchtests/bench-strrchr.c: Likewise.
46089         * benchtests/bench-strspn.c: Likewise.
46090         * benchtests/bench-strstr.c: Likewise.
46092 2013-09-04  Will Newton  <will.newton@linaro.org>
46094         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46096 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46098         [BZ #15427]
46099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46100         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46101         * math/libm-test.inc (lgamma_test_data): Add more tests.
46102         * sysdeps/i386/fpu/libm-test-ulps: Update.
46103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46105 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46107         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46109         Add ifunc.
46110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46111         Add strcmp-sse2-unaligned
46112         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46114 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46116         * Versions.def (libc): Add GLIBC_2.19.
46118 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46120         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46121         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46123 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46125         [BZ #14155]
46126         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46127         intermediate calculations in recurrence.
46128         (__ieee754_ynf): Likewise.
46129         * math/libm-test.inc (jn_test_data): Do not allow spurious
46130         underflow exception.  Add more tests.
46131         (yn_test_data): Add more tests.
46132         * sysdeps/i386/fpu/libm-test-ulps: Update.
46133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46135 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46139 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46141         * csu/init-first.c: Fix then/than typos.
46142         * locale/programs/ld-collate.c: Likewise.
46143         * locale/programs/linereader.h: Likewise.
46144         * manual/charset.texi: Likewise.
46145         * manual/filesys.texi: Likewise.
46146         * manual/stdio.texi: Likewise.
46147         * manual/string.texi: Likewise.
46148         * stdlib/fmtmsg.c: Likewise.
46149         * sysdeps/i386/stpncpy.S: Likewise.
46150         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46151         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46152         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46153         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46155 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46157         * elf/dl-open.c: Fix typos.
46158         * iconvdata/gbbig5.c: Likewise.
46159         * iconvdata/iso-2022-jp.c: Likewise.
46160         * iconv/gconv_int.h: Likewise.
46161         * iconv/loop.c: Likewise.
46162         * nis/rpcsvc/nis.h: Likewise.
46163         * resolv/ns_name.c: Likewise.
46164         * stdio-common/vfscanf.c: Likewise.
46165         * streams/stropts.h: Likewise.
46166         * sunrpc/rpc_thread.c: Likewise.
46167         * sysdeps/i386/strpbrk.S: Likewise.
46168         * sysdeps/ieee754/k_standard.c: Likewise.
46169         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46171         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46172         * sysdeps/mach/hurd/profil.c: Likewise.
46173         * sysdeps/s390/dl-procinfo.h: Likewise.
46174         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46175         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46176         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46177         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46178         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46180 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46182         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46185 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46187         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46188         aix specific files.
46189         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46190         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46191         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46192         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46193         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46194         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46195         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46196         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46198 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46199             Roland McGrath  <roland@hack.frob.com>
46201         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46202         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46204 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46206         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46207         __executable_start symbol instead of _start.
46209 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46211         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46212         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46213         Move macros to...
46214         * sysdeps/gnu/ldsodefs.h: ... this new file.
46216         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46217         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46218         instead of ELFOSABI_LINUX.
46220         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46221         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46222         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46223         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46224         Likewise.
46225         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46226         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46227         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46228         Likewise.
46229         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46230         (ibm_extended_long_double): Add ieee_nan member.
46231         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46232         (do_test): New function.
46234         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46235         TEST_TRUNC.
46236         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46237         functions, renamed from truncdfsf_test, trunctfsf_test,
46238         trunctfdf_test.
46239         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46240         functions.
46241         (do_test): Run all these.
46243 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46245         * argp/argp-help.c: Fix typos.
46246         * argp/argp-parse.c: Likewise.
46247         * debug/backtracesyms.c: Likewise.
46248         * elf/elf.h: Likewise.
46249         * malloc/malloc.c: Likewise.
46250         * nis/nis_print.c: Likewise.
46251         * resolv/res_comp.c: Likewise.
46252         * stdlib/stdlib.h: Likewise.
46253         * sunrpc/clnt_tcp.c: Likewise.
46254         * sunrpc/clnt_udp.c: Likewise.
46255         * sunrpc/clnt_unix.c: Likewise.
46256         * sysdeps/unix/bsd/ptsname.c: Likewise.
46257         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46260         Likewise.
46261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46262         Likewise.
46263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46264         Likewise.
46265         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46267 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46269         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46272 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46274         [BZ #15897]
46275         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46276         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46277         ($(objpfx)bug-dl-leaf): New rule.
46278         ($(objpfx)bug-dl-leaf.so): Likewise.
46279         ($(objpfx)bug-dl-leaf.out): Likewise.
46280         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46281         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46282         * dlfcn/bug-dl-leaf.c: New test.
46283         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46284         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46285         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46286         (dlclose): Likewise.
46287         (dlmopen): Likewise.
46289 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46291         * include/netdb.h [!_ISOMAC]:
46292         Don't include <tls.h>.
46293         (h_errno, __libc_h_errno): Move declaration and macros out of
46294         [_LIBC_REENTRANT].
46296         * include/resolv.h [_RESOLV_H_]:
46297         Don't include <tls.h>.
46298         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46299         * resolv/res_libc.c: Don't include <tls.h>.
46300         (_res): Use __attribute__ ((nocommon)) in place of
46301         __attribute__ ((section (".bss"))).
46303         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46304         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46306         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46308         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46309         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46311         * resolv/res_mkquery.c: Include <sys/time.h>.
46313         * inet/ifreq.c: Moved to ...
46314         * sysdeps/unix/ifreq.c: ... here.
46315         * inet/ifreq.c: New file, true stub version.
46317         * socket/sa_len.c: New file.
46318         * socket/Makefile (aux): Add it.
46319         * sysdeps/unix/sysv/linux/Makefile
46320         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46321         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46322         and #include <socket/sa_len.c>.
46323         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46324         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46326         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46327         * bits/socket.h: ... here.
46329         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46330         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46331         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46333 2013-08-27  Andreas Schwab  <schwab@suse.de>
46335         [BZ #15736]
46336         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46337         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46338         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46339         * string/test-strcasecmp.c (test_main): Run tests in several
46340         locales.
46341         * string/test-strncasecmp.c (test_main): Likewise.
46343         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46344         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46345         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46347         (__strncasecmp_ssse3) [PIC]: Likewise.
46349 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46351         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46353         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46354         instead of explicitly declaring xdecrypt.
46355         * nis/nss_nis/nis-publickey.c: Likewise.
46357 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46359         [BZ #15890]
46360         * nscd/aicache.c: Include res_hconf.h.
46361         (addhstaiX): Initialize res_hconf.
46363 2013-08-26  Andreas Schwab  <schwab@suse.de>
46365         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46366         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46368 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46370         * nscd/aicache.c (addhstaiX): Fix indentation.
46372 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46374         * configure.ac: Quote $build_pt_chown test.
46375         * configure: Regenerated.
46377 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46379         [BZ #15532]
46380         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46381         * math/s_cexpf.c (__cexpf): Likewise.
46382         * math/s_cexpl.c (__cexpl): Likewise.
46383         * math/libm-test.inc (cexp_test_data): Correct expected return
46384         value for NaN + i0.  Add another test.
46386 2013-08-22  David S. Miller  <davem@davemloft.net>
46388         * po/ca.po: Update Catalan translation from translation project.
46389         * po/uk.po: Add Ukrainian translations from translation project.
46391 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46393         [BZ #15797]
46394         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46395         is infinite, not alongside NaN test.
46396         * math/s_fdimf.c (__fdimf): Likewise.
46397         * math/s_fdiml.c (__fdiml): Likewise.
46398         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46399         errno is unchanged.
46401 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46403         * argp/argp-help.c: Fix typos.
46404         * crypt/speeds.c: Likewise.
46405         * csu/check_fds.c: Likewise.
46406         * elf/dl-load.c: Likewise.
46407         * elf/dl-open.c: Likewise.
46408         * elf/reldep3.c: Likewise.
46409         * elf/reldep.c: Likewise.
46410         * elf/sprof.c: Likewise.
46411         * iconv/iconv_charmap.c: Likewise.
46412         * iconv/skeleton.c: Likewise.
46413         * iconv/strtab.c: Likewise.
46414         * io/lockf64.c: Likewise.
46415         * libio/libioP.h: Likewise.
46416         * resolv/gai_notify.c: Likewise.
46417         * resolv/ns_name.c: Likewise.
46418         * resolv/ns_samedomain.c: Likewise.
46419         * resolv/res_send.c: Likewise.
46420         * stdlib/random.c: Likewise.
46421         * sunrpc/rpc/xdr.h: Likewise.
46422         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46423         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46424         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46425         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46426         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46427         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46428         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46429         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46430         * sysdeps/mach/hurd/check_fds.c: Likewise.
46431         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46432         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46434         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46435         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46436         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46437         * sysdeps/pthread/aio_notify.c: Likewise.
46438         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46439         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46440         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46442         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46444 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46446         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46447         version if bit_Slow_SSE4_2 is set.
46448         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46449         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46451 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46453         [BZ #15867]
46454         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46455         trampoline stack frame information.
46456         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46457         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46458         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46459         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46460         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46461         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46462         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46463         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46464         sa_flags value.
46465         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46466         interrupting a syscall and set with option SA_SIGINFO.
46468 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46470         [BZ #15531]
46471         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46472         argument is infinite.
46473         * math/s_cprojf.c (__cprojf): Likewise.
46474         * math/s_cprojl.c (__cprojl): Likewise.
46475         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46476         * math/libm-test.inc (cproj_test_data): Add more tests.
46478         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46480         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46481         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46482         size.  Use __ffs to determine corresponding shift.
46484 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46485             Roland McGrath  <roland@hack.frob.com>
46487         * Makefile (INSTALL): Remove trailing blank lines from output of
46488         makeinfo.
46490 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46492         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46493         Align 32 bit compat elf_greg to 8 bytes.
46495 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46497         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46499 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46501         * string/strcoll_l.c (coll_seq): New structure.
46502         (get_next_seq_cached): New function.
46503         (get_next_seq): New function.
46504         (do_compare): New function.
46505         (STRCOLL): Use GNU style definition.  Simplify implementation
46506         by using get_next_seq, get_next_seq_cached and do_compare.
46508 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46510         [BZ #14699]
46511         CVE-2013-4237
46512         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46513         member.
46514         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46515         member.
46516         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46517         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46518         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46519         conditional.
46520         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46521         GETDENTS_64BIT_ALIGNED.
46522         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46523         * manual/filesys.texi (Reading/Closing Directory): Document
46524         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46525         strongly.
46526         * manual/conf.texi (Limits for Files): Add portability note to
46527         NAME_MAX, PATH_MAX.
46528         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46530 2013-08-13  Andreas Schwab  <schwab@suse.de>
46532         [BZ #15749]
46533         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46534         of fabs.
46535         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46536         LDBL_MAX_EXP >= 16384]: Add tests for it.
46538 2013-08-12  David S. Miller  <davem@davemloft.net>
46540         * version.h (RELEASE): Set to "development".
46541         (VERSION): Set to "2.18.90".
46542         * NEWS: Add 2.19 section.
46544 2013-08-03  David S. Miller  <davem@davemloft.net>
46546         * po/ko.po: Update Korean translation from translation project.
46548 2013-08-01  David S. Miller  <davem@davemloft.net>
46550         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46551         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46552         Bilka.
46554 2013-07-30  David S. Miller  <davem@davemloft.net>
46556         * po/fr.po: Update French translation from translation project.
46558 2013-07-28  David S. Miller  <davem@davemloft.net>
46560         * po/cs.po: Update Czech translation from translation project.
46562         * po/sv.po: Update Swedish translation from translation project.
46564 2013-07-27  David S. Miller  <davem@davemloft.net>
46566         * po/eo.po: Update Esperanto translation from translation project.
46568         * po/vi.po: Update Vietnamese translation from translation project.
46570         * po/de.po: Update German translation from translation project.
46572 2013-07-26  David S. Miller  <davem@davemloft.net>
46574         * po/bg.po: Update Bulgarian translation from translation project.
46576         * po/nl.po: Update Dutch translation from translation project.
46577         * po/pl.po: Update Polish translation from translation project.
46578         * po/ru.po: Update Russian translation from translation project.
46580 2013-07-24  David S. Miller  <davem@davemloft.net>
46582         * po/libc.pot: Update.
46584 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46586         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46587         variable page size.
46588         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46589         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46590         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46592 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46594         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46596 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46597             Andreas Schwab  <schwab@suse.de>
46598             Roland McGrath  <roland@hack.frob.com>
46599             Joseph Myers  <joseph@codesourcery.com>
46600             Carlos O'Donell  <carlos@redhat.com>
46602         [BZ #15755]
46603         * config.h.in: Define HAVE_PT_CHOWN.
46604         * config.make.in (build-pt-chown): New variable.
46605         * configure.in (--enable-pt_chown): New configure option.
46606         * configure: Regenerate.
46607         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46608         build-pt-chown is enabled.
46609         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46610         pt_chown to fix pty ownership.
46611         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46612         CLOSE_ALL_FDS.
46613         * manual/install.texi (Configuring and compiling): Mention
46614         --enable-pt_chown. Add @findex for grantpt.
46615         * INSTALL: Regenerate.
46617 2013-07-20  David S. Miller  <davem@davemloft.net>
46619         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46620         difference between 32-bit and 64-bit.
46622 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46624         [BZ #15711]
46625         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46626         Avoid system header dependency with -ffreestanding.
46627         ($(objpfx)bits/syscall%d): Likewise.
46629 2013-07-13  David S. Miller  <davem@davemloft.net>
46631         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46632         underflows from atanl/atan2l due to bug 15319.
46633         (casinh_test_data): Likewise.
46635 2013-07-07  David S. Miller  <davem@davemloft.net>
46637         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46639 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46641         * sysdeps/i386/fpu/libm-test-ulps: Update.
46642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46644 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46646         * configure.in (--enable-lock-elision): Fix message text.
46647         * INSTALL: Regenerate.
46648         * configure: Regenerate.
46650 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46654 2013-07-03  Andreas Jaeger  <aj@suse.de>
46656         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46657         define.
46658         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46659         (ptrace_peeksiginfo_args): Add.
46660         (__ptrace_peeksiginfo_flags): Add.
46661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46665 2013-07-03  Allan McRae  <allan@archlinux.org>
46667         * sysdeps/i386/fpu/libm-test-ulps: Update.
46669 2013-07-02  David S. Miller  <davem@davemloft.net>
46671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46673 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46677 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46679         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46682 2013-07-02  Andi Kleen <ak@linux.intel.com>
46684         * config.h.in (ENABLE_LOCK_ELISION): Add.
46685         * configure.in (--enable-lock-elision): Add option.
46686         * manual/install.texi: Document --enable lock elision.
46687         * configure: Regenerate
46688         * INSTALL: Regenerate.
46690 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46692         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46693         SSE4.2 strcasecmp for libc.a.
46694         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46696 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46698         [BZ #13304]
46699         * soft-fp/op-common.h (_FP_FMA): New macro.
46700         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46701         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46702         (_FP_MUL_MEAT_1_imm): ... here.
46703         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46704         (_FP_MUL_MEAT_1_wide): ... here.
46705         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46706         (_FP_MUL_MEAT_1_hard): ... here.
46707         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46708         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46709         (_FP_MUL_MEAT_2_wide): ... here.
46710         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46711         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46712         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46713         (_FP_MUL_MEAT_2_gmp): ... here.
46714         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46715         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46716         (_FP_MUL_MEAT_4_wide): ... here.
46717         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46718         (_FP_MUL_MEAT_4_gmp): ... here.
46719         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46720         (_FP_WFRACBITS_DW_S): Likewise.
46721         (_FP_WFRACXBITS_DW_S): Likewise.
46722         (_FP_HIGHBIT_DW_S): Likewise.
46723         (FP_FMA_S): Likewise.
46724         (_FP_FRAC_HIGH_DW_S): Likewise.
46725         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46726         (_FP_WFRACBITS_DW_D): Likewise.
46727         (_FP_WFRACXBITS_DW_D): Likewise.
46728         (_FP_HIGHBIT_DW_D): Likewise.
46729         (FP_FMA_D): Likewise.
46730         (_FP_FRAC_HIGH_DW_D): Likewise.
46731         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46732         (_FP_WFRACBITS_DW_E): Likewise.
46733         (_FP_WFRACXBITS_DW_E): Likewise.
46734         (_FP_HIGHBIT_DW_E): Likewise.
46735         (FP_FMA_E): Likewise.
46736         (_FP_FRAC_HIGH_DW_E): Likewise.
46737         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46738         (_FP_WFRACBITS_DW_Q): Likewise.
46739         (_FP_WFRACXBITS_DW_Q): Likewise.
46740         (_FP_HIGHBIT_DW_Q): Likewise.
46741         (FP_FMA_Q): Likewise.
46742         (_FP_FRAC_HIGH_DW_Q): Likewise.
46743         * soft-fp/fmasf4.c: New file.
46744         * soft-fp/fmadf4.c: Likewise.
46745         * soft-fp/fmatf4.c: Likewise.
46747 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46750         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46751         Silvermont.
46752         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46753         macro.
46754         (index_Slow_SSE4_2): Likewise.
46755         (index_Prefer_PMINUB_for_stringop): Likewise.
46756         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46757         bit_Slow_SSE4_2 is set.
46758         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46759         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46761 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46763         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46764         rtld_global._dl_hwcap2.
46765         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46766         POWER8.
46767         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46768         POWER8 feature descriptions defined in _dl_hwcap2.
46769         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46770         string handling for POWER8 feature bits.
46771         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46772         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46773         _dl_powerpc_cap_flags.
46774         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46775         * sysdeps/powerpc/rtld-global-offsets.sym
46776         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46777         _dl_hwcap2 in the rtld_global_ro structure.
46779 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46781         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46782         hardware capabilities in support of AT_HWCAP2.
46783         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46784         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46785         GLRO(dl_hwcap2).
46786         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46787         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46788         explicitly the unknown a_type display mechanism is used.
46789         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46790         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46791         struct member.
46792         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46793         to macro prototype for AT_HWCAP2 support.
46794         * sysdeps/i386/dl-procinfo.h: Likewise.
46795         * sysdeps/s390/dl-procinfo.h: Likewise.
46796         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46797         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46798         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46799         return -1 for unknown a_type display fallback.
46800         * sysdeps/sparc/dl-procinfo.h: Likewise.
46801         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46802         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46804 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46806         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46807         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46809 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46811         [BZ #12492]
46812         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46813         mprotect making __stack_prot writable.
46815 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46816             Joseph Myers  <joseph@codesourcery.com>
46818         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46819         as being properly aligned.
46821 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46823         * dlfcn/modstatic5.c: New file.
46824         * dlfcn/tststatic5.c: New file.
46825         * dlfcn/Makefile (tests): Add tststatic5.
46826         (tests-static): Likewise.
46827         (modules-names): Add modstatic5.
46828         (tststatic5-ENV): New variable.
46829         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46831         [BZ #15022]
46832         * elf/dl-support.c (_dl_main_map): New variable.
46833         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46834         (_dl_nns, _dl_load_adds): Set to 1.
46835         (_dl_initial_searchlist): Refer to _dl_main_map.
46836         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46837         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46838         call to _dl_get_origin.
46839         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46840         around call_map.
46841         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46842         * dlfcn/modstatic3.c: New file.
46843         * dlfcn/tststatic3.c: New file.
46844         * dlfcn/tststatic4.c: New file.
46845         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46846         (tests-static): Likewise.
46847         (modules-names): Add modstatic3.
46848         (tststatic3-ENV, tststatic4-ENV): New variables.
46849         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46850         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46852 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46854         * configure.in (CC): Require GCC version 4.4 or later.
46855         * configure: Regenerated.
46856         * manual/install.texi (Tools for Compilation): Update GCC version
46857         requirement.
46858         * INSTALL: Regenerated.
46860 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46862         [BZ #15674]
46863         * string/test-memcmp.c (check2): New.
46864         (main): Call check2.
46866         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46868 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46870         [BZ #15022]
46871         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46872         over to...
46873         (dl_open_worker) [!SHARED]: ... here.
46875 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46877         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46879 2013-06-25  Richard Henderson  <rth@redhat.com>
46881         * locale/programs/locarchive.c: Include <libc-internal.h>
46883 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46885         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46886         trailing whitespace removed.
46888 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46890         [BZ #10283]
46891         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46892         * locale/programs/locarchive.c: Include libc-mmap.h.
46893         (prepare_address_space): Take two new outputs (the mmap base and len).
46894         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46895         values.
46896         (create_archive): Declare new mmap base and len values for
46897         prepare_address_space, and store the result in ah.
46898         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46899         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46900         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46901         Declare new mmap base and len values for
46902         prepare_address_space, and store the result in new_ah.
46903         (open_archive): Declare new mmap base and len values for
46904         prepare_address_space, and store the result in ah.
46905         (close_archive): If ah->mmap_base is not NULL, use that and
46906         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46907         * sysdeps/generic/libc-mmap.h: New file.
46909 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46911         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46912         (ALIGN_UP): Likewise.
46913         (PTR_ALIGN_DOWN): Likewise.
46914         (PTR_ALIGN_UP): Likewise.
46916 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46918         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46919         entry mapped to PPC_PLATFORM_POWER8.
46920         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46921         POWER8.
46922         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46923         (_dl_string_platform): Add case for exporting platform position for
46924         POWER8.
46925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46926         search path to sysdeps/powerpc/powerpc32/power8 directory.
46927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46928         search path to sysdeps/powerpc/powerpc64/power8 directory.
46929         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46930         power7 directories.
46931         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46932         power7 directories.
46934 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46936         * INSTALL: Regenerate.
46938         * nscd/connections.c (nscd_init): Fix comment.
46940 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46942         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46944         [BZ #15667]
46945         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46946         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46948 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46950         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46951         DL_DST_REQ_STATIC.
46952         (DL_DST_REQ_STATIC): Remove macro.
46954 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46956         [BZ #7006]
46957         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46958         with a shift of 0 bits.
46960 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46962         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46963         $(tststatic-ENV).
46965 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46967         [BZ #15655]
46968         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46970 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46972         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46973         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46974         accepts -fno-tree-loop-distribute-patterns.
46975         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46976         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46977         recursive call.
46978         * string/memset.c (memset): Likewise.
46979         * string/test-memmove.c (simple_memmove): Disable loop transformation
46980         to library calls.
46981         * string/test-memset.c (simple_memset): Likewise.
46982         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46983         * benchtests/bench-memset.c (simple_memset): Likewise.
46984         * configure: Regenerated.
46986 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46988         * math/test-misc.c (main): Ignore fesetround failure when failures
46989         of subsequent rounding tests would be ignored.
46991         [BZ #15654]
46992         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46993         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46994         * math/fegetenv.c (__fegetenv): Return 0.
46995         * math/fegetexcept.c (fegetexcept): Return 0.
46996         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46997         FE_TONEAREST.
46998         * math/feholdexcpt.c (feholdexcept): Return 0.
46999         * math/fesetenv.c (__fesetenv): Return 0.
47000         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47001         argument FE_TONEAREST.
47002         * math/feupdateenv.c (__feupdateenv): Return 0.
47003         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47005 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47007         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47008         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47009         ($(objpfx)rtld-%.os rules): Use them.
47011 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47013         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47014         fields.
47016 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47018         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47019         length of target pattern, then descending length of dependency pattern.
47020         * configure.in (AWK): Require gawk 3.1.2 or newer.
47021         * manual/install.texi (Tools for Compilation): Say that we do.
47022         * configure: Regenerated.
47024         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47025         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47026         * scripts/sysd-rules.awk: ... this new script.
47027         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47028         than a glob-style pattern.
47030 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47032         * math/test-misc.c (main): Do not treat incorrectly rounded
47033         conversions as failure unless ROUNDING_TESTS passes.
47035 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47037         [BZ #15631]
47038         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47039         restore exception state around main square root computation, then
47040         check for inexactness explicitly.
47042         * math/libm-test.inc (fma_test_data): Add another test.
47044 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47046         * manual/threads.texi (Non-POSIX Extensions): New document
47047         node.  Document pthread_getattr_default_np and
47048         pthread_setattr_default_np.
47050         * Versions.def (libpthread): Add GLIBC_2.18.
47051         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47053         Likewise.
47054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47055         Likewise.
47056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47057         Likewise.
47058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47059         Likewise.
47060         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47061         Likewise.
47062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47063         Likewise.
47064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47065         Likewise.
47066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47067         Likewise.
47068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47069         Likewise.
47071 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47074         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47076 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47077             H.J. Lu  <hjl.tools@gmail.com>
47079         [BZ #15627]
47080         * sysdeps/x86_64/rtld-memset.c: Remove file.
47081         * sysdeps/x86_64/rtld-memset.S: New file.
47083 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47085         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47086         (test_in_one_mode): Take arguments for whether the rounding mode
47087         is supported for each floating-point type.
47088         (do_test): Pass new arguments to test_in_one_mode using
47089         ROUNDING_TESTS.
47091 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47093         * posix/tst-waitid.c (do_test): Distinguish different instances of
47094         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47095         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47096         before entering the kernel for waitpid.
47098 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47100         * NEWS: Fix note on clock function precision.  Text by Roland
47101         McGrath.
47103 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47105         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47106         it into place only when and if the sanity check passes.
47108 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47110         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47111         output for whether conversion result is exact.  Take argument
47112         indicating whether type is IBM long double.
47113         (round_for_all): Change need_exact field to ibm_ld.
47114         * stdlib/tst-strtod-round.c (struct exactness): New type.
47115         (struct test): Change bool ld_ok field to struct exactness exact.
47116         (TEST): Update all definitions for change to field.
47117         (tests): Regenerate array contents.
47118         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47119         field value.  Check for IBM long double here.
47120         (do_test): Update calls to test_in_one_mode.
47122 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47124         [BZ #12515]
47125         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47126         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47128 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47130         [BZ #15605]
47131         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47132         generated by the compiler on loop optimizations.
47133         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47134         general definitions.
47136 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47138         * math/bug-nextafter.c: Include <math-tests.h>.
47139         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47140         the relevant type.
47141         * math/bug-nexttoward.c: Include <math-tests.h>.
47142         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47143         the relevant type.
47144         * math/test-misc.c: Include <math-tests.h>.
47145         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47146         the relevant type.
47148 2013-06-12  Andreas Jaeger  <aj@suse.de>
47150         * po/ia.po: Update Interlingua translation from translation
47151         project.
47153 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47155         * include/fenv.h: Include stdbool.h.
47156         (struct rm_ctx): New structure.
47157         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47158         Define macro.
47159         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47160         (SET_RESTORE_ROUNDF): Likewise.
47161         (SET_RESTORE_ROUNDL): Likewise.
47162         (SET_RESTORE_ROUND_NOEX): Likewise.
47163         (SET_RESTORE_ROUND_NOEXF): Likewise.
47164         (SET_RESTORE_ROUND_NOEXL): Likewise.
47165         (SET_RESTORE_ROUND_53BIT): Likewise.
47166         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47167         (libc_feresetround_noexf_ctx): Likewise.
47168         (libc_feresetround_noexl_ctx): Likewise.
47169         (libc_feholdsetround_53bit_ctx): Likewise.
47170         (libc_feresetround_53bit_ctx): Likewise.
47171         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47172         (libc_feholdexcept_setround_sse_ctx): New function.
47173         (libc_fesetenv_sse_ctx): Likewise.
47174         (libc_feupdateenv_sse_ctx): Likewise.
47175         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47176         (libc_feholdexcept_setround_387_ctx): Likewise.
47177         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47178         (libc_feholdsetround_387_prec_ctx): Likewise.
47179         (libc_feholdsetround_387_ctx): Likewise.
47180         (libc_feholdsetround_387_53bit_ctx): Likewise.
47181         (libc_feholdsetround_sse_ctx): Likewise.
47182         (libc_feresetround_sse_ctx): Likewise.
47183         (libc_feresetround_387_ctx): Likewise.
47184         (libc_feupdateenv_387_ctx): Likewise.
47185         (libc_feholdexcept_setroundf_ctx): Define macro.
47186         (libc_fesetenvf_ctx): Likewise.
47187         (libc_feupdateenvf_ctx): Likewise.
47188         (libc_feholdsetroundf_ctx): Likewise.
47189         (libc_feresetroundf_ctx): Likewise.
47190         (libc_feholdexcept_setround_ctx): Likewise.
47191         (libc_fesetenv_ctx): Likewise.
47192         (libc_feupdateenv_ctx): Likewise.
47193         (libc_feholdsetround_ctx): Likewise.
47194         (libc_feresetround_ctx): Likewise.
47195         (libc_feholdexcept_setroundl_ctx): Likewise.
47196         (libc_feupdateenvl_ctx): Likewise.
47197         (libc_feholdsetroundl_ctx): Likewise.
47198         (libc_feresetroundl_ctx): Likewise.
47199         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47200         (libc_feresetround_53bit_ctx): Likewise.
47202 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47204         * locale/iso-639.def: Convert to UTF-8.
47206 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47208         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47209         (EXCEPTION_TESTS_double): Likewise.
47210         (EXCEPTION_TESTS_long_double): Likewise.
47211         (EXCEPTION_TESTS): Likewise.
47212         * math/libm-test.inc (test_exceptions): Only test exceptions if
47213         EXCEPTION_TESTS (FLOAT).
47215 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47217         * benchtests/Makefile (string-bench): Add strcpy_chk and
47218         stpcpy_chk.
47219         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47220         * benchtests/bench-stpcpy_chk.c: New file.
47221         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47222         * benchtests/bench-strcpy_chk.c: New file.
47223         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47224         code.
47225         (do_test): Likewise.
47227 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47230         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47231         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47232         with tabs where appropriate.
47233         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47234         dl-procinfo.h.
47235         [PPC_PLATFORM_PPC440]: Likewise.
47236         [PPC_PLATFORM_PPC464]: Likewise.
47237         [PPC_PLATFORM_PPC476]: Likewise.
47238         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47239         ppc464, and ppc476 platform strings merging from ports/
47240         dl-procinfo.h.
47242 2013-06-11  Andreas Schwab  <schwab@suse.de>
47244         [BZ #14991]
47245         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47246         (from_ucs4_idx): Regenerate.
47247         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47248         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47249         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47250         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47251         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47252         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47253         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47254         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47255         from FROM_LOOP and TO_LOOP specific macros.
47256         (BODY): Handle combining characters.
47257         * iconvdata/BIG5HKSCS.irreversible: Update.
47258         * iconvdata/BIG5HKSCS.precomposed: New file.
47259         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47260         characters.
47261         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47265         * include/sys/time.h: Fix indentation and add copyright header.
47267         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47268         (do_test): Likewise.
47269         * string/test-memchr.c (do_one_test): Likewise.
47270         (do_test): Likewise.
47271         * string/test-memcmp.c (do_one_test): Likewise.
47272         (do_test): Likewise.
47273         * string/test-memcpy.c (do_one_test): Likewise.
47274         (do_test): Likewise.
47275         * string/test-memmem.c (do_one_test): Likewise.
47276         (do_test): Likewise.
47277         (do_random_tests): Likewise.
47278         * string/test-memmove.c (do_one_test): Likewise.
47279         (do_test): Likewise.
47280         * string/test-memset.c (do_one_test): Likewise.
47281         (do_test): Likewise.
47282         * string/test-rawmemchr.c (do_one_test): Likewise.
47283         (do_test): Likewise.
47284         * string/test-strcasecmp.c (do_one_test): Likewise.
47285         (do_test): Likewise.
47286         * string/test-strcasestr.c (do_one_test): Likewise.
47287         (do_test): Likewise.
47288         * string/test-strcat.c (do_one_test): Likewise.
47289         (do_test): Likewise.
47290         * string/test-strchr.c (do_one_test): Likewise.
47291         (do_test): Likewise.
47292         * string/test-strcmp.c (do_one_test): Likewise.
47293         (do_test): Likewise.
47294         * string/test-strcpy.c (do_one_test): Likewise.
47295         (do_test): Likewise.
47296         * string/test-string.h: Likewise.
47297         (test_init): Likewise.
47298         * string/test-strlen.c (do_one_test): Likewise.
47299         (do_test): Likewise.
47300         * string/test-strncasecmp.c (do_one_test): Likewise.
47301         (do_test): Likewise.
47302         * string/test-strncat.c (do_one_test): Likewise.
47303         (do_test): Likewise.
47304         * string/test-strncmp.c (do_one_test): Likewise.
47305         (do_test_limit): Likewise.
47306         (do_test): Likewise.
47307         * string/test-strncpy.c (do_one_test): Likewise.
47308         (do_test): Likewise.
47309         * string/test-strnlen.c (do_one_test): Likewise.
47310         (do_test): Likewise.
47311         * string/test-strpbrk.c (do_one_test): Likewise.
47312         (do_test): Likewise.
47313         * string/test-strrchr.c (do_one_test): Likewise.
47314         (do_test): Likewise.
47315         * string/test-strspn.c (do_one_test): Likewise.
47316         (do_test): Likewise.
47317         * string/test-strstr.c (do_one_test): Likewise.
47318         (do_test): Likewise.
47320         * benchtests/Makefile (string-bench): Add string benchmarks.
47321         * benchtests/bench-bcopy-ifunc.c: New file.
47322         * benchtests/bench-bcopy.c: New file.
47323         * benchtests/bench-bzero-ifunc.c: New file.
47324         * benchtests/bench-bzero.c: New file.
47325         * benchtests/bench-memccpy-ifunc.c: New file.
47326         * benchtests/bench-memccpy.c: New file.
47327         * benchtests/bench-memchr-ifunc.c: New file.
47328         * benchtests/bench-memchr.c: New file.
47329         * benchtests/bench-memcmp-ifunc.c: New file.
47330         * benchtests/bench-memcmp.c: New file.
47331         * benchtests/bench-memmem-ifunc.c: New file.
47332         * benchtests/bench-memmem.c: New file.
47333         * benchtests/bench-memmove-ifunc.c: New file.
47334         * benchtests/bench-memmove.c: New file.
47335         * benchtests/bench-mempcpy-ifunc.c: New file.
47336         * benchtests/bench-mempcpy.c: New file.
47337         * benchtests/bench-memset-ifunc.c: New file.
47338         * benchtests/bench-memset.c: New file.
47339         * benchtests/bench-rawmemchr-ifunc.c: New file.
47340         * benchtests/bench-rawmemchr.c: New file.
47341         * benchtests/bench-stpcpy-ifunc.c: New file.
47342         * benchtests/bench-stpcpy.c: New file.
47343         * benchtests/bench-stpncpy-ifunc.c: New file.
47344         * benchtests/bench-stpncpy.c: New file.
47345         * benchtests/bench-strcasecmp-ifunc.c: New file.
47346         * benchtests/bench-strcasecmp.c: New file.
47347         * benchtests/bench-strcasestr-ifunc.c: New file.
47348         * benchtests/bench-strcasestr.c: New file.
47349         * benchtests/bench-strcat-ifunc.c: New file.
47350         * benchtests/bench-strcat.c: New file.
47351         * benchtests/bench-strchr-ifunc.c: New file.
47352         * benchtests/bench-strchr.c: New file.
47353         * benchtests/bench-strchrnul-ifunc.c: New file.
47354         * benchtests/bench-strchrnul.c: New file.
47355         * benchtests/bench-strcmp-ifunc.c: New file.
47356         * benchtests/bench-strcmp.c: New file.
47357         * benchtests/bench-strcpy-ifunc.c: New file.
47358         * benchtests/bench-strcpy.c: New file.
47359         * benchtests/bench-strcspn-ifunc.c: New file.
47360         * benchtests/bench-strcspn.c: New file.
47361         * benchtests/bench-strlen-ifunc.c: New file.
47362         * benchtests/bench-strlen.c: New file.
47363         * benchtests/bench-strncasecmp-ifunc.c: New file.
47364         * benchtests/bench-strncasecmp.c: New file.
47365         * benchtests/bench-strncat-ifunc.c: New file.
47366         * benchtests/bench-strncat.c: New file.
47367         * benchtests/bench-strncmp-ifunc.c: New file.
47368         * benchtests/bench-strncmp.c: New file.
47369         * benchtests/bench-strncpy-ifunc.c: New file.
47370         * benchtests/bench-strncpy.c: New file.
47371         * benchtests/bench-strnlen-ifunc.c: New file.
47372         * benchtests/bench-strnlen.c: New file.
47373         * benchtests/bench-strpbrk-ifunc.c: New file.
47374         * benchtests/bench-strpbrk.c: New file.
47375         * benchtests/bench-strrchr-ifunc.c: New file.
47376         * benchtests/bench-strrchr.c: New file.
47377         * benchtests/bench-strspn-ifunc.c: New file.
47378         * benchtests/bench-strspn.c: New file.
47379         * benchtests/bench-strstr-ifunc.c: New file.
47380         * benchtests/bench-strstr.c: New file.
47382         * benchtests/Makefile: Disable parallel execution of targets.
47383         (string-bench): Add memcpy.
47384         (benchset): New variable to store a list of benchmark sets.
47385         (bench-func): Renamed from bench.
47386         (bench-set): New target.
47387         (bench): Depend on bench-func and bench-set.
47388         * benchtests/README: Add section on benchmark sets.
47389         * benchtests/bench-memcpy-ifunc.c: New file.
47390         * benchtests/bench-memcpy.c: New file.
47391         * benchtests/bench-string.h: New file.
47393 2013-06-11  Andreas Schwab  <schwab@suse.de>
47395         [BZ #15577]
47396         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47397         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47398         values in the triple.
47399         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47400         terminator in the group key.
47402 2013-06-11  Andreas Jaeger  <aj@suse.de>
47404         * po/zh_TW.po: Update Chinese (traditional) translation from
47405         translation project.
47407 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47409         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47410         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47411         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47412         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47413         (clock_getcpuclockid): Likewise.
47414         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47415         Add weak_alias and libc_hidden_def.
47416         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47417         * rt/clock_gettime.c (clock_gettime): Rename to
47418         __clock_gettime.  Add weak_alias and libc_hidden_def.
47419         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47420         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47421         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47422         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47423         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47424         Likewise.
47425         * rt/clock_settime.c (clock_settime): Rename to
47426         __clock_settime.  Add weak_alias and libc_hidden_def.
47427         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47429 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47431         * mach/err_boot.sub: Remove trailing whitespace.
47432         * mach/err_ipc.sub: Likewise.
47433         * mach/err_mach.sub: Likewise.
47435         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47436         (ROUNDING_TESTS_double): Likewise.
47437         (ROUNDING_TESTS_long_double): Likewise.
47438         (ROUNDING_TESTS): Likewise.
47439         * math/libm-test.inc: Include <math-tests.h>.
47440         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47441         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47442         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47443         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47445 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47447         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47448         of assigning.
47450 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47452         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47453         otherwise empty TRANS lines.
47454         * sysdeps/gnu/errlist.c: Regenerated.
47456         * catgets/gencat.c (error_print): Use (void) in function
47457         definition.
47458         * crypt/crypt_util.c (__init_des): Likewise.
47459         * crypt/speeds.c (Stop): Likewise.
47460         (main): Likewise.
47461         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47462         * inet/ruserpass.c (token): Likewise.
47463         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47464         * intl/localealias.c (extend_alias_table): Likewise.
47465         * intl/plural-exp.c (init_germanic_plural): Likewise.
47466         * libio/fcloseall.c (__fcloseall): Likewise.
47467         * libio/genops.c (_IO_flush_all): Likewise.
47468         (_IO_flush_all_linebuffered): Likewise.
47469         (_IO_cleanup): Likewise.
47470         (_IO_iter_begin): Likewise.
47471         (_IO_iter_end): Likewise.
47472         (_IO_list_lock): Likewise.
47473         (_IO_list_unlock): Likewise.
47474         (_IO_list_resetlock): Likewise.
47475         * libio/getchar.c (getchar): Likewise.
47476         * libio/getchar_u.c (getchar_unlocked): Likewise.
47477         * libio/getwchar.c (getwchar): Likewise.
47478         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47479         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47480         * login/getpt.c (__getpt): Likewise.
47481         * login/tst-utmp.c (main): Likewise.
47482         * malloc/hooks.c (__malloc_check_init): Likewise.
47483         * malloc/malloc.c (__malloc_stats): Likewise.
47484         * malloc/mtrace.c (tr_break): Likewise.
47485         (mtrace): Likewise.
47486         (muntrace): Likewise.
47487         * misc/fstab.c (endfsent): Likewise.
47488         * misc/getclktck.c (__getclktck): Likewise.
47489         * misc/getdtsz.c (__getdtablesize): Likewise.
47490         * misc/gethostid.c (gethostid): Likewise.
47491         * misc/getpagesize.c (__getpagesize): Likewise.
47492         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47493         (__get_nprocs): Likewise.
47494         (__get_phys_pages): Likewise.
47495         (__get_avphys_pages): Likewise.
47496         * misc/getttyent.c (getttyent): Likewise.
47497         (setttyent): Likewise.
47498         (endttyent): Likewise.
47499         * misc/getusershell.c (getusershell): Likewise.
47500         (endusershell): Likewise.
47501         (setusershell): Likewise.
47502         (initshells): Likewise.
47503         * misc/hsearch.c (__hdestroy): Likewise.
47504         * misc/sync.c (sync): Likewise.
47505         * misc/syslog.c (closelog_internal): Likewise.
47506         (closelog): Likewise.
47507         * misc/ttyslot.c (ttyslot): Likewise.
47508         * misc/vhangup.c (vhangup): Likewise.
47509         * posix/fork.c (__fork): Likewise.
47510         * posix/getegid.c (__getegid): Likewise.
47511         * posix/geteuid.c (__geteuid): Likewise.
47512         * posix/getgid.c (__getgid): Likewise.
47513         * posix/getpid.c (__getpid): Likewise.
47514         * posix/getppid.c (__getppid): Likewise.
47515         * posix/getuid.c (__getuid): Likewise.
47516         * posix/pause.c (pause): Likewise.
47517         * posix/setpgrp.c (setpgrp): Likewise.
47518         * posix/setsid.c (__setsid): Likewise.
47519         * posix/test-vfork.c (noop): Likewise.
47520         * resolv/gethnamaddr.c (_endhtent): Likewise.
47521         (_gethtent): Likewise.
47522         (ht_endhostent): Likewise.
47523         (gethostent): Likewise.
47524         (dns_service): Likewise.
47525         * stdlib/drand48.c (drand48): Likewise.
47526         * stdlib/lrand48.c (lrand48): Likewise.
47527         * stdlib/mrand48.c (mrand48): Likewise.
47528         * stdlib/rand.c (rand): Likewise.
47529         * stdlib/random.c (__random): Likewise.
47530         * stdlib/setenv.c (clearenv): Likewise.
47531         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47532         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47533         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47534         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47535         (__get_nprocs): Likewise.
47536         (__get_phys_pages): Likewise.
47537         (__get_avphys_pages): Likewise.
47538         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47539         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47540         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47541         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47542         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47543         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47544         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47545         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47546         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47547         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47548         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47549         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47550         * sysdeps/posix/clock.c (clock): Likewise.
47551         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47552         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47553         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47554         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47555         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47557         (__get_nprocs_conf): Likewise.
47558         (__get_phys_pages): Likewise.
47559         (__get_avphys_pages): Likewise.
47560         * time/clock.c (clock): Likewise.
47561         * time/tzset.c (__tzname_max): Likewise.
47563 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47565         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47566         (__bswap_32): Do not use "register".
47567         * crypt/crypt.c (_ufc_doit_r): Likewise.
47568         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47569         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47570         * gmon/gmon.c (__monstartup): Likewise.
47571         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47572         * hurd/hurdmalloc.c (more_memory): Likewise.
47573         (malloc): Likewise.
47574         (free): Likewise.
47575         (realloc): Likewise.
47576         (malloc_fork_prepare): Likewise.
47577         (malloc_fork_parent): Likewise.
47578         (malloc_fork_child): Likewise.
47579         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47580         (_svcauth_des): Likewise.
47581         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47582         * inet/inet_net.c (inet_network): Likewise.
47583         * inet/inet_netof.c (inet_netof): Likewise.
47584         * inet/rcmd.c (__validuser2_sa): Likewise.
47585         * io/fts.c (fts_open): Likewise.
47586         (fts_load): Likewise.
47587         (fts_close): Likewise.
47588         (fts_read): Likewise.
47589         (fts_children): Likewise.
47590         (fts_build): Likewise.
47591         (fts_stat): Likewise.
47592         (fts_sort): Likewise.
47593         (fts_alloc): Likewise.
47594         (fts_lfree): Likewise.
47595         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47596         (_IO_file_xsgetn): Likewise.
47597         (_IO_file_xsgetn_mmap): Likewise.
47598         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47599         (_IO_cookie_write): Likewise.
47600         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47601         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47602         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47603         * malloc/obstack.c (_obstack_begin): Likewise.
47604         (_obstack_begin_1): Likewise.
47605         (_obstack_newchunk): Likewise.
47606         (_obstack_allocated_p): Likewise.
47607         (obstack_free): Likewise.
47608         (_obstack_memory_used): Likewise.
47609         * misc/getttyent.c (getttynam): Likewise.
47610         (getttyent): Likewise.
47611         (skip): Likewise.
47612         (value): Likewise.
47613         * misc/getusershell.c (initshells): Likewise.
47614         * misc/syslog.c (__vsyslog_chk): Likewise.
47615         * misc/ttyslot.c (ttyslot): Likewise.
47616         * nis/nis_hash.c (__nis_hash): Likewise.
47617         * posix/fnmatch_loop.c (FCT): Likewise.
47618         * posix/getconf.c (print_all): Likewise.
47619         (main): Likewise.
47620         * posix/getopt.c (exchange): Likewise.
47621         * posix/glob.c (globfree): Likewise.
47622         (prefix_array): Likewise.
47623         (__glob_pattern_type): Likewise.
47624         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47625         (NS_GET32): Likewise.
47626         (NS_PUT16): Likewise.
47627         (NS_PUT32): Likewise.
47628         * resolv/gethnamaddr.c (getanswer): Likewise.
47629         (gethostbyname2): Likewise.
47630         (gethostbyaddr): Likewise.
47631         (_gethtent): Likewise.
47632         (_gethtbyname2): Likewise.
47633         (_gethtbyaddr): Likewise.
47634         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47635         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47636         * resolv/res_init.c (__res_vinit): Likewise.
47637         (net_mask): Likewise.
47638         * resolv/res_mkquery.c (outchar): Likewise.
47639         (PRINT): Likewise.
47640         * stdio-common/printf_fp.c (outchar): Likewise.
47641         (PRINT): Likewise.
47642         * stdio-common/printf_fphex.c (outchar): Likewise.
47643         (PRINT): Likewise.
47644         * stdio-common/printf_size.c (outchar): Likewise.
47645         (PRINT): Likewise.
47646         * stdio-common/test_rdwr.c (main): Likewise.
47647         * stdio-common/tfformat.c (matches): Likewise.
47648         * stdio-common/vfprintf.c (outchar): Likewise.
47649         (printf_unknown): Likewise.
47650         (buffered_vfprintf): Likewise.
47651         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47652         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47653         (ReadFile): Likewise.
47654         * stdlib/qsort.c (SWAP): Likewise.
47655         (_quicksort): Likewise.
47656         * stdlib/setenv.c (__add_to_environ): Likewise.
47657         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47658         * stdlib/strtol_l.c (__strtol_l): Likewise.
47659         * stdlib/tst-strtod.c (main): Likewise.
47660         * stdlib/tst-strtol.c (main): Likewise.
47661         * stdlib/tst-strtoll.c (main): Likewise.
47662         * string/bits/string2.h (__strcmp_cc): Likewise.
47663         (__strcmp_cg): Likewise.
47664         (__strcspn_c1): Likewise.
47665         (__strcspn_c2): Likewise.
47666         (__strcspn_c3): Likewise.
47667         (__strspn_c1): Likewise.
47668         (__strspn_c2): Likewise.
47669         (__strspn_c3): Likewise.
47670         (__strsep_1c): Likewise.
47671         (__strsep_2c): Likewise.
47672         (__strsep_3c): Likewise.
47673         * string/memccpy.c (__memccpy): Likewise.
47674         * string/stpcpy.c (__stpcpy): Likewise.
47675         * string/strcmp.c (strcmp): Likewise.
47676         * string/strrchr.c (strrchr): Likewise.
47677         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47678         Likewise.
47679         * sysdeps/mach/hurd/getcwd.c
47680         (_hurd_canonicalize_directory_name_internal): Likewise.
47681         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47682         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47683         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47684         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47685         Likewise, in both definitions.
47686         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47687         definitions.
47688         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47689         64] (__bswap_64): Likewise.
47690         * time/test_time.c (main): Likewise.
47691         * time/tzfile.c (__tzfile_read): Likewise.
47692         (__tzfile_compute): Likewise.
47693         * time/tzset.c (__tzset_parse_tz): Likewise.
47694         (tzset_internal): Likewise.
47695         (compute_change): Likewise.
47696         * wcsmbs/wcscat.c (__wcscat): Likewise.
47697         * wcsmbs/wcschr.c (wcschr): Likewise.
47698         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47699         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47700         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47701         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47702         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47703         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47704         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47705         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47706         * wcsmbs/wmemset.c (wmemset): Likewise.
47708 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47710         * scripts/config.guess: Update to version 2013-05-16.
47711         * scripts/config.sub: Update to version 2013-04-24.
47712         * scripts/install-sh: Update to version 2011-11-20.07.
47713         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47714         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47716 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47718         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47719         * elf/sln.c: Likewise.
47720         * hurd/hurd/ioctl.h: Likewise.
47721         * hurd/hurdmalloc.c: Likewise.
47722         * hurd/xattr.c: Likewise.
47723         * include/shlib-compat.h: Likewise.
47724         * inet/ruserpass.c: Likewise.
47725         * libio/iofgets_u.c: Likewise.
47726         * libio/iofgetws_u.c: Likewise.
47727         * locale/programs/ld-identification.c: Likewise.
47728         * locale/programs/ld-time.c: Likewise.
47729         * mach/msg-destroy.c: Likewise.
47730         * nss/nss_files/files-netgrp.c: Likewise.
47731         * resolv/res_data.c: Likewise.
47732         * soft-fp/op-1.h: Likewise.
47733         * soft-fp/op-2.h: Likewise.
47734         * soft-fp/op-4.h: Likewise.
47735         * soft-fp/op-common.h: Likewise.
47736         * stdio-common/printf_fphex.c: Likewise.
47737         * stdlib/strtod_l.c: Likewise.
47738         * sunrpc/rpc/clnt.h: Likewise.
47739         * sysdeps/generic/framestate.c: Likewise.
47740         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47741         * sysdeps/i386/bsd-setjmp.S: Likewise.
47742         * sysdeps/i386/__longjmp.S: Likewise.
47743         * sysdeps/i386/setjmp.S: Likewise.
47744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47745         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47746         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47747         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47749         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47751         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47752         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47753         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47754         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47755         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47756         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47757         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47758         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47760         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47761         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47762         * sysdeps/ieee754/support.c: Likewise.
47763         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47764         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47765         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47766         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47767         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47768         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47769         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47770         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47771         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47772         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47773         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47774         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47775         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47776         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47777         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47778         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47779         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47782 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47784         * posix/transbug.c: Remove executable mode.
47786 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47788         * crypt/speeds.c: Remove trailing whitespace.
47789         * dlfcn/default.c: Likewise.
47790         * elf/ifuncdep2.c: Likewise.
47791         * elf/ifuncmain1.c: Likewise.
47792         * elf/ifuncmain1vis.c: Likewise.
47793         * elf/testobj.h: Likewise.
47794         * elf/tst-stackguard1.c: Likewise.
47795         * gmon/sys/gmon.h: Likewise.
47796         * hurd/hurdmsg.c: Likewise.
47797         * hurd/new-fd.c: Likewise.
47798         * hurd/ports-get.c: Likewise.
47799         * iconvdata/ibm1008_420.c: Likewise.
47800         * inet/tst-getni1.c: Likewise.
47801         * inet/tst-getni2.c: Likewise.
47802         * libio/ioungetc.c: Likewise.
47803         * libio/wfiledoalloc.c: Likewise.
47804         * manual/libm-err-tab.pl: Likewise.
47805         * math/w_dremf.c: Likewise.
47806         * misc/ftruncate.c: Likewise.
47807         * posix/bug-glob2.c: Likewise.
47808         * posix/tst-pcre.c: Likewise.
47809         * posix/wait4.c: Likewise.
47810         * resolv/README: Likewise.
47811         * resolv/res_debug.h: Likewise.
47812         * resolv/tst-inet_ntop.c: Likewise.
47813         * setjmp/bug269-setjmp.c: Likewise.
47814         * soft-fp/extended.h: Likewise.
47815         * soft-fp/op-1.h: Likewise.
47816         * soft-fp/op-2.h: Likewise.
47817         * soft-fp/op-4.h: Likewise.
47818         * soft-fp/op-8.h: Likewise.
47819         * soft-fp/testit.c: Likewise.
47820         * stdio-common/bug16.c: Likewise.
47821         * stdlib/random.c: Likewise.
47822         * sunrpc/rpcsvc/rquota.x: Likewise.
47823         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47824         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47825         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47826         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47827         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47828         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47829         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47830         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47831         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47832         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47834         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47835         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47837         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47839         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47840         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47841         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47842         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47843         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47844         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47845         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47846         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47848         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47852         * sysdeps/ieee754/s_lib_version.c: Likewise.
47853         * sysdeps/mach/hurd/check_fds.c: Likewise.
47854         * sysdeps/mach/hurd/getsockname.c: Likewise.
47855         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47856         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47857         * sysdeps/powerpc/bits/link.h: Likewise.
47858         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47859         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47860         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47861         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47862         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47863         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47864         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47866         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47867         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47868         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47869         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47870         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47871         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47872         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47873         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47876         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47877         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47878         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47879         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47881         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47882         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47883         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47884         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47885         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47886         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47888         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47889         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47890         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47891         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47892         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47893         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47894         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47895         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47896         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47897         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47898         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47899         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47900         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47901         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47902         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47903         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47904         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47905         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47906         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47907         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47910         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47911         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47912         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47913         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47914         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47915         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47916         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47917         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47918         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47919         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47920         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47921         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47922         * sysdeps/powerpc/sysdep.h: Likewise.
47923         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47924         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47925         * sysdeps/sh/dl-trampoline.S: Likewise.
47926         * sysdeps/sh/memset.S: Likewise.
47927         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47928         * sysdeps/sh/strlen.S: Likewise.
47929         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47930         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47931         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47932         * sysdeps/sparc/sparc32/rem.S: Likewise.
47933         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47934         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47935         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47936         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47937         * sysdeps/sparc/sparc32/urem.S: Likewise.
47938         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47939         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47940         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47941         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47942         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47943         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47944         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47945         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47946         * sysdeps/unix/bsd/times.c: Likewise.
47947         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47948         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47952         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47953         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47954         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47956         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47957         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47958         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47959         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47960         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47961         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47962         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47963         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47964         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47965         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47966         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47967         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47968         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47969         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47970         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47971         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47972         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47973         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47974         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47975         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47976         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47977         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47978         * sysdeps/x86_64/strcspn.S: Likewise.
47980 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47982         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47983         generated file.  Regenerate properly from gen-translit.pl.
47984         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47985         locale/C-translit.h.
47987 2013-06-05  Andreas Schwab  <schwab@suse.de>
47989         [BZ #15100]
47990         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47991         week as 6 instead of -1.
47992         * time/tst-strptime.c (day_tests): Add test case.
47994 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47996         * sysdeps/generic/math_private.h
47997         (libc_feholdexcept_setround_53bit): Replace with
47998         libc_feholdsetround_53bit.
47999         (libc_feupdateenv_53bit): Replace with
48000         libc_feresetround_53bit.
48001         (SET_RESTORE_ROUND_53BIT): Adjust.
48003 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48005         * string/test-strchrnul.c: Add copyright header.
48007         * posix/tst-getaddrinfo4.c: Increase test timeout.
48009 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48011         [BZ #15536]
48012         * math/libm-test.inc (MAX_EXP): Remove
48013         (MIN_EXP): Define.
48014         (ulp): Use MIN_EXP - MANT_DIG.
48015         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48017 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48019         * po/be.po: Revert last change.
48020         * po/zh_CN.po: Likewise.
48021         * po/header.pot: Likewise.
48023 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48025         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48026         link-libc-deps to empty as target-specific variable.
48027         * Makerules (link-libc-args): New variable.
48028         (libc-for-link): Likewise.
48029         (link-libc-deps): Likewise.
48030         (lib%.so): Depend on $(link-libc-deps).  Link with
48031         $(link-libc-args).
48032         (build-module): Link with $(link-libc-args).
48033         (build-module-asneeded): Likewise.
48034         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48035         list of objects.
48036         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48037         target-specific variable.
48038         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48039         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48040         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48041         libc.
48042         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48043         libc and ld.so.
48044         ($(objpfx)libpcprofile.so): Likewise.
48045         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48046         libc_nonshared.a.
48047         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48048         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48049         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48050         $(link-libc-deps).
48051         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48052         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48053         * login/Makefile ($(objpfx)libutil.so): Likewise.
48054         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48055         * math/Makefile ($(objpfx)libm.so): Likewise.
48056         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48057         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48058         variable instead of depending directly on libc.
48059         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48060         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48061         $(link-libc-deps).
48062         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48063         libc.
48064         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48065         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48066         ($(objpfx)libanl.so): Likewise.
48067         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48068         ld.so.
48069         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48070         $(link-libc-deps).
48071         * sysdeps/i386/fpu/Makefile: Remove file.
48072         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48073         ($(objpfx)libm.so): Remove dependency on ld.so.
48075 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48077         [BZ # 15553]
48078         * nis/yp_xdr.c (XDRMAXNAME): Define.
48079         (XDRMAXRECORD): Define.
48080         (xdr_domainname): Use XDRMAXNAME.
48081         (xdr_mapname): Likewise.
48082         (xdr_peername): Likewise.
48083         (xdr_keydat): Use XDRMAXRECORD.
48084         (xdr_valdat): Likewise.
48086 2013-05-30  Jeff Law  <law@redhat.com>
48088         [BZ #14256]
48089         * manual/errno.texi (ESTALE): Update to account for more than
48090         just NFS file systems.
48091         * sysdeps/gnu/errlist.c: Regenerated.
48093 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48095         [BZ #15465]
48096         * elf/Makefile (tests): Add tst-null-argv.
48097         (modules-names):  Add tst-null-argv-lib.
48098         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48099         (tst-null-argv-ENV): Set environment for tst-null-argv.
48100         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48101         (RTLD_PROGNAME): New macro.
48102         * elf/tst-null-argv.c: New test case.
48103         * elf/tst-null-argv-lib.c: Library for test case.
48104         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48105         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48106         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48107         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48108         * elf/dl-init.c (call_init): Likewise.
48109         (_dl_init): Likewise.
48110         * elf/dl-load.c (print_search_path): Likewise.
48111         (_dl_map_object): Likewise.
48112         * elf/dl-lookup.c (do_lookup_x): Likewise.
48113         (add_dependency): Likewise.
48114         (_dl_lookup_symbol_x): Likewise.
48115         (_dl_debug_bindings): Likewise.
48116         * elf/dl-open.c (_dl_show_scope): Likewise.
48117         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48118         * elf/dl-version.c (match_symbol): Likewise.
48119         (_dl_check_map_versions): Likewise.
48120         * elf/rtld.c (dl_main): Likewise.
48121         (print_unresolved): Use RTLD_PROGNAME.
48122         (print_missing_version): Likewise.
48123         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48124         (elf_machine_rela): Likewise.
48125         * sysdeps/powerpc/powerpc32/dl-machine.c
48126         (__process_machine_rela): Likewise.
48127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48128         Likewise.
48129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48130         Likewise.
48131         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48132         Likewise.
48133         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48134         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48135         Likewise.
48136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48137         Likewise.
48138         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48140 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48142         * po/be.po: Add descriptive title.
48143         * po/zh_CN.po: Likewise.
48144         * po/header.pot: Likewise.
48146 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48148         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48149         error message.
48150         (enlarge_archive): Likewise.
48152 2013-05-28  Ben North  <ben@redfrontdoor.org>
48154         * manual/arith.texi (frexp): It is the magnitude of the return
48155         value which lies in [0.5, 1), not the return value itself.
48157 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48161 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48163         * stdio-common/bug26.c (main): Correct fscanf template.
48165         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48166         declare _dl_skip_args.
48168         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48169         Don't declare.
48171         * manual/platform.texi: Add missing @end deftypefun.
48173 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48175         [BZ #15529]
48176         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48177         bit of mantissa of 2^16382.
48178         * math/libm-test.inc (hypot_test_data): Add more tests.
48180         * math/libm-test.inc: Add drem and pow10 to list of tested
48181         functions.
48182         (pow10_test): New function.
48183         (drem_test): Likewise.
48184         (drem_test_tonearest): Likewise.
48185         (drem_test_towardzero): Likewise.
48186         (drem_test_downward): Likewise.
48187         (drem_test_upward): Likewise.
48188         (main): Call the new functions.
48190         * math/libm-test.inc (finite_test_data): Remove.
48191         (finite_test): Run tests from isfinite_test_data.
48192         (gamma_test_data): Remove.
48193         (gamma_test): Run tests from lgamma_test_data.
48194         * sysdeps/i386/fpu/libm-test-ulps: Update.
48195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48197 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48199         * manual/platform.texi: Add PowerPC PPR function set documentation.
48200         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48201         implementation.
48203 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48205         * math/libm-test.inc (MAX_EXP): Define.
48206         (ULPDIFF): Define.
48207         (ulp): New function.
48208         (check_float_internal): Use ULPDIFF.
48209         (cpow_test): Disable failing test.
48210         (check_ulp): Test ulp() implemetnation.
48211         (main): Call check_ulp before starting tests.
48213 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48215         * math/gen-libm-test.pl (generate_testfile): Do not handle
48216         START_DATA and END_DATA.
48217         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48218         END_DATA.
48219         (acos_tonearest_test_data): Likewise.
48220         (acos_towardzero_test_data): Likewise.
48221         (acos_downward_test_data): Likewise.
48222         (acos_upward_test_data): Likewise.
48223         (acosh_test_data): Likewise.
48224         (asin_test_data): Likewise.
48225         (asin_tonearest_test_data): Likewise.
48226         (asin_towardzero_test_data): Likewise.
48227         (asin_downward_test_data): Likewise.
48228         (asin_upward_test_data): Likewise.
48229         (asinh_test_data): Likewise.
48230         (atan_test_data): Likewise.
48231         (atanh_test_data): Likewise.
48232         (atan2_test_data): Likewise.
48233         (cabs_test_data): Likewise.
48234         (cacos_test_data): Likewise.
48235         (cacosh_test_data): Likewise.
48236         (carg_test_data): Likewise.
48237         (casin_test_data): Likewise.
48238         (casinh_test_data): Likewise.
48239         (catan_test_data): Likewise.
48240         (catanh_test_data): Likewise.
48241         (cbrt_test_data): Likewise.
48242         (ccos_test_data): Likewise.
48243         (ccosh_test_data): Likewise.
48244         (ceil_test_data): Likewise.
48245         (cexp_test_data): Likewise.
48246         (cimag_test_data): Likewise.
48247         (clog_test_data): Likewise.
48248         (clog10_test_data): Likewise.
48249         (conj_test_data): Likewise.
48250         (copysign_test_data): Likewise.
48251         (cos_test_data): Likewise.
48252         (cos_tonearest_test_data): Likewise.
48253         (cos_towardzero_test_data): Likewise.
48254         (cos_downward_test_data): Likewise.
48255         (cos_upward_test_data): Likewise.
48256         (cosh_test_data): Likewise.
48257         (cosh_tonearest_test_data): Likewise.
48258         (cosh_towardzero_test_data): Likewise.
48259         (cosh_downward_test_data): Likewise.
48260         (cosh_upward_test_data): Likewise.
48261         (cpow_test_data): Likewise.
48262         (cproj_test_data): Likewise.
48263         (creal_test_data): Likewise.
48264         (csin_test_data): Likewise.
48265         (csinh_test_data): Likewise.
48266         (csqrt_test_data): Likewise.
48267         (ctan_test_data): Likewise.
48268         (ctan_tonearest_test_data): Likewise.
48269         (ctan_towardzero_test_data): Likewise.
48270         (ctan_downward_test_data): Likewise.
48271         (ctan_upward_test_data): Likewise.
48272         (ctanh_test_data): Likewise.
48273         (ctanh_tonearest_test_data): Likewise.
48274         (ctanh_towardzero_test_data): Likewise.
48275         (ctanh_downward_test_data): Likewise.
48276         (ctanh_upward_test_data): Likewise.
48277         (erf_test_data): Likewise.
48278         (erfc_test_data): Likewise.
48279         (exp_test_data): Likewise.
48280         (exp_tonearest_test_data): Likewise.
48281         (exp_towardzero_test_data): Likewise.
48282         (exp_downward_test_data): Likewise.
48283         (exp_upward_test_data): Likewise.
48284         (exp10_test_data): Likewise.
48285         (exp2_test_data): Likewise.
48286         (expm1_test_data): Likewise.
48287         (fabs_test_data): Likewise.
48288         (fdim_test_data): Likewise.
48289         (finite_test_data): Likewise.
48290         (floor_test_data): Likewise.
48291         (fma_test_data): Likewise.
48292         (fma_towardzero_test_data): Likewise.
48293         (fma_downward_test_data): Likewise.
48294         (fma_upward_test_data): Likewise.
48295         (fmax_test_data): Likewise.
48296         (fmin_test_data): Likewise.
48297         (fmod_test_data): Likewise.
48298         (fpclassify_test_data): Likewise.
48299         (frexp_test_data): Likewise.
48300         (gamma_test_data): Likewise.
48301         (hypot_test_data): Likewise.
48302         (ilogb_test_data): Likewise.
48303         (isfinite_test_data): Likewise.
48304         (isgreater_test_data): Likewise.
48305         (isgreaterequal_test_data): Likewise.
48306         (isinf_test_data): Likewise.
48307         (isless_test_data): Likewise.
48308         (islessequal_test_data): Likewise.
48309         (islessgreater_test_data): Likewise.
48310         (isnan_test_data): Likewise.
48311         (isnormal_test_data): Likewise.
48312         (issignaling_test_data): Likewise.
48313         (isunordered_test_data): Likewise.
48314         (j0_test_data): Likewise.
48315         (j1_test_data): Likewise.
48316         (jn_test_data): Likewise.
48317         (ldexp_test_data): Likewise.
48318         (lgamma_test_data): Likewise.
48319         (lrint_test_data): Likewise.
48320         (lrint_tonearest_test_data): Likewise.
48321         (lrint_towardzero_test_data): Likewise.
48322         (lrint_downward_test_data): Likewise.
48323         (lrint_upward_test_data): Likewise.
48324         (llrint_test_data): Likewise.
48325         (llrint_tonearest_test_data): Likewise.
48326         (llrint_towardzero_test_data): Likewise.
48327         (llrint_downward_test_data): Likewise.
48328         (llrint_upward_test_data): Likewise.
48329         (log_test_data): Likewise.
48330         (log10_test_data): Likewise.
48331         (log1p_test_data): Likewise.
48332         (log2_test_data): Likewise.
48333         (logb_test_data): Likewise.
48334         (logb_downward_test_data): Likewise.
48335         (lround_test_data): Likewise.
48336         (llround_test_data): Likewise.
48337         (modf_test_data): Likewise.
48338         (nearbyint_test_data): Likewise.
48339         (nextafter_test_data): Likewise.
48340         (nexttoward_test_data): Likewise.
48341         (pow_test_data): Likewise.
48342         (pow_tonearest_test_data): Likewise.
48343         (pow_towardzero_test_data): Likewise.
48344         (pow_downward_test_data): Likewise.
48345         (pow_upward_test_data): Likewise.
48346         (remainder_test_data): Likewise.
48347         (remainder_tonearest_test_data): Likewise.
48348         (remainder_towardzero_test_data): Likewise.
48349         (remainder_downward_test_data): Likewise.
48350         (remainder_upward_test_data): Likewise.
48351         (remquo_test_data): Likewise.
48352         (rint_test_data): Likewise.
48353         (rint_tonearest_test_data): Likewise.
48354         (rint_towardzero_test_data): Likewise.
48355         (rint_downward_test_data): Likewise.
48356         (rint_upward_test_data): Likewise.
48357         (round_test_data): Likewise.
48358         (scalb_test_data): Likewise.
48359         (scalbn_test_data): Likewise.
48360         (scalbln_test_data): Likewise.
48361         (signbit_test_data): Likewise.
48362         (sin_test_data): Likewise.
48363         (sin_tonearest_test_data): Likewise.
48364         (sin_towardzero_test_data): Likewise.
48365         (sin_downward_test_data): Likewise.
48366         (sin_upward_test_data): Likewise.
48367         (sincos_test_data): Likewise.
48368         (sinh_test_data): Likewise.
48369         (sinh_tonearest_test_data): Likewise.
48370         (sinh_towardzero_test_data): Likewise.
48371         (sinh_downward_test_data): Likewise.
48372         (sinh_upward_test_data): Likewise.
48373         (sqrt_test_data): Likewise.
48374         (tan_test_data): Likewise.
48375         (tan_tonearest_test_data): Likewise.
48376         (tan_towardzero_test_data): Likewise.
48377         (tan_downward_test_data): Likewise.
48378         (tan_upward_test_data): Likewise.
48379         (tanh_test_data): Likewise.
48380         (tgamma_test_data): Likewise.
48381         (trunc_test_data): Likewise.
48382         (y0_test_data): Likewise.
48383         (y1_test_data): Likewise.
48384         (yn_test_data): Likewise.
48385         (significand_test_data): Likewise.
48387         * math/gen-libm-test.pl (@functions): Remove variable.
48388         (generate_testfile): Don't handle START and END lines.
48389         * math/libm-test.inc (START): New macro.
48390         (END): Likewise.
48391         (END_COMPLEX): Likewise.
48392         (acos_test): Use END macro without arguments.
48393         (acos_test_tonearest): Likewise.
48394         (acos_test_towardzero): Likewise.
48395         (acos_test_downward): Likewise.
48396         (acos_test_upward): Likewise.
48397         (acosh_test): Likewise.
48398         (asin_test): Likewise.
48399         (asin_test_tonearest): Likewise.
48400         (asin_test_towardzero): Likewise.
48401         (asin_test_downward): Likewise.
48402         (asin_test_upward): Likewise.
48403         (asinh_test): Likewise.
48404         (atan_test): Likewise.
48405         (atanh_test): Likewise.
48406         (atan2_test): Likewise.
48407         (cabs_test): Likewise.
48408         (cacos_test): Use END_COMPLEX macro without arguments.
48409         (cacosh_test): Likewise.
48410         (carg_test): Use END macro without arguments.
48411         (casin_test): Use END_COMPLEX macro without arguments.
48412         (casinh_test): Likewise.
48413         (catan_test): Likewise.
48414         (catanh_test): Likewise.
48415         (cbrt_test): Use END macro without arguments.
48416         (ccos_test): Use END_COMPLEX macro without arguments.
48417         (ccosh_test): Likewise.
48418         (ceil_test): Use END macro without arguments.
48419         (cexp_test): Use END_COMPLEX macro without arguments.
48420         (cimag_test): Use END macro without arguments.
48421         (clog_test): Use END_COMPLEX macro without arguments.
48422         (clog10_test): Likewise.
48423         (conj_test): Likewise.
48424         (copysign_test): Use END macro without arguments.
48425         (cos_test): Likewise.
48426         (cos_test_tonearest): Likewise.
48427         (cos_test_towardzero): Likewise.
48428         (cos_test_downward): Likewise.
48429         (cos_test_upward): Likewise.
48430         (cosh_test): Likewise.
48431         (cosh_test_tonearest): Likewise.
48432         (cosh_test_towardzero): Likewise.
48433         (cosh_test_downward): Likewise.
48434         (cosh_test_upward): Likewise.
48435         (cpow_test): Use END_COMPLEX macro without arguments.
48436         (cproj_test): Likewise.
48437         (creal_test): Use END macro without arguments.
48438         (csin_test): Use END_COMPLEX macro without arguments.
48439         (csinh_test): Likewise.
48440         (csqrt_test): Likewise.
48441         (ctan_test): Likewise.
48442         (ctan_test_tonearest): Likewise.
48443         (ctan_test_towardzero): Likewise.
48444         (ctan_test_downward): Likewise.
48445         (ctan_test_upward): Likewise.
48446         (ctanh_test): Likewise.
48447         (ctanh_test_tonearest): Likewise.
48448         (ctanh_test_towardzero): Likewise.
48449         (ctanh_test_downward): Likewise.
48450         (ctanh_test_upward): Likewise.
48451         (erf_test): Use END macro without arguments.
48452         (erfc_test): Likewise.
48453         (exp_test): Likewise.
48454         (exp_test_tonearest): Likewise.
48455         (exp_test_towardzero): Likewise.
48456         (exp_test_downward): Likewise.
48457         (exp_test_upward): Likewise.
48458         (exp10_test): Likewise.
48459         (exp2_test): Likewise.
48460         (expm1_test): Likewise.
48461         (fabs_test): Likewise.
48462         (fdim_test): Likewise.
48463         (finite_test): Likewise.
48464         (floor_test): Likewise.
48465         (fma_test): Likewise.
48466         (fma_test_towardzero): Likewise.
48467         (fma_test_downward): Likewise.
48468         (fma_test_upward): Likewise.
48469         (fmax_test): Likewise.
48470         (fmin_test): Likewise.
48471         (fmod_test): Likewise.
48472         (fpclassify_test): Likewise.
48473         (frexp_test): Likewise.
48474         (gamma_test): Likewise.
48475         (hypot_test): Likewise.
48476         (ilogb_test): Likewise.
48477         (isfinite_test): Likewise.
48478         (isgreater_test): Likewise.
48479         (isgreaterequal_test): Likewise.
48480         (isinf_test): Likewise.
48481         (isless_test): Likewise.
48482         (islessequal_test): Likewise.
48483         (islessgreater_test): Likewise.
48484         (isnan_test): Likewise.
48485         (isnormal_test): Likewise.
48486         (issignaling_test): Likewise.
48487         (isunordered_test): Likewise.
48488         (j0_test): Likewise.
48489         (j1_test): Likewise.
48490         (jn_test): Likewise.
48491         (ldexp_test): Likewise.
48492         (lgamma_test): Likewise.
48493         (lrint_test): Likewise.
48494         (lrint_test_tonearest): Likewise.
48495         (lrint_test_towardzero): Likewise.
48496         (lrint_test_downward): Likewise.
48497         (lrint_test_upward): Likewise.
48498         (llrint_test): Likewise.
48499         (llrint_test_tonearest): Likewise.
48500         (llrint_test_towardzero): Likewise.
48501         (llrint_test_downward): Likewise.
48502         (llrint_test_upward): Likewise.
48503         (log_test): Likewise.
48504         (log10_test): Likewise.
48505         (log1p_test): Likewise.
48506         (log2_test): Likewise.
48507         (logb_test): Likewise.
48508         (logb_test_downward): Likewise.
48509         (lround_test): Likewise.
48510         (llround_test): Likewise.
48511         (modf_test): Likewise.
48512         (nearbyint_test): Likewise.
48513         (nextafter_test): Likewise.
48514         (nexttoward_test): Likewise.
48515         (pow_test): Likewise.
48516         (pow_test_tonearest): Likewise.
48517         (pow_test_towardzero): Likewise.
48518         (pow_test_downward): Likewise.
48519         (pow_test_upward): Likewise.
48520         (remainder_test): Likewise.
48521         (remainder_test_tonearest): Likewise.
48522         (remainder_test_towardzero): Likewise.
48523         (remainder_test_downward): Likewise.
48524         (remainder_test_upward): Likewise.
48525         (remquo_test): Likewise.
48526         (rint_test): Likewise.
48527         (rint_test_tonearest): Likewise.
48528         (rint_test_towardzero): Likewise.
48529         (rint_test_downward): Likewise.
48530         (rint_test_upward): Likewise.
48531         (round_test): Likewise.
48532         (scalb_test): Likewise.
48533         (scalbn_test): Likewise.
48534         (scalbln_test): Likewise.
48535         (signbit_test): Likewise.
48536         (sin_test): Likewise.
48537         (sin_test_tonearest): Likewise.
48538         (sin_test_towardzero): Likewise.
48539         (sin_test_downward): Likewise.
48540         (sin_test_upward): Likewise.
48541         (sincos_test): Likewise.
48542         (sinh_test): Likewise.
48543         (sinh_test_tonearest): Likewise.
48544         (sinh_test_towardzero): Likewise.
48545         (sinh_test_downward): Likewise.
48546         (sinh_test_upward): Likewise.
48547         (sqrt_test): Likewise.
48548         (tan_test): Likewise.
48549         (tan_test_tonearest): Likewise.
48550         (tan_test_towardzero): Likewise.
48551         (tan_test_downward): Likewise.
48552         (tan_test_upward): Likewise.
48553         (tanh_test): Likewise.
48554         (tgamma_test): Likewise.
48555         (trunc_test): Likewise.
48556         (y0_test): Likewise.
48557         (y1_test): Likewise.
48558         (yn_test): Likewise.
48559         (significand_test): Likewise.
48561 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48563         [BZ #15381]
48564         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48566 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48568         [BZ #14894]
48569         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48570         __ppc_mdoio and __ppc_mdoom.
48571         * manual/platform.texi: Document new functions __ppc_yield,
48572         __ppc_mdoio and __ppc_mdoom.
48574 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48576         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48577         (main): Mention "tls" pseudo-hwcap is legacy.
48578         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48580 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48582         * math/gen-libm-test.pl (parse_args): Output only string of
48583         arguments as text for test name, not full call or descriptions of
48584         tests for extra outputs.
48585         (generate_testfile): Do not pass function name to parse_args.
48586         Generate this_func variable from START.
48587         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48588         field to arg_str.
48589         (struct test_ff_f_data): Likewise.
48590         (test_ff_f_data_nexttoward): Likewise.
48591         (struct test_fi_f_data): Likewise.
48592         (struct test_fl_f_data): Likewise.
48593         (struct test_if_f_data): Likewise.
48594         (struct test_fff_f_data): Likewise.
48595         (struct test_c_f_data): Likewise.
48596         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48597         (struct test_fF_f1_data): Likewise.
48598         (struct test_ffI_f1_data): Likewise.
48599         (struct test_c_c_data): Rename test_name field to arg_str.
48600         (struct test_cc_c_data): Likewise.
48601         (struct test_f_i_data): Likewise.
48602         (struct test_ff_i_data): Likewise.
48603         (struct test_f_l_data): Likewise.
48604         (struct test_f_L_data): Likewise.
48605         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48606         and extra2_name.
48607         (COMMON_TEST_SETUP): New macro.
48608         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48609         (COMMON_TEST_CLEANUP): Likewise.
48610         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48611         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48612         macros.
48613         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48614         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48615         macros.
48616         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48617         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48618         cleanup macros.
48619         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48620         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48621         macros.
48622         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48623         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48624         macros.
48625         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48626         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48627         cleanup macros.
48628         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48629         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48630         cleanup macros.
48631         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48632         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48633         cleanup macros.
48634         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48635         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48636         macros.
48637         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48638         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48639         macros.
48640         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48641         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48642         macros.
48643         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48644         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48645         cleanup macros.
48646         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48647         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48648         cleanup macros.
48649         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48650         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48651         macros.
48652         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48653         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48654         cleanup macros.
48655         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48656         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48657         macros.
48658         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48659         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48660         macros.
48661         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48662         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48663         cleanup macros.
48664         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48666 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48668         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48669         to _sifields.sigfault.
48670         (si_addr_lsb): Define new macro.
48671         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48673         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48675 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48677         [BZ #15441]
48678         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48679         returns -1.
48680         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48681         null return -1.
48682         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48683         loading the domain.
48685 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48687         * math/gen-libm-test.pl (parse_args): Do not include expected
48688         result in test name.
48689         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48690         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48691         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48693         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48696 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48698         * benchtests/Makefile: Sort function entries.
48700         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48701         tanh, asinh, acosh, atanh.
48702         * benchtests/acos-inputs: New file.
48703         * benchtests/acosh-inputs: New file.
48704         * benchtests/asin-inputs: New file.
48705         * benchtests/asinh-inputs: New file.
48706         * benchtests/atanh-inputs: New file.
48707         * benchtests/cosh-inputs: New file.
48708         * benchtests/log-inputs: New file.
48709         * benchtests/sinh-inputs: New file.
48710         * benchtests/tanh-inputs: New file.
48712 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48714         [BZ #15339]
48715         * posix/tst-getaddrinfo4.c: New test.
48716         * posix/Makefile (tests): Add it.
48718 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48720         [BZ #15339]
48721         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48722         when no services were used.
48723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48724         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48726 2013-05-21  Andreas Schwab  <schwab@suse.de>
48728         [BZ #15014]
48729         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48730         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48731         successful.
48732         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48733         redundant variable declarations and reallocation of buffer when
48734         parsing as IPv6 address.  Always set NSS status when called from
48735         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48736         buffer too small.  Correct computation of needed size.
48737         * nss/Makefile (tests): Add test-digits-dots.
48738         * nss/test-digits-dots.c: New test.
48740 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48742         * benchtests/Makefile: Remove instructions for adding
48743         benchmark tests.
48744         * benchtests/README: New file to explain how to execute and
48745         enhance the benchmark tests.
48747 2013-05-21  Andreas Schwab  <schwab@suse.de>
48749         [BZ #15493]
48750         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48751         * setjmp/tst-sigsetjmp.c: New test.
48753 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48755         * sysdeps/x86_64/memset.S (memset): New implementation.
48756         (__bzero): Likewise.
48757         (__memset_tail): New function.
48759 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48761         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48762         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48763         __memcpy_sse2_unaligned ifunc selection.
48764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48765         Add memcpy-sse2-unaligned.S.
48766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48767         Add: __memcpy_sse2_unaligned.
48769 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48771         [BZ #15490]
48772         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48773         math_force_eval before restoring floating-point envrionment.
48774         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48775         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48776         Likewise.
48777         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48778         <math_private.h>.
48779         (__nearbyintl): Use math_force_eval before restoring
48780         floating-point environment.
48781         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48783         * math/gen-libm-test.pl (special_functions): Remove.
48784         (parse_args): Don't handle TEST_extra.  Handle functions with no
48785         return value.
48786         * math/libm-test.inc (struct test_sincos_data): Replace with
48787         struct test_fFF_11_data.
48788         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48789         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48790         (sincos_test_data): Change element type to struct
48791         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48792         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48793         RUN_TEST_LOOP_sincos.
48794         * math/README.libm-test: Don't mention special handling of
48795         individual functions.
48796         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48797         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48798         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48799         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48800         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48803         * math/gen-libm-test.pl (get_variable): Remove function.
48804         (parse_args): Don't show pointer parameters to call in test
48805         names.  Use "extra output N" in test names for extra outputs
48806         rather than naming variables.
48808 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48810         [BZ #15488]
48811         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48812         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48813         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48814         double tests.
48815         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48816         disable.
48817         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48818         check_long_double.
48820         * math/gen-libm-test.pl (@tests): Remove variable.
48821         ($count): Likewise.
48822         (new_test): Remove function.
48823         (show_exceptions): New function.
48824         (special_functions): Use show_exceptions instead of new_test.
48825         (parse_args): Likewise.
48826         (generate_testfile): Pass only function name in generated call to
48827         print_max_error or print_complex_max_error.
48828         (get_ulps): Do not handle complex tests specially.
48829         (output_test): Rename to ...
48830         (get_all_ulps_for_test): ... this.  Return a string rather than
48831         printing to a file.  Require ulps to be present.
48832         (output_ulps): Generate arrays rather than #defines.
48833         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48834         (struct ulp_data): New type.
48835         (BUILD_COMPLEX_ULP): Remove macro.
48836         (compare_ulp_data): New function.
48837         (find_ulps): Likewise.
48838         (find_test_ulps): Likewise.
48839         (find_function_ulps): Likewise.
48840         (find_complex_function_ulps): Likewise.
48841         (print_max_error): Determine allowed ulps using
48842         find_function_ulps.
48843         (print_complex_max_error): Determine allowed ulps using
48844         find_complex_function_ulps.
48845         (check_float_internal): Determine max ulps using find_test_ulps.
48846         (check_float): Do not take max_ulp parameter.  Update call to
48847         check_float_internal.
48848         (check_complex): Likewise.
48849         (check_int): Do not take max_ulp parameter.
48850         (check_long): Likewise.
48851         (check_bool): Likewise.
48852         (check_longlong): Likewise.
48853         (struct test_f_f_data): Remove max_ulp field.
48854         (struct test_ff_f_data): Likewise.
48855         (struct test_ff_f_data_nexttoward): Likewise.
48856         (struct test_fi_f_data): Likewise.
48857         (struct test_fl_f_data): Likewise.
48858         (struct test_if_f_data): Likewise.
48859         (struct test_fff_f_data): Likewise.
48860         (struct test_c_f_data): Likewise.
48861         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48862         (struct test_fF_f1_data): Likewise.
48863         (struct test_ffI_f1_data): Likewise.
48864         (struct test_c_c_data): Remove max_ulp field.
48865         (struct test_cc_c_data): Likewise.
48866         (struct test_f_i_data): Likewise.
48867         (struct test_ff_i_data): Likewise.
48868         (struct test_f_l_data): Likewise.
48869         (struct test_f_L_data): Likewise.
48870         (struct test_sincos_data): Likewise.
48871         (RUN_TEST_f_f): Do not handle ulps.
48872         (RUN_TEST_LOOP_f_f): Likewise.
48873         (RUN_TEST_2_f): Likewise.
48874         (RUN_TEST_LOOP_2_f): Likewise.
48875         (RUN_TEST_fff_f): Likewise.
48876         (RUN_TEST_LOOP_fff_f): Likewise.
48877         (RUN_TEST_c_f): Likewise.
48878         (RUN_TEST_LOOP_c_f): Likewise.
48879         (RUN_TEST_f_f1): Likewise.
48880         (RUN_TEST_LOOP_f_f1): Likewise.
48881         (RUN_TEST_fF_f1): Likewise.
48882         (RUN_TEST_LOOP_fF_f1): Likewise.
48883         (RUN_TEST_fI_f1): Likewise.
48884         (RUN_TEST_LOOP_fI_f1): Likewise.
48885         (RUN_TEST_ffI_f1): Likewise.
48886         (RUN_TEST_LOOP_ffI_f1): Likewise.
48887         (RUN_TEST_c_c): Likewise.
48888         (RUN_TEST_LOOP_c_c): Likewise.
48889         (RUN_TEST_cc_c): Likewise.
48890         (RUN_TEST_LOOP_cc_c): Likewise.
48891         (RUN_TEST_f_i): Likewise.
48892         (RUN_TEST_LOOP_f_i): Likewise.
48893         (RUN_TEST_f_i_tg): Likewise.
48894         (RUN_TEST_LOOP_f_i_tg): Likewise.
48895         (RUN_TEST_ff_i_tg): Likewise.
48896         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48897         (RUN_TEST_f_b): Likewise.
48898         (RUN_TEST_LOOP_f_b): Likewise.
48899         (RUN_TEST_f_b_tg): Likewise.
48900         (RUN_TEST_LOOP_f_b_tg): Likewise.
48901         (RUN_TEST_f_l): Likewise.
48902         (RUN_TEST_LOOP_f_l): Likewise.
48903         (RUN_TEST_f_L): Likewise.
48904         (RUN_TEST_LOOP_f_L): Likewise.
48905         (RUN_TEST_sincos): Likewise.
48906         (RUN_TEST_LOOP_sincos): Likewise.
48908 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48910         [BZ #15480]
48911         [BZ #15485]
48912         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48913         main case of finite arguments, set rounding mode to FE_TONEAREST
48914         and discard exceptions.
48915         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48916         exceptions.
48917         (remainder_tonearest_test_data): New variable.
48918         (remainder_test_tonearest): New function.
48919         (remainder_towardzero_test_data): New variable.
48920         (remainder_test_towardzero): New function.
48921         (remainder_downward_test_data): New variable.
48922         (remainder_test_downward): New function.
48923         (remainder_upward_test_data): New variable.
48924         (remainder_test_upward): New function.
48925         (main): Call the new test functions.
48927         * math/libm-test.inc (struct test_f_f1_data): Remove field
48928         extra_init.
48929         (struct test_fF_f1_data): Likewise.
48930         (struct test_ffI_f1_data): Likewise.
48931         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48932         based on value of EXTRA_EXPECTED.
48933         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48934         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48935         EXTRA_VAR based on value of EXTRA_EXPECTED.
48936         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48937         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48938         EXTRA_VAR based on value of EXTRA_EXPECTED.
48939         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48940         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48941         EXTRA_VAR based on value of EXTRA_EXPECTED.
48942         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48943         * math/gen-libm-test.pl (parse_args): Don't output initializers
48944         for extra output values.
48946         * math/libm-test.inc (check_int): Expect result to be exactly
48947         equal to expected value and do not handle ulps.
48948         (check_long): Likewise.
48949         (check_longlong): Likewise.
48951         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48952         exceptions.
48953         (cimag_test_data): Likewise.
48954         (conj_test_data): Likewise.
48955         (copysign_test_data): Likewise.
48956         (cproj_test_data): Likewise.
48957         (creal_test_data): Likewise.
48958         (fabs_test_data): Likewise.
48959         (fdim_test_data): Likewise.
48960         (finite_test_data): Likewise.
48961         (floor_test_data): Likewise.
48962         (fmax_test_data): Likewise.
48963         (fmin_test_data): Likewise.
48964         (fmod_test_data): Likewise.
48965         (fpclassify_test_data): Likewise.
48966         (frexp_test_data): Likewise.
48967         (ilogb_test_data): Likewise.
48968         (isfinite_test_data): Likewise.
48969         (isgreater_test_data): Likewise.
48970         (isgreaterequal_test_data): Likewise.
48971         (isinf_test_data): Likewise.
48972         (isless_test_data): Likewise.
48973         (islessequal_test_data): Likewise.
48974         (islessgreater_test_data): Likewise.
48975         (isnan_test_data): Likewise.
48976         (isnormal_test_data): Likewise.
48977         (issignaling_test_data): Likewise.
48978         (isunordered_test_data): Likewise.
48979         (ldexp_test_data): Likewise.
48980         (lrint_test_data): Likewise.
48981         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48982         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48983         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48984         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48985         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48986         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48987         test input.
48988         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48989         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48990         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48991         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48992         that test input.
48993         (lrint_downward_test_data): Test for "inexact" exceptions.
48994         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48995         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48996         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48997         test input.
48998         (lrint_upward_test_data): Test for "inexact" exceptions.
48999         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49000         test input.
49001         (llrint_test_data): Test for "inexact" exceptions.
49002         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49003         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49004         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49005         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49006         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49007         (llrint_downward_test_data): Test for "inexact" exceptions.
49008         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49009         (llrint_upward_test_data): Test for "inexact" exceptions.
49010         (logb_test_data): Likewise.
49011         (logb_downward_test_data): Likewise.
49012         (nextafter_test_data): Likewise.
49013         (nexttoward_test_data): Likewise.
49014         (remainder_test_data): Likewise.
49015         (remquo_test_data): Likewise.
49016         (scalbn_test_data): Likewise.
49017         (scalbln_test_data): Likewise.
49018         (signbit_test_data): Likewise.
49019         (sqrt_test_data): Likewise.
49020         (significand_test_data): Likewise.
49022 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49024         [BZ #15424]
49025         * benchtests/bench-modf.c (struct args): Mark arg0 as
49026         volatile.
49027         * scripts/bench.pl: Mark members of struct args as volatile.
49029 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49031         [BZ # 15497]
49032         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49033         negative infinity on POWER6 or lower.
49034         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49036 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49038         [BZ #15442]
49039         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49040         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49041         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49042         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49043         (_FP_SETQNAN): New macro.
49044         (_FP_SETQNAN_SEMIRAW): Likewise.
49045         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49046         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49047         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49048         (FP_EXTEND): Use _FP_FRAC_SNANP.
49049         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49050         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49051         into account.
49052         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49053         New macro.
49054         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49055         Likewise.
49057 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49059         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49060         with DIVIDE_BY_ZERO_EXCEPTION.
49061         (gamma_test_data): Likewise.
49062         (lgamma_test_data): Likewise.
49063         (log_test_data): Likewise.
49064         (log10_test_data): Likewise.
49065         (log2_test_data): Likewise.
49066         (tgamma_test_data): Likewise.
49068         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49069         (acos_test_tonearest): Likewise.
49070         (acos_test_towardzero): Likewise.
49071         (acos_test_downward): Likewise.
49072         (acos_test_upward): Likewise.
49073         (acosh_test): Likewise.
49074         (asin_test): Likewise.
49075         (asin_test_tonearest): Likewise.
49076         (asin_test_towardzero): Likewise.
49077         (asin_test_downward): Likewise.
49078         (asin_test_upward): Likewise.
49079         (asinh_test): Likewise.
49080         (atan_test): Likewise.
49081         (atanh_test): Likewise.
49082         (atan2_test): Likewise.
49083         (cabs_test): Likewise.
49084         (cacos_test): Likewise.
49085         (cacosh_test): Likewise.
49086         (casin_test): Likewise.
49087         (casinh_test): Likewise.
49088         (catan_test): Likewise.
49089         (catanh_test): Likewise.
49090         (cbrt_test): Likewise.
49091         (ccos_test): Likewise.
49092         (ccosh_test): Likewise.
49093         (cexp_test): Likewise.
49094         (clog_test): Likewise.
49095         (clog10_test): Likewise.
49096         (cos_test): Likewise.
49097         (cos_test_tonearest): Likewise.
49098         (cos_test_towardzero): Likewise.
49099         (cos_test_downward): Likewise.
49100         (cos_test_upward): Likewise.
49101         (cosh_test): Likewise.
49102         (cosh_test_tonearest): Likewise.
49103         (cosh_test_towardzero): Likewise.
49104         (cosh_test_downward): Likewise.
49105         (cosh_test_upward): Likewise.
49106         (cpow_test): Likewise.
49107         (csin_test): Likewise.
49108         (csinh_test): Likewise.
49109         (csqrt_test): Likewise.
49110         (ctan_test): Likewise.
49111         (ctan_test_tonearest): Likewise.
49112         (ctan_test_towardzero): Likewise.
49113         (ctan_test_downward): Likewise.
49114         (ctan_test_upward): Likewise.
49115         (ctanh_test): Likewise.
49116         (ctanh_test_tonearest): Likewise.
49117         (ctanh_test_towardzero): Likewise.
49118         (ctanh_test_downward): Likewise.
49119         (ctanh_test_upward): Likewise.
49120         (erf_test): Likewise.
49121         (erfc_test): Likewise.
49122         (exp_test): Likewise.
49123         (exp_test_tonearest): Likewise.
49124         (exp_test_towardzero): Likewise.
49125         (exp_test_downward): Likewise.
49126         (exp_test_upward): Likewise.
49127         (exp10_test): Likewise.
49128         (exp2_test): Likewise.
49129         (expm1_test): Likewise.
49130         (fmod_test): Likewise.
49131         (gamma_test): Likewise.
49132         (hypot_test): Likewise.
49133         (j0_test): Likewise.
49134         (j1_test): Likewise.
49135         (jn_test): Likewise.
49136         (lgamma_test): Likewise.
49137         (log_test): Likewise.
49138         (log10_test): Likewise.
49139         (log1p_test): Likewise.
49140         (log2_test): Likewise.
49141         (logb_test_downward): Likewise.
49142         (pow_test): Likewise.
49143         (pow_test_tonearest): Likewise.
49144         (pow_test_towardzero): Likewise.
49145         (pow_test_downward): Likewise.
49146         (pow_test_upward): Likewise.
49147         (remainder_test): Likewise.
49148         (remquo_test): Likewise.
49149         (sin_test): Likewise.
49150         (sin_test_tonearest): Likewise.
49151         (sin_test_towardzero): Likewise.
49152         (sin_test_downward): Likewise.
49153         (sin_test_upward): Likewise.
49154         (sincos_test): Likewise.
49155         (sinh_test): Likewise.
49156         (sinh_test_tonearest): Likewise.
49157         (sinh_test_towardzero): Likewise.
49158         (sinh_test_downward): Likewise.
49159         (sinh_test_upward): Likewise.
49160         (sqrt_test): Likewise.
49161         (tan_test): Likewise.
49162         (tan_test_tonearest): Likewise.
49163         (tan_test_towardzero): Likewise.
49164         (tan_test_downward): Likewise.
49165         (tan_test_upward): Likewise.
49166         (tanh_test): Likewise.
49167         (tgamma_test): Likewise.
49168         (y0_test): Likewise.
49169         (y1_test): Likewise.
49170         (yn_test): Likewise.
49172         * math/gen-libm-test.pl (adjust_arg): Remove function.
49173         (special_function): Remove argument $in_func.  Only handle
49174         generating output for tables of tests, not inside functions.
49175         (parse_args): Likewise.
49176         (generate_testfile): Remove variable $in_func.  Update call to
49177         parse_args.
49178         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49179         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49180         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49181         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49182         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49183         (MAX_VALUE_INIT): Rename macro to max_value.
49184         (MIN_VALUE_INIT): Rename macro to min_value.
49185         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49186         (plus_zero): Remove variable.
49187         (minus_zero): Likewise.
49188         (plus_infty): Likewise.
49189         (minus_infty): Likewise.
49190         (qnan_value): Likewise.
49191         (max_value): Likewise.
49192         (min_value): Likewise.
49193         (min_subnorm_value): Likewise.
49195 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49197         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49198         uint64_t or uint32_t usage.
49199         * crypt/sha256-block.c: Likewise.
49200         * crypt/sha256-crypt.c: Likewise.
49201         * crypt/sha256.c: Likewise.
49202         * crypt/sha512-block.c: Likewise.
49203         * crypt/sha512-crypt.c: Likewise.
49204         * crypt/sha512.c: Likewise.
49205         * debug/backtrace-tst.c: Likewise.
49206         * debug/pcprofiledump.c: Likewise.
49207         * elf/cache.c: Likewise.
49208         * elf/dl-cache.c: Likewise.
49209         * elf/dl-misc.c: Likewise.
49210         * elf/dl-profile.c: Likewise.
49211         * elf/dl-support.c: Likewise.
49212         * elf/ldconfig.c: Likewise.
49213         * elf/sprof.c: Likewise.
49214         * iconv/dummy-repertoire.c: Likewise.
49215         * iconv/iconv_charmap.c: Likewise.
49216         * iconv/skeleton.c: Likewise.
49217         * iconvdata/8bit-generic.c: Likewise.
49218         * iconvdata/cp737.h: Likewise.
49219         * iconvdata/cp775.h: Likewise.
49220         * iconvdata/ibm1008.h: Likewise.
49221         * iconvdata/ibm1025.h: Likewise.
49222         * iconvdata/ibm1046.h: Likewise.
49223         * iconvdata/ibm1097.h: Likewise.
49224         * iconvdata/ibm1112.h: Likewise.
49225         * iconvdata/ibm1122.h: Likewise.
49226         * iconvdata/ibm1123.h: Likewise.
49227         * iconvdata/ibm1124.h: Likewise.
49228         * iconvdata/ibm1129.h: Likewise.
49229         * iconvdata/ibm1130.h: Likewise.
49230         * iconvdata/ibm1132.h: Likewise.
49231         * iconvdata/ibm1133.h: Likewise.
49232         * iconvdata/ibm1137.h: Likewise.
49233         * iconvdata/ibm1140.h: Likewise.
49234         * iconvdata/ibm1141.h: Likewise.
49235         * iconvdata/ibm1142.h: Likewise.
49236         * iconvdata/ibm1143.h: Likewise.
49237         * iconvdata/ibm1144.h: Likewise.
49238         * iconvdata/ibm1145.h: Likewise.
49239         * iconvdata/ibm1146.h: Likewise.
49240         * iconvdata/ibm1147.h: Likewise.
49241         * iconvdata/ibm1148.h: Likewise.
49242         * iconvdata/ibm1149.h: Likewise.
49243         * iconvdata/ibm1153.h: Likewise.
49244         * iconvdata/ibm1154.h: Likewise.
49245         * iconvdata/ibm1155.h: Likewise.
49246         * iconvdata/ibm1156.h: Likewise.
49247         * iconvdata/ibm1157.h: Likewise.
49248         * iconvdata/ibm1158.h: Likewise.
49249         * iconvdata/ibm1160.h: Likewise.
49250         * iconvdata/ibm1161.h: Likewise.
49251         * iconvdata/ibm1162.h: Likewise.
49252         * iconvdata/ibm1163.h: Likewise.
49253         * iconvdata/ibm1164.h: Likewise.
49254         * iconvdata/ibm1166.h: Likewise.
49255         * iconvdata/ibm1167.h: Likewise.
49256         * iconvdata/ibm12712.h: Likewise.
49257         * iconvdata/ibm1390.h: Likewise.
49258         * iconvdata/ibm1399.h: Likewise.
49259         * iconvdata/ibm16804.h: Likewise.
49260         * iconvdata/ibm4517.h: Likewise.
49261         * iconvdata/ibm4899.h: Likewise.
49262         * iconvdata/ibm4909.h: Likewise.
49263         * iconvdata/ibm4971.h: Likewise.
49264         * iconvdata/ibm5347.h: Likewise.
49265         * iconvdata/ibm803.h: Likewise.
49266         * iconvdata/ibm856.h: Likewise.
49267         * iconvdata/ibm901.h: Likewise.
49268         * iconvdata/ibm902.h: Likewise.
49269         * iconvdata/ibm9030.h: Likewise.
49270         * iconvdata/ibm9066.h: Likewise.
49271         * iconvdata/ibm921.h: Likewise.
49272         * iconvdata/ibm922.h: Likewise.
49273         * iconvdata/ibm9448.h: Likewise.
49274         * iconvdata/isiri-3342.h: Likewise.
49275         * iconvdata/jis0201.h: Likewise.
49276         * include/link.h: Likewise.
49277         * include/netdb.h: Likewise.
49278         * inet/check_native.c: Likewise.
49279         * inet/check_pf.c: Likewise.
49280         * inet/getipv4sourcefilter.c: Likewise.
49281         * inet/getnameinfo.c: Likewise.
49282         * inet/getsourcefilter.c: Likewise.
49283         * inet/htonl.c: Likewise.
49284         * inet/setipv4sourcefilter.c: Likewise.
49285         * inet/setsourcefilter.c: Likewise.
49286         * inet/test-inet6_opt.c: Likewise.
49287         * inet/tst-network.c: Likewise.
49288         * locale/C-collate.c: Likewise.
49289         * locale/C-ctype.c: Likewise.
49290         * locale/C-time.c: Likewise.
49291         * locale/C-translit.h: Likewise.
49292         * locale/loadarchive.c: Likewise.
49293         * locale/programs/3level.h: Likewise.
49294         * locale/programs/charmap.c: Likewise.
49295         * locale/programs/charmap.h: Likewise.
49296         * locale/programs/ld-address.c: Likewise.
49297         * locale/programs/ld-collate.c: Likewise.
49298         * locale/programs/ld-ctype.c: Likewise.
49299         * locale/programs/ld-identification.c: Likewise.
49300         * locale/programs/ld-measurement.c: Likewise.
49301         * locale/programs/ld-messages.c: Likewise.
49302         * locale/programs/ld-monetary.c: Likewise.
49303         * locale/programs/ld-name.c: Likewise.
49304         * locale/programs/ld-numeric.c: Likewise.
49305         * locale/programs/ld-paper.c: Likewise.
49306         * locale/programs/ld-telephone.c: Likewise.
49307         * locale/programs/ld-time.c: Likewise.
49308         * locale/programs/linereader.c: Likewise.
49309         * locale/programs/locale.c: Likewise.
49310         * locale/programs/locarchive.c: Likewise.
49311         * locale/programs/locfile.h: Likewise.
49312         * locale/programs/repertoire.c: Likewise.
49313         * locale/programs/simple-hash.c: Likewise.
49314         * locale/programs/simple-hash.h: Likewise.
49315         * malloc/memusage.c: Likewise.
49316         * malloc/memusagestat.c: Likewise.
49317         * nis/nis_defaults.c: Likewise.
49318         * nis/nis_hash.c: Likewise.
49319         * nis/nis_print.c: Likewise.
49320         * nis/nis_xdr.c: Likewise.
49321         * nscd/connections.c: Likewise.
49322         * nscd/hstcache.c: Likewise.
49323         * nscd/nscd_gethst_r.c: Likewise.
49324         * nscd/nscd_getserv_r.c: Likewise.
49325         * nscd/nscd_helper.c: Likewise.
49326         * nscd/servicescache.c: Likewise.
49327         * nss/makedb.c: Likewise.
49328         * nss/nss_db/db-XXX.c: Likewise.
49329         * nss/nss_db/db-initgroups.c: Likewise.
49330         * nss/nss_db/db-netgrp.c: Likewise.
49331         * nss/nss_files/files-network.c: Likewise.
49332         * nss/nss_files/files-parse.c: Likewise.
49333         * posix/bug-regex5.c: Likewise.
49334         * posix/fnmatch_loop.c: Likewise.
49335         * posix/regcomp.c: Likewise.
49336         * posix/regexec.c: Likewise.
49337         * posix/tst-rfc3484-2.c: Likewise.
49338         * posix/tst-rfc3484-3.c: Likewise.
49339         * posix/tst-rfc3484.c: Likewise.
49340         * resolv/nss_dns/dns-canon.c: Likewise.
49341         * resolv/nss_dns/dns-network.c: Likewise.
49342         * resolv/res_init.c: Likewise.
49343         * resolv/res_mkquery.c: Likewise.
49344         * resolv/tst-aton.c: Likewise.
49345         * stdlib/cxa_atexit.c: Likewise.
49346         * stdlib/cxa_finalize.c: Likewise.
49347         * stdlib/gen-fpioconst.c: Likewise.
49348         * stdlib/strtol_l.c: Likewise.
49349         * string/tst-endian.c: Likewise.
49350         * sunrpc/auth_des.c: Likewise.
49351         * sunrpc/clnt_udp.c: Likewise.
49352         * sunrpc/rtime.c: Likewise.
49353         * sunrpc/svcauth_des.c: Likewise.
49354         * sunrpc/xdr.c: Likewise.
49355         * sunrpc/xdr_intXX_t.c: Likewise.
49356         * sunrpc/xdr_rec.c: Likewise.
49357         * sysdeps/generic/ldconfig.h: Likewise.
49358         * sysdeps/generic/ldsodefs.h: Likewise.
49359         * sysdeps/generic/memusage.h: Likewise.
49360         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49362         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49363         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49366         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49367         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49368         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49369         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49370         * sysdeps/posix/getaddrinfo.c: Likewise.
49371         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49372         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49373         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49374         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49375         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49376         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49377         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49378         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49379         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49380         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49381         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49382         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49383         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49384         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49385         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49386         * sysdeps/x86_64/dl-tls.h: Likewise.
49387         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49388         * time/alt_digit.c: Likewise.
49389         * time/era.c: Likewise.
49390         * wcsmbs/tst-c16c32-1.c: Likewise.
49392 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49394         * math/libm-test.inc (struct test_sincos_data): New type.
49395         (RUN_TEST_LOOP_sincos): New macro.
49396         (sincos_test_data): New variable.
49397         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49399 2013-05-16  Richard Henderson  <rth@redhat.com>
49401         * math/atest-exp2.c (LIMB64): New macro.
49402         (CONSTSZ): New macro.
49403         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49404         (hexdig): Move ...
49405         (print_mpn_fp): ... to function scope.
49406         (read_mpn_hex): Remove.
49407         (get_log2): Remove.
49408         (exp2_mpn): Use mp_log2.
49409         (main): Use mp_exp1.
49411 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49413         * math/libm-test.inc: Remove comment about not testing "inexact"
49414         exceptions.
49415         (INEXACT_EXCEPTION): New macro.
49416         (NO_INEXACT_EXCEPTION): Likewise.
49417         (INVALID_EXCEPTION_OK): Update value.
49418         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49419         (OVERFLOW_EXCEPTION_OK): Likewise.
49420         (UNDERFLOW_EXCEPTION_OK): Likewise.
49421         (IGNORE_ZERO_INF_SIGN): Likewise.
49422         (ERRNO_UNCHANGED): Likewise.
49423         (ERRNO_EDOM): Likewise.
49424         (ERRNO_ERANGE): Likewise.
49425         (test_exceptions): Handle testing "inexact" exceptions.
49426         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49427         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49428         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49429         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49430         INEXACT_EXCEPTION.
49431         (rint_towardzero_test_data): Likewise.
49432         (rint_downward_test_data): Likewise.
49433         (rint_upward_test_data): Likewise.
49435         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49436         with OVERFLOW_EXCEPTION.
49437         (exp10_test_data): Likewise.
49438         (exp2_test_data): Likewise.
49439         (expm1_test_data): Likewise.
49440         (lgamma_test_data): Likewise.
49441         (pow_test_data): Likewise.
49442         (tgamma_test_data): Likewise.
49443         (yn_test_data): Remove duplicate test of overflow.
49445         * math/libm-test.inc (struct test_cc_c_data): New type.
49446         (RUN_TEST_LOOP_cc_c): New macro.
49447         (cpow_test_data): New variable.
49448         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49450         * math/libm-test.inc (struct test_f_L_data): New type.
49451         (RUN_TEST_LOOP_f_L): New macro.
49452         (llrint_test_data): New variable.
49453         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49454         (llrint_tonearest_test_data): New variable.
49455         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49456         (llrint_towardzero_test_data): New variable.
49457         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49458         (llrint_downward_test_data): New variable.
49459         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49460         (llrint_upward_test_data): New variable.
49461         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49462         (llround_test_data): New variable.
49463         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49465 2013-05-13  Peter Collingbourne  <pcc@google.com>
49467         * math/atest-exp2.c (get_log2): Remove const attribute.
49469 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49471         * math/libm-test.inc (struct test_f_l_data): New type.
49472         (RUN_TEST_LOOP_f_l): New macro.
49473         (lrint_test_data): New variable.
49474         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49475         (lrint_tonearest_test_data): New variable.
49476         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49477         (lrint_towardzero_test_data): New variable.
49478         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49479         (lrint_downward_test_data): New variable.
49480         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49481         (lrint_upward_test_data): New variable.
49482         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49483         (lround_test_data): New variable.
49484         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49486 2013-05-15  Peter Collingbourne  <pcc@google.com>
49488         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49489         (EXTRACT_WORDS64) Use where appropriate.
49490         (INSERT_WORDS64) Likewise.
49492         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49493         constraints with x constraints.
49494         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49496         * malloc/obstack.c (_obstack_compat): Add initializer.
49498 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49500         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49501         si_trapno and add si_addr_lsb to _sifields.sigfault.
49502         (si_trapno): Remove macro.
49503         (si_addr_lsb): Define new macro.
49504         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49506 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49508         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49509         instead of TEST_f_l.
49510         (llrint_test_tonearest): Likewise.
49511         (llrint_test_towardzero): Likewise.
49512         (llrint_test_downward): Likewise.
49513         (llrint_test_upward): Likewise.
49514         (llround_test): Likewise.
49516         * math/libm-test.inc (struct test_f_i_data): Add comment.
49517         (RUN_TEST_LOOP_f_b): New macro.
49518         (RUN_TEST_LOOP_f_b_tg): Likewise.
49519         (finite_test_data): New variable.
49520         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49521         (isfinite_test_data): New variable.
49522         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49523         (isinf_test_data): New variable.
49524         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49525         (isnan_test_data): New variable.
49526         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49527         (isnormal_test_data): New variable.
49528         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49529         (issignaling_test_data): New variable.
49530         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49531         (signbit_test_data): New variable.
49532         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49534         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49535         with INVALID_EXCEPTION.
49536         (acosh_test_data): Likewise.
49537         (asin_test_data): Likewise.
49538         (atanh_test_data): Likewise.
49539         (fmod_test_data): Likewise.
49540         (log_test_data): Likewise.
49541         (log10_test_data): Likewise.
49542         (log2_test_data): Likewise.
49543         (pow_test_data): Likewise.
49544         (sqrt_test_data): Likewise.
49545         (y0_test_data): Likewise.
49546         (y1_test_data): Likewise.
49547         (yn_test_data): Likewise.
49549         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49550         function contents.
49552         * math/libm-test.inc (struct test_ff_i_data): New type.
49553         (RUN_TEST_LOOP_ff_i_tg): New macro.
49554         (isgreater_test_data): New variable.
49555         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49556         (isgreaterequal_test_data): New variable.
49557         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49558         (isless_test_data): New variable.
49559         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49560         (islessequal_test_data): New variable.
49561         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49562         (islessgreater_test_data): New variable.
49563         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49564         (isunordered_test_data): New variable.
49565         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49567 2013-05-14  David S. Miller  <davem@davemloft.net>
49569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49571 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49573         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49575         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49576         extra_test to int.
49577         (struct test_f_i_data): Change type of max_ulp to int.
49579         * math/libm-test.inc (test_ffI_f1_data): New type.
49580         (RUN_TEST_LOOP_ffI_f1): New macro.
49581         (remquo_test_data): New variable.
49582         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49584         * setjmp/tst-setjmp-fp.c: New file.
49585         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49586         (link-libm): New variable.
49587         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49589         * math/libm-test.inc (struct test_f_i_data): New type.
49590         (RUN_TEST_LOOP_f_i): New macro.
49591         (RUN_TEST_LOOP_f_i_tg): Likewise.
49592         (fpclassify_test_data): New variable.
49593         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49594         (ilogb_test_data): New variable.
49595         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49597         * math/libm-test.inc (scalbln_test): Correct function name in END
49598         call.
49600         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49601         (RUN_TEST_LOOP_fI_f1): New macro.
49602         (frexp_test_data): New variable.
49603         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49605         * math/libm-test.inc (struct test_fF_f1_data): New type.
49606         (RUN_TEST_LOOP_fF_f1): New macro.
49607         (modf_test_data): New variable.
49608         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49610         * math/libm-test.inc (struct test_f_f1_data): New type.
49611         (RUN_TEST_LOOP_f_f1): New macro.
49612         (gamma_test_data): New variable.
49613         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49614         (lgamma_test_data): New variable.
49615         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49617 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49619         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49620         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49621         (main): Comment "tls" pseudo-hwcap.
49623 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49625         * math/libm-test.inc (struct test_fl_f_data): New type.
49626         (RUN_TEST_LOOP_fl_f): New variable.
49627         (scalbln_test_data): New variable.
49628         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49630         * math/libm-test.inc (struct test_fi_f_data): New type.
49631         (RUN_TEST_LOOP_fi_f): New macro.
49632         (ldexp_test_data): New variable.
49633         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49634         (scalbn_test_data): New variable.
49635         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49637         * math/libm-test.inc (struct test_c_f_data): New type.
49638         (RUN_TEST_LOOP_c_f): New macro.
49639         (cabs_test_data): New variable.
49640         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49641         (carg_test_data): New variable.
49642         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49643         (cimag_test_data): New variable.
49644         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49645         (creal_test_data): New variable.
49646         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49648         * math/libm-test.inc (struct test_if_f_data): New type.
49649         (RUN_TEST_LOOP_if_f): New macro.
49650         (jn_test_data): New variable.
49651         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49652         (yn_test_data): New variable.
49653         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49655         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49657 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49659         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49660         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49662 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49664         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49665         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49666         (bench-deps): Add bench-timing.h.
49667         * benchtests-bench-skeleton.c: Include bench-timing.h.
49668         (main): Use TIMING_* macros instead of clock_gettime.
49669         * benchtests/bench-timing.h: New file.
49671         [BZ #14582]
49672         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49673         Renamed from _LIB_VERSION.
49674         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49676 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49678         * math/libm-test.inc (struct test_fff_f_data): New type.
49679         (RUN_TEST_LOOP_fff_f): New macro.
49680         (fma_test_data): New variable.
49681         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49682         (fma_towardzero_test_data): New variable.
49683         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49684         (fma_downward_test_data): New variable.
49685         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49686         (fma_upward_test_data): New variable.
49687         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49689         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49690         (struct test_c_c_data): New type.
49691         (RUN_TEST_LOOP_c_c): New macro.
49692         (cacos_test_data): New variable.
49693         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49694         (cacosh_test_data): New variable.
49695         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49696         (casin_test_data): New variable.
49697         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49698         (casinh_test_data): New variable.
49699         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49700         (catan_test_data): New variable.
49701         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49702         (catanh_test_data): New variable.
49703         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49704         (ccos_test_data): New variable.
49705         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49706         (ccosh_test_data): New variable.
49707         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49708         (cexp_test_data): New variable.
49709         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49710         (clog_test_data): New variable.
49711         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49712         (clog10_test_data): New variable.
49713         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49714         (conj_test_data): New variable.
49715         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49716         (cproj_test_data): New variable.
49717         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49718         (csin_test_data): New variable.
49719         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49720         (csinh_test_data): New variable.
49721         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49722         (csqrt_test_data): New variable.
49723         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49724         (ctan_test_data): New variable.
49725         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49726         (ctan_tonearest_test_data): New variable.
49727         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49728         (ctan_towardzero_test_data): New variable.
49729         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49730         (ctan_downward_test_data): New variable.
49731         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49732         (ctan_upward_test_data): New variable.
49733         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49734         (ctanh_test_data): New variable.
49735         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49736         (ctanh_tonearest_test_data): New variable.
49737         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49738         (ctanh_towardzero_test_data): New variable.
49739         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49740         (ctanh_downward_test_data): New variable.
49741         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49742         (ctanh_upward_test_data): New variable.
49743         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49744         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49745         of BUILD_COMPLEX.
49747         * math/libm-test.inc (struct test_ff_f_data): New type.
49748         (struct test_ff_f_data_nexttoward): Likewise.
49749         (RUN_TEST_LOOP_2_f): New macro.
49750         (RUN_TEST_LOOP_ff_f): Likewise.
49751         (atan2_test_data): New variable.
49752         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49753         (copysign_test_data): New variable.
49754         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49755         (fdim_test_data): New variable.
49756         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49757         (fmax_test_data): New variable.
49758         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49759         (fmin_test_data): New variable.
49760         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49761         (fmod_test_data): New variable.
49762         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49763         (hypot_test_data): New variable.
49764         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49765         (nextafter_test_data): New variable.
49766         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49767         (nexttoward_test_data): New variable.
49768         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49769         (pow_test_data): New variable.
49770         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49771         (pow_tonearest_test_data): New variable.
49772         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49773         (pow_towardzero_test_data): New variable.
49774         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49775         (pow_downward_test_data): New variable.
49776         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49777         (pow_upward_test_data): New variable.
49778         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49779         (remainder_test_data): New variable.
49780         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49781         (scalb_test_data): New variable.
49782         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49783         * sysdeps/i386/fpu/libm-test-ulps: Update.
49785 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49787         * math/libm-test.inc (fma_test): Use max_value instead of local
49788         variable fltmax.
49789         (nextafter_test): Likewise.
49791         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49792         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49793         (acos_downward_test_data): New variable.
49794         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49795         (acos_upward_test_data): New variable.
49796         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49797         (acosh_test_data): New variable.
49798         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49799         (asin_test_data): New variable.
49800         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49801         (asin_tonearest_test_data): New variable.
49802         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49803         (asin_towardzero_test_data): New variable.
49804         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49805         (asin_downward_test_data): New variable.
49806         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49807         (asin_upward_test_data): New variable.
49808         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49809         (asinh_test_data): New variable.
49810         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49811         (atan_test_data): New variable.
49812         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49813         (atanh_test_data): New variable.
49814         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49815         (cbrt_test_data): New variable.
49816         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49817         (ceil_test_data): New variable.
49818         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49819         (cos_test_data): New variable.
49820         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49821         (cos_tonearest_test_data): New variable.
49822         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49823         (cos_towardzero_test_data): New variable.
49824         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49825         (cos_downward_test_data): New variable.
49826         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49827         (cos_upward_test_data): New variable.
49828         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49829         (cosh_test_data): New variable.
49830         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49831         (cosh_tonearest_test_data): New variable.
49832         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49833         (cosh_towardzero_test_data): New variable.
49834         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49835         (cosh_downward_test_data): New variable.
49836         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49837         (cosh_upward_test_data): New variable.
49838         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49839         (erf_test_data): New variable.
49840         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49841         (erfc_test_data): New variable.
49842         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49843         (exp_test_data): New variable.
49844         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49845         (exp_tonearest_test_data): New variable.
49846         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49847         (exp_towardzero_test_data): New variable.
49848         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49849         (exp_downward_test_data): New variable.
49850         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49851         (exp_upward_test_data): New variable.
49852         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49853         (exp10_test_data): New variable.
49854         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49855         (exp2_test_data): New variable.
49856         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49857         (expm1_test_data): New variable.
49858         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49859         (fabs_test_data): New variable.
49860         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49861         (floor_test_data): New variable.
49862         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49863         (j0_test_data): New variable.
49864         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49865         (j1_test_data): New variable.
49866         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49867         (log_test_data): New variable.
49868         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49869         (log10_test_data): New variable.
49870         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49871         (log1p_test_data): New variable.
49872         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49873         (log2_test_data): New variable.
49874         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49875         (logb_test_data): New variable.
49876         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49877         (logb_downward_test_data): New variable.
49878         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49879         (nearbyint_test_data): New variable.
49880         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49881         (rint_test_data): New variable.
49882         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49883         (rint_tonearest_test_data): New variable.
49884         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49885         (rint_towardzero_test_data): New variable.
49886         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49887         (rint_downward_test_data): New variable.
49888         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49889         (rint_upward_test_data): New variable.
49890         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49891         (round_test_data): New variable.
49892         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49893         (sin_test_data): New variable.
49894         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49895         (sin_tonearest_test_data): New variable.
49896         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49897         (sin_towardzero_test_data): New variable.
49898         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49899         (sin_downward_test_data): New variable.
49900         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49901         (sin_upward_test_data): New variable.
49902         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49903         (sinh_test_data): New variable.
49904         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49905         (sinh_tonearest_test_data): New variable.
49906         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49907         (sinh_towardzero_test_data): New variable.
49908         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49909         (sinh_downward_test_data): New variable.
49910         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49911         (sinh_upward_test_data): New variable.
49912         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49913         (sqrt_test_data): New variable.
49914         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49915         (tan_test_data): New variable.
49916         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49917         (tan_tonearest_test_data): New variable.
49918         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49919         (tan_towardzero_test_data): New variable.
49920         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49921         (tan_downward_test_data): New variable.
49922         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49923         (tan_upward_test_data): New variable.
49924         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49925         (tanh_test_data): New variable.
49926         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49927         (tgamma_test_data): New variable.
49928         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49929         (trunc_test_data): New variable.
49930         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49931         (y0_test_data): New variable.
49932         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49933         (y1_test_data): New variable.
49934         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49935         (significand_test_data): New variable.
49936         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49938 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49940         [BZ #12387]
49941         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49943 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49945         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49947 2013-05-10  Andreas Jaeger  <aj@suse.de>
49949         [BZ #15448]
49950         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49951         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49953 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49955         * math/gen-libm-test.pl (adjust_arg): New function.
49956         (special_functions): Handle generating output in both functions
49957         and arrays.
49958         (parse_args): Likewise.
49959         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49960         $in_func argument to parse_args.
49961         * math/libm-test.inc (struct test_f_f_data): New type.
49962         (IF_ROUND_INIT_): New macro.
49963         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49964         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49965         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49966         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49967         (ROUND_RESTORE_): Likewise.
49968         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49969         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49970         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49971         (ROUND_RESTORE_FE_UPWARD): Likewise.
49972         (RUN_TEST_LOOP_f_f): New macro.
49973         (acos_test_data): New variable.
49974         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49975         (acos_tonearest_test_data): New variable.
49976         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49978 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49980         * benchtests/bench-skeleton.c (startup): Fix coding style.
49982 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49984         [BZ #6809]
49985         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49986         negative infinity argument.
49987         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49988         negative infinity argument.
49989         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49990         negative infinity argument.
49991         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49992         domain errors.
49994 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49996         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49997         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49998         * iconv/iconv_prog.c (main): Likewise.
49999         * locale/programs/charmap-dir.c (charmap_readdir)
50000         (fopen_uncompressed): Likewise.
50001         * locale/programs/locfile.c (siblings_uncached)
50002         (write_locale_data): Use lstat64 instead of lstat.
50003         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50004         stat.
50006 2013-05-10  Andreas Jaeger  <aj@suse.de>
50008         [BZ #15395]
50009         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50010         localization.
50011         Include <locale.h>.
50013 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50015         * elf/dl-close.c (_dl_close_worker): Add comments.
50017 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50019         [BZ #15359]
50020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50021         high part of pi/2.
50022         (__ieee754_rem_pio2l): Update comments.
50024         [BZ #15429]
50025         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50026         high part of pi/2.
50027         (__ieee754_rem_pio2l): Update comments.
50029         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50030         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50032         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50033         M_PI_4l.
50035         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50036         (M_PI_34_LOG10El): Likewise.
50037         (M_PI2_LOG10El): Likewise.
50038         (M_PI4_LOG10El): Likewise.
50039         (M_PI_LOG10El): Likewise.
50041 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50045 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50047         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50048         (MINUS_ZERO_INIT): Likewise.
50049         (PLUS_INFTY_INIT): Likewise.
50050         (MINUS_INFTY_INIT): Likewise.
50051         (QNAN_VALUE_INIT): Likewise.
50052         (MAX_VALUE_INIT): Likewise.
50053         (MIN_VALUE_INIT): Likewise.
50054         (MIN_SUBNORM_VALUE_INIT): Likewise.
50055         (plus_zero): Initialize with PLUS_ZERO_INIT.
50056         (minus_zero): Initialize with MINUS_ZERO_INIT.
50057         (plus_infty): Initialize with PLUS_INFTY_INIT.
50058         (minus_infty): Initialize with MINUS_INFTY_INIT.
50059         (qnan_value): Initialize with QNAN_VALUE_INIT.
50060         (max_value): Initialize with MAX_VALUE_INIT.
50061         (min_value): Initialize with MIN_VALUE_INIT.
50062         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50064         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50065         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50066         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50067         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50069         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50070         (RUN_TEST_2_f): Likewise.
50071         (RUN_TEST_ff_f): Likewise.
50072         (RUN_TEST_fi_f): Likewise.
50073         (RUN_TEST_fl_f): Likewise.
50074         (RUN_TEST_fff_f): Likewise.
50075         (RUN_TEST_c_f): Likewise.
50076         (RUN_TEST_f_f1): Likewise.
50077         (RUN_TEST_fF_f1): Likewise.
50078         (RUN_TEST_fI_f1): Likewise.
50079         (RUN_TEST_ffI_f1): Likewise.
50080         (RUN_TEST_c_c): Likewise.
50081         (RUN_TEST_cc_c): Likewise.
50082         (RUN_TEST_f_i): Likewise.
50083         (RUN_TEST_f_i_tg): Likewise.
50084         (RUN_TEST_ff_i_tg): Likewise.
50085         (RUN_TEST_f_b): Likewise.
50086         (RUN_TEST_f_b_tg): Likewise.
50087         (RUN_TEST_f_l): Likewise.
50088         (RUN_TEST_f_L): Likewise.
50089         (RUN_TEST_sincos): Likewise.
50090         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50091         whether to show exceptions.  Do not include ");\n" in return
50092         value.
50093         (special_functions): Output call to RUN_TEST_sincos instead of
50094         check_float calls.  Update calls to new_test.
50095         (parse_args): Output call to single RUN_TEST_* macro instead of
50096         check_* calls and other assignments.  Update calls to new_test.
50098         [BZ #2546]
50099         [BZ #2560]
50100         [BZ #5159]
50101         [BZ #15426]
50102         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50103         input to result for tgamma overflow.
50104         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50105         (gamma_coeff): New variable.
50106         (NCOEFF): New macro.
50107         (gamma_positive): New function.
50108         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50109         underflow here.  Use gamma_positive instead of exp (lgamma) for
50110         other arguments.
50111         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50112         (gamma_coeff): New variable.
50113         (NCOEFF): New macro.
50114         (gammaf_positive): New function.
50115         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50116         underflow here.  Use gamma_positive instead of exp (lgamma) for
50117         other arguments.
50118         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50119         (gamma_coeff): New variable.
50120         (NCOEFF): New macro.
50121         (gammal_positive): New function.
50122         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50123         underflow here.  Use gamma_positive instead of exp (lgamma) for
50124         other arguments.
50125         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50126         (gamma_coeff): New variable.
50127         (NCOEFF): New macro.
50128         (gammal_positive): New function.
50129         (__ieee754_gammal_r): Handle positive infinity, overflow and
50130         underflow here.  Handle NaN the same as positive infinity.  Remove
50131         check x < 0xffffffff for negative integers.  Use gamma_positive
50132         instead of exp (lgamma) for other arguments.
50133         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50134         (gamma_coeff): New variable.
50135         (NCOEFF): New macro.
50136         (gammal_positive): New function.
50137         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50138         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50139         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50140         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50141         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50142         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50143         * sysdeps/generic/math_private.h (__gamma_productf): New
50144         prototype.
50145         (__gamma_product): Likewise.
50146         (__gamma_productl): Likewise.
50147         * math/Makefile (libm-calls): Add gamma_product.
50148         * math/libm-test.inc (tgamma_test): Add more tests.
50149         * sysdeps/i386/fpu/libm-test-ulps: Update.
50150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50152 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50154         * benchtests/bench-skeleton.c (main): Preheat CPU.
50156 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50158         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50160 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50162         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50163         and _dl_skip_args_internal.
50165 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50167         * manual/message.texi (Message Translation): Talk about users.
50168         Message to key mapping impacts design.
50170 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50172         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50174         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50176         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50177         * sysdeps/wordsize-64/glob64.c: ... here.
50179         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50180         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50181         New macros.
50183         * debug/getlogin_r_chk.c: Moved to ...
50184         * login/getlogin_r_chk.c: ... here.
50185         * debug/Makefile (routines): Move getlogin_r_chk to ...
50186         * login/Makefile (routines): ... here.
50187         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50188         * login/Versions (libc: GLIBC_2.4): ... here.
50190         * io/poll.c (__poll): Renamed from poll.
50191         Add libc_hidden_def.
50192         (poll): Define as weak alias.
50194         * debug/ptsname_r_chk.c: Moved to ...
50195         * login/ptsname_r_chk.c: ... here.
50196         * debug/Makefile (routines): Move ptsname_r_chk to ...
50197         * login/Makefile (routines): ... here.
50198         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50199         * login/Versions (libc: GLIBC_2.4): ... here.
50201         * posix/getlogin.c: Moved to ...
50202         * login/getlogin.c: ... here.
50203         * posix/getlogin_r.c: Moved to ...
50204         * login/getlogin_r.c: ... here.
50205         * posix/getlogin_r.c: Moved to ...
50206         * login/getlogin_r.c: ... here.
50207         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50208         * login/Makefile (routines): ... here.
50209         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50210         * login/Versions (libc: GLIBC_2.0): ... here.
50212         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50213         (setrlimit): Define as weak alias.
50215         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50216         Call __ names for open, ftruncate, and close.
50217         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50218         (truncate): Define as weak alias.
50220 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50222         * math/gen-libm-test.pl (parse_args): Initialize x before each
50223         test of frexp, modf and remquo.
50225         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50226         test signgam value.
50228 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50230         [BZ #15418]
50231         [BZ #15419]
50232         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50233         internal tests.
50234         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50236 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50238         * elf/dl-writev.h: New file.
50239         * elf/dl-misc.c: Include it.
50240         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50241         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50243 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50245         * math/libm-test.inc (noXFails): Remove variable.
50246         (noXPasses): Likewise.
50247         (BUILD_COMPLEX_INT): Remove macro.
50248         (print_screen): Remove xfail argument.
50249         (print_screen_max_error): Likewise.
50250         (update_stats): Likewise.
50251         (print_max_error): Likewise.  Update calls to other affected
50252         functions.
50253         (print_complex_max_error): Likewise.
50254         (test_single_exception): Update calls to print_screen.
50255         (test_single_errno): Likewise.
50256         (check_float_internal): Remove xfail argument.  Update calls to
50257         other affected functions.
50258         (check_float): Likewise.
50259         (check_complex): Likewise.
50260         (check_int): Likewise.
50261         (check_long): Likewise.
50262         (check_bool): Likewise.
50263         (check_longlong): Likewise.
50264         (main): Don't print noXFails and noXPasses.
50265         * math/gen-libm-test.pl (top level): Don't mention expected
50266         failure handling in comment.
50267         (new_test): Don't handle expected failures.
50268         (parse_args): Don't mention expected failure handling in comment.
50269         (generate_testfile): Don't handle expected failures.
50270         (parse_ulps): Likewise.
50271         (print_ulps_file): Likewise.
50272         (get_failure): Remove function.
50273         (output_test): Don't handle expected failures.
50274         * make/README.libm-test: Don't mention expected failure handling.
50276         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50277         (minus_zero): Likewise.
50278         (plus_infty): Likewise.
50279         (minus_infty): Likewise.
50280         (qnan_value): Likewise.
50281         (max_value): Likewise.
50282         (min_value): Likewise.
50283         (min_subnorm_value): Likewise.
50284         (initialize): Do not initialize those variables dynamically.
50286 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50288         * io/open.c (__open_2): Moved to ...
50289         * io/open_2.c: ... this new file.
50290         * io/open64.c (__open64_2): Moved to ...
50291         * io/open64_2.c: ... this new file.
50292         * io/openat.c (__openat_2): Moved to ...
50293         * io/openat_2.c: ... this new file.
50294         * io/openat64.c (__openat64_2): Moved to ...
50295         * io/openat64_2.c: ... this new file.
50296         * io/Makefile (routines): Add them.
50297         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50298         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50299         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50300         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50301         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50302         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50303         (__openat64): Add hidden_ver.
50304         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50305         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50307         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50308         Separately conditionalize setting of GLRO(dl_sysinfo) so
50309         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50310         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50312 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50314         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50316         definition.
50317         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50318         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50319         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50320         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50321         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50323 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50325         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50326         test signgam value.
50328         * math/libm-test.inc (hypot_test): Do not use
50329         IGNORE_ZERO_INF_SIGN.
50331 2013-05-03  Andreas Jaeger  <aj@suse.de>
50333         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50334         Linux 3.9.
50335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50336         (PF_MAX): Adjust for VSOCK change.
50338 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50342 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50344         [BZ #15264]
50345         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50346         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50347         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50349 2013-05-02  David S. Miller  <davem@davemloft.net>
50351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50353 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50355         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50357 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50359         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50361 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50363         [BZ #14952]
50364         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50365         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50366         Use __attribute__ ((__gnu_inline__)).
50367         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50368         Don't use __attribute__ ((__gnu_inline__)).
50370 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50372         [BZ #15423]
50373         * math/s_catan.c (__catan): Handle small real or imaginary part of
50374         input specially to avoid spurious underflow.
50375         * math/s_catanf.c (__catanf): Likewise.
50376         * math/s_catanh.c (__catanh): Likewise.
50377         * math/s_catanhf.c (__catanhf): Likewise.
50378         * math/s_catanhl.c (__catanhl): Likewise.
50379         * math/s_catanl.c (__catanl): Likewise.
50380         * math/libm-test.inc (catan_test): Add more tests.
50381         (catanh_test): Likewise.
50382         * sysdeps/i386/fpu/libm-test-ulps: Update.
50383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50385 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50389 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50391         [BZ #15416]
50392         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50393         accurately for denominator in atan2.
50394         * math/s_catanf.c (__catanf): Likewise.
50395         * math/s_catanh.c (__catanh): Likewise.
50396         * math/s_catanhf.c (__catanhf): Likewise.
50397         * math/s_catanhl.c (__catanhl): Likewise.
50398         * math/s_catanl.c (__catanl): Likewise.
50399         * math/libm-test.inc (catan_test): Add more tests.
50400         (catanh_test): Likewise.
50401         * sysdeps/i386/fpu/libm-test-ulps: Update.
50402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50404 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50406         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50408         * benchtests/Makefile (bench): Remove slow benchmarks.
50409         * benchtests/atan-inputs: Add slow benchmark inputs.
50410         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50411         (BENCH_FUNC): Accept variant offset.
50412         (VARIANT): Define.
50413         * benchtests/bench-skeleton.c (main): Run benchmark for each
50414         variant.
50415         * benchtests/cos-inputs: Add slow benchmark inputs.
50416         * benchtests/exp-inputs: Likewise.
50417         * benchtests/pow-inputs: Likewise.
50418         * benchtests/sin-inputs: Likewise.
50419         * benchtests/slowatan-inputs: Remove.
50420         * benchtests/slowatan.c: Remove.
50421         * benchtests/slowcos-inputs: Remove.
50422         * benchtests/slowcos.c: Remove.
50423         * benchtests/slowexp-inputs: Remove.
50424         * benchtests/slowexp.c: Remove.
50425         * benchtests/slowpow-inputs: Remove.
50426         * benchtests/slowpow.c: Remove.
50427         * benchtests/slowsin-inputs: Remove.
50428         * benchtests/slowsin.c: Remove.
50429         * benchtests/slowtan-inputs: Remove.
50430         * benchtests/slowtan.c: Remove.
50431         * benchtests/tan-inputs: Add slow benchmark inputs.
50432         * scripts/bench.pl: Parse comments and directives.
50434         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50435         in CPPFLAGS.
50436         ($(objpfx)bench-%.c): Remove *-ITER.
50437         * benchtests/bench-modf.c: Remove definition of ITER.
50438         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50439         (main): Loop for DURATION seconds instead of fixed number of
50440         iterations.
50441         * scripts/bench.pl: Don't expect iterations in parameters.
50443 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50445         * io/fchdir.c (__fchdir): Renamed from fchdir.
50446         (fchdir): Define as weak alias.
50448 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50450         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50451         (ERRNO_EDOM): Likewise.
50452         (ERRNO_ERANGE): Likewise.
50453         (noErrnoTests): New variable.
50454         (init_max_error): Set errno to 0.
50455         (test_single_errno): New function.
50456         (test_errno): Likewise.
50457         (check_float_internal): Call test_errno.  Set errno to 0.
50458         (check_complex): Refer to errno tests in comment.
50459         (check_int): Call test_errno.  Set errno to 0.
50460         (check_long): Likewise.
50461         (check_bool): Likewise.
50462         (check_longlong): Likewise.
50463         (cos_test): Use ERRNO_* flags for errno tests instead of
50464         check_int.
50465         (expm1_test): Likewise.
50466         (fmod_test): Likewise.
50467         (ilogb_test): Likewise.
50468         (lgamma_test): Likewise.
50469         (pow_test): Likewise.
50470         (remainder_test): Likewise.
50471         (sin_test): Likewise.
50472         (tan_test): Likewise.
50473         (yn_test): Likewise.
50474         (initialize): Set errno to 0.
50475         (main): Print number of errno tests.
50476         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50478 2013-04-29  Andreas Jaeger  <aj@suse.de>
50480         [BZ #15084]
50481         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50482         and RES_USEVC.
50484         [BZ #15085]
50485         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50486         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50487         unimplemented.
50489         [BZ #15380]
50490         * stdlib/random.c (__initstate): Return NULL if
50491         __initstate fails.
50493         [BZ #15086]
50494         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50495         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50496         RES_SNGLKUPREOP.
50498 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50502 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50504         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50505         of individual tests.
50506         (casin_test): Likewise.
50507         (casinh_test): Likewise.
50509 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50511         [BZ #15409]
50512         * math/s_catan.c (__catan): Handle arguments with large real or
50513         imaginary part separately without squaring.
50514         * math/s_catanf.c (__catanf): Likewise.
50515         * math/s_catanh.c (__catanh): Likewise.
50516         * math/s_catanhf.c (__catanhf): Likewise.
50517         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50518         and redefine.
50519         (__catanhl): Handle arguments with large real or imaginary part
50520         separately without squaring.
50521         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50522         and redefine.
50523         (__catanl): Handle arguments with large real or imaginary part
50524         separately without squaring.
50525         * math/libm-test.inc (catan_test): Add more tests.
50526         (catanh_test): Likewise.
50527         * sysdeps/i386/fpu/libm-test-ulps: Update.
50528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50530 2013-04-27  Andreas Jaeger  <aj@suse.de>
50532         [BZ #15007]
50533         * stdlib/stdlib.h: Update guards for qecvt.
50534         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50535         <stdlib.h>.
50537 2013-04-27  Allan McRae  <allan@archlinux.org>
50539         * sysdeps/i386/fpu/libm-test-ulps: Update.
50541 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50543         [BZ #15406]
50544         * math/s_catan.c: Include <float.h>.
50545         (__catan): Ensure underflow exception occurs for underflowed
50546         result.
50547         * math/s_catanf.c: Include <float.h>.
50548         (__catanf): Ensure underflow exception occurs for underflowed
50549         result.
50550         * math/s_catanh.c: Include <float.h>.
50551         (__catanh): Ensure underflow exception occurs for underflowed
50552         result.
50553         * math/s_catanhf.c: Include <float.h>.
50554         (__catanhf): Ensure underflow exception occurs for underflowed
50555         result.
50556         * math/s_catanhl.c: Include <float.h>.
50557         (__catanhl): Ensure underflow exception occurs for underflowed
50558         result.
50559         * math/s_catanl.c: Include <float.h>.
50560         (__catanl): Ensure underflow exception occurs for underflowed
50561         result.
50562         * math/libm-test.inc (catan_test): Add more tests.
50563         (catanh_test): Likewise.
50565         [BZ #15405]
50566         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50567         underflowed result.
50568         * math/s_ccoshf.c (__ccoshf): Likewise.
50569         * math/s_ccoshl.c (__ccoshl): Likewise.
50570         * math/s_csin.c (__csin): Likewise.
50571         * math/s_csinf.c (__csinf): Likewise.
50572         * math/s_csinh.c (__csinh): Likewise.
50573         * math/s_csinhf.c (__csinhf): Likewise.
50574         * math/s_csinhl.c (__csinhl): Likewise.
50575         * math/s_csinl.c (__csinl): Likewise.
50576         * math/libm-test.inc (ccos_test): Add more tests.
50577         (ccosh_test): Likewise.
50578         (csin_test): Likewise.
50579         (csinh_test): Likewise.
50581 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50583         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50584         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50585         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50586         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50587         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50588         powerpc/power5+/fpu folders.
50589         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50592 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50596 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50598         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50599         additions to variable.
50600         [$(config-machine) = x86_64] (modules-names): Likewise.
50601         ($(objpfx)tst-audit3): Remove dependency.
50602         ($(objpfx)tst-audit3.out): Likewise.
50603         ($(objpfx)tst-audit4): Likewise.
50604         ($(objpfx)tst-audit4.out): Likewise.
50605         ($(objpfx)tst-audit5): Likewise.
50606         ($(objpfx)tst-audit5.out): Likewise.
50607         ($(objpfx)tst-audit6): Likewise.
50608         ($(objpfx)tst-audit6.out): Likewise.
50609         ($(objpfx)tst-audit7): Likewise.
50610         ($(objpfx)tst-audit7.out): Likewise.
50611         (tst-audit3-ENV): Remove variable.
50612         (tst-audit4-ENV): Likewise.
50613         (tst-audit5-ENV): Likewise.
50614         (tst-audit6-ENV): Likewise.
50615         (tst-audit7-ENV): Likewise.
50616         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50617         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50618         addition to variable.
50619         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50620         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50621         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50622         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50623         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50624         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50625         tst-audit3, tst-audit4 and tst-audit5.
50626         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50627         tst-audit6 and tst-audit7.
50628         [$(subdir) = elf] (modules-names): Add audit modules for those
50629         tests.
50630         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50631         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50632         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50633         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50634         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50635         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50636         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50637         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50638         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50639         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50640         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50641         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50642         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50643         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50644         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50645         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50646         Likewise.
50647         [$(subdir) = elf && $(config-cflags-avx) = yes]
50648         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50649         [$(subdir) = elf && $(config-cflags-avx) = yes]
50650         (CFLAGS-tst-auditmod4a.c): Likewise.
50651         [$(subdir) = elf && $(config-cflags-avx) = yes]
50652         (CFLAGS-tst-auditmod4b.c): Likewise.
50653         [$(subdir) = elf && $(config-cflags-avx) = yes]
50654         (CFLAGS-tst-auditmod6b.c): Likewise.
50655         [$(subdir) = elf && $(config-cflags-avx) = yes]
50656         (CFLAGS-tst-auditmod6c.c): Likewise.
50657         [$(subdir) = elf && $(config-cflags-avx) = yes]
50658         (CFLAGS-tst-auditmod7b.c): Likewise.
50659         * elf/tst-audit3.c: Move to ...
50660         * sysdeps/x86_64/tst-audit3.c: ... here.
50661         * elf/tst-audit4.c: Move to ...
50662         * sysdeps/x86_64/tst-audit4.c: ... here.
50663         * elf/tst-audit5.c: Move to ...
50664         * sysdeps/x86_64/tst-audit5.c: ... here.
50665         * elf/tst-audit6.c: Move to ...
50666         * sysdeps/x86_64/tst-audit6.c: ... here.
50667         * elf/tst-audit7.c: Move to ...
50668         * sysdeps/x86_64/tst-audit7.c: ... here.
50669         * elf/tst-auditmod3a.c: Move to ...
50670         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50671         * elf/tst-auditmod3b.c: Move to ...
50672         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50673         * elf/tst-auditmod4a.c: Move to ...
50674         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50675         * elf/tst-auditmod4b.c: Move to ...
50676         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50677         * elf/tst-auditmod5a.c: Move to ...
50678         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50679         * elf/tst-auditmod5b.c: Move to ...
50680         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50681         * elf/tst-auditmod6a.c: Move to ...
50682         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50683         * elf/tst-auditmod6b.c: Move to ...
50684         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50685         * elf/tst-auditmod6c.c: Move to ...
50686         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50687         * elf/tst-auditmod7a.c: Move to ...
50688         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50689         * elf/tst-auditmod7b.c: Move to ...
50690         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50692 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50694         [BZ #15366]
50695         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50696         define unconditionally.
50697         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50698         define unconditionally.
50699         (INT8_C, INT16_C, etc.): Likewise.
50701 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50703         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50704         __ehdr_start with hidden visibility.
50706         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50708 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50710         * math/libm-test.inc (cos_test): Use accurate hex constants.
50711         (sincost_test): Likewise.
50713 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50715         * math/libm-test.inc (catan_test): Add more tests.
50716         (catanh_test): Likewise.
50718         * math/s_catanf.c (__catanf): Use suffixed floating-point
50719         constants.
50720         * math/s_catanhf.c (__catanhf): Likewise.
50721         * math/s_catanhl.c (__catanhl): Likewise.
50722         * math/s_catanl.c (__catanl): Likewise.
50724         [BZ #15394]
50725         * math/s_catan.c (__catan): Calculate imaginary part of result
50726         with log1p not log unless computing log of number close to 0.
50727         * math/s_catanf.c (__catanf): Likewise.
50728         * math/s_catanl.c (__catanl): Likewise.
50729         * math/s_catanh.c (__catanh): Calculate real part of result with
50730         log1p not log unless computing log of number close to 0.
50731         * math/s_catanhf.c (__catanhf): Likewise.
50732         * math/s_catanhl.c (__catanhl): Likewise.
50733         * math/libm-test.inc (catan_test): Add more tests.
50734         (catanh_test): Likewise.
50735         * sysdeps/i386/fpu/libm-test-ulps: Update.
50736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50738 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50740         * benchtests/Makefile: Mention files in which fast and slow
50741         paths of math functions are implemented.
50743 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50745         * sysdeps/posix/timespec_get.c: New file.
50747 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50749         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50750         POWER.
50751         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50752         for POWER.
50753         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50754         powerpc/power5/fpu folders.
50755         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50756         * benchtests/Makefile: Add modf testcase.
50757         * benchtests/bench-modf.c: New file: Benchmark test for mo
50759 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50761         [BZ #14888]
50762         * time/Makefile (tests): Add tst-strptime-whitespace.
50763         * time/strptime_l.c (get_number): Use ISSPACE.
50764         (__strptime_internal): Likewise.
50765         * time/tst-strptime-whitespace.c: New test case.
50767 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50769         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50770         member.
50771         (_nss_files_init): Set it here.
50773 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50775         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50776         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50777         unsigned.
50779 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50781         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50783 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50785         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50786         size just once.
50788 2013-04-21  David S. Miller  <davem@davemloft.net>
50790         * po/ru.po: Update Russion translation from translation project.
50792 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50794         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50795         and setfsgid.
50797 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50799         * configure.in: Remove i386 configure warning. Remove i386 case.
50800         * configure: Regenerate.
50801         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50802         Add example to error message.
50803         * sysdeps/i386/configure: Regenerate.
50805 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50807         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50808         slowtan.
50809         * benchtests/cos-inputs: New file.
50810         * benchtests/slowcos-inputs: New file.
50811         * benchtests/slowcos.c: New file.
50812         * benchtests/slowtan-inputs: New file.
50813         * benchtests/slowtan.c: New file.
50814         * benchtests/tan-inputs: New file.
50816 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50818         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50819         considered kosher.
50821 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50823         * benchtests/Makefile: Include cppflags-iterator.mk to add
50824         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50826         * Makefile.in (bench-clean): New target.
50827         * benchtests/Makefile (bench-clean): Likewise.
50829 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50831         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50833 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50835         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50837 2013-04-15  Andreas Schwab  <schwab@suse.de>
50839         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50841         * nscd/pwdcache.c (cache_addpw): Likewise.
50842         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50843         more than recsize.
50845 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50847         * benchtests/Makefile (bench): Write all output to
50848         bench-out.tmp together.
50850 2013-04-15  Andreas Schwab  <schwab@suse.de>
50852         * nscd/nscd.c (main): Don't fork again after closing files.
50854 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50856         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50858         * benchtests/Rules (bench-deps): Collect dependencies into a
50859         single variable.  Add Makefile to dependencies.
50860         ($(objpfx)bench-%.c): Depend on bench-deps.
50862 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50863             Xavier Roche  <roche+kml2@exalead.com>
50865         [BZ #15361]
50866         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50867         just that it's a file descriptor.
50868         * manual/llio.texi (Synchronizing AIO Operations): Update description
50869         for EBADF error from aio_fsync.
50871 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50873         * Rules (bench): Move target definition...
50874         * benchtests/Makefile: ... here.
50876 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50878         * math/libm-test.inc (cos_test): Fix PI/2 test.
50879         (sincos_test): Likewise.
50880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50881         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50883 2013-04-11  Andreas Schwab  <schwab@suse.de>
50885         [BZ #13988]
50886         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50887         accept exponent character only when digits were seen.
50888         * stdio-common/Makefile (tests): Add bug26.
50889         * stdio-common/bug26.c: New file.
50891         [BZ #14293]
50892         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50893         non-freeable.
50895 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50897         * Makeconfig (rtld-prefix): Define built linker prefix.
50898         * Rules (run-bench): Use it.
50899         * math/Makefile (run-regen-ulps): Likewise.
50901         * Rules (bench): Remove eval.
50903 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50904             Roland McGrath  <roland@hack.frob.com>
50905             Ondrej Bilka  <neleai@seznam.cz>
50907         [BZ #15346]
50908         * time/getdate.c: Include ctype.h and alloca.h.
50909         (__getdate_r): Trim leading and trailing spaces of input.
50910         * time/tst-getdate.c (tests): Add tests with leading and
50911         trailing spaces.
50913 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50915         [BZ #14280]
50916         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50917         when computing value.
50919 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50921         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50922         Use testrun.sh to run libm tests.
50924         [BZ #15309]
50925         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50927 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50929         [BZ #15264]
50930         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50932 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50934         * Makefile.in (regen-ulps): New target.
50935         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50936         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50937         [ifneq (no,$(PERL)] (regen-ulps): New target.
50938         [ifeq (no,$(PERL)] (regen-ulps): New target.
50939         * math/libm-test.inc (ulps_file_name): Define.
50940         (output_dir): New variable.
50941         (options): Add "output-dir" option.
50942         (parse_opt): Handle 'o' case.
50943         (main): If output_dir is non-NULL use it as a prefix
50944         otherwise use "".
50945         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50949         [BZ #10060, #10062]
50950         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50951         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50952         fail configure if __sync_val_compare_and_swap is not inlined.
50953         * sysdeps/i386/configure: Regenerate.
50954         * configure.in: Build for i686 when configured for i386.
50955         * configure: Regenerate.
50956         * README: Remove i386 reference.
50958 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50960         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50963 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50965         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50966         (lmsnanval): New variables.
50967         (F): Add conversion tests.
50968         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50969         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50971         * stdio-common/tstdiomisc.c (F): Properly collect individual
50972         tests' results.
50974         [BZ #14686, #15336]
50975         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50976         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50977         Instead, use input NaN values or generate a qNaN by arithmetic
50978         operation.  Also fix bugs to comply with the standard.
50979         * math/libm-test.inc (remainder_test): Add more tests.
50981         [BZ #15335, #15342]
50982         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50984         input NaN values or generate a qNaN by arithmetic operation.
50986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50987         unreachable code.
50989         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50990         definitions.
50992 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50994         [BZ #14478]
50995         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50996         underflowed result.
50997         * math/s_cexpf.c (__cexpf): Likewise.
50998         * math/s_cexpl.c (__cexpl): Likewise.
50999         * math/libm-test.inc (cexp_test): Add more tests.
51001 2013-04-03  Andreas Schwab  <schwab@suse.de>
51003         [BZ #15330]
51004         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51005         order arrays from heap if bigger than alloca cutoff.
51007 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51009         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51010         (SNAN_TESTS_double): Refer to GCC PR56831.
51011         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51012         GCC PR56828.
51014 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51016         * Rules (bench): Move bench.out after the run is complete.
51018         * Rules (bench): Echo currently running benchmark.
51020         * benchtests/Makefile (bench): Add atan and slowatan.
51021         * benchtests/atan-inputs: New file.
51022         * benchtests/slowatan-inputs: New file.
51023         * benchtests/slowatan.c: New file.
51025         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51027         its value.
51029         [BZ #15305]
51030         * sysdeps/unix/sysv/linux/kernel-features.h
51031         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51032         __ASSUME_XFS_RESTRICTED_CHOWN.
51033         * sysdeps/unix/sysv/linux/pathconf.c
51034         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51035         Save and restore errno.
51037 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51039         [BZ #15327]
51040         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51041         arguments using __kernel_casinh.
51042         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51043         arguments using __kernel_casinhf.
51044         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51045         arguments using __kernel_casinhl.
51046         * math/libm-test.inc (cacosh_test): Add more tests.
51047         * sysdeps/i386/fpu/libm-test-ulps: Update.
51048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51050 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51052         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51055         * bench/Makefile (bench): Add sin and slowsin.
51056         * benchtests/sin-inputs: New file.
51057         * benchtests/slowsin-inputs: New file.
51058         * benchtests/slowsin.c: New file.
51060         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51061         (bench): Add slowexp and slowpow.
51062         (exp-ITER): Increase iterations.
51063         (pow-ITER): Likewise.
51064         * benchtests/exp-inputs: Change input.
51065         * benchtests/pow-inputs: Likewise.
51066         * benchtests/slowexp-inputs: New file.
51067         * benchtests/slowexp.c: New file.
51068         * benchtests/slowpow-inputs: New file.
51069         * benchtests/slowpow.c: New file.
51071 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51073         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51074         instructions.
51075         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51076         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51077         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51078         * benchtests/Makefile: Add rint benchtest.
51079         * benchtests/rint-inputs: Input for rint benchtest.
51081 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51083         * Versions.def (libm): Add GLIBC_2.18.
51084         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51085         hidden libm prototypes.
51086         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51087         * math/Makefile (libm-calls): Add s_issignaling.
51088         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51089         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51090         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51091         declaration.
51092         * math/math.h [__USE_GNU] (issignaling): New macro.
51093         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51094         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51095         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51096         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51097         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51098         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51099         * manual/arith.texi (issignaling): New section.
51100         * manual/libm-err-tab.pl (@all_functions): Update comment.
51101         * math/gen-libm-test.pl (parse_args): Apply special handling for
51102         issignaling.
51103         * math/libm-test.inc (print_float, issignaling_test): New
51104         functions.
51105         (check_float_internal): Add issignaling checks.
51106         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51107         default definition.
51108         * sysdeps/powerpc/math-tests.h: New file.
51109         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51110         tests.
51111         * math/test-snan.c (TEST_FUNC): Likewise.
51113 2013-03-30  David S. Miller  <davem@davemloft.net>
51115         * po/de.po: Update from translation team.
51117 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51119         [BZ #10357]
51120         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51121         imaginary part less than 1.0 and real part less than 0.5
51122         specially.
51123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51125         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51126         (cacos_test): Add more tests.
51127         (casin_test): Likewise.
51128         (casinh_test): Likewise.
51129         * sysdeps/i386/fpu/libm-test-ulps: Update.
51130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51132 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51134         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51135         ONE with its value.
51137         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51138         (__pow_mp): Replace ONE and MONE with their values.
51139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51140         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51141         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51142         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51143         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51144         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51146         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51148         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51149         (__pow_mp): Replace ZERO and MZERO with their values.
51150         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51154         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51155         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51156         (__sqr): Likewise.
51158         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51160         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51162 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51164         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51165         Declare with __attribute__ ((weak)).
51166         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51167         Call __call_tls_dtors only if it's not NULL.
51169 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51171         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51172         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51173         magic __ehdr_start linker symbol if it's defined.
51174         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51175         them up here if it was already done.
51177         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51178         (_dl_aux_init): Use const in cast when setting it.
51179         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51180         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51181         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51183         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51184         Declare them here.
51185         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51186         * csu/libc-tls.c: Nor here.
51187         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51189         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51190         (__libc_message): Never call vsyslog.
51192 2013-03-28  Alan Modra  <amodra@gmail.com>
51194         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51195         Define as empty.
51196         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51197         Likewise.
51199 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51201         [BZ #15214]
51202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51203         underflow.
51204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51206 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51208         [BZ #15304]
51209         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51210         Don't add gid passed as argument.
51212         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51214 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51216         [BZ #15307]
51217         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51218         imaginary part between 1.0 and 1.5 and real part less than 0.5
51219         specially.
51220         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51221         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51222         * math/libm-test.inc (cacos_test): Add more tests.
51223         (casin_test): Likewise.
51224         (casinh_test): Likewise.
51225         * sysdeps/i386/fpu/libm-test-ulps: Update.
51226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51228 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51230         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51231         constants.
51232         (norm): Likewise.
51233         (denorm): Likewise.
51234         (__dbl_mp): Likewise.
51235         (add_magnitudes): Likewise.
51236         (sub_magnitudes): Likewise.
51237         (__add): Likewise.
51238         (__sub): Likewise.
51239         (__mul): Likewise.
51240         (__sqr): Likewise.
51241         (__inv): Likewise.
51242         (__dvd): Likewise.
51244         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51245         commented code.
51246         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51247         (__dubcos): Likewise.
51248         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51249         (__ieee754_acos): Likewise.
51250         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51251         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51252         (__exp1): Likewise.
51253         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51255         (log1): Likewise.
51256         (my_log2): Likewise.
51257         (checkint): Likewise.
51258         * sysdeps/ieee754/dbl-64/e_remainder.c
51259         (__ieee754_remainder): Likewise.
51260         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51262         (bsloww): Likewise.
51263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51265         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51266         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51267         MANTISSA_STORE_T to store computations on mantissa.  Use
51268         macros for rounding and division.
51269         (denorm): Likewise.
51270         (__dbl_mp): Likewise.
51271         (add_magnitudes): Likewise.
51272         (sub_magnitudes): Likewise.
51273         (__mul): Likewise.
51274         (__sqr): Likewise.
51275         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51276         powers of two in terms of TWOPOW macro.
51277         (mp_no): Make type of mantissa as MANTISSA_T.
51278         [!RADIXI]: Define RADIXI.
51279         [!TWO52]: Define TWO52.
51280         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51282 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51284         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51285         llroundl symbol when building for PPC32.
51287 2013-03-24  Mark H Weaver  <mhw@netris.org>
51289         * manual/arith.texi (Normalization Functions): Fix prototypes for
51290         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51292 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51294         [BZ #13889]
51295         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51296         high value to check if expl overflow.
51297         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51298         to check for underflow and overflow.
51299         * math/libm-test.inc: Add exp test.
51301 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51303         [BZ #11120]
51304         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51305         with NOT_IN_libc.
51307 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51309         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51310         symbol.
51312 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51314         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51315         wrap blocks consisting of several statements.
51317         * sysdeps/generic/math-tests.h: New file.
51318         * sysdeps/i386/fpu/math-tests.h: Likewise.
51319         * math/test-snan.c: Include it.
51320         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51322 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51324         [BZ #15285]
51325         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51326         (__ieee754_j0l): Do not improve calculations using cos of twice
51327         input for inputs above LDBL_MAX / 2.0L.
51328         (__ieee754_y0l): Likewise.
51329         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51330         (__ieee754_j1l): Do not improve calculations using cos of twice
51331         input for inputs above LDBL_MAX / 2.0L.
51332         (__ieee754_y1l): Likewise.
51333         * math/libm-test.inc (j0_test): Add another test.
51334         (j1_test): Likewise.
51335         (y0_test): Likewise.
51336         (y1_test): Likewise.
51337         * sysdeps/i386/fpu/libm-test-ulps: Update.
51339 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51341         * Rules ($(objpfx)bench-%.c): Include code from a C source
51342         file.
51344 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51346         [BZ #15287]
51347         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51348         imaginary part 1.0 and real part less than 0.5 specially.
51349         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51350         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51351         * math/libm-test.inc (cacos_test): Add more tests.
51352         (casin_test): Likewise.
51353         (casinh_test): Likewise.
51354         * sysdeps/i386/fpu/libm-test-ulps: Update.
51355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51357 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51359         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51360         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51362 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51364         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51365         * config.make.in (config-cflags-sse4): Remove variable.
51366         (config-cflags-avx): Likewise.
51367         (config-cflags-sse2avx): Likewise.
51368         (config-cflags-novzeroupper): Likewise.
51369         (config-asflags-i686): Likewise.
51370         (have-mfma4): Likewise.
51371         (have-as-vis3): Likewise.
51372         (MIG): Likewise.
51373         * configure.in (MIG): Do not AC_SUBST.
51374         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51375         (libc_cv_cc_sse4): Do not AC_SUBST.
51376         (libc_cv_cc_avx): Likewise.
51377         (libc_cv_cc_sse2avx): Likewise.
51378         (libc_cv_cc_novzeroupper): Likewise.
51379         (libc_cv_cc_fma4): Likewise.
51380         (libc_cv_as_i686): Likewise.
51381         (libc_cv_sparc_as_vis3): Likewise.
51382         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51383         LIBC_CONFIG_VAR.
51384         (config-asflags-i686): Likewise.
51385         (config-cflags-avx): Likewise.
51386         (config-cflags-sse2avx): Likewise.
51387         (have-mfma4): Likewise.
51388         (config-cflags-novzeroupper): Likewise.
51389         * sysdeps/mach/configure.in (MIG): Likewise.
51390         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51391         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51392         LIBC_CONFIG_VAR.
51393         (config-cflags-avx): Likewise.
51394         (config-cflags-sse2avx): Likewise.
51395         (have-mfma4): Likewise.
51396         (config-cflags-novzeroupper): Likewise.
51397         * configure: Regenerated.
51398         * sysdeps/i386/configure: Likewise.
51399         * sysdeps/mach/configure: Likewise.
51400         * sysdeps/sparc/configure: Likewise.
51401         * sysdeps/x86_64/configure: Likewise.
51403 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51405         [BZ #14812]
51406         * locale/programs/localedef.c (options): Put N_ translation marker
51407         on argument names, not just descriptions.
51409 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51411         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51413 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51415         [BZ #14176]
51416         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51418 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51420         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51421         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51422         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51423         [!BEFORE_ABORT] (before_abort): New function.
51424         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51425         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51426         (writev_for_fatal): New function.
51427         (WRITEV_FOR_FATAL): New macro; call that.
51428         (backtrace_and_maps): New function.
51429         (BEFORE_ABORT): New macro; call that.
51430         (struct str_list): Type removed.
51431         (__libc_message, __libc_fatal): Functions removed.
51432         Include <sysdeps/posix/libc_fatal.c> instead.
51434 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51436         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51437         constants.
51438         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51439         double constants.
51441 2013-03-19  Andreas Schwab  <schwab@suse.de>
51443         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51444         * sysdeps/gnu/configure: Regenerate.
51446         * configure.in: Substitute libc_cv_rtlddir.
51447         * configure: Regenerate.
51448         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51449         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51450         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51451         * elf/Makefile (install-others, CFLAGS-interp.c)
51452         (ldso_install, common-ldd-rewrite): Likewise.
51453         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51454         $(inst_slibdir)/$(rtld-installed-name).
51455         * scripts/rellns-sh: Add -p option.
51456         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51457         for source.
51459 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51461         * manual/nptl.texi: Renamed to ...
51462         * manual/threads.texi: ... this.
51463         * manual/Makefile (chapters): Update.
51465 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51467         [BZ #14812]
51468         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51469         on argument names, not just descriptions.
51470         * malloc/memusagestat.c (options): Likewise.
51471         * nss/getent.c (options): Likewise.
51473 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51475         [BZ #14812]
51476         * iconv/iconv_prog.c (options): Put N_ translation marker
51477         on argument names, not just descriptions.
51478         * iconv/iconvconfig.c (options): Likewise.
51480 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51482         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51483         implementation which is faster on all x86_64 architectures.
51484         Tested on AMD, Intel Nehalem, SNB, IVB.
51485         * sysdeps/x86_64/strnlen.S: Likewise.
51487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51488         Remove all multiarch strlen and strnlen versions.
51489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51490         Remove strlen and strnlen related parts.
51492         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51493         Inline strlen part.
51494         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51496         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51497         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51498         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51499         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51500         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51501         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51503 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51505         * manual/memory.texi (Malloc Tunable Parameters):
51506         Sort parameters alphabetically. Add comments for missing entries.
51508 2013-03-17  David S. Miller  <davem@davemloft.net>
51510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51512 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51514         [BZ #15283]
51515         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51516         for arguments at most half maximum finite value.
51517         * math/libm-test.inc (j0_test): Add more tests.
51518         (j1_test): Likewise.
51519         (y0_test): Likewise.
51520         (y1_test): Likewise.
51521         * sysdeps/i386/fpu/libm-test-ulps: Update.
51522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51524         [BZ #14155]
51525         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51526         1 / x and functions P and Q for arguments above 0x1p256L.
51527         (__ieee754_y0l): Likewise.
51528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51529         (__ieee754_y1l): Likewise.
51530         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51531         (j1_test): Likewise.
51532         (y0_test): Likewise.
51533         (y1_test): Likewise.
51535 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51537         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51538         variable.
51540 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51542         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51543         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51544         zero since it's initialized to EXEC_PAGESIZE.
51546         * sysdeps/unix/sysv/linux/ldsodefs.h
51547         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51548         * sysdeps/generic/ldsodefs.h: ... here.
51550 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51552         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51554         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51555         math/test-snan.c.
51556         * math/test-snan.c: Renamed from
51557         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51558         * math/Makefile (tests): Add test-snan.
51559         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51560         test-powerpc-snan.
51562         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51563         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51564         functions.
51565         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51566         __builtin_nan family of functions.
51567         * math/libm-test.inc (initialize): Initialize qnan_value with
51568         __builtin_nan family of functions.
51569         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51570         Remove variables.
51571         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51572         Remove functions.
51573         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51574         storage class.  Initialize qNaN_var and sNaN_var with
51575         __builtin_nan and __builtin_nans families of functions,
51576         respectively.
51578         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51579         (sqrt_test): Remove duplicate test with qNaN input.
51580         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51581         (round_test, signbit_test, significand_test): Note missing +/-Inf
51582         as well as qNaN tests.
51584         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51585         qNaN_var.  Fix a few strings, too.
51586         * math/libm-test.inc (nan_value): Rename to qnan_value.
51587         * math/gen-libm-test.pl (%beautify): Adjust to that.
51588         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51589         * math/test-misc.c (main): Likewise.
51590         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51591         to __qnan_bytes, and __qnan_union, respectively.
51592         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51593         Likewise.
51594         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51595         and lqnanval, respectively.
51596         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51597         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51598         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51599         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51601         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51602         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51603         doubles.
51605         * math/test-misc.c (main): Fix copy'n'pastos.
51606         * misc/tst-efgcvt.c (special): Likewise.
51608         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51609         Remove declarations.
51611 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51613         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51614         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51615         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51616         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51618 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51621         macro to return vdso values correctly in IFUNC implementations.
51622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51623         Optimization by using IFUNC.
51625 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51626             Richard Henderson  <rth@redhat.com>
51627             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51629         * Makefile.in (bench): New target.
51630         * NEWS: Mention the benchmark framework.
51631         * Rules (bench): Likewise.
51632         (binaries-bench): Generate binaries for functions to
51633         benchmark.
51634         * benchtests/Makefile: New makefile for benchmark tests.
51635         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51636         programs.
51637         * benchtests/exp-inputs: New input file for EXP function.
51638         * benchtests/pow-inputs: New input file for POW function.
51639         * scripts/bench.pl: New script to generate source files for
51640         benchmark programs.
51642 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51644         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51645         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51646         computations on mantissa.  Use macros for rounding and
51647         division.
51648         (denorm): Likewise.
51649         (__dbl_mp): Likewise.
51650         (add_magnitudes): Likewise.
51651         (sub_magnitudes): Likewise.
51652         (__mul): Likewise.
51653         (__sqr): Likewise.
51654         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51655         powers of two in terms of TWOPOW macro.
51656         (mp_no): Make type of mantissa as MANTISSA_T.
51657         [!RADIXI]: Define RADIXI.
51658         [!TWO52]: Define TWO52.
51659         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51661         * manual/nptl.texi (cindex): Modify threads to pthreads.
51663 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51665         * sysdeps/x86_64/preconfigure: Regenerated.
51667 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51669         [BZ #14155]
51670         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51671         0x1p28 and above.
51672         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51673         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51674         0x1p28 and above.
51675         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51676         * math/libm-test.inc (j0_test): Do not allow one spurious
51677         underflow exception.
51678         (y1_test): Likewise.
51680 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51682         * manual/Makefile (chapters): Add nptl.
51683         * manual/debug.texi (Debugging Support): Add link to Threads
51684         chapter.
51685         * manual/nptl.texi: New file.
51687         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51689 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51691         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51692         for non-NULL pointer before the memory validity test. Pointed
51693         out by Holger Brunck <holger.brunck@keymile.com>.
51695 2013-03-13  Andreas Schwab  <schwab@suse.de>
51697         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51698         instead of .os.
51700 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51702         * timezone/zic.c: Update from tzcode 2013b.
51704 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51706         * manual/install.texi (Configuring and compiling):
51707         Mention i686 and i586.
51708         * INSTALL: Regenerate.
51710 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51712         * sysdeps/init_array/elf-init.c: New file.
51713         * csu/elf-init.c
51714         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51715         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51717         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51718         __gmon_start__ as global, but as static with a .preinit_array pointer.
51719         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51720         * sysdeps/init_array/crti.S: New file, empty except for comments.
51721         * sysdeps/init_array/crtn.S: Likewise.
51723 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51725         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51726         definining bcopy.
51727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51728         Remove Prefer_SSE_for_memop.
51729         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51730         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51731         HAS_PREFER_SSE_FOR_MEMOP.
51732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51733         memset-x86-64.
51734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51735         Remove bzero, memset ifunc support.
51736         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51737         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51741 2013-03-11  Andreas Schwab  <schwab@suse.de>
51743         [BZ #15234]
51744         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51745         by SHLIB_COMPAT.
51746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51747         (GLIBC_2.16): Remove pthread_atfork.
51749 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51751         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51752         (ptestcases.h): Likewise.
51754 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51756         * Makeconfig ($(common-objpfx)config.status): Depend on
51757         sysdeps/*/preconfigure{,.in} too.
51759 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51761         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51762         (__free_hook): Use void * instead of __malloc_ptr_t.
51763         (__malloc_hook): Likewise.
51764         (__realloc_hook): Likewise.
51765         (__memalign_hook): Likewise.
51766         (__after_morecore_hook): Likewise.
51767         * malloc/arena.c (save_malloc_hook): Likewise.
51768         (save_free_hook): Likewise.
51769         * malloc/hooks.c (malloc_hook_ini): Likewise.
51770         (realloc_hook_ini): Likewise.
51771         (memalign_hook_ini): Likewise.
51772         * malloc/malloc.c (malloc_hook_ini): Likewise.
51773         (realloc_hook_ini): Likewise.
51774         (memalign_hook_ini): Likewise.
51775         (__free_hook): Likewise.
51776         (__malloc_hook): Likewise.
51777         (__realloc_hook): Likewise.
51778         (__memalign_hook): Likewise.
51779         (__libc_malloc): Likewise.
51780         (__libc_free): Likewise.
51781         (__libc_realloc): Likewise.
51782         (__libc_memalign): Likewise.
51783         (__libc_valloc): Likewise.
51784         (__libc_pvalloc): Likewise.
51785         (__libc_calloc): Likewise.
51786         (__posix_memalign): Likewise.
51787         * malloc/morecore.c (__sbrk): Likewise.
51788         (__default_morecore): Likewise.
51790         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51792         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51793         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51794         __malloc_ptrdiff_t.
51796         * malloc/malloc.h (__malloc_size_t): Remove macro.
51797         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51798         __malloc_size_t.
51799         (old_memalign_hook): Likewise.
51800         (old_realloc_hook): Likewise.
51801         (struct hdr): Likewise.
51802         (flood): Likewise.
51803         (mallochook): Likewise.
51804         (memalignhook): Likewise.
51805         (reallochook): Likewise.
51806         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51807         (tr_old_realloc_hook): Likewise.
51808         (tr_old_memalign_hook): Likewise.
51809         (tr_mallochook): Likewise.
51810         (tr_reallochook): Likewise.
51811         (tr_memalignhook): Likewise.
51813 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51816         default_ldbl_pack and using as default implementation.
51817         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51818         implementation.
51819         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51820         redundant definition.
51821         (ldbl_insert_mantissa): Likewise.
51822         (ldbl_canonicalize): Likewise.
51823         (ldbl_nearbyint): Likewise.
51824         (ldbl_pack): Rename to ldbl_pack_ppc.
51825         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51826         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51827         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51829 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51832         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51833         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51834         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51836         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51837         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51838         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51840 2013-03-07  Andreas Jaeger  <aj@suse.de>
51842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51843         bits/mman-linux.h.
51845 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51847         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51848         Include mpa.h and declare __MPEXP.
51849         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51850         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51851         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51852         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51853         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51854         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51855         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51857         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51858         (__slowpow): Use long double EXPL and LOGL functions to
51859         compute POW.
51860         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51861         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51862         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51863         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51864         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51865         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51868         intermediate variable to calculate exponent.
51869         (__sqr): Likewise.
51870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51871         Likewise.
51872         (__sqr): Likewise.
51874         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51875         [!NO__SQR]: Define __sqr.
51876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51877         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51878         sysdeps/ieee754/dbl-64/mpa.c.
51879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51881         [BZ #12723]
51882         * posix/Makefile (tests): Add tst-pathconf.
51883         * posix/tst-pathconf.c: New test case.
51884         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51885         _PC_PIPE_BUF.
51886         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51888 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51890         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51892 2013-03-06  Andreas Jaeger  <aj@suse.de>
51894         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51895         definition via __MAP_ANONYMOUS.
51897         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51898         it's not part of Linux headers.
51900         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51901         (MAP_HUGE_MASK): Define.
51903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51904         Define.
51905         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51907         Define.
51908         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51909         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51910         Define.
51911         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51912         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51913         Define.
51914         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51916         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51917         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51918         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51919         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51920         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51921         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51924         Handle f2fs.
51926         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51927         Handle f2fs and efivarfs.
51929         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51930         f2fs.
51932         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51933         (EFIVARFS_MAGIC): Add.
51934         (F2FS_LINK_MAX): Add.
51936 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51938         * stdio-common/vfprintf.c: Replace __builtin_expect with
51939         __glibc_unlikely.
51941 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51943         [BZ #13550]
51944         * sysdeps/generic/bp-sym.h: Remove file.
51945         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51946         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51947         <bp-sym.h> and <bp-asm.h>.
51948         (__longjmp): Don't use BP_SYM.
51949         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51950         and <bp-asm.h>.
51951         (memcpy): Don't use BP_SYM.
51952         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51953         <bp-sym.h> and <bp-asm.h>.
51954         (memcpy): Don't use BP_SYM.
51955         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51956         <bp-asm.h>.
51957         (memcpy): Don't use BP_SYM.
51958         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51959         <bp-asm.h>.
51960         (memset): Don't use BP_SYM.
51961         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51962         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51963         (__bzero): Don't use BP_SYM.
51964         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51965         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51966         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51967         <bp-sym.h> and <bp-asm.h>.
51968         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51969         pointers.
51970         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51971         <bp-sym.h> and <bp-asm.h>.
51972         (memcpy): Don't use BP_SYM.
51973         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51974         <bp-sym.h> and <bp-asm.h>.
51975         (memset): Don't use BP_SYM.
51976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51978         (__bzero): Don't use BP_SYM.
51979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51981         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51982         <bp-sym.h> and <bp-asm.h>.
51983         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51984         pointers.
51985         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51986         <bp-sym.h> and <bp-asm.h>.
51987         (memcpy): Don't use BP_SYM.
51988         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51989         <bp-sym.h> and <bp-asm.h>.
51990         (memset): Don't use BP_SYM.
51991         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51992         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51993         (__bzero): Don't use BP_SYM.
51994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51996         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51997         <bp-sym.h> and <bp-asm.h>.
51998         (__memchr): Don't use BP_SYM.
51999         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52000         <bp-sym.h> and <bp-asm.h>.
52001         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52002         pointers.
52003         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52004         <bp-sym.h> and <bp-asm.h>.
52005         (memcpy): Don't use BP_SYM.
52006         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52007         <bp-sym.h> and <bp-asm.h>.
52008         (__mempcpy): Don't use BP_SYM.
52009         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52010         <bp-sym.h> and <bp-asm.h>.
52011         (__memrchr): Don't use BP_SYM.
52012         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52013         <bp-sym.h> and <bp-asm.h>.
52014         (memset): Don't use BP_SYM.
52015         (__bzero): Likewise.
52016         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52017         <bp-sym.h> and <bp-asm.h>.
52018         (__rawmemchr): Don't use BP_SYM.
52019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52020         <bp-sym.h> and <bp-asm.h>.
52021         (__STRCMP): Don't use BP_SYM.
52022         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52023         <bp-sym.h> and <bp-asm.h>.
52024         (strchr): Don't use BP_SYM.
52025         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52026         <bp-sym.h> and <bp-asm.h>.
52027         (__strchrnul): Don't use BP_SYM.
52028         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52029         <bp-sym.h> and <bp-asm.h>.
52030         (strlen): Don't use BP_SYM.
52031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52032         <bp-sym.h> and <bp-asm.h>.
52033         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52034         pointers.
52035         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52036         <bp-sym.h> and <bp-asm.h>.
52037         (__strnlen): Don't use BP_SYM.
52038         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52039         <bp-sym.h> and <bp-asm.h>.
52040         (__GI__setjmp): Don't use BP_SYM.
52041         (_setjmp): Likewise.
52042         (__sigsetjmp): Likewise.
52043         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52044         (L(start_addresses)): Don't use BP_SYM.
52045         (_start): Likewise.
52046         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52047         <bp-asm.h>.
52048         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52049         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52050         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52051         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52052         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52053         <bp-asm.h>.
52054         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52055         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52056         about bounded pointers.
52057         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52058         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52059         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52060         <bp-asm.h>.
52061         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52062         about bounded pointers.  Remove GKM FIXME comments.
52063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52064         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52065         <bp-asm.h>.
52066         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52067         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52068         Remove GKM FIXME comments.
52069         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52070         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52071         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52072         <bp-asm.h>.
52073         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52074         about bounded pointers.  Remove GKM FIXME comment.
52075         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52076         and <bp-asm.h>.
52077         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52078         pointers.
52079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52080         <bp-sym.h> and <bp-asm.h>.
52081         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52083         <bp-sym.h> and <bp-asm.h>.
52084         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52085         comment.
52087 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52089         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52090         call free(NULL).
52092 2013-03-05  David S. Miller  <davem@davemloft.net>
52094         * po/es.po: Update from translation team.
52096 2013-03-05  Andreas Jaeger  <aj@suse.de>
52098         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52099         <bits/mman-linux.h>.
52100         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52101         is fine.
52102         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52103         <bits/mman-linux.h> to end of file.
52104         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52105         is fine.
52106         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52107         <bits/mman-linux.h> to end of file.
52108         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52109         is fine.
52110         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52111         <bits/mman-linux.h> to end of file.
52113         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52114         (MCL_CURRENT, MCL_FUTURE): Define here.
52116 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52118         [BZ #15232]
52119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52120         attribute_hidden.
52121         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52123 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52125         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52126         fourth parameter needed for rt_sigprocmask syscall.
52127         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52128         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52129         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52130         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52131         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52132         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52134 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52136         [BZ #13550]
52137         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52138         comment about bounded pointers.
52139         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52140         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52142 2013-03-04  Andreas Jaeger  <aj@suse.de>
52144         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52145         common definitions.
52147         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52148         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52149         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52150         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52151         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52152         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52154 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52156         [BZ #15055]
52157         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52158         __ieee754_sqrl instead of __sqrl.
52160 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52162         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52163         * sysdeps/powerpc/fpu_control.h: ... here.
52164         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52165         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52166         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52167         * sysdeps/powerpc/bits/mathinline.h: ... here.
52169 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52171         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52172         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52173         to just [NEED_DL_SYSINFO_DSO].
52174         * elf/dl-support.c: Likewise.
52175         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52176         * elf/rtld.c (dl_main): Likewise.
52177         * elf/setup-vdso.h (setup_vdso): Likewise.
52178         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52179         * sysdeps/unix/sysv/linux/dl-sysdep.c
52180         (_dl_discover_osversion): Likewise.
52182 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52184         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52185         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52187 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52189         * NEWS: Mention libm performance improvements and non-x86 PI
52190         futex support.
52192         * csu/libc-start.c (__pthread_initialize_minimal): Change
52193         function arguments.
52194         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52196 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52198         [BZ #13550]
52199         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52200         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52201         <bp-sym.h> and <bp-asm.h>.
52202         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52203         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52204         and <bp-asm.h>.
52205         (memcpy): Don't use BP_SYM.
52206         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52207         <bp-asm.h>.
52208         (__mpn_add_n): Don't use BP_SYM.
52209         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52210         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52211         and <bp-asm.h>.
52212         (__mpn_addmul_1): Don't use BP_SYM.
52213         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52214         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52215         <bp-sym.h>.
52216         (_setjmp): Don't use BP_SYM.
52217         (__novmx_setjmp): Likewise.
52218         (__GI__setjmp): Likewise.
52219         (__vmx_setjmp): Likewise.
52220         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52221         <bp-sym.h>.
52222         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52223         (__bzero): Don't use BP_SYM.
52224         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52225         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52226         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52227         <bp-sym.h> and <bp-asm.h>.
52228         (memcpy): Don't use BP_SYM.
52229         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52230         <bp-sym.h> and <bp-asm.h>.
52231         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52232         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52233         <bp-sym.h> and <bp-asm.h>.
52234         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52235         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52236         <bp-asm.h>.
52237         (__mpn_lshift): Don't use BP_SYM.
52238         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52239         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52240         <bp-asm.h>.
52241         (memset): Don't use BP_SYM.
52242         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52243         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52244         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52245         <bp-asm.h>.
52246         (__mpn_mul_1): Don't use BP_SYM.
52247         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52248         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52249         <bp-sym.h> and <bp-asm.h>.
52250         (memcmp): Don't use BP_SYM.
52251         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52252         <bp-sym.h> and <bp-asm.h>.
52253         (memcpy): Don't use BP_SYM.
52254         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52255         <bp-sym.h> and <bp-asm.h>.
52256         (memset): Don't use BP_SYM.
52257         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52258         <bp-sym.h> and <bp-asm.h>.
52259         (strncmp): Don't use BP_SYM.
52260         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52261         <bp-sym.h> and <bp-asm.h>.
52262         (memcpy): Don't use BP_SYM.
52263         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52264         <bp-sym.h> and <bp-asm.h>.
52265         (memset): Don't use BP_SYM.
52266         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52267         <bp-sym.h> and <bp-asm.h>.
52268         (__memchr): Don't use BP_SYM.
52269         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52270         <bp-sym.h> and <bp-asm.h>.
52271         (memcmp): Don't use BP_SYM.
52272         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52273         <bp-sym.h> and <bp-asm.h>.
52274         (memcpy): Don't use BP_SYM.
52275         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52276         <bp-sym.h> and <bp-asm.h>.
52277         (__mempcpy): Don't use BP_SYM.
52278         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52279         <bp-sym.h> and <bp-asm.h>.
52280         (__memrchr): Don't use BP_SYM.
52281         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52282         <bp-sym.h> and <bp-asm.h>.
52283         (memset): Don't use BP_SYM.
52284         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52285         <bp-sym.h> and <bp-asm.h>.
52286         (__rawmemchr): Don't use BP_SYM.
52287         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52288         <bp-sym.h> and <bp-asm.h>.
52289         (__STRCMP): Don't use BP_SYM.
52290         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52291         <bp-sym.h> and <bp-asm.h>.
52292         (strchr): Don't use BP_SYM.
52293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52294         <bp-sym.h> and <bp-asm.h>.
52295         (__strchrnul): Don't use BP_SYM.
52296         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52297         <bp-sym.h> and <bp-asm.h>.
52298         (strlen): Don't use BP_SYM.
52299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52300         <bp-sym.h> and <bp-asm.h>.
52301         (strncmp): Don't use BP_SYM.
52302         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52303         <bp-sym.h> and <bp-asm.h>.
52304         (__strnlen): Don't use BP_SYM.
52305         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52306         <bp-asm.h>.
52307         (__mpn_rshift): Don't use BP_SYM.
52308         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52309         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52310         <bp-sym.h> and <bp-asm.h>.
52311         (__sigsetjmp): Don't use BP_SYM.
52312         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52313         (L(start_addresses)): Don't use BP_SYM.
52314         (_start): Likewise.
52315         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52316         <bp-asm.h>.
52317         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52318         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52319         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52320         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52321         <bp-asm.h>.
52322         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52323         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52324         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52325         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52326         <bp-asm.h>.
52327         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52328         comments.
52329         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52330         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52331         <bp-asm.h>.
52332         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52333         FIXME comments.
52334         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52335         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52336         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52337         <bp-asm.h>.
52338         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52339         comment.
52340         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52341         and <bp-asm.h>.
52342         (strncmp): Don't use BP_SYM,
52343         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52344         <bp-asm.h>.
52345         (__mpn_sub_n): Don't use BP_SYM.
52346         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52347         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52348         and <bp-asm.h>.
52349         (__mpn_submul_1): Don't use BP_SYM.
52350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52352         <bp-sym.h> and <bp-asm.h>.
52353         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52355         <bp-sym.h> and <bp-asm.h>.
52356         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52357         comment.
52359 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52362         Use ZK to minimize writes to Z.
52363         (sub_magnitudes): Simplify code a bit.
52364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52365         Use ZK to minimize writes to Z.
52366         (sub_magnitudes): Simplify code a bit.
52368 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52370         * csu/gmon-start.c: Add special exception to license text.
52372 2013-02-27  Richard Henderson  <rth@redhat.com>
52374         * scripts/config.guess: Update from config.git.
52375         * scripts/config.sub: Likewise.
52377 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52379         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52381         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52383         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52385         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52387         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52389 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52391         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52392         [$(build-shared = yes].
52394 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52396         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52397         (__mul): Reduce iterations for calculating mantissa.
52399         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52400         MPTWO.
52401         (__mpranred): Likewise.
52403         [BZ #15160]
52404         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52405         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52407 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52409         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52410         Define __attribute__.
52412 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52414         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52415         unused.
52416         * posix/regex_internal.h (__attribute): Remove.
52417         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52418         (re_string_context_at): Likewise.
52419         (bitset_not): Use __attribute__ and mark function as possibly
52420         unused.
52421         (bitset_merge): Likewise.
52422         (bitset_mask): Likewise.
52423         (re_string_char_size_at): Likewise.
52424         (re_string_wchar_at): Likewise.
52425         (re_string_elem_size_at): Likewise.
52427 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52429         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52430         code.
52431         (cc32): Likewise.
52433         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52434         (__acr): Likewise.
52435         (__cpy): Likewise.
52436         (norm): Likewise.
52437         (denorm): Likewise.
52438         (__dbl_mp): Likewise.
52439         (add_magnitudes): Likewise.
52440         (sub_magnitudes): Likewise.
52441         (__mul): Likewise.
52442         (__inv): Likewise.
52444         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52445         style.
52447         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52448         style.
52450         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52451         code.
52453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52454         up changes with default code.
52455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52456         Likewise.
52458 2013-02-24  Allan McRae  <allan@archlinux.org>
52460         * manual/socket.texi (The Internet Namespace): Order menu items
52461         to match that in the file.
52463         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52464         node listing of the info page menu.
52466 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52468         [BZ #13550]
52469         * sysdeps/i386/bp-asm.h: Remove file.
52470         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52471         (PARMS): Do not use macros from bp-asm.h.
52472         (S1): Likewise.
52473         (S2): Likewise.
52474         (SIZE): Likewise.
52475         (__mpn_add_n): Do not use BP_SYM
52476         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52477         "bp-asm.h".
52478         (PARMS): Do not use macros from bp-asm.h.
52479         (S1): Likewise.
52480         (SIZE): Likewise.
52481         (__mpn_addmul_1): Do not use BP_SYM
52482         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52483         "bp-asm.h".
52484         (PARMS): Do not use macros from bp-asm.h.
52485         (SIGMSK): Likewise.
52486         (_setjmp): Likewise.  Do not use BP_SYM.
52487         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52488         "bp-asm.h".
52489         (PARMS): Do not use macros from bp-asm.h.
52490         (SIGMSK): Likewise.
52491         (setjmp): Likewise.  Do not use BP_SYM.
52492         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52493         "bp-asm.h".
52494         (PARMS): Do not use macros from bp-asm.h.
52495         (__frexp): Do not use BP_SYM.
52496         (frexp): Likewise.
52497         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52498         "bp-asm.h".
52499         (PARMS): Do not use macros from bp-asm.h.
52500         (__frexpf): Do not use BP_SYM.
52501         (frexpf): Likewise.
52502         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52503         "bp-asm.h".
52504         (PARMS): Do not use macros from bp-asm.h.
52505         (__frexpl): Do not use BP_SYM.
52506         (frexpl): Likewise.
52507         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52508         "bp-asm.h".
52509         (PARMS): Do not use macros from bp-asm.h.
52510         (__remquo): Do not use BP_SYM.
52511         (remquo): Likewise.
52512         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52513         "bp-asm.h".
52514         (PARMS): Do not use macros from bp-asm.h.
52515         (__remquof): Do not use BP_SYM.
52516         (remquof): Likewise.
52517         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52518         "bp-asm.h".
52519         (PARMS): Do not use macros from bp-asm.h.
52520         (__remquol): Do not use BP_SYM.
52521         (remquol): Likewise.
52522         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52523         "bp-asm.h".
52524         (PARMS): Do not use macros from bp-asm.h.
52525         (DEST): Likewise.
52526         (SRC): Likewise.
52527         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52528         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52529         "bp-asm.h".
52530         (PARMS): Do not use macros from bp-asm.h.
52531         (strlen): Do not use BP_SYM.
52532         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52533         "bp-asm.h".
52534         (PARMS): Do not use macros from bp-asm.h.
52535         (S1): Likewise.
52536         (S2): Likewise.
52537         (SIZE): Likewise.
52538         (__mpn_add_n): Do not use BP_SYM.
52539         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52540         "bp-asm.h".
52541         (PARMS): Do not use macros from bp-asm.h.
52542         (S1): Likewise.
52543         (SIZE): Likewise.
52544         (__mpn_addmul_1): Do not use BP_SYM.
52545         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52546         weak_alias.
52547         (bzero): Likewise.
52548         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52549         "bp-asm.h".
52550         (PARMS): Do not use macros from bp-asm.h.
52551         (S): Likewise.
52552         (SIZE): Likewise.
52553         (__mpn_lshift): Do not use BP_SYM.
52554         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52555         "bp-asm.h".
52556         (PARMS): Do not use macros from bp-asm.h.
52557         (DEST): Likewise.
52558         (SRC): Likewise.
52559         (LEN): Likewise.
52560         (memcpy): Likewise.  Do not use BP_SYM.
52561         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52562         libc_hidden_def and weak_alias.
52563         (mempcpy): Do not use BP_SYM in weak_alias.
52564         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52565         "bp-asm.h".
52566         (PARMS): Do not use macros from bp-asm.h.
52567         (DEST): Likewise.
52568         (LEN): Likewise.
52569         [!BZERO_P] (CHR): Likewise.
52570         (memset): Likewise.  Do not use BP_SYM.
52571         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52572         "bp-asm.h".
52573         (PARMS): Do not use macros from bp-asm.h.
52574         (S1): Likewise.
52575         (SIZE): Likewise.
52576         (__mpn_mul_1): Do not use BP_SYM.
52577         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52578         "bp-asm.h".
52579         (PARMS): Do not use macros from bp-asm.h.
52580         (S): Likewise.
52581         (SIZE): Likewise.
52582         (__mpn_rshift): Do not use BP_SYM.
52583         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52584         "bp-asm.h".
52585         (PARMS): Do not use macros from bp-asm.h.
52586         (STR): Likewise.
52587         (CHR): Likewise.
52588         (strchr): Likewise.  Do not use BP_SYM.
52589         (index): Do not use BP_SYM in weak_alias.
52590         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52591         "bp-asm.h".
52592         (PARMS): Do not use macros from bp-asm.h.
52593         (DEST): Likewise.
52594         (SRC): Likewise.
52595         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52596         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52597         "bp-asm.h".
52598         (PARMS): Do not use macros from bp-asm.h.
52599         (strlen): Do not use BP_SYM.
52600         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52601         "bp-asm.h".
52602         (PARMS): Do not use macros from bp-asm.h.
52603         (S1): Likewise.
52604         (S2): Likewise.
52605         (SIZE): Likewise.
52606         (__mpn_sub_n): Do not use BP_SYM.
52607         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52608         "bp-asm.h".
52609         (PARMS): Do not use macros from bp-asm.h.
52610         (S1): Likewise.
52611         (SIZE): Likewise.
52612         (__mpn_submul_1): Do not use BP_SYM.
52613         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52614         "bp-asm.h".
52615         (PARMS): Do not use macros from bp-asm.h.
52616         (S1): Likewise.
52617         (S2): Likewise.
52618         (SIZE): Likewise.
52619         (__mpn_add_n): Do not use BP_SYM.
52620         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52621         weak_alias.
52622         (bzero): Likewise.
52623         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52624         "bp-asm.h".
52625         (PARMS): Do not use macros from bp-asm.h.
52626         (BLK2): Likewise.
52627         (LEN): Likewise.
52628         (memcmp): Do not use BP_SYM.
52629         (bcmp): Do not use BP_SYM in weak_alias.
52630         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52631         "bp-asm.h".
52632         (PARMS): Do not use macros from bp-asm.h.
52633         (DEST): Likewise.
52634         (SRC): Likewise.
52635         (LEN): Likewise.
52636         (memcpy): Likewise.  Do not use BP_SYM.
52637         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52638         "bp-asm.h".
52639         (PARMS): Do not use macros from bp-asm.h.
52640         (DEST): Likewise.
52641         (SRC): Likewise.
52642         (LEN): Likewise.
52643         (memmove): Likewise.  Do not use BP_SYM.
52644         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52645         "bp-asm.h".
52646         (PARMS): Do not use macros from bp-asm.h.
52647         (DEST): Likewise.
52648         (SRC): Likewise.
52649         (LEN): Likewise.
52650         (__mempcpy): Likewise.  Do not use BP_SYM.
52651         (mempcpy): Do not use BP_SYM in weak_alias.
52652         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52653         "bp-asm.h".
52654         (PARMS): Do not use macros from bp-asm.h.
52655         (DEST): Likewise.
52656         (LEN): Likewise.
52657         [!BZERO_P] (CHR): Likewise.
52658         (memset): Likewise.  Do not use BP_SYM.
52659         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52660         "bp-asm.h".
52661         (PARMS): Do not use macros from bp-asm.h.
52662         (STR2): Likewise.
52663         (strcmp): Do not use BP_SYM.
52664         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52665         "bp-asm.h".
52666         (PARMS): Do not use macros from bp-asm.h.
52667         (STR): Likewise.
52668         (DELIM): Likewise.
52669         [USE_AS_STRTOK_R] (SAVE): Likewise.
52670         (FUNCTION): Likewise.  Do not use BP_SYM.
52671         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52672         aliases.
52673         (strtok_r): Likewise.
52674         (__GI___strtok_r): Likewise.
52675         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52676         (PARMS): Do not use macros from bp-asm.h.
52677         (S): Likewise.
52678         (SIZE): Likewise.
52679         (__mpn_lshift): Do not use BP_SYM.
52680         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52681         (PARMS): Do not use macros from bp-asm.h.
52682         (STR): Likewise.
52683         (CHR): Likewise.
52684         (__memchr): Do not use BP_SYM.
52685         (memchr): Do not use BP_SYM in weak_alias.
52686         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52687         (PARMS): Do not use macros from bp-asm.h.
52688         (BLK2): Likewise.
52689         (LEN): Likewise.
52690         (memcmp): Do not use BP_SYM.
52691         (bcmp): Do not use BP_SYM in weak_alias.
52692         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52693         (PARMS): Do not use macros from bp-asm.h.
52694         (S1): Likewise.
52695         (SIZE): Likewise.
52696         (__mpn_mul_1): Do not use BP_SYM.
52697         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52698         "bp-asm.h".
52699         (PARMS): Do not use macros from bp-asm.h.
52700         (STR): Likewise.
52701         (CHR): Likewise.
52702         (__rawmemchr): Do not use BP_SYM.
52703         (rawmemchr): Do not use BP_SYM in weak_alias.
52704         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52705         (PARMS): Do not use macros from bp-asm.h.
52706         (S): Likewise.
52707         (SIZE): Likewise.
52708         (__mpn_rshift): Do not use BP_SYM.
52709         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52710         (PARMS): Do not use macros from bp-asm.h.
52711         (SIGMSK): Likewise.
52712         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52713         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52714         (_start): Do not use BP_SYM.
52715         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52716         (PARMS): Do not use macros from bp-asm.h.
52717         (DEST): Likewise.
52718         (SRC): Likewise.
52719         (__stpcpy): Likewise.  Do not use BP_SYM.
52720         (stpcpy): Do not use BP_SYM in weak_alias.
52721         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52722         "bp-asm.h".
52723         (PARMS): Do not use macros from bp-asm.h.
52724         (DEST): Likewise.
52725         (SRC): Likewise.
52726         (LEN): Likewise.
52727         (__stpncpy): Likewise.  Do not use BP_SYM.
52728         (stpncpy): Do not use BP_SYM in weak_alias.
52729         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52730         (PARMS): Do not use macros from bp-asm.h.
52731         (STR): Likewise.
52732         (CHR): Likewise.
52733         (strchr): Likewise.  Do not use BP_SYM.
52734         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52735         "bp-asm.h".
52736         (PARMS): Do not use macros from bp-asm.h.
52737         (STR): Likewise.
52738         (CHR): Likewise.
52739         (__strchrnul): Likewise.  Do not use BP_SYM.
52740         (strchrnul): Do not use BP_SYM in weak_alias.
52741         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52742         "bp-asm.h".
52743         (PARMS): Do not use macros from bp-asm.h.
52744         (STOP): Likewise.
52745         (strcspn): Do not use BP_SYM.
52746         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52747         "bp-asm.h".
52748         (PARMS): Do not use macros from bp-asm.h.
52749         (STR): Likewise.
52750         (STOP): Likewise.
52751         (strpbrk): Likewise.  Do not use BP_SYM.
52752         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52753         "bp-asm.h".
52754         (PARMS): Do not use macros from bp-asm.h.
52755         (STR): Likewise.
52756         (CHR): Likewise.
52757         (strrchr): Likewise.  Do not use BP_SYM.
52758         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52759         (PARMS): Do not use macros from bp-asm.h.
52760         (SKIP): Likewise.
52761         (strspn): Do not use BP_SYM.
52762         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52763         (PARMS): Do not use macros from bp-asm.h.
52764         (STR): Likewise.
52765         (DELIM): Likewise.
52766         (SAVE): Likewise.
52767         (FUNCTION): Likewise.  Do not use BP_SYM.
52768         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52769         aliases.
52770         (strtok_r): Likewise.
52771         (__GI___strtok_r): Likewise.
52772         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52773         (PARMS): Do not use macros from bp-asm.h.
52774         (S1): Likewise.
52775         (S2): Likewise.
52776         (SIZE): Likewise.
52777         (__mpn_sub_n): Do not use BP_SYM.
52778         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52779         "bp-asm.h".
52780         (PARMS): Do not use macros from bp-asm.h.
52781         (S1): Likewise.
52782         (SIZE): Likewise.
52783         (__mpn_submul_1): Do not use BP_SYM.
52784         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52785         <bp-sym.h>.
52786         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52787         and <bp-asm.h>.
52788         (PARMS): Do not use macros from bp-asm.h.
52789         (FLAGS): Likewise.
52790         (PTID): Likewise.
52791         (TLS): Likewise.
52792         (CTID): Likewise.
52793         (__clone): Do not use BP_SYM.
52794         (clone): Do not use BP_SYM in weak_alias.
52795         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52796         and <bp-asm.h>.
52797         (PARMS): Do not use macros from bp-asm.h.
52798         (LEN): Likewise.
52799         (__mmap64): Do not use BP_SYM.
52800         (mmap64): Do not use BP_SYM in weak_alias.
52801         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52802         <bp-sym.h> and <bp-asm.h>.
52803         (PARMS): Do not use macros from bp-asm.h.
52804         (__posix_fadvise64_l64): Do not use BP_SYM.
52805         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52806         (PARMS): Do not use macros from bp-asm.h.
52807         (NSOPS): Likewise.
52808         (semtimedop): Do not use BP_SYM.
52809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52810         and <bp-asm.h>.
52812 2013-02-21  Allan McRae  <allan@archlinux.org>
52814         * manual/message.texi (Charset conversion in gettext):
52815         Move @end statement to beginning of line.
52817 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52820         static.
52821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52822         Likewise.
52824         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52825         (denorm): Likewise.
52826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52829 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52831         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52832         tail-call to the resolved function if pltexit isn't needed.
52834 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52837         or Y being zero as being unlikely.
52838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52839         Likewise.
52841 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52843         * manual/nss.texi (System Databases and Name Service Switch):
52844         Remove frobnicate @pxref.
52846 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52848         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52849         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52851 2013-02-20  Petr Machata  <pmachata@redhat.com>
52853         * elf/elf.h (R_ARM_TARGET1): New macro.
52854         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52855         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52856         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52857         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52858         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52859         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52860         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52861         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52862         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52863         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52864         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52865         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52866         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52867         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52868         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52869         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52870         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52871         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52872         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52873         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52874         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52875         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52876         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52877         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52878         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52879         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52880         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52881         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52882         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52883         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52884         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52885         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52886         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52887         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52888         (R_ARM_THM_GOT_BREL12): Likewise.
52889         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52890         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52891         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52892         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52893         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52894         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52895         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52896         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52897         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52899 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52901         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52902         __attribute_used__ to __attribute__ ((unused)).
52904 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52906         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52907         powerpc mpa.c.
52908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52909         comment formatting.
52910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52912 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52914         [BZ #13550]
52915         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52916         Remove macro.
52917         (ENTER): Remove both macro definitions.
52918         (LEAVE): Likewise.
52919         (CHECK_BOUNDS_LOW): Likewise.
52920         (CHECK_BOUNDS_HIGH): Likewise.
52921         (CHECK_BOUNDS_BOTH): Likewise.
52922         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52923         (RETURN_BOUNDED_POINTER): Likewise.
52924         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52925         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52926         (POP_ERRNO_LOCATION_RETURN): Likewise.
52927         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52928         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52929         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52930         macros.
52931         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52932         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52933         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52934         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52935         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52936         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52937         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52938         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52939         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52940         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52941         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52942         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52943         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52944         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52945         removed macros.
52946         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52947         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52948         macros.
52949         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52950         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52951         * sysdeps/i386/i586/memset.S (memset): Likewise.
52952         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52953         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52954         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52955         macros.
52956         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52957         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52958         Change uses of L(2) to L(out).
52959         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52960         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52961         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52962         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52963         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52964         removed macros.
52965         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52966         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52967         macros.
52968         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52969         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52970         (RETURN): Do not use macro LEAVE.
52971         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52972         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52973         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52974         * sysdeps/i386/i686/memset.S (memset): Likewise.
52975         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52976         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52977         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52978         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52979         Likewise.
52980         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52981         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52982         L(1_2) and L(1_3) into L(1).
52983         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52984         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52985         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52986         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52987         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52988         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52989         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52990         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52991         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52992         macros.
52993         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52994         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52995         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52996         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52997         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52998         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52999         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53000         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53001         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53002         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53003         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53004         * sysdeps/i386/strspn.S (strspn): Likewise.
53005         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53006         conditional code.
53007         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53008         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53009         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53010         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53011         L(1_3) into L(1_1).
53012         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53013         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53014         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53015         macros.
53016         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53018 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53020         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53021         macro.
53023 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53025         * math/atest-exp.c (exp_mpn): Remove ROUND.
53026         * math/atest-exp2.c (exp_mpn): Likewise.
53027         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53029         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53030         * stdlib/tst-tls-atexit-lib.c: Likewise.
53031         * stdlib/tst-tls-atexit.c: Likewise.
53033 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53035         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53036         and __attribute_alloc_size__.
53038 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53040         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53041         __attribute_alloc_size__.
53042         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53043         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53045 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53047         * include/programs/xmalloc.h: New file.
53048         * catgets/gencat.c: Include it.
53049         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53050         * elf/pldd.c: Likewise.
53051         * iconv/iconv_charmap.c: Likewise.
53052         * iconv/iconvconfig.c: Likewise.
53053         * iconv/strtab.c: Likewise.
53054         * locale/programs/locale.c: Likewise.
53055         * locale/programs/localedef.h: Likewise.
53056         * locale/programs/simple-hash.c: Likewise.
53057         * nscd/nscd.h: Likewise.
53058         * nss/makedb.c: Likewise.
53059         * sysdeps/generic/ldconfig.h: Likewise.
53061 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53063         * Versions.def: Add GLIBC_2.18.
53064         * include/link.h (struct link_map): New member l_tls_dtor_count.
53065         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53066         (__call_tls_dtors): Likewise.
53067         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53068         __cxa_thread_atexit_impl.
53069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53070         Likewise.
53071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53072         Likewise.
53073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53074         Likewise.
53075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53076         Likewise.
53077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53079         Likewise.
53080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53081         Likewise.
53082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53084         Likewise.
53085         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53086         (tests): Add test case tst-tls-atexit.
53087         (modules-names): Add shared library for tst-tls-atexit.
53088         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53089         (GLIBC_PRIVATE): Add __call_tls_dtors.
53090         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53091         for libstdc++.
53092         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53093         * stdlib/tst-tls-atexit.c: New test case.
53094         * stdlib/tst-tls-atexit-lib.c: New test case.
53096         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53098         * elf/Versions (ld): Add _dl_find_dso_for_object.
53099         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53100         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53101         (dl_open_worker): Use _dl_find_dso_for_object.
53102         * elf/dl-sym.c (do_sym): Likewise.
53103         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53105 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53107         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53108         Syntactic changes only.
53109         (_dl_runtime_profile): Do a tail-call to the resolved function.
53111 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53113         [BZ #13550]
53114         * sysdeps/x86_64/bp-asm.h: Remove file.
53115         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53116         <bp-sym.h> and <bp-asm.h>.
53117         (__clone): Do not use BP_SYM.
53118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53119         <bp-sym.h> and <bp-asm.h>.
53120         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53121         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53122         "bp-asm.h".
53123         (_setjmp): Do not use BP_SYM.
53124         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53125         "bp-asm.h".
53126         (setjmp): Do not use BP_SYM.
53127         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53128         libc_hidden_def.
53129         (mempcpy): Do not use BP_SYM in weak_alias.
53130         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53131         "bp-asm.h".
53132         (strchr): Do not use BP_SYM.
53133         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53134         "bp-asm.h".
53135         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53136         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53137         (_start): Do not use BP_SYM.
53138         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53139         "bp-asm.h".
53140         (strcat): Do not use BP_SYM.
53141         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53142         "bp-asm.h".
53143         (STRCMP): Do not use BP_SYM.
53144         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53145         "bp-asm.h".
53146         (STRCPY): Do not use BP_SYM.
53147         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53148         "bp-asm.h".
53149         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53150         "bp-asm.h".
53151         (FUNCTION): Do not use BP_SYM.
53152         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53153         weak_alias.
53154         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53156 2013-02-17  Andreas Jaeger  <aj@suse.de>
53158         * time/Versions: Sort entries.
53159         * string/Versions: Likewise.
53160         * resolv/Versions: Likewise.
53161         * posix/Versions: Likewise.
53162         * iconv/Versions: Likewise.
53163         * elf/Versions: Likewise.
53164         * wcsmbs/Versions: Likewise.
53166 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53168         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53169         loop termination condition.
53171         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53172         variable to calculate EZ.
53173         (__sqr): Likewise.
53175         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53176         the lower precision input.
53178 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53180         [BZ #13550]
53181         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53182         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53183         (run-via-rtld-prefix): Do not handle %-bp tests.
53184         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53185         (all-object-suffixes): Remove .ob.
53186         (bppfx): Remove variable.
53187         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53188         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53189         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53190         [$(build-bounded) = yes] (libtype.ob): Likewise.
53191         * Makerules (elide-routines.ob): Remove variable.
53192         (do-tests-clean): Do not handle *-bp.out.
53193         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53194         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53195         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53196         (tests): Do not include $(tests-bp.out).
53197         (xtests): Do not include $(xtests-bp.out).
53198         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53199         [$(build-bounded) = yes] ($(addprefix
53200         $(objpfx),$(binaries-bounded))): Remove rule.
53201         ($(objpfx)%-bp.out): Remove rule.
53202         * config.make.in (build-bounded): Remove variable.
53203         * crypt/Makefile [$(build-bounded) = yes]
53204         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53205         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53206         append to variable.
53207         [$(build-bounded) = yes] (install-lib): Likewise.
53208         [$(build-bounded) = yes] (generated): Likewise.
53209         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53210         Remove rule.
53211         * intl/Makefile [$(build-bounded) = yes]
53212         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53213         * math/Makefile [$(build-bounded) = yes]
53214         ($(tests:%=$(objpfx)%-bp): Likewise.
53215         * misc/Makefile [$(build-bounded) = yes]
53216         ($(objpfx)tst-tsearch-bp): Likewise.
53217         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53218         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53219         Remove dependency.
53220         * string/Makefile (o-objects.ob): Remove variable.
53221         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53222         (CFLAGS-.ob): Remove variable.
53223         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53224         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53225         both definitions of variable.
53226         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53227         (ASFLAGS-.ob): Remove variable.
53229 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53231         [BZ #13550]
53232         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53233         Remove __BOUNDED_POINTERS__ from condition.
53234         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53235         * string/bits/string2.h [!__NO_STRING_INLINES &&
53236         !__BOUNDED_POINTERS__]: Likewise.
53237         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53238         Likewise.
53239         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53240         Remove conditional code.
53241         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53242         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53243         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53244         condition.
53246         [BZ #13550]
53247         * csu/libc-start.c: Do not include <bp-sym.h>.
53248         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53249         * elf/dl-open.c: Do not include <bp-sym.h>.
53250         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53251         * math/fegetenv.c: Do not include <bp-sym.h>.
53252         (fegetenv): Do not use BP_SYM in versioned symbols.
53253         * nptl/sysdeps/pthread/bits/libc-lockP.h
53254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53255         <bp-sym.h>.
53256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53257         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53259         (__pthread_mutex_destroy): Likewise.
53260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53261         (__pthread_mutex_lock): Likewise.
53262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53263         (__pthread_mutex_trylock): Likewise.
53264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53265         (__pthread_mutex_unlock): Likewise.
53266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53267         (__pthread_mutexattr_init): Likewise.
53268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53269         (__pthread_mutexattr_destroy): Likewise.
53270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53271         (__pthread_mutexattr_settype): Likewise.
53272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53273         (__pthread_rwlock_init): Likewise.
53274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53275         (__pthread_rwlock_destroy): Likewise.
53276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53277         (__pthread_rwlock_rdlock): Likewise.
53278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53279         (__pthread_rwlock_tryrdlock): Likewise.
53280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53281         (__pthread_rwlock_wrlock): Likewise.
53282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53283         (__pthread_rwlock_trywrlock): Likewise.
53284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53285         (__pthread_rwlock_unlock): Likewise.
53286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53287         (__pthread_key_create): Likewise.
53288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53289         (__pthread_setspecific): Likewise.
53290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53291         (__pthread_getspecific): Likewise.
53292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53293         Likewise.
53294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53295         (_pthread_cleanup_push_defer): Likewise.
53296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53297         (_pthread_cleanup_pop_restore): Likewise.
53298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53299         (pthread_setcancelstate): Likewise.
53300         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53301         <bp-sym.h>.
53302         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53303         (memchr): Do not use BP_SYM in weak_alias.
53304         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53305         (fegetenv): Do not use BP_SYM in versioned symbols.
53306         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53307         (fesetenv): Do not use BP_SYM in versioned symbols.
53308         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53309         (feupdateenv): Do not use BP_SYM in versioned symbols.
53310         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53311         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53312         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53313         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53314         (open64): Do not use BP_SYM in weak_alias.
53315         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53316         (fegetenv): Do not use BP_SYM in versioned symbols.
53317         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53318         (fesetenv): Do not use BP_SYM in versioned symbols.
53319         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53320         (feupdateenv): Do not use BP_SYM in versioned symbols.
53321         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53322         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53323         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53324         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53325         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53326         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53327         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53328         <bp-sym.h>.
53329         (__libc_start_main): Do not use BP_SYM.
53331 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53334         redundant return line.
53335         (norm): Likewise.
53336         (denorm): Likewise.
53337         (dbl_mp): Likewise.
53338         (sub_magnitudes): Likewise.
53339         (__add): Likewise.
53340         (__sub): Likewise.
53341         (__mul): Likewise.
53342         (__inv): Likewise.
53343         (__dvd): Likewise.
53344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53345         (norm): Likewise.
53346         (denorm): Likewise.
53347         (dbl_mp): Likewise.
53348         (sub_magnitudes): Likewise.
53349         (__add): Likewise.
53350         (__sub): Likewise.
53351         (__mul): Likewise.
53352         (__inv): Likewise.
53353         (__dvd): Likewise.
53355         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53356         instead of __mul.
53357         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53358         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53359         (cc32): Likewise.
53361         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53362         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53364         of __mul for squares.
53365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53366         function
53367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53368         Likewise.
53369         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53370         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53372 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53374         [BZ #13550]
53375         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53376         code.
53377         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53378         prototype or function definition.  Rename ubp_* variables and
53379         parameters.  Remove argv definitions conditional on
53380         [__BOUNDED_POINTERS__].
53381         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53382         * elf/dl-runtime.c (_dl_fixup): Likewise.
53383         * include/set-hooks.h (RUN_HOOK): Likewise.
53384         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53385         definition.
53386         * string/strcpy.c (strcpy): Do not use __unbounded.
53387         * sysdeps/generic/frame.h (struct layout): Likewise.
53388         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53389         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53390         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53391         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53392         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53393         (__backtrace): Likewise.
53394         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53395         use __ptrvalue.
53396         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53397         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53398         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53399         Likewise.
53400         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53401         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53402         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53403         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53404         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53405         Do not use __unbounded.
53406         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53407         Rename __unboundedrlimits parameter to rlimits in prototype.
53408         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53409         Do not use __unbounded.
53410         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53411         not use __ptrvalue.
53412         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53413         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53414         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53415         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53416         __ptrvalue or __unbounded.
53417         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53418         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53419         use __unbounded.
53420         (__new_msgctl): Do not use __ptrvalue.
53421         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53422         __unbounded.
53423         (__libc_msgrcv): Do not use __ptrvalue.
53424         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53425         startup_info): Do not use __unbounded.
53426         (__libc_start_main): Likewise.  Rename ubp_* variables and
53427         parameters.  Remove argv definitions conditional on
53428         [__BOUNDED_POINTERS__].
53429         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53430         __ptrvalue.
53431         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53432         use __unbounded.
53433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53434         or __ptrvalue.
53435         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53436         use __unbounded.
53437         (__new_shmctl): Do not use __ptrvalue.
53438         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53439         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53440         Likewise.
53441         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53442         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53443         (__libc_sigaction): Likewise.
53444         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53445         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53446         Likewise.
53447         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53449 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53451         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53453         * string/mempcpy.c: Implement by calling memcpy.
53455 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53460         evaluation.
53462         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53463         values in the mantissa.
53465         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53466         minimize writes to Z.
53467         (sub_magnitudes): Simplify code a bit.
53469 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53471         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53472         from the message.  The linker prefixes all warnings with that already.
53474 2013-02-12  Andreas Schwab  <schwab@suse.de>
53476         [BZ #15078]
53477         * posix/regexec.c (extend_buffers): Add parameter min_len.
53478         (check_matching): Pass minimum needed length.
53479         (clean_state_log_if_needed): Likewise.
53480         (get_subexp): Likewise.
53481         * posix/Makefile (tests): Add bug-regex34.
53482         (bug-regex34-ENV): Define.
53483         * posix/bug-regex34.c: New file.
53485         [BZ #11561]
53486         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53487         elements compare against the byte sequence of it, not its name.
53488         * posix/Makefile (tests): Add bug-regex35.
53489         (bug-regex35-ENV): Define.
53490         * posix/bug-regex35.c: New file.
53492 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53494         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53495         comment.
53496         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53497         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53498         (CHECK_EOL): Add undef.
53500 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53502         * bits/stdlib-bsearch.h: New file.
53503         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53504         * stdlib/stdlib.h: Likewise.
53506 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53508         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53509         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53510         declaration.
53511         * manual/search.texi (Array Search Function): Add missing const in
53512         lfind prototype.
53513         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53514         declaration to use rlim_t.
53515         (Basic Scheduling Functions): Remove erroneous const from
53516         sched_getparam prototype.  Remove erroneous * from
53517         sched_get_priority_max and sched_get_priority_min prototypes.
53518         (Resource Usage): Fix summary @comment on vtimes to refer to
53519         sys/vtimes.h rather than vtimes.h.
53520         Add missing *s in vtimes prototype.
53521         (Limits on Resources): Fix ulimit prototype to return long int.
53522         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53523         prototypes to use long int rather than double.
53524         (BSD Random): Fix initstate and setstate to use char *, not void *.
53525         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53526         prototype to make second argument 'struct aiocb64 *const[]'.
53527         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53528         (Status of AIO Operations): Remove erroneous const in aio_return and
53529         aio_return64 prototypes.
53530         (Synchronizing I/O): Fix sync prototype to return void.
53531         * manual/startup.texi (Suboptions): Remove an erroneous const in
53532         getsubopt prototype.
53533         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53534         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53535         use size_t rather than int.
53536         (Scanning All Users): Likewise for getpwent_r.
53537         (Setting Groups): Add missing const to setgroups prototype.
53538         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53539         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53540         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53541         'const void *' rather than 'const char *'.
53542         (Host Address Functions): Likewise for inet_ntop.
53543         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53544         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53545         ssize_t for return value.
53546         (Sending Data): Likewise for send, sendto, sendmsg.
53547         (Socket Option Functions): Add a missing const in setsockopt prototype.
53548         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53549         use wchar_t for the argument.
53550         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53551         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53552         take no arguments.
53553         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53554         double/float/long double for second argument.
53555         Fix return types of significand, significandf, significandl.
53556         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53557         argument in fchmod prototype.
53558         (File Owner): Use uid_t and gid_t in fchown prototype.
53559         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53560         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53561         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53562         use 'const struct dirent **' as argument types to CMP function pointer
53563         argument.
53564         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53565         (File Times): Fix summary magic @comment for struct utimbuf and utime
53566         to refer to utime.h, not time.h.
53567         * manual/string.texi (Argz Functions): Add missing const in
53568         argz_extract and argz_next prototypes.
53569         (Finding Tokens in a String): Likewise for basename.
53570         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53571         (Copying and Concatenation): Fix typo in wmemmove prototype.
53572         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53573         (Signal Stack): Remove erroneous const in sigstack prototype.
53574         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53575         prototype.
53576         (Simple Calendar Time): Likewise for stime.
53577         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53578         prototype.
53579         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53580         say sys/sysctl.h instead.
53581         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53582         and vsyslog prototypes.
53584 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53586         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53587         Remove.
53589 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53591         * misc/sys/mman.h: Fix typo in mremap comment.
53593 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53595         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53596         the '\0' terminator.
53598 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53600         [BZ #13550]
53601         * debug/segfault.c: Don't include <bp-checks.h>.
53602         * sysdeps/generic/bp-checks.h: Remove file.
53603         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53604         (__GETDENTS): Don't use CHECK_N.
53605         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53606         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53607         (__getgroups): Don't use CHECK_N.
53608         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53609         (setgroups): Don't use CHECK_N.
53610         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53611         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53612         (__libc_msgrcv): Don't use CHECK_N.
53613         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53614         (__libc_msgsnd): Don't use CHECK_N.
53615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53616         <bp-checks.h>.
53617         (__libc_pread): Don't use CHECK_N.
53618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53619         include <bp-checks.h>.
53620         (__libc_pread64): Don't use CHECK_N.
53621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53622         include <bp-checks.h>.
53623         (__libc_pwrite): Don't use CHECK_N.
53624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53625         include <bp-checks.h>.
53626         (__libc_pwrite64): Don't use CHECK_N.
53627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53628         <bp-checks.h>.
53629         (__libc_pread): Don't use CHECK_N.
53630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53631         include <bp-checks.h>.
53632         (__libc_pread64): Don't use CHECK_N.
53633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53634         include <bp-checks.h>.
53635         (__libc_pwrite): Don't use CHECK_N.
53636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53637         include <bp-checks.h>.
53638         (__libc_pwrite64): Don't use CHECK_N.
53639         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53640         (do_pread): Don't use CHECK_N.
53641         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53642         (do_pread64): Don't use CHECK_N.
53643         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53644         (do_pwrite): Don't use CHECK_N.
53645         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53646         (do_pwrite64): Don't use CHECK_N.
53647         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53648         (__libc_readv): Don't use CHECK_N.
53649         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53650         (semop): Don't use CHECK_N.
53651         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53652         <bp-checks.h>.
53653         (semtimedop): Don't use CHECK_N.
53654         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53655         (__libc_pread): Don't use CHECK_N.
53656         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53657         <bp-checks.h>.
53658         (__libc_pread64): Don't use CHECK_N.
53659         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53660         <bp-checks.h>.
53661         (__libc_pwrite): Don't use CHECK_N.
53662         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53663         <bp-checks.h>.
53664         (__libc_pwrite64): Don't use CHECK_N.
53665         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53666         <bp-checks.h>.
53667         (__libc_msgrcv): Don't use CHECK_N.
53668         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53669         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53670         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53671         (__libc_writev): Don't use CHECK_N.
53673 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53675         * string/strcpy.c: Removed unused variable.
53677         * Makeconfig (+sysdep-includes): Define with := rather than =.
53678         Use an existing include/ subdir of each sysdeps dir before it.
53680 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53682         * nscd/connection.c (register_traced_file): Comment function.
53683         [HAVE_INOTIFY] (union __inev): Define.
53684         [HAVE_INOTIFY] (inotify_check_files): New function.
53685         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53686         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53687         clear_db_cache.
53688         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53690 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53692         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53693         loaded if not already and that a failure is permanent.
53695 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53697         [BZ #15006]
53698         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53699         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53701 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53703         [BZ #13550]
53704         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53705         (CHECK_1_NULL_OK): Likewise.
53706         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53707         (__fxstat): Do not use CHECK_1.
53708         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53709         <bp-checks.h>.
53710         (___fxstat64): Do not use CHECK_1.
53711         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53712         <bp-checks.h>.
53713         (__fxstatat): Do not use CHECK_1.
53714         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53715         <bp-checks.h>.
53716         (__fxstatat64): Do not use CHECK_1.
53717         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53718         <bp-checks.h>.
53719         (__fxstat): Do not use CHECK_1.
53720         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53721         <bp-checks.h>.
53722         (__fxstatat): Do not use CHECK_1.
53723         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53724         <bp-checks.h>.
53725         (__getresgid): Do not use CHECK_1.
53726         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53727         <bp-checks.h>.
53728         (__getresuid): Do not use CHECK_1.
53729         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53730         <bp-checks.h>.
53731         (__lxstat): Do not use CHECK_1.
53732         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53733         <bp-checks.h>.
53734         (__old_msgctl): Do not use CHECK_1.
53735         (__new_msgctl): Likewise.
53736         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53737         <bp-checks.h>.
53738         (__new_setrlimit): Do not use CHECK_1.
53739         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53740         <bp-checks.h>.
53741         (__old_shmctl): Do not use CHECK_1.
53742         (__new_shmctl): Likewise.
53743         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53744         <bp-checks.h>.
53745         (__xstat): Do not use CHECK_1.
53746         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53747         (__lxstat): Do not use CHECK_1.
53748         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53749         <bp-checks.h>.
53750         (___lxstat64): Do not use CHECK_1.
53751         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53752         (__old_msgctl): Do not use CHECK_1.
53753         (__new_msgctl): Likewise.
53754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53755         <bp-checks.h>.
53756         (__gettimeofday): Do not use CHECK_1.
53757         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53758         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53760         <bp-checks.h>.
53761         (__gettimeofday): Do not use CHECK_1.
53762         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53763         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53764         (__new_shmctl): Do not use CHECK_1.
53765         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53766         <bp-checks.h>.
53767         (do_sigtimedwait): Do not use CHECK_1.
53768         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53769         <bp-checks.h>.
53770         (do_sigwaitinfo): Do not use CHECK_1.
53771         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53772         <bp-checks.h>.
53773         (msgctl): Do not use CHECK_1.
53774         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53775         <bp-checks.h>.
53776         (shmctl): Do not use CHECK_1.
53777         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53778         (ustat): Do not use CHECK_1.
53779         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53780         <bp-checks.h>.
53781         (__fxstat): Do not use CHECK_1.
53782         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53783         <bp-checks.h>.
53784         (__fxstatat): Do not use CHECK_1.
53785         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53786         <bp-checks.h>.
53787         (__lxstat): Do not use CHECK_1.
53788         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53789         <bp-checks.h>.
53790         (__xstat): Do not use CHECK_1.
53791         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53792         (__xstat): Do not use CHECK_1.
53793         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53794         (___xstat64): Do not use CHECK_1.
53796         [BZ #13550]
53797         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53798         definitions.
53799         (CHECK_BOUNDS_HIGH): Likewise.
53800         * string/strcpy.c: Do not include <bp-checks.h>.
53801         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53803 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53805         * nscd/nscd-client.h (__nscd_drop_map_ref):
53806         Add __attribute__ ((unused)).
53807         * nis/nss-nisplus.h (niserr2nss): Likewise.
53809         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53810         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53812         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53813         Remove inline keyword.
53814         * include/rounding-mode.h (round_away): Likewise.
53815         * libio/wfileops.c (adjust_wide_data): Likewise.
53816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53817         (__m128i_strloadu_tolower): Likewise.
53818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53819         (__m128i_strloadu_tolower): Likewise.
53820         * time/mktime.c (ydhms_diff): Likewise.
53821         * locale/elem-hash.h (elem_hash): Likewise.
53822         * locale/setlocale.c (setdata): Likewise.
53823         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53824         (re_string_wchar_at): Likewise.
53825         (bitset_not, bitset_merge, bitset_mask): Likewise.
53826         [!(__GNUC__ > 3)] (inline): Remove macro.
53827         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53828         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53829         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53830         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53831         * string/memcmp.c (memcmp_bytes): Likewise.
53832         * locale/programs/locarchive.c (compute_hashval): Likewise.
53833         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53834         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53835         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53836         * nss/getent.c (print_rpc, print_protocols): Likewise.
53837         (print_passwd, print_group, print_aliases): Likewise.
53838         * nis/nss-nisplus.h (niserr2nss): Likewise.
53839         * nscd/connections.c (restart_p): Likewise.
53840         Change return type to bool.
53842 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53844         * Makeconfig (all-Depend-files): Add existing
53845         $(sorted-subdirs:=/Depend) files.
53846         (all-subdirs): Remove nss.
53847         * sysdeps/unix/inet/Subdirs: Add it here instead.
53848         * hesiod/Depend: New file.
53850         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53851         instead of calling alloca.
53853         * io/lseek.c (__lseek): Rename to __libc_lseek.
53854         Define __lseek as an alias.
53856         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53858 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53860         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53861         else clause and remove check for non-standard endianness.
53863 2013-02-04  David S. Miller  <davem@davemloft.net>
53865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53867 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53869         [BZ #13550]
53870         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53871         (__ubp_memchr): Remove prototype.
53872         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53873         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53874         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53875         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53876         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53877         Remove alias.
53878         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53879         (__ubp_memchr): Likewise.
53880         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53881         (__ubp_memchr): Likewise.
53882         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53883         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53884         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53885         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53886         CHECK_STRING.
53887         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53888         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53889         (__getcwd): Do not use CHECK_STRING.
53890         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53891         <bp-checks.h>.
53892         (__real_chown): Do not use CHECK_STRING.
53893         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53894         <bp-checks.h>.
53895         (fchownat): Do not use CHECK_STRING.
53896         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53897         CHECK_STRING.
53898         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53899         <bp-checks.h>.
53900         (__lchown): Do not use CHECK_STRING.
53901         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53902         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53903         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53904         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53906         include <bp-checks.h>.
53907         (truncate64): Do not use CHECK_STRING.
53908         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53909         <bp-checks.h>.
53910         (__real_chown): Do not use CHECK_STRING.
53911         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53912         <bp-checks.h>.
53913         (__lchown): Do not use CHECK_STRING.
53914         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53915         <bp-checks.h>.
53916         (__chown): Do not use CHECK_STRING.
53917         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53918         <bp-checks.h>.
53919         (truncate64): Do not use CHECK_STRING.
53920         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53921         Likewise.
53922         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53923         (__xmknod): Do not use CHECK_STRING.
53924         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53925         <bp-checks.h>.
53926         (__xmknodat): Do not use CHECK_STRING.
53927         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53928         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53930 2013-02-04  Andreas Schwab  <schwab@suse.de>
53932         [BZ #14142]
53933         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53934         * include/netdb.h: Likewise for h_errno.
53935         * elf/tst-stackguard1.c: Include <tls.h>.
53937 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53939         * elf/link.h (struct link_map): Extend the l_addr comment.
53940         * include/link.h (struct link_map): Likewise.
53942 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53944         [BZ #13550]
53945         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53946         (BOUNDED_1): Remove macro.
53947         * debug/backtrace.c: Don't include <bp-checks.h>.
53948         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53949         (__backtrace): Likewise.
53950         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53951         <bp-checks.h>.
53952         (__backtrace): Don't use BOUNDED_1.
53953         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53954         <bp-checks.h>.
53955         (__backtrace): Don't use BOUNDED_1.
53956         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53957         (__backtrace): Don't use BOUNDED_1.
53958         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53959         (shmat): Don't use BOUNDED_N.
53961 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53963         [BZ #13550]
53964         * sysdeps/generic/bp-start.h: Remove file.
53965         * csu/libc-start.c: Don't include <bp-start.h>.
53966         (LIBC_START_MAIN): Set up __environ directly instead of using
53967         INIT_ARGV_and_ENVIRON.
53968         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53969         <bp-start.h>.
53971         [BZ #13550]
53972         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53973         definitions.
53974         (CHECK_FCNTL): Likewise.
53975         (CHECK_N_PAGES): Likewise.
53977         [BZ #13550]
53978         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53979         definitions.
53980         (CHECK_SIGSET_NULL_OK): Likewise.
53981         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53982         <bp-checks.h>.
53983         (sigpending): Don't use CHECK_SIGSET.
53984         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53985         <bp-checks.h>.
53986         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53987         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53988         <bp-checks.h>.
53989         (do_sigsuspend): Don't use CHECK_SIGSET.
53990         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53991         use CHECK_SIGSET.
53992         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53993         (do_sigwait): Don't use CHECK_SIGSET.
53994         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53995         use CHECK_SIGSET.
53996         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53997         include <bp-checks.h>.
53998         (sigpending): Don't use CHECK_SIGSET.
53999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54000         include <bp-checks.h>.
54001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54002         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54003         <bp-checks.h>.
54004         (sigpending): Don't use CHECK_SIGSET.
54005         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54006         <bp-checks.h>.
54007         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54009         [BZ #13550]
54010         * sysdeps/generic/bp-semctl.h: Remove file.
54011         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54012         <bp-checks.h> and <bp-semctl.h>.
54013         (__old_semctl): Don't use CHECK_SEMCTL.
54014         (__new_semctl): Likewise.
54015         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54016         and <bp-semctl.h>.
54017         (__old_semctl): Don't use CHECK_SEMCTL.
54018         (__new_semctl): Likewise.
54019         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54020         <bp-checks.h> and <bp-semctl.h>.
54021         (__old_semctl): Don't use CHECK_SEMCTL.
54022         (__new_semctl): Likewise.
54023         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54024         <bp-checks.h> and <bp-semctl.h>.
54025         (semctl): Don't use CHECK_SEMCTL.
54027         [BZ #13550]
54028         * Makerules (elide-bp-thunks): Remove variable.
54029         (elide-routines.oS): Don't use $(elide-bp-thunks).
54030         (elide-routines.os): Likewise.
54031         (elide-routines.o): Likewise.
54032         (elide-routines.op): Likewise.
54033         (elide-routines.og): Likewise.
54034         (objects): Don't use $(bp-thunks).
54035         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54036         include.
54037         (common-generated): Do not add s-proto-bp.d.
54038         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54039         (int): Likewise.
54040         (typ): Likewise.
54041         Do not generate makefile rules for bounded-pointer thunks.
54042         * sysdeps/generic/bp-thunks.h: Remove file.
54043         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54044         * sysdeps/unix/s-proto-bp.S: Likewise.
54046         [BZ #15062]
54047         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54048         parts of result separately when argument is not close to line from
54049         -i to i and one part of argument is small.
54050         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54051         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54052         * math/libm-test.inc (cacos_test): Add more tests.
54053         (casin_test): Likewise.
54054         (casinh_test): Likewise.
54055         * sysdeps/i386/fpu/libm-test-ulps: Update.
54056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54058 2013-01-31  David S. Miller  <davem@davemloft.net>
54060         * po/de.po: Update from translation team.
54062 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54064         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54066 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54068         * configure.in (_AC_PROG_CC_C89): New definition.
54069         * configure: Regenerate.
54071         * configure.in (AC_PROG_CPP): New definition.
54072         * configure: Regenerate.
54074 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54076         * debug/tst-backtrace.h: New file.
54077         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54078         (ret): Remove variable.
54079         (x): Likewise.
54080         (FAIL): Remove macro.
54081         (NO_INLINE): Likewise.
54082         (fn1): Use match function instead of strstr.
54083         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54084         (ret): Remove variable.
54085         (x): Likewise.
54086         (FAIL): Remove macro.
54087         (NO_INLINE): Likewise.
54088         (fn): Use match function instead of strstr.
54089         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54090         (ret): Remove variable.
54091         (x): Likewise.
54092         (FAIL): Remove macro.
54093         (NO_INLINE): Likewise.
54094         (handle_signal): Use match function instead of strstr.
54095         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54096         (ret): Remove variable.
54097         (x): Likewise.
54098         (FAIL): Remove macro.
54099         (NO_INLINE): Likewise.
54100         (handle_signal): Use match function instead of strstr.
54102 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54104         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54106 2013-01-23  David S. Miller  <davem@davemloft.net>
54108         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54109         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54110         argument of CAS if possible.
54111         * sysdeps/sparc/sparc64/bits/atomic.h
54112         (__arch_compare_and_exchange_val_32_acq): Likewise.
54113         (__arch_compare_and_exchange_val_64_acq): Likewise.
54115 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54117         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54118         * sysdeps/posix/ulimit.c: ... this.
54119         Include <limits.h>.
54120         * sysdeps/unix/bsd/ulimit.c: Remove file.
54122 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54124         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54125         (LDFLAGS-tst-array5): Likewise.
54127 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54129         [BZ #15036]
54130         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54131         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54132         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54133         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54135 2013-01-21  David S. Miller  <davem@davemloft.net>
54137         * sysdeps/sparc/backtrace.c: New file.
54138         * sysdeps/sparc/sparc32/backtrace.h: New file.
54139         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54140         * sysdeps/sparc/sparc64/backtrace.h: New file.
54141         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54142         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54143         -funwind-tables.
54145 2013-01-21  Andreas Schwab  <schwab@suse.de>
54147         [BZ #15020]
54148         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54149         closed its stdout.
54151 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54154         "mpa2.h".
54155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54157 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54158             Mark Mitchell  <mark@codesourcery.com>
54159             Tom de Vries  <tom@codesourcery.com>
54160             Paul Pluzhnikov  <ppluzhnikov@google.com>
54162         * debug/tst-backtrace2.c: New file.
54163         * debug/tst-backtrace3.c: Likewise.
54164         * debug/tst-backtrace4.c: Likewise.
54165         * debug/tst-backtrace5.c: Likewise.
54166         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54167         (CFLAGS-tst-backtrace3.c): Likewise.
54168         (CFLAGS-tst-backtrace4.c): Likewise.
54169         (CFLAGS-tst-backtrace5.c): Likewise.
54170         (LDFLAGS-tst-backtrace2): Likewise.
54171         (LDFLAGS-tst-backtrace3): Likewise.
54172         (LDFLAGS-tst-backtrace4): Likewise.
54173         (LDFLAGS-tst-backtrace5): Likewise.
54174         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54175         tst-backtrace4 and tst-backtrace5.
54177 2013-01-18  Anton Blanchard  <anton@samba.org>
54178             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54180         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54181         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54183         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54185         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54186         "+r" and remove output regs list as redundant.  Add explicit inline
54187         asm to specify register of return val to work around compiler codegen
54188         bug.  Remove (int) cast on return value.  Add return type parameter to
54189         use in macro so that this macro does not truncate return value for
54190         64-bit values.
54191         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54192         pass to INTERNAL_VSYSCALL_NCS.
54193         (INLINE_VSYSCALL): Add 'long int' as return type to
54194         INTERNAL_VSYSCALL_NCS macro invocation.
54195         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54196         INTERNAL_VSYSCALL_NCS macro invocation.
54197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54199 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54201         [BZ #14496]
54202         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54203         Fix application of SIMD FP exception mask.
54205         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54206         mp_no from a power of two.
54207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54208         __mpexp_twomm1.  Use __pow_mp.
54210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54211         multiplication.
54213 2013-01-17  David S. Miller  <davem@davemloft.net>
54215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54217 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54219         [BZ #15023]
54220         * include/complex.h: Condition contents on [!_COMPLEX_H].
54221         (__kernel_casinhf): New prototype.
54222         (__kernel_casinh): Likewise.
54223         (__kernel_casinhl): Likewise.
54224         * math/Makefile (libm_calls): Add k_casinh.
54225         * math/k_casinh.c: New file.
54226         * math/k_casinhf.c: Likewise.
54227         * math/k_casinhl.c: Likewise.
54228         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54229         finite nonzero arguments.
54230         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54231         finite nonzero arguments.
54232         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54233         finite nonzero arguments.
54234         * math/s_casinh.c: Do not include <float.h>.
54235         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54236         * math/s_casinhf.c: Do not include <float.h>.
54237         (__casinhf): Move code for finite nonzero arguments to
54238         k_casinhf.c.
54239         * math/s_casinhl.c: Do not include <float.h>.
54240         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54241         redefine.
54242         (__casinhl): Move code for finite nonzero arguments to
54243         k_casinhl.c.
54244         * math/libm-test.inc (cacos_test): Add more tests.
54245         * sysdeps/i386/fpu/libm-test-ulps: Update.
54246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54248 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54250         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54251         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54252         [!HAVE_MREMAP]: Remove [defined linux] case.
54253         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54255 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54257         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54259 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54261         * elf/elf.h (R_386_SIZE32): New relocation.
54262         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54263         R_386_SIZE32.
54264         (elf_machine_rela): Likewise.
54265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54266         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54268 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54270         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54271         (FP_FAST_FMA): Do not define.
54272         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54273         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54274         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54275         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54276         !_SOFT_FLOAT]: Likewise.
54277         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54278         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54279         value.
54280         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54281         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54282         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54283         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54284         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54285         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54286         file.
54288 2013-01-16  Andreas Schwab  <schwab@suse.de>
54290         [BZ #14327]
54291         * include/stdlib.h (__mktemp): Add declaration.
54292         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54293         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54295 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54297         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54298         definitions.
54299         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54300         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54301         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54302         definitions here.
54303         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54304         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54305         definitions.
54306         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54307         and ONE.
54308         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54309         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54311         definitions.
54312         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54313         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54314         definitions.
54315         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54317         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54319 2013-01-15  David S. Miller  <davem@davemloft.net>
54321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54322         trunc{,f} to libm-sysdep_routes.
54323         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54325         file.
54326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54328         file.
54329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54330         file.
54331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54333         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54334         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54335         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54336         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54337         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54338         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54341         nearbyint{,f} to libm-sysdep_routes.
54342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54344         New file.
54345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54346         file.
54347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54348         New file.
54349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54350         file.
54351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54353         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54354         file.
54355         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54356         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54357         file.
54358         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54359         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54360         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54362         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54363         libc_feholdexcept and libc_fesetenv.
54365 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54367         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54369 2013-01-14  David S. Miller  <davem@davemloft.net>
54371         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54372         (SPARC_ASM_VIS2_IFUNC): Likewise.
54373         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54375         use of 'siam' instruction.
54376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54377         Likewise.
54378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54379         Likewise.
54380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54381         Likewise.
54382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54387         file.
54388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54389         file.
54390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54391         file.
54392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54393         file.
54394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54399         new VIS2 routines.
54400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54403         Likewise.
54404         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54409         routines to libm-sysdep_routines.
54410         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54413         fdim/fdimf to libm-sysdep_routines.
54414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54415         file.
54416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54418         file.
54419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54422         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54423         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54424         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54425         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54427 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54430         to optimize copies.
54432         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54437         local variable MPTWO.
54438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54439         Likewise.
54441 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54443         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54444         GLOB_NOESCAPE.
54446 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54448         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54450 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54452         * manual/pattern.texi (glob_t): Document gl_flags.
54453         (glob64_t): Likewise.
54455 2013-01-11  David S. Miller  <davem@davemloft.net>
54457         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54458         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54459         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54460         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54461         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54462         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54463         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54464         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54465         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54466         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54467         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54468         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54469         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54472         sparc V9 rather than using V8 code.
54473         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54474         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54476         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54477         Move to...
54478         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54479         Here.
54481 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54483         [BZ #14941]
54484         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54485         not in the main loop.
54486         * configure: Regenerated.
54488 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54490         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54491         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54492         to just #else.
54493         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54494         [!__GLIBC_HAVE_LONG_LONG] case.
54495         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54496         condition to just #else.
54497         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54498         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54499         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54500         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54501         unconditional.
54502         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54503         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54504         #elif condition to just #else.
54505         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54506         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54507         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54508         #elif condition to just #else.
54510 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54512         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54513         (EF_MIPS_ARCH_64): Fix value.
54514         (EF_MIPS_ARCH_32R2): New.
54515         (EF_MIPS_ARCH_64R2): New.
54517 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54519         * Makeconfig (+link-pie-before-libc): New.
54520         (+link-pie-after-libc): Likewise.
54521         (+link-pie-tests): Likewise.
54522         (+link-pie): Rewritten.
54523         (link-before-libc): Remove $(config-LDFLAGS).
54524         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54525         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54526         (config-LDFLAGS): Renamed to ...
54527         (rtld-LDFLAGS): This.
54528         (rtld-tests-LDFLAGS): New macro.
54529         (link-libc-rpath-link): Likewise.
54530         (link-libc-tests-rpath-link): Likewise.
54531         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54532         (link-libc): Prepand $(link-libc-rpath-link).
54533         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54534         (test-program-prefix): New macro.
54535         (test-via-rtld-prefix): Likewise.
54536         (test-program-cmd): Likewise.
54537         (host-test-program-cmd): Likewise.
54538         * Makefile ($(common-objpfx)testrun.sh): Replace
54539         $(run-program-prefix) with $(test-program-prefix).
54540         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54541         $(rtld-LDFLAGS).
54542         ($(common-objpfx)shlib.lds): Likewise.
54543         (build-module-helper): Likewise.
54544         ($(common-objpfx)format.lds): Likewise.
54545         * Rules (binaries-pie-tests): New.
54546         (binaries-pie-notests): Likewise.
54547         (binaries-pie): Rewritten.
54548         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54549         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54550         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54551         (make-test-out): Replace $(host-built-program-cmd) with
54552         $(host-test-program-cmd).
54553         * config.make.in (build-hardcoded-path-in-tests): New variable.
54554         * configure.in (--enable-hardcoded-path-in-tests): New configure
54555         option.
54556         (hardcoded_path_in_tests): New AC_SUBST.
54557         * configure: Regenerated.
54558         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54559         $(built-program-cmd) with $(test-program-cmd).
54560         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54561         (test_program_cmd): This.
54562         * elf/Makefile ($(objpfx)order.out): Run test with
54563         $(test-program-prefix).
54564         ($(objpfx)order2.out): Likewise.
54565         ($(objpfx)tst-initorder.out): Likewise.
54566         ($(objpfx)tst-initorder2.out): Likewise.
54567         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54568         $(test-program-cmd).
54569         ($(objpfx)tst-array1-static.out): Likewise.
54570         ($(objpfx)tst-array2.out): Likewise.
54571         ($(objpfx)tst-array3.out): Likewise.
54572         ($(objpfx)tst-array4.out): Likewise.
54573         ($(objpfx)tst-array5.out): Likewise.
54574         ($(objpfx)tst-array5-static.out): Likewise.
54575         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54576         $(test-program-cmd).
54577         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54578         $(run-program-prefix) with $(test-program-prefix).
54579         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54580         (test_program_prefix): This.
54581         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54582         $(run-program-prefix) with $(test-program-prefix).
54583         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54584         (test_program_prefix): This.
54585         * iconvdata/tst-tables.sh: Likewise.
54586         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54587         $(run-program-prefix) with $(test-program-prefix).
54588         ($(objpfx)tst-translit.out): Likewise.
54589         ($(objpfx)tst-gettext2.out): Likewise.
54590         ($(objpfx)tst-gettext4.out): Likewise.
54591         ($(objpfx)tst-gettext6.out): Likewise.
54592         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54593         (test_program_prefix): This.
54594         * intl/tst-gettext2.sh: Likewise.
54595         * intl/tst-gettext4.sh  Likewise.
54596         * intl/tst-gettext6.sh: Likewise.
54597         * intl/tst-translit.sh: Likewise.
54598         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54599         with $(test-program-cmd).
54600         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54601         $(run-program-prefix) with $(test-program-prefix).
54602         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54603         (test_program_prefix): This.
54604         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54605         $(run-program-prefix) with $(test-program-prefix).
54606         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54607         (test_program_prefix): This.
54608         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54609         * posix/Makefile ($(objpfx)globtest.out): Replace
54610         $(run-via-rtld-prefix) and $(test-wrapper) with
54611         $(test-program-prefix) and $(test-via-rtld-prefix).
54612         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54613         $(test-program-prefix).
54614         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54615         $(host-test-program-cmd).
54616         (tst-spawn-ARGS): Likewise.
54617         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54618         $(test-program-prefix).
54619         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54620         (test_via_rtld_prefix): This.
54621         (test_wrapper): Renamed to ...
54622         (test_program_prefix): This.
54623         (run_program_prefix): Replaced by test_program_prefix.
54624         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54625         (test_program_prefix): This.
54626         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54627         with $(host-test-program-cmd).
54628         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54629         $(run-program-prefix) with $(test-program-prefix).
54630         ($(objpfx)tst-printf.out): Likewise.
54631         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54632         $(test-program-cmd).
54633         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54634         (test_program_prefix): This.
54635         * stdio-common/tst-unbputc.sh: Likewise.
54636         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54637         $(run-program-prefix) with $(test-program-prefix).
54638         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54639         (test_program_prefix): This.
54640         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54641         $(built-program-cmd) with $(test-program-cmd).
54643 2013-01-11  Andreas Jaeger  <aj@suse.de>
54645         [BZ #15003]
54646         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54647         value. Sync with Linux 3.7.
54649 2013-01-10  David S. Miller  <davem@davemloft.net>
54651         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54652         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54653         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54655 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54657         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54658         never set.
54659         * configure: Regenerated.
54661 2013-01-10  David S. Miller  <davem@davemloft.net>
54663         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54664         sparc V9 rather than using V8 code.
54665         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54666         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54668 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54670         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54671         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54672         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54673         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54674         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54675         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54676         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54677         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54678         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54679         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54680         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54681         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54682         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54683         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54684         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54685         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54686         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54687         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54688         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54689         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54690         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54691         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54692         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54693         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54694         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54695         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54696         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54698 2013-01-10  David S. Miller  <davem@davemloft.net>
54700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54702 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54704         * posix/Makefile (tests-static): New variable.
54705         (tests): Add $(tests-static).
54706         (tst-exec-static-ARGS): New variable.
54707         (tst-spawn-static-ARGS): Likewise.
54708         * posix/tst-exec-static.c: New file.
54709         * posix/tst-spawn-static.c: Likewise.
54710         * posix/tst-exec.c: Support run directly.
54711         * posix/tst-spawn.c: Likewise.
54713 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54715         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54716         long.
54717         * math/bits/mathcalls.h (llrint): Likewise.
54718         (llround): Likewise.
54719         * stdlib/stdlib.h (struct drand48_data): Likewise.
54720         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54721         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54722         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54723         Likewise.
54724         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54725         Likewise.
54726         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54727         (elf_greg_t): Likewise.
54728         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54729         (__jmp_buf): Likewise.
54730         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54731         definitions.
54732         (llrint): Likewise, for all definitions.
54733         (llrintl): Likewise.
54735         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54736         Remove [__GNUC__] condition.
54737         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54738         condition to just [__USE_ISOC99].
54739         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54741 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54743         [BZ #14200]
54744         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54745         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54746         defined.
54747         (_POSIX_V6_ILP32_OFF32): Likewise.
54748         (_XBS5_ILP32_OFF32): Likewise.
54749         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54750         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54752 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54754         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54757         doubles __mpexp_twomm1.  Adjust usage.
54758         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54759         Remove.
54761 2013-01-10  Andreas Schwab  <schwab@suse.de>
54763         [BZ #14964]
54764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54765         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54767 2013-01-09  David S. Miller  <davem@davemloft.net>
54769         [BZ #15003]
54770         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54771         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54772         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54773         (TCP_FASTOPEN): Define.
54774         (tcp_repair_opt): New structure.
54775         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54776         enum values.
54777         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54778         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54779         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54780         (tcp_cookie_transactions): New structure.
54782 2013-01-09  Anton Blanchard  <anton@samba.org>
54784         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54785         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54786         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54787         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54789 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54791         * include/features.h (__USE_ANSI): Remove.
54793 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54795         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54797         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54799 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54801         * sysdeps/s390/fpu/libm-test-ulps: Update.
54803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54805         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54806         (__acr): Likewise.
54807         (__cpy): Likewise.
54808         (norm): Likewise.
54809         (denorm): Likewise.
54810         (__mp_dbl): Likewise.
54811         (__dbl_mp): Likewise.
54812         (add_magnitudes): Likewise.
54813         (sub_magnitudes): Likewise.
54814         (__add): Likewise.
54815         (__sub): Likewise.
54816         (__mul): Likewise.
54817         (__inv): Likewise.
54818         (__dvd): Likewise.
54819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54820         (__acr): Likewise.
54821         (__cpy): Likewise.
54822         (norm): Likewise.
54823         (denorm): Likewise.
54824         (__mp_dbl): Likewise.
54825         (__dbl_mp): Likewise.
54826         (add_magnitudes): Likewise.
54827         (sub_magnitudes): Likewise.
54828         (__add): Likewise.
54829         (__sub): Likewise.
54830         (__mul): Likewise.
54831         (__inv): Likewise.
54832         (__dvd): Likewise.
54833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54834         (__acr): Likewise.
54835         (__cpy): Likewise.
54836         (norm): Likewise.
54837         (denorm): Likewise.
54838         (__mp_dbl): Likewise.
54839         (__dbl_mp): Likewise.
54840         (add_magnitudes): Likewise.
54841         (sub_magnitudes): Likewise.
54842         (__add): Likewise.
54843         (__sub): Likewise.
54844         (__mul): Likewise.
54845         (__inv): Likewise.
54846         (__dvd): Likewise.
54848 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54850         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54851         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54852         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54853         2 && __USE_EXTERN_INLINES]: Likewise.
54855 2013-01-08  Andreas Jaeger  <aj@suse.de>
54857         [BZ# 14985]
54858         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54859         Remove.
54860         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54861         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54863 2013-01-07  Anton Blanchard  <anton@samba.org>
54865         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54866         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54867         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54868         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54869         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54870         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54871         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54872         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54874         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54875         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54876         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54877         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54878         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54879         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54880         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54881         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54883         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54884         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54885         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54886         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54888         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54889         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54890         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54891         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54892         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54893         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54894         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54895         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54897         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54898         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54899         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54900         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54901         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54902         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54903         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54904         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54905         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54906         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54907         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54909 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54911         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54912         (__MALLOC_PMT): Likewise.
54913         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54914         [__GNUC__], only on [_LIBC].
54915         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54916         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54917         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54918         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54919         forward declaration.
54920         (realloc_hook_ini): Likewise.
54921         (memalign_hook_ini): Likewise.
54922         (__libc_memalign): Do not use __MALLOC_PMT in variable
54923         declaration.
54924         (__libc_valloc): Likewise.
54925         (__libc_pvalloc): Likewise.
54926         (__libc_calloc): Likewise.
54927         (__posix_memalign): Likewise.
54929         [BZ #14996]
54930         * math/s_casinh.c: Include <float.h>.
54931         (__casinh): Do not do computation with squaring and square root
54932         for large arguments.
54933         * math/s_casinhf.c: Include <float.h>.
54934         (__casinhf): Do not do computation with squaring and square root
54935         for large arguments.
54936         * math/s_casinhl.c: Include <float.h>.
54937         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54938         (__casinhl): Do not do computation with squaring and square root
54939         for large arguments.
54940         * math/libm-test.inc (casin_test): Add more tests.
54941         (casinh_test): Likewise.
54942         * sysdeps/i386/fpu/libm-test-ulps: Update.
54943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54945 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54947         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54948         (__x86_64_raw_data_cache_size): Likewise.
54949         (__x86_64_data_cache_size_half): Likewise.
54950         (__x86_64_raw_data_cache_size_half): Likewise.
54951         (__x86_64_shared_cache_size): Likewise.
54952         (__x86_64_raw_shared_cache_size): Likewise.
54953         (__x86_64_shared_cache_size_half): Likewise.
54954         (__x86_64_raw_shared_cache_size_half): Likewise.
54955         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54956         to ...
54957         (__x86_data_cache_size): This.
54958         (__x86_64_raw_data_cache_size): Renamed to ...
54959         (__x86_raw_data_cache_size): This.
54960         (__x86_64_data_cache_size_half): Renamed to ...
54961         (__x86_data_cache_size_half): This.
54962         (__x86_64_raw_data_cache_size_half): Renamed to ...
54963         (__x86_raw_data_cache_size_half): This.
54964         (__x86_64_shared_cache_size): Renamed to ...
54965         (__x86_shared_cache_size): This.
54966         (__x86_64_raw_shared_cache_size): Renamed to ...
54967         (__x86_raw_shared_cache_size): This.
54968         (__x86_64_shared_cache_size_half): Renamed to ...
54969         (__x86_shared_cache_size_half): This.
54970         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54971         (__x86_raw_shared_cache_size_half): This.
54972         * sysdeps/x86_64/memcpy.S: Updated.
54973         * sysdeps/x86_64/memset.S: Likewise.
54974         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54975         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54978 2013-01-04  David S. Miller  <davem@davemloft.net>
54980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54982 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54984         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54985         1 to avoid redefinition warning.
54986         (__USE_GNU): Don't define.
54987         (init_signaling_nan): Protoize.
54989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54991 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54993         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54995         (__cpymn): Likewise.
54996         (norm): Remove commented code.
54997         (denorm): Likewise.
54998         (__mp_dbl): Likewise.
54999         (__inv): Likewise.
55000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55001         (__cpymn): Likewise.
55002         (norm): Remove commented code.
55003         (denorm): Likewise.
55004         (__mp_dbl): Likewise.
55005         (__inv): Likewise.
55007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55008         mp_no value for 1.0 and 2.0.
55009         (norm): Use RADIXI instead of radixi.d.
55010         (denorm): Likewise.
55011         (__mul): Use 0.0 instead of zero.d.
55012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55013         mp_no value for 1.0 and 2.0.
55014         (norm): Use RADIXI instead of radixi.d.
55015         (denorm): Likewise.
55016         (__mul): Use 0.0 instead of zero.d.
55018 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55020         [BZ #14994]
55021         * math/s_casinh.c (__casinh): Reduce finite argument to first
55022         quadrant then set signs of results at the end.
55023         * math/s_casinhf.c (__casinhf): Likewise.
55024         * math/s_casinhl.c (__casinhl): Likewise.
55025         * math/libm-test.inc (casin_test): Add more tests.
55026         (casinh_test): Likewise.
55027         * sysdeps/i386/fpu/libm-test-ulps: Update.
55028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55030 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55032         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55034         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55036         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55037         declarations.
55038         (denorm): Likewise.
55039         (__mp_dbl): Likewise.
55040         (__inv): Likewise.
55042         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55043         and adjust the header comment.
55045         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55046         variable name from declaration.
55048 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55051         Initialize COMMON_CPUID_INDEX_7 element.
55052         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55053         (CPUID_RTM): Likewise.
55054         (HAS_RTM): Likewise.
55055         (COMMON_CPUID_INDEX_7): New enum.
55057 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55059         [BZ #14981]
55060         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55061         size is zero, record memory as freed.
55063 2013-01-03  Andreas Jaeger  <aj@suse.de>
55065         * po/ia.po: Add new Interlingua translation.
55067 2012-01-03  Allan McRae  <allan@archlinux.org>
55069         * locale/programs/localedef.c: Fix description of '--posix' flag.
55071 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55073         * NEWS: Update dates in second copyright notice.
55074         * README: Update copyright dates in example.
55075         * manual/libc.texinfo: Update copyright dates.
55076         * scripts/test-installation.pl: Update copyright date in --version
55077         output.
55079         * hurd/ctty-input.c: Fix copyright notice formatting.
55080         * hurd/ctty-output.c: Likewise.
55081         * hurd/dtable.c: Likewise.
55082         * hurd/hurd-raise.c: Likewise.
55083         * hurd/hurdprio.c: Likewise.
55084         * hurd/msgportdemux.c: Likewise.
55085         * misc/sys/file.h: Likewise.
55086         * misc/sys/ioctl.h: Likewise.
55087         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55088         * sysdeps/mach/hurd/chdir.c: Likewise.
55089         * sysdeps/mach/hurd/fchdir.c: Likewise.
55090         * sysdeps/mach/hurd/rename.c: Likewise.
55091         * sysdeps/mach/hurd/rmdir.c: Likewise.
55092         * sysdeps/mach/hurd/seekdir.c: Likewise.
55093         * sysdeps/mach/hurd/setsid.c: Likewise.
55094         * sysdeps/posix/wait3.c: Likewise.
55096         * All files with FSF copyright notices: Update copyright dates
55097         using scripts/update-copyrights.
55098         * intl/plural.c: Regenerated.
55099         * locale/programs/charmap-kw.h: Likewise.
55100         * locale/programs/locfile-kw.h: Likewise.
55102 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55105         four values.
55107         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55108         calculation loop and add branch prediction.
55110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55111         check access beyond bounds of m1np.
55113         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55114         MPTWO.
55115         (__inv): Remove local variable MPTWO to use the global
55116         constant.
55117         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55118         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55119         variable MPTWO.
55120         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55121         MP3HALFS static const.
55123 2013-01-01  David S. Miller  <davem@davemloft.net>
55125         * po/ca.po: Update from translation team.
55127 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55129         * scripts/update-copyrights: New file.
55130         * Makeconfig: Reformat copyright notice.
55131         * ctype/ctype.h: Likewise.
55132         * debug/swprintf_chk.c: Likewise.
55133         * elf/dl-cache.c: Likewise.
55134         * elf/dl-debug.c: Likewise.
55135         * elf/dl-object.c: Likewise.
55136         * grp/initgroups.c: Likewise.
55137         * hurd/Makefile: Likewise.
55138         * hurd/hurd/signal.h: Likewise.
55139         * hurd/hurdfault.c: Likewise.
55140         * hurd/hurdioctl.c: Likewise.
55141         * hurd/hurdlookup.c: Likewise.
55142         * hurd/intr-msg.c: Likewise.
55143         * iconv/gconv_open.c: Likewise.
55144         * libio/swprintf.c: Likewise.
55145         * locale/lc-ctype.c: Likewise.
55146         * locale/nl_langinfo.c: Likewise.
55147         * mach/Machrules: Likewise.
55148         * mach/Makefile: Likewise.
55149         * malloc/obstack.h: Likewise.
55150         * manual/Makefile: Likewise.
55151         * manual/tsort.awk: Likewise.
55152         * misc/bits/stab.def: Likewise.
55153         * nis/nis_print_group_entry.c: Likewise.
55154         * nis/nis_table.c: Likewise.
55155         * nis/nss_compat/compat-pwd.c: Likewise.
55156         * nis/nss_compat/compat-spwd.c: Likewise.
55157         * po/Makefile: Likewise.
55158         * posix/fnmatch.c: Likewise.
55159         * posix/regex.h: Likewise.
55160         * resolv/Makefile: Likewise.
55161         * resolv/nss_dns/dns-network.c: Likewise.
55162         * resolv/res_hconf.c: Likewise.
55163         * scripts/gen-sorted.awk: Likewise.
55164         * soft-fp/soft-fp.h: Likewise.
55165         * stdio-common/printf.h: Likewise.
55166         * stdlib/monetary.h: Likewise.
55167         * stdlib/random.c: Likewise.
55168         * stdlib/random_r.c: Likewise.
55169         * sysdeps/generic/Makefile: Likewise.
55170         * sysdeps/gnu/Makefile: Likewise.
55171         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55173         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55174         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55175         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55176         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55178         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55179         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55181         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55182         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55183         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55184         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55185         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55186         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55187         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55189         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55190         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55191         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55192         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55193         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55194         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55195         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55197         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55198         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55199         * sysdeps/mach/hurd/errnos.awk: Likewise.
55200         * sysdeps/mach/hurd/fork.c: Likewise.
55201         * sysdeps/mach/hurd/getcwd.c: Likewise.
55202         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55203         * sysdeps/mach/hurd/mmap.c: Likewise.
55204         * sysdeps/mach/hurd/utimes.c: Likewise.
55205         * sysdeps/mach/hurd/xmknod.c: Likewise.
55206         * sysdeps/posix/profil.c: Likewise.
55207         * sysdeps/posix/readdir_r.c: Likewise.
55208         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55209         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55210         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55211         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55213         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55214         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55215         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55217         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55218         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55219         * sysdeps/pthread/lio_listio.c: Likewise.
55220         * sysdeps/sparc/dl-procinfo.h: Likewise.
55221         * sysdeps/unix/i386/sysdep.S: Likewise.
55222         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55223         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55224         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55225         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55227         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55228         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55229         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55230         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55231         * sysdeps/wordsize-32/divdi3.c: Likewise.
55232         * time/sys/time.h: Likewise.
55233         * wcsmbs/Makefile: Likewise.
55235 2013-01-01  David S. Miller  <davem@davemloft.net>
55237         * po/fr.po: Update from translation team.
55239         * catgets/gencat.c: Update copyright year.
55240         * csu/version.c: Likewise.
55241         * debug/catchsegv.sh: Likewise.
55242         * debug/pcprofiledump.c: Likewise.
55243         * debug/xtrace.sh: Likewise.
55244         * elf/ldconfig.c: Likewise.
55245         * elf/ldd.bash.in: Likewise.
55246         * elf/pldd.c: Likewise.
55247         * elf/sotruss.ksh: Likewise.
55248         * elf/sprof.c: Likewise.
55249         * iconv/iconv_prog.c: Likewise.
55250         * iconv/iconvconfig.c: Likewise.
55251         * locale/programs/locale.c: Likewise.
55252         * locale/programs/localedef.c: Likewise.
55253         * login/programs/pt_chown.c: Likewise.
55254         * malloc/memusage.sh: Likewise.
55255         * malloc/memusagestat.c: Likewise.
55256         * malloc/mtrace.pl: Likewise.
55257         * nscd/nscd.c: Likewise.
55258         * nss/getent.c: Likewise.
55259         * nss/makedb.c: Likewise.
55260         * posix/getconf.c: Likewise.
55262 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55264         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55265         numbers.
55267 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55269         * math/bits/mathcalls.h (modf): Use __nonnull.
55271 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55273         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55274         (split): Use macro CN instead of the bare value.
55275         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55276         could be used.
55277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55278         instead of the bare value.
55279         (power1): Likewise.
55281 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55284         __ATAN_TWOM.
55285         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55287         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55288         their values.
55289         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55290         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55291         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55292         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55294 2012-12-28  Andreas Jaeger  <aj@suse.de>
55296         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55297         values are from Linux 3.7.
55299         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55300         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55302 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55304         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55305         TRUE case.
55307         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55308         (norm): Likewise.
55309         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55310         variables with preprocessor constants.
55311         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55312         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55313         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55315 2012-12-27  Bruno Haible  <bruno@clisp.org>
55317         [BZ #14317]
55318         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55319         only if needed.
55321 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55324         and use variable directly.
55325         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55327         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55328         MPONE.
55329         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55330         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55331         variable MPONE.
55332         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55334         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55335         include directive.  Remove local variable MPONE.
55336         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55337         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55338         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55340 2012-12-25  David S. Miller  <davem@davemloft.net>
55342         * version.h (RELEASE): Set to "development".
55343         (VERSION): Set to "2.17.90".
55344         * NEWS: Add 2.18 section.
55346 2012-12-21  David S. Miller  <davem@davemloft.net>
55348         * po/hr.po: Update from translation team.
55350 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55352         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55354 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55356         * NEWS:  Mention new memcpy for MIPS.
55358 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55360         * manual/contrib.texi (Contributors): Spelling correction.
55362 2012-12-15  David S. Miller  <davem@davemloft.net>
55364         * po/ru.po: Update from translation team.
55366 2012-12-13  David S. Miller  <davem@davemloft.net>
55368         * NEWS: Mention IFUNC testsuite enhancements.
55370         * po/pl.po: Update from translation team.
55371         * po/bg.po: Likewise.
55373         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55374         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55376 2012-12-11  David S. Miller  <davem@davemloft.net>
55378         * po/sv.po: Update from translation team.
55380         * po/vi.po: Update from translation team.
55382         * po/cs.po: Update from translation team.
55384         * po/de.po: Update from translation team.
55385         * po/eo.po: Likewise.
55386         * po/nl.po: Likewise.
55388 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55390         [BZ #14246]
55391         * manual/argp.texi (Argp Helper Functions): Move node to follow
55392         Argp Parsing State.
55394         [BZ #14872]
55395         * manual/conf.texi (Limits on File System Capacity): Mention if
55396         terminating null is included in the max size.
55398 2012-12-10  Andreas Jaeger  <aj@suse.de>
55400         * po/cs.po: Update from translation team.
55402 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55404         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55405         void pointer and cast to uintptr_t.
55406         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55407         path.
55408         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55409         * sysdeps/s390/s390-64/memset.S: Likewise.
55411 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55413         [BZ #14833]
55414         * menual/message.texi (Message Translation): Fix typos.
55415         (Helper programs for gettext): Likewise.
55417 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55419         [BZ #14898]
55420         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55421         Change to -1.
55423 2012-12-07  David S. Miller  <davem@davemloft.net>
55425         * po/libc.pot: Update.
55427 2012-12-07  Richard Henderson  <rth@redhat.com>
55429         [BZ #10114]
55430         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55431         normal/normal case to before the switch.
55432         (_FP_DIV): Likewise.
55434 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55435             Mike Frysinger  <vapier@gentoo.org>
55437         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55438         check for __NR_fadvise64_64.
55440 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55442         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55443         0, not just to plain "0" as a statement.
55444         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55445         with cw.
55447 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55449         * NEWS: Use sourceware.org in Bugzilla URL.
55451 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55454         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55456         * stdio-common/tst-put-error.c (do_test): Add newline to the
55457         padded test to ensure flush.
55459 2012-12-05  Jeff Law  <law@redhat.com>
55461         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55463 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55465         * README: Don't refer to ports add-on as distributed separately.
55466         Mention AArch64 in list of systems supported in the ports add-on.
55468         * LICENSES: Add more non-FSF copyright and license notices.
55470         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55471         ((unused)).
55473         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55475         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55476         10000 as width of padded output.
55478 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55480         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55482         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55483         variable LX with __attribute__ ((unused)).
55484         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55485         Likewise.
55486         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55488         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55489         with __attribute__ ((unused)).
55491 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55493         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55495 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55497         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55498         (CFLAGS-nldbl-acos.c): New variable.
55499         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55500         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55501         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55502         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55503         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55504         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55505         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55506         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55507         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55508         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55509         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55510         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55511         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55512         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55513         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55514         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55515         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55516         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55517         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55518         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55519         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55520         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55521         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55522         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55523         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55524         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55525         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55526         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55527         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55528         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55529         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55530         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55531         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55532         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55533         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55534         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55535         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55536         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55537         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55538         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55539         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55540         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55541         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55542         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55543         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55544         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55545         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55546         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55547         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55548         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55549         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55550         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55551         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55552         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55553         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55554         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55555         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55556         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55557         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55558         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55559         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55560         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55561         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55562         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55563         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55564         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55565         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55566         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55567         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55568         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55569         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55570         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55571         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55572         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55573         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55574         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55575         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55576         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55577         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55578         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55579         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55580         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55581         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55582         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55583         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55584         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55585         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55586         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55587         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55588         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55589         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55590         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55591         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55592         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55593         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55594         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55595         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55598         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55600         [BZ #14914]
55601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55602         whole low double instead of just low 47 bits when splitting values
55603         into two parts.
55605 2012-12-03  Allan McRae  <allan@archlinux.org>
55607         * manual/stdio.texi (Predefined Printf Handlers): Remove
55608         @hsep and @vsep usage.
55610 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55612         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55613         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55615 2012-12-03  Jeff Law  <law@redhat.com>
55617         * time/sys/time.h (settimeofday): Do not mark TV argument
55618         as __nonnull.
55620 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55622         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55623         when currently writing and seek to current position when not.
55624         * libio/Makefile (tests): Remove bug-fclose1.
55625         * libio/bug-fclose1.c: Delete.
55627 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55629         * manual/arith.texi (feenableexcept): Fix typo.
55630         (fedisableexcept): Likewise.
55632 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55634         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55635         second, differently-typed declaration, rather than a cast.
55637 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55639         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55640         * include/rpc/svc.h: ... here.
55642 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55644         [BZ #13013]
55645         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55646         depending n and resplen2 to catch cases where answer
55647         equals answerp2.
55649 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55651         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55652         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55654 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55656         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55658 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55660         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55662 2012-11-28  Jeff Law  <law@redhat.com>
55664         [BZ #13761]
55665         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55666         dataset_temporary.  Track alloca usage into alloca_used.
55667         If dataset is large allocate and release it via malloc/free.
55669 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55671         [BZ #14197]
55672         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55674 2012-11-28  David S. Miller  <davem@davemloft.net>
55676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55678 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55680         [BZ #14803]
55681         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55682         of pi/2 rounded to nearest to 64 bits.
55683         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55684         nearest to 64 bits.
55685         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55686         bits.
55688 2012-11-28  Jeff Law <law@redhat.com>
55689             Martin Osvald <mosvald@redhat.com>
55691         [BZ #14889]
55692         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55693         * sunrpc/svc.c: Include time.h.
55694         (__svc_accept_failed): New function.
55695         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55696         any reason other than EINTR, call __svc_accept_failed.
55697         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55698         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55700 2012-11-28  Andreas Schwab  <schwab@suse.de>
55702         * scripts/abilist.awk: Also handle indirect functions in .opd
55703         section.
55705 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55707         [BZ #13881]
55708         * sysdeps/x86/fpu/powl_helper.c: New file.
55709         * sysdeps/x86/fpu/Makefile: Likewise.
55710         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55711         (p3): New object.
55712         (__ieee754_powl): Use __powl_helper for finite arguments except
55713         integer exponents below 8.
55714         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55715         (p3): New object.
55716         (__ieee754_powl): Use __powl_helper for finite arguments except
55717         integer exponents below 8.
55718         * math/libm-test.inc (pow_test): Add more tests and enable some
55719         previously disabled tests.
55720         * sysdeps/i386/fpu/libm-test-ulps: Update.
55721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55723 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55724             Carlos O'Donell  <carlos_odonell@mentor.com>
55726         * nss/makedb.c (is_prime): Assert that input is odd and greater
55727         than 4.  Note that fact in a comment too.
55728         (next_prime): Add 4 to input.
55730 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55732         [BZ #11741]
55733         * libio/Makefile (tests): Add test case tst-fwrite-error.
55734         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55735         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55736         * libio/tst-fwrite-error.c: New test case.
55738 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55740         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55741         before casting to void *.
55742         * include/libc-internal.h (__pointer_type): New macro.
55743         (__integer_if_pointer_type_sub): Likewise.
55744         (__integer_if_pointer_type): Likewise.
55745         (cast_to_integer): Likewise.
55746         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55747         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55748         before casting to atomic64_t.
55749         (atomic_exchange_acq): Likewise.
55750         (__arch_exchange_and_add_body): Likewise.
55751         (__arch_add_body): Likewise.
55752         (atomic_add_negative): Likewise.
55753         (atomic_add_zero): Likewise.
55755 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55757         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55758         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55759         (add_fdes): Likewise.
55760         (linear_search_fdes): Likewise.
55761         (binary_search_unencoded_fdes): Likewise.
55763 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55765         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55767 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55769         * configure.in: Autodetect C++ header directories.
55770         * configure: Regenerated.
55772 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55774         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55776 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55780 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55782         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55783         LDBL_MANT_DIG == 106]: Disable some tests.
55784         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55785         Likewise.
55786         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55787         Likewise.
55789         [BZ #14871]
55790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55791         input for small inputs.  Return +/- pi/2 for large inputs.
55792         * math/libm-test.inc (atan_test): Add more tests.
55794         * sysdeps/generic/unwind-dw2-fde-glibc.c
55795         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55796         __attribute__ ((unused)).
55798         [BZ #14645]
55799         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55800         x * y if x and y are nonzero and z is zero.
55802         [BZ #14811]
55803         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55804         nonzero exponents with absolute value below 0x1p-117 to +/-
55805         0x1p-117.
55807         [BZ #14869]
55808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55809         up arguments below 2**-450, not just those below 2**-500.
55810         * math/libm-test.inc (hypot_test): Add another test.
55812         [BZ #14868]
55813         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55814         Return a+b for ratio over 2**120, not 2**60.
55815         * math/libm-test.inc (hypot_test): Add another test.
55817         * math/libm-test.inc (clog_test): Use
55818         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55819         (clog10_test): Likewise.
55821         [BZ #6778]
55822         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55824 2012-11-22  Andreas Schwab  <schwab@suse.de>
55826         * sysdeps/i386/fpu/libm-test-ulps: Update.
55828 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55830         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55831         printf output with newline.
55833 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55835         [BZ #14865]
55836         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55837         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55838         -z nodlopen, -z initfirst and -z execstack support.
55839         * configure: Regenerated.
55841         * elf/elf.h (DF_1_NODIRECT): New macro.
55842         (DF_1_IGNMULDEF): Likewise.
55843         (DF_1_NOKSYMS): Likewise.
55844         (DF_1_NOHDR): Likewise.
55845         (DF_1_EDITED): Likewise.
55846         (DF_1_NORELOC): Likewise.
55847         (DF_1_SYMINTPOSE): Likewise.
55848         (DF_1_GLOBAUDIT): Likewise.
55849         (DF_1_SINGLETON): Likewise.
55850         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55851         DT_1_SUPPORTED_MASK bits.
55852         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55854 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55856         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55858 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55860         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55861         macro.
55863         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55864         (sendmmsg): Move declarations...
55865         * socket/sys/socket.h: ... here.
55866         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55867         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55868         include it from...
55869         * socket/recvmmsg.c: ... this new file.
55870         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55871         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55872         definition of __sendmmsg hidden.
55873         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55874         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55875         Move ENOSYS stub into and include it from...
55876         * socket/sendmmsg.c: ... this new file.
55877         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55878         (sysdep_routines): Move recvmmsg and sendmmsg...
55879         * socket/Makefile (routines): ... here.
55880         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55881         (GLIBC_PRIVATE): Add __sendmmsg.
55882         * include/sys/socket.h (__sendmmsg): Add declarations.
55883         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55884         sendmmsg.
55886 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55889         variable I1 with __attribute__ ((unused)).
55890         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55892 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55894         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55895         DUMMY variables with __attribute__ ((unused)).
55897         * bits/byteswap.h: Include <bits/types.h>.
55898         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55900 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55902         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55903         string_t.  Do not manually set errno.
55904         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55905         length with __strnlen.  Make sure to both set errno and return it on
55906         failure.
55908 2012-11-19  David S. Miller  <davem@davemloft.net>
55910         With help from Joseph Myers.
55911         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55912         very large arguments properly.
55913         * math/libm-test.inc (atan_test): New tests.
55914         (atan2_test): New tests.
55915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55918 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55920         [BZ #14856]
55921         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55922         Define to 3.
55924         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55925         [POSIX] (EADDRNOTAVAIL): Likewise.
55926         [POSIX] (EAFNOSUPPORT): Likewise.
55927         [POSIX] (EALREADY): Likewise.
55928         [POSIX] (ECONNABORTED): Likewise.
55929         [POSIX] (ECONNREFUSED): Likewise.
55930         [POSIX] (ECONNRESET): Likewise.
55931         [POSIX] (EDESTADDRREQ): Likewise.
55932         [POSIX] (EDQUOT): Likewise.
55933         [POSIX] (EHOSTUNREACH): Likewise.
55934         [POSIX] (EIDRM): Likewise.
55935         [POSIX] (EISCONN): Likewise.
55936         [POSIX] (ELOOP): Likewise.
55937         [POSIX] (EMULTIHOP): Likewise.
55938         [POSIX] (ENETDOWN): Likewise.
55939         [POSIX] (ENETUNREACH): Likewise.
55940         [POSIX] (ENOBUFS): Likewise.
55941         [POSIX] (ENODATA): Likewise.
55942         [POSIX] (ENOLINK): Likewise.
55943         [POSIX] (ENOMSG): Likewise.
55944         [POSIX] (ENOPROTOOPT): Likewise.
55945         [POSIX] (ENOSR): Likewise.
55946         [POSIX] (ENOSTR): Likewise.
55947         [POSIX] (ENOTCONN): Likewise.
55948         [POSIX] (ENOTSOCK): Likewise.
55949         [POSIX] (EOPNOTSUPP): Likewise.
55950         [POSIX] (EOVERFLOW): Likewise.
55951         [POSIX] (EPROTO): Likewise.
55952         [POSIX] (EPROTONOSUPPORT): Likewise.
55953         [POSIX] (EPROTOTYPE): Likewise.
55954         [POSIX] (ESTALE): Likewise.
55955         [POSIX] (ETIME): Likewise.
55956         [POSIX] (ETXTBSY): Likewise.
55957         [POSIX] (EWOULDBLOCK): Likewise.
55958         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55959         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55960         [POSIX] (SEEK_CUR): Likewise.
55961         [POSIX] (SEEK_END): Likewise.
55962         [POSIX || UNIX98] (mode_t): Do not require.
55963         [POSIX] (off_t): Likewise.
55964         [POSIX] (pid_t): Likewise.
55965         [POSIX] (sys/stat.h): Do not allow header.
55966         [POSIX] (unistd.h): Likewise.
55967         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55968         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55969         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55970         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55971         require.
55972         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55973         sigevent): Specify elements.
55974         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55975         entry.
55976         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55977         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55979         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55980         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55981         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55982         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55983         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55984         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55985         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55986         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55987         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55988         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55989         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55990         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55991         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55992         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55993         Likewise.
55994         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55995         Likewise.
55996         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55997         Likewise.
55998         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55999         Likewise.
56000         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56001         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56002         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56003         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56004         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56005         Specify lower bound on value.
56006         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56007         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56008         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56009         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56010         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56011         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56012         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56013         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56014         value.
56015         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56016         as optional.
56017         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56018         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56019         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56020         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56021         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56022         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56023         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56024         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56025         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56026         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56027         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56028         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56029         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56030         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56031         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56032         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56033         entry.
56034         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56035         optional.
56036         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56037         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56038         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56039         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56040         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56041         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56042         Likewise.
56043         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56044         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56045         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56046         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56047         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56048         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56049         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56050         as optional.
56051         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56052         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56053         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56054         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56055         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56056         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56057         specify as optional.
56058         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56059         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56060         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56061         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56062         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56063         [XPG3] (NL_LANGMAX): Likewise.
56064         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56065         [POSIX || XPG3] (NL_NMAX): Likewise.
56066         [POSIX || XPG3] (NL_SETMAX): Likewise.
56067         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56068         [XPG3] (NZERO): Likewise.
56069         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56070         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56071         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56072         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56073         (REG_ERANGE): Expect.
56074         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56075         optional-constant.
56076         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56077         Use (void) in prototype.
56078         [POSIX] (*_t): Allow.
56079         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56080         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56081         (WRDE_BADVAL): Expect.
56083         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56084         expect.
56085         [XPG3 || XPG4] (O_RSYNC): Likewise.
56086         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56087         Likewise.
56088         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56089         [XPG3 || XPG4] (sigqueue): Likewise.
56090         [XPG3 || XPG4] (sigtimedwait): Likewise.
56091         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56092         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56093         [XPG3 || XPG4] (vsnprintf): Likewise.
56094         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56095         Likewise.
56096         [XPG3 || XPG4] (blksize_t): Likewise.
56097         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56098         Likewise.
56099         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56100         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56101         [XPG3 || XPG4] (struct itimerspec): Likewise.
56102         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56103         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56104         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56105         [XPG3 || XPG4] (clockid_t): Likewise.
56106         [XPG3 || XPG4] (timer_t): Likewise.
56107         [XPG3 || XPG4] (clock_getres): Likewise.
56108         [XPG3 || XPG4] (clock_gettime): Likewise.
56109         [XPG3 || XPG4] (clock_settime): Likewise.
56110         [XPG3 || XPG4] (nanosleep): Likewise.
56111         [XPG3 || XPG4] (timer_create): Likewise.
56112         [XPG3 || XPG4] (timer_delete): Likewise.
56113         [XPG3 || XPG4] (timer_gettime): Likewise.
56114         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56115         [XPG3 || XPG4] (timer_settime): Likewise.
56116         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56117         [XPG3 || XPG4] (getlogin_r): Likewise.
56118         [XPG3 || XPG4] (pread): Likewise.
56119         [XPG3 || XPG4] (pthread_atfork): Likewise.
56120         [XPG3 || XPG4] (pwrite): Likewise.
56122         [BZ #14835]
56123         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56124         <bits/siginfo.h>.
56126 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56128         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56129         finalizing MALLSTREAM.
56131         * sysdeps/mach/hurd/syncfs.c: New file.
56133 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56135         [BZ #14719]
56136         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56137         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56139         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56140         (_nss_dns_gethostbyname4_r): Likewise.
56141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56142         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56144 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56146         [BZ #13763]
56147         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56149 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56151         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56152         * elf/cache.c (print_entry): Print ",AArch64" for
56153         FLAG_AARCH64_LIB64
56155         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56156         * elf/cache.c (print_entry): Print ",hard-float" for
56157         FLAG_ARM_LIBHF.
56159 2012-11-18  David S. Miller  <davem@davemloft.net>
56161         With help from Joseph Myers.
56162         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56163         cutoff to 2**-13.
56164         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56165         cutoff to 2**-25.
56166         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56167         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56168         small.
56169         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56170         * math/libm-test.inc (y0_test): New tests.
56171         (y1_test): New tests.
56172         * sysdeps/i386/fpu/libm-test-ulps: Update.
56173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56176 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56178         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56179         64-bit targets.
56180         * configure: Regenerated.
56182 2012-11-17  David S. Miller  <davem@davemloft.net>
56184         [BZ #14811]
56185         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56186         nonzero exponents with absolute value below 0x1p-128 to +/-
56187         0x1p-128.
56189 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56191         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56193         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56195         * posix/getconf-speclist.c: New file.
56196         * posix/posix-envs.def: Likewise.
56197         * posix/confstr.c (START_ENV_GROUP): New macro.
56198         (END_ENV_GROUP): Likewise.
56199         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56200         (KNOWN_PRESENT_ENV_STRING): Likewise.
56201         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56202         (UNKNOWN_ENVIRONMENT): Likewise.
56203         (confstr): Include posix-envs.def instead of handling
56204         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56205         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56206         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56207         (END_ENV_GROUP): Likewise.
56208         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56209         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56210         (UNKNOWN_ENVIRONMENT): Likewise.
56211         (__sysconf): Include posix-envs.def instead of handling associated
56212         cases directly here.
56213         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56214         preprocessing getconf-speclist.c rather than running getconf or
56215         generating empty file.
56217 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56219         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56221 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56223         [BZ #14672]
56224         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56226 2012-11-16  David S. Miller  <davem@davemloft.net>
56228         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56229         smaller than LDBL_EPSILON/2.0L, just return xm1.
56231 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56233         * elf/tst-array1.c (init): Set constructor priority to 1000.
56234         (fini): Set destructor priority to 1000.
56235         * elf/tst-array2dep.c: Likewise.
56237 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56239         [BZ #11741]
56240         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56241         (_IO_new_file_xsputn): Also return EOF if none of the input
56242         data was written when overflow failed.
56243         * libio/iopadn.c (_IO_padn): Likewise.
56244         * libio/iowpadn.c (_IO_wpadn): Likewise.
56245         * stdio-common/tst-put-error.c: Add copyright notice.
56246         (do_test): Add case for printing padded string.
56247         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56248         _IO_padn returned error.
56249         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56250         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56251         return EOF.
56253 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56255         * libio/libioP.h: Add comment note that the references to C++
56256         bits are now obsolete.
56258 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56260         * math/libm-test.inc (check_complex): Use asprintf.
56262 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56264         * debug/pcprofiledump.c (print_version): Update copyright year.
56265         * malloc/memusagestat.c (print_version): Likewise.
56267 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56269         [BZ #14831]
56270         * elf/Makefile (tests): Add tst-audit8.
56271         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56272         ($(objpfx)tst-audit8.out): New target.
56273         (tst-audit8-ENV): New variable.
56274         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56275         audit if l_reloc_result is NULL.
56276         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56277         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56278         * elf/tst-audit8.c: New file.
56280 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56282         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56283         * misc/Makefile (CFLAGS-select.c): Define.
56284         * posix/Makefile (CFLAGS-pause.c): Define.
56286 2012-11-13  David S. Miller  <davem@davemloft.net>
56288         * crypt/Makefile: Move test targets after toplevel Rules
56289         inclusion.  Grab any necessary sysdep routines when linking.
56290         * crypt/md5.c (md5_process_block): Remove define, we will always
56291         name it __md5_process_block.
56292         (md5_finish_ctx): Update md5_process_block call.
56293         (md5_stream): Likewise.
56294         (md5_process_bytes): Likewise.
56295         (md5_process_block): Rename to __md5_process_block and move to ...
56296         * crypt/md5-block.c: ... here.
56297         * crypt/sha256.c (sha256_process_block): Move to ...
56298         * crypt/sha256-block.c: ... here.
56299         * crypt/sha512.c (sha512_process_block): Move to ...
56300         * crypt/sha512-block.c: ... here.
56301         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56302         path.
56303         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56304         * sysdeps/sparc/sparc64/multiarch/Makefile
56305         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56306         crypt subdir.
56307         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56308         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56309         multiarch changes.
56310         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56311         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56312         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56313         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56314         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56315         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56316         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56317         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56318         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56319         file.
56320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56321         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56322         file.
56323         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56325 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56327         * timezone/tzselect.ksh: Update from tzcode git revision
56328         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56329         * timezone/zdump.c: Likewise.
56330         * timezone/zic.c: Likewise.
56331         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56332         in TZVERSION setting, not $(PKGVERSION).
56333         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56334         REPORT_BUGS_TO settings.
56336         [BZ #14838]
56337         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56338         macro.
56340 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56342         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56343         detection to immediately after _FP_ROUND().
56344         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56345         bits are 0.
56347 2012-11-11  David S. Miller  <davem@davemloft.net>
56349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56350         inttypes.h
56351         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56352         __close rather than their public counterparts.
56354 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56356         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56357         file.
56358         [UNIX98] (sem_timedwait): Do not expect.
56359         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56360         [XPG4 || UNIX98] (sockatmark): Do not expect.
56361         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56362         (clock_getcpuclockid): Do not expect.
56363         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56364         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56365         Do not expect.
56366         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56367         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56368         [UNIX98] (vwscanf): Likewise.
56369         [UNIX98] (vswscanf): Likewise.
56371 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56373         * timezone/version.h: Remove file.
56374         * timezone/README: Do not refer to version.h.
56375         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56376         $(objpfx)version.h.
56377         ($(objpfx)zdump.o): Likewise.
56378         ($(objpfx)version.h): New target.
56380         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56381         2012i.
56382         * timezone/README: Don't mention modification to tzselect.ksh.
56383         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56384         work on unmodified tzselect.ksh.  Substitute version numbers in
56385         tzselect.ksh.
56387         * Makefile (format-me): Remove.
56388         (INSTALL): Adjust indentation.  Use commands directly instead of
56389         using $(format-me).
56391         * aclocal.m4 (ACX_PKGVERSION): New macro.
56392         (ACX_BUGURL): Likewise.
56393         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56394         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56395         (REPORT_BUGS_TO): Likewise.
56396         * configure: Regenerated.
56397         * config.h.in (PKGVERSION): New macro.
56398         (REPORT_BUGS_TO): Likewise.
56399         * config.make.in (PKGVERSION): New variable.
56400         (PKGVERSION_TEXI): Likewise.
56401         (REPORT_BUGS_TO): Likewise.
56402         (REPORT_BUGS_TEXI): Likewise.
56403         * Makefile (format-me): Use -I$(common-objpfx)manual.
56404         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56405         ($(common-objpfx)manual/%): New target.
56406         (manual/%): Remove target.
56407         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56408         (print_version): Use PKGVERSION.
56409         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56410         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56411         and REPORT_BUGS_TO.
56412         ($(objpfx)xtrace): Likewise.
56413         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56414         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56415         (print_version): Use PKGVERSION.
56416         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56417         (do_version): Use PKGVERSION.
56418         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56419         REPORT_BUGS_TO.
56420         (common-ldd-rewrite): Likewise.
56421         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56422         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56423         (print_version): Use PKGVERSION.
56424         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56425         * elf/pldd.c (argp_program_bug_address): Remove variable.
56426         (more_help): New function.
56427         (argp): Use more_help.
56428         (print_version): Use PKGVERSION.
56429         * elf/sln.c (main): Use PKGVERSION.
56430         (usage): Use REPORT_BUGS_TO.
56431         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56432         (top level): Use PKGVERSION.
56433         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56434         (print_version): Use PKGVERSION.
56435         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56436         (print_version): Use PKGVERSION.
56437         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56438         (print_version): Use PKGVERSION.
56439         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56440         (print_version): Use PKGVERSION.
56441         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56442         (print_version): Use PKGVERSION.
56443         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56444         (print_version): Use PKGVERSION.
56445         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56446         and BUGURL.
56447         ($(objpfx)memusage): Likewise.
56448         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56449         (do_version): Use PKGVERSION.
56450         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56451         (print_version): Use PKGVERSION.
56452         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56453         ($PKGVERSION): New variable.
56454         ($REPORT_BUGS_TO): Likewise.
56455         (usage): Use $REPORT_BUGS_TO.
56456         (top level): Use $PKGVERSION.
56457         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56458         ($(objpfx)pkgvers.texi): New rule.
56459         ($(objpfx)stamp-pkgvers): Likewise.
56460         * manual/install.texi: Include pkgvers.texi.
56461         (--with-pkgversion): Document new configure option.
56462         (--with-bugurl): Likewise.
56463         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56464         than necessarily for this particular distribution.  Use
56465         REPORT_BUGS_TO for where to report bugs.
56466         * INSTALL: Regenerated.
56467         * manual/libc.texinfo: Include pkgvers.texi.
56468         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56469         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56470         (print_version): Use PKGVERSION.
56471         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56472         (print_version): Use PKGVERSION.
56473         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56474         (print_version): Use PKGVERSION.
56475         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56476         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56477         macro.
56478         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56479         (print_version): Use PKGVERSION.
56480         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56481         (print_version): Use PKGVERSION.
56482         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56483         and PKGVERSION.
56485         * timezone/checktab.awk: Update from tzcode 2012i.
56486         * timezone/ialloc.c: Likewise.
56487         * timezone/private.h: Likewise.
56488         * timezone/scheck.c: Likewise.
56489         * timezone/tzfile.h: Likewise.
56490         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56491         (TZVERSION): Hardcode tzcode version number.
56492         * timezone/zdump.c: Update from tzcode 2012i.
56493         * timezone/zic.c: Likewise.
56494         * timezone/version.h: New file.
56495         * timezone/README: Describe version.h.  Update upstream location.
56497         [BZ #14824]
56498         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56499         (mktemp): Enable declaration.
56500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56501         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56503         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56504         Likewise.
56505         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56506         Likewise.
56507         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56508         Likewise.
56509         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56510         Likewise.
56511         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56512         Likewise.
56513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56514         Likewise.
56516         [BZ #14821]
56517         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56518         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56519         for copies of such integer values.
56520         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56521         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56523 2012-11-09  Andreas Jaeger  <aj@suse.de>
56525         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56526         definitions and declarations that are provided by
56527         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56529 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56531         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56532         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56533         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56534         definition.
56536 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56538         * elf/elf.h: Update comment before AArch64 relocations.
56540 2012-11-07  David S. Miller  <davem@davemloft.net>
56542         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56543         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56544         (__start_context): Declare.
56545         (__makecontext_ret): Delete.
56546         (__makecontext): Hook up __start_context instead of
56547         __makecontext_ret.
56548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56549         (sysdep_routines): Add __start_context when in stdlib.
56551 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56553         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56554         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56555         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56556         hardcoded "nm".
56557         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56558         (READELF): New variable.  Use it instead of hardcoded "readelf".
56560 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56562         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56563         * sysdeps/x86/Makefile: Here.
56564         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56565         * sysdeps/x86/tst-xmmymm.sh: This.
56567 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56569         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56570         expectations.
56571         [UNIX98] (pthread_barrier_t): Do not expect.
56572         [UNIX98] (pthread_barrierattr_t): Likewise.
56573         [UNIX98] (pthread_spinlock_t): Likewise.
56574         [UNIX98] (pthread_barrier_destroy): Likewise.
56575         [UNIX98] (pthread_barrier_init): Likewise.
56576         [UNIX98] (pthread_barrier_wait): Likewise.
56577         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56578         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56579         [UNIX98] (pthread_barrierattr_init): Likewise.
56580         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56581         [UNIX98] (pthread_getcpuclockid): Likewise.
56582         [UNIX98] (pthread_mutex_timedlock): Likewise.
56583         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56584         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56585         [UNIX98] (pthread_sigmask): Likewise.
56586         [UNIX98] (pthread_spin_destroy): Likewise.
56587         [UNIX98] (pthread_spin_init): Likewise.
56588         [UNIX98] (pthread_spin_lock): Likewise.
56589         [UNIX98] (pthread_spin_trylock): Likewise.
56590         [UNIX98] (pthread_spin_unlock): Likewise.
56591         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56592         Do not expect.
56593         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56594         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56595         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56596         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56597         [XPG3 || XPG4] (pthread_key_t): Likewise.
56598         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56599         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56600         [XPG3 || XPG4] (pthread_once_t): Likewise.
56601         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56602         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56603         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56604         [XPG3 || XPG4] (pthread_t): Likewise.
56606         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56607         not expect.
56608         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56610         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56611         Change function return type to int.
56613         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56614         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56615         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56616         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56617         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56618         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56619         [!POSIX] (posix_madvise): Likewise.
56620         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56621         && !UNIX98].
56622         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56623         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56624         (mode_t): Likewise.
56625         (posix_mem_offset): Likewise.
56626         (posix_typed_mem_get_info): Likewise.
56627         (posix_typed_mem_open): Likewise.
56629         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56630         Change condition to [XOPEN2K8].
56632         * conform/conformtest.pl: Preprocess allow-header data with -x c
56633         instead of from stdin.
56634         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56635         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56636         [C99-based standards] (cerfc): Likewise.
56637         [C99-based standards] (cexp2): Likewise.
56638         [C99-based standards] (cexpm1): Likewise.
56639         [C99-based standards] (clog10): Likewise.
56640         [C99-based standards] (clog1p): Likewise.
56641         [C99-based standards] (clog2): Likewise.
56642         [C99-based standards] (clgamma): Likewise.
56643         [C99-based standards] (ctgamma): Likewise.
56644         [C99-based standards] (cerff): Likewise.
56645         [C99-based standards] (cerfcf): Likewise.
56646         [C99-based standards] (cexp2f): Likewise.
56647         [C99-based standards] (cexpm1f): Likewise.
56648         [C99-based standards] (clog10f): Likewise.
56649         [C99-based standards] (clog1pf): Likewise.
56650         [C99-based standards] (clog2f): Likewise.
56651         [C99-based standards] (clgammaf): Likewise.
56652         [C99-based standards] (ctgammaf): Likewise.
56653         [C99-based standards] (cerfl): Likewise.
56654         [C99-based standards] (cerfcl): Likewise.
56655         [C99-based standards] (cexp2l): Likewise.
56656         [C99-based standards] (cexpm1l): Likewise.
56657         [C99-based standards] (clog10l): Likewise.
56658         [C99-based standards] (clog1pl): Likewise.
56659         [C99-based standards] (clog2l): Likewise.
56660         [C99-based standards] (clgammal): Likewise.
56661         [C99-based standards] (ctgammal): Likewise.
56662         * conform/data/inttypes.h-data [C99-based standards]: Include
56663         stdint.h-data.  Remove all expectations for stdint.h contents.
56664         [C99-based standards] (PRI*): Do not allow.
56665         [C99-based standards] (SCN*): Likewise.
56666         [C99-based standards] (*_t): Likewise.
56667         [C99-based-standards] (PRId8): Expect macro.
56668         [C99-based-standards] (PRIi8): Likewise.
56669         [C99-based-standards] (PRIo8): Likewise.
56670         [C99-based-standards] (PRIu8): Likewise.
56671         [C99-based-standards] (PRIx8): Likewise.
56672         [C99-based-standards] (PRIX8): Likewise.
56673         [C99-based-standards] (SCNd8): Likewise.
56674         [C99-based-standards] (SCNi8): Likewise.
56675         [C99-based-standards] (SCNo8): Likewise.
56676         [C99-based-standards] (SCNu8): Likewise.
56677         [C99-based-standards] (SCNx8): Likewise.
56678         [C99-based-standards] (PRIdLEAST8): Likewise.
56679         [C99-based-standards] (PRIiLEAST8): Likewise.
56680         [C99-based-standards] (PRIoLEAST8): Likewise.
56681         [C99-based-standards] (PRIuLEAST8): Likewise.
56682         [C99-based-standards] (PRIxLEAST8): Likewise.
56683         [C99-based-standards] (PRIXLEAST8): Likewise.
56684         [C99-based-standards] (SCNdLEAST8): Likewise.
56685         [C99-based-standards] (SCNiLEAST8): Likewise.
56686         [C99-based-standards] (SCNoLEAST8): Likewise.
56687         [C99-based-standards] (SCNuLEAST8): Likewise.
56688         [C99-based-standards] (SCNxLEAST8): Likewise.
56689         [C99-based-standards] (PRIdFAST8): Likewise.
56690         [C99-based-standards] (PRIiFAST8): Likewise.
56691         [C99-based-standards] (PRIoFAST8): Likewise.
56692         [C99-based-standards] (PRIuFAST8): Likewise.
56693         [C99-based-standards] (PRIxFAST8): Likewise.
56694         [C99-based-standards] (PRIXFAST8): Likewise.
56695         [C99-based-standards] (SCNdFAST8): Likewise.
56696         [C99-based-standards] (SCNiFAST8): Likewise.
56697         [C99-based-standards] (SCNoFAST8): Likewise.
56698         [C99-based-standards] (SCNuFAST8): Likewise.
56699         [C99-based-standards] (SCNxFAST8): Likewise.
56700         [C99-based-standards] (PRId16): Likewise.
56701         [C99-based-standards] (PRIi16): Likewise.
56702         [C99-based-standards] (PRIo16): Likewise.
56703         [C99-based-standards] (PRIu16): Likewise.
56704         [C99-based-standards] (PRIx16): Likewise.
56705         [C99-based-standards] (PRIX16): Likewise.
56706         [C99-based-standards] (SCNd16): Likewise.
56707         [C99-based-standards] (SCNi16): Likewise.
56708         [C99-based-standards] (SCNo16): Likewise.
56709         [C99-based-standards] (SCNu16): Likewise.
56710         [C99-based-standards] (SCNx16): Likewise.
56711         [C99-based-standards] (PRIdLEAST16): Likewise.
56712         [C99-based-standards] (PRIiLEAST16): Likewise.
56713         [C99-based-standards] (PRIoLEAST16): Likewise.
56714         [C99-based-standards] (PRIuLEAST16): Likewise.
56715         [C99-based-standards] (PRIxLEAST16): Likewise.
56716         [C99-based-standards] (PRIXLEAST16): Likewise.
56717         [C99-based-standards] (SCNdLEAST16): Likewise.
56718         [C99-based-standards] (SCNiLEAST16): Likewise.
56719         [C99-based-standards] (SCNoLEAST16): Likewise.
56720         [C99-based-standards] (SCNuLEAST16): Likewise.
56721         [C99-based-standards] (SCNxLEAST16): Likewise.
56722         [C99-based-standards] (PRIdFAST16): Likewise.
56723         [C99-based-standards] (PRIiFAST16): Likewise.
56724         [C99-based-standards] (PRIoFAST16): Likewise.
56725         [C99-based-standards] (PRIuFAST16): Likewise.
56726         [C99-based-standards] (PRIxFAST16): Likewise.
56727         [C99-based-standards] (PRIXFAST16): Likewise.
56728         [C99-based-standards] (SCNdFAST16): Likewise.
56729         [C99-based-standards] (SCNiFAST16): Likewise.
56730         [C99-based-standards] (SCNoFAST16): Likewise.
56731         [C99-based-standards] (SCNuFAST16): Likewise.
56732         [C99-based-standards] (SCNxFAST16): Likewise.
56733         [C99-based-standards] (PRId32): Likewise.
56734         [C99-based-standards] (PRIi32): Likewise.
56735         [C99-based-standards] (PRIo32): Likewise.
56736         [C99-based-standards] (PRIu32): Likewise.
56737         [C99-based-standards] (PRIx32): Likewise.
56738         [C99-based-standards] (PRIX32): Likewise.
56739         [C99-based-standards] (SCNd32): Likewise.
56740         [C99-based-standards] (SCNi32): Likewise.
56741         [C99-based-standards] (SCNo32): Likewise.
56742         [C99-based-standards] (SCNu32): Likewise.
56743         [C99-based-standards] (SCNx32): Likewise.
56744         [C99-based-standards] (PRIdLEAST32): Likewise.
56745         [C99-based-standards] (PRIiLEAST32): Likewise.
56746         [C99-based-standards] (PRIoLEAST32): Likewise.
56747         [C99-based-standards] (PRIuLEAST32): Likewise.
56748         [C99-based-standards] (PRIxLEAST32): Likewise.
56749         [C99-based-standards] (PRIXLEAST32): Likewise.
56750         [C99-based-standards] (SCNdLEAST32): Likewise.
56751         [C99-based-standards] (SCNiLEAST32): Likewise.
56752         [C99-based-standards] (SCNoLEAST32): Likewise.
56753         [C99-based-standards] (SCNuLEAST32): Likewise.
56754         [C99-based-standards] (SCNxLEAST32): Likewise.
56755         [C99-based-standards] (PRIdFAST32): Likewise.
56756         [C99-based-standards] (PRIiFAST32): Likewise.
56757         [C99-based-standards] (PRIoFAST32): Likewise.
56758         [C99-based-standards] (PRIuFAST32): Likewise.
56759         [C99-based-standards] (PRIxFAST32): Likewise.
56760         [C99-based-standards] (PRIXFAST32): Likewise.
56761         [C99-based-standards] (SCNdFAST32): Likewise.
56762         [C99-based-standards] (SCNiFAST32): Likewise.
56763         [C99-based-standards] (SCNoFAST32): Likewise.
56764         [C99-based-standards] (SCNuFAST32): Likewise.
56765         [C99-based-standards] (SCNxFAST32): Likewise.
56766         [C99-based-standards] (PRId64): Likewise.
56767         [C99-based-standards] (PRIi64): Likewise.
56768         [C99-based-standards] (PRIo64): Likewise.
56769         [C99-based-standards] (PRIu64): Likewise.
56770         [C99-based-standards] (PRIx64): Likewise.
56771         [C99-based-standards] (PRIX64): Likewise.
56772         [C99-based-standards] (SCNd64): Likewise.
56773         [C99-based-standards] (SCNi64): Likewise.
56774         [C99-based-standards] (SCNo64): Likewise.
56775         [C99-based-standards] (SCNu64): Likewise.
56776         [C99-based-standards] (SCNx64): Likewise.
56777         [C99-based-standards] (PRIdLEAST64): Likewise.
56778         [C99-based-standards] (PRIiLEAST64): Likewise.
56779         [C99-based-standards] (PRIoLEAST64): Likewise.
56780         [C99-based-standards] (PRIuLEAST64): Likewise.
56781         [C99-based-standards] (PRIxLEAST64): Likewise.
56782         [C99-based-standards] (PRIXLEAST64): Likewise.
56783         [C99-based-standards] (SCNdLEAST64): Likewise.
56784         [C99-based-standards] (SCNiLEAST64): Likewise.
56785         [C99-based-standards] (SCNoLEAST64): Likewise.
56786         [C99-based-standards] (SCNuLEAST64): Likewise.
56787         [C99-based-standards] (SCNxLEAST64): Likewise.
56788         [C99-based-standards] (PRIdFAST64): Likewise.
56789         [C99-based-standards] (PRIiFAST64): Likewise.
56790         [C99-based-standards] (PRIoFAST64): Likewise.
56791         [C99-based-standards] (PRIuFAST64): Likewise.
56792         [C99-based-standards] (PRIxFAST64): Likewise.
56793         [C99-based-standards] (PRIXFAST64): Likewise.
56794         [C99-based-standards] (SCNdFAST64): Likewise.
56795         [C99-based-standards] (SCNiFAST64): Likewise.
56796         [C99-based-standards] (SCNoFAST64): Likewise.
56797         [C99-based-standards] (SCNuFAST64): Likewise.
56798         [C99-based-standards] (SCNxFAST64): Likewise.
56799         [C99-based-standards] (PRIdMAX): Likewise.
56800         [C99-based-standards] (PRIiMAX): Likewise.
56801         [C99-based-standards] (PRIoMAX): Likewise.
56802         [C99-based-standards] (PRIuMAX): Likewise.
56803         [C99-based-standards] (PRIxMAX): Likewise.
56804         [C99-based-standards] (PRIXMAX): Likewise.
56805         [C99-based-standards] (SCNdMAX): Likewise.
56806         [C99-based-standards] (SCNiMAX): Likewise.
56807         [C99-based-standards] (SCNoMAX): Likewise.
56808         [C99-based-standards] (SCNuMAX): Likewise.
56809         [C99-based-standards] (SCNxMAX): Likewise.
56810         [C99-based-standards] (PRIdPTR): Likewise.
56811         [C99-based-standards] (PRIiPTR): Likewise.
56812         [C99-based-standards] (PRIoPTR): Likewise.
56813         [C99-based-standards] (PRIuPTR): Likewise.
56814         [C99-based-standards] (PRIxPTR): Likewise.
56815         [C99-based-standards] (PRIXPTR): Likewise.
56816         [C99-based-standards] (SCNdPTR): Likewise.
56817         [C99-based-standards] (SCNiPTR): Likewise.
56818         [C99-based-standards] (SCNoPTR): Likewise.
56819         [C99-based-standards] (SCNuPTR): Likewise.
56820         [C99-based-standards] (SCNxPTR): Likewise.
56821         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56822         allow.
56823         * conform/data/stdint.h-data: Update comments to clarify
56824         requirements.
56825         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56826         type.
56827         [C99-based standards] (INT8_MAX): Likewise.
56828         [C99-based standards] (INT16_MIN): Likewise.
56829         [C99-based standards] (INT16_MAX): Likewise.
56830         [C99-based standards] (INT32_MIN): Likewise.
56831         [C99-based standards] (INT32_MAX): Likewise.
56832         [C99-based standards] (INT64_MIN): Likewise.
56833         [C99-based standards] (INT64_MAX): Likewise.
56834         [C99-based standards] (UINT8_MAX): Likewise.
56835         [C99-based standards] (UINT16_MAX): Likewise.
56836         [C99-based standards] (UINT32_MAX): Likewise.
56837         [C99-based standards] (UINT64_MAX): Likewise.
56838         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56839         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56840         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56841         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56842         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56843         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56844         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56845         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56846         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56847         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56848         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56849         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56850         [C99-based standards] (INT_FAST8_MIN): Likewise.
56851         [C99-based standards] (INT_FAST8_MAX): Likewise.
56852         [C99-based standards] (INT_FAST16_MIN): Likewise.
56853         [C99-based standards] (INT_FAST16_MAX): Likewise.
56854         [C99-based standards] (INT_FAST32_MIN): Likewise.
56855         [C99-based standards] (INT_FAST32_MAX): Likewise.
56856         [C99-based standards] (INT_FAST64_MIN): Likewise.
56857         [C99-based standards] (INT_FAST64_MAX): Likewise.
56858         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56859         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56860         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56861         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56862         [C99-based standards] (INTPTR_MIN): Likewise.
56863         [C99-based standards] (INTPTR_MAX): Likewise.
56864         [C99-based standards] (UINTPTR_MAX): Likewise.
56865         [C99-based standards] (INTMAX_MIN): Likewise.
56866         [C99-based standards] (INTMAX_MAX): Likewise.
56867         [C99-based standards] (UINTMAX_MAX): Likewise.
56868         [C99-based standards] (PTRDIFF_MIN): Likewise.
56869         [C99-based standards] (PTRDIFF_MAX): Likewise.
56870         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56871         [C99-based standards] (SIZE_MAX): Likewise.
56872         [C99-based standards] (WCHAR_MAX): Likewise.
56873         [C99-based standards] (WINT_MAX): Likewise.
56874         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56875         constraint on value.
56876         [C99-based standards] (WCHAR_MIN): Likewise.
56877         [C99-based standards] (WINT_MIN): Likewise.
56878         [C99-based standards] (*_t): Allow.
56879         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56880         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56881         Include math.h-data and complex.h-data.  Remove all expectations
56882         of math.h and complex.h contents.
56883         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56884         at end of line.
56885         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56886         (struct tm): Expect tag.
56887         [C99-based-standards] (wcstof): Expect function.
56888         [C99-based-standards] (wcstold): Likewise.
56889         [C99-based-standards] (wcstoll): Likewise.
56890         [C99-based-standards] (wcstoull): Likewise.
56891         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56892         macro-int-constant.  Specify type.
56893         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56894         constraint on value.
56895         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56896         Specify type.
56897         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56898         Specify value.
56899         [ISO C standards]: Do not allow headers.
56900         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56901         wcs[abcdefghijklmnopqrstuvwxyz]*.
56902         [ISO C standards] (*_t): Do not allow.
56903         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56904         Expect function.
56905         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56906         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56907         Specify type.
56908         [ISO C standards]: Do not allow headers.
56909         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56910         is[abcdefghijklmnopqrstuvwxyz]*.
56911         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56912         to[abcdefghijklmnopqrstuvwxyz]*.
56913         [ISO C standards] (*_t): Do not allow.
56914         * conform/data/stdalign.h-data: New file.
56915         * conform/data/stdbool.h-data: Likewise.
56916         * conform/data/stdnoreturn.h-data: Likewise.
56918 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56920         [BZ #14815]
56921         * manual/filesys.texi (Directory Entries): Typo fix.
56922         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56924 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56926         * elf/elf.h (EM_AARCH64): New macro.
56927         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56928         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56929         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56930         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56931         (R_AARCH64_TLSDESC): Likewise.
56932         (NT_ARM_TLS): Likewise.
56933         (NT_ARM_HW_BREAK): Likewise.
56934         (NT_ARM_HW_WATCH): Likewise.
56936 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56938         [BZ #14811]
56939         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56940         (__ieee754_powl): Saturate nonzero exponents with absolute value
56941         below 0x1p-79 to +/- 0x1p-79.
56942         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56943         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56944         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56945         nonzero exponents with absolute value below 0x1p-32 to +/-
56946         0x1p-32.
56947         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56948         (__ieee754_powl): Saturate nonzero exponents with absolute value
56949         below 0x1p-79 to +/- 0x1p-79.
56950         * math/libm-test.inc (pow_test): Add more tests.
56952 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56954         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56955         _dl_s390_cap_flags with kernel. Increase string length.
56956         (_dl_s390_platforms): Add z196 and zEC12.
56958 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56960         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56961         Change XOPEN21K to XOPEN2K.
56963 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56965         * string/memmove.c: Use memcpy when possible.
56967 2012-11-06  Andreas Jaeger  <aj@suse.de>
56969         * po/eo.po: Update from translation team.
56971 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56973         [BZ #14793]
56974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56975         exponent and small x and y exponents, scale x or y up.  Increase
56976         by 2 the exponent used in scaling up.
56977         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56979         * math/libm-test.inc (fma_test): Add more tests.
56980         (fma_test_towardzero): Likewise.
56981         (fma_test_downward): Likewise.
56982         (fma_test_upward): Likewise.
56984 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56986         [BZ #14805]
56987         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56988         fenv_t *.
56990         [BZ #14801]
56991         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56992         namespace for names of struct fields.
56993         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56994         fenv_t fields.
56995         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56996         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56998 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57000         [BZ #3665]
57001         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57003 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57005         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57006         PTR_DEMANGLE.
57008         [BZ #5246]
57009         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57010         PTR_DEMANGLE.
57012 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57014         [BZ #14797]
57015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57016         definitely overflow as x * y not x * y + z.
57017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57019         * math/libm-test.inc (fma_test): Add more tests.
57020         (fma_test_towardzero): Likewise.
57021         (fma_test_downward): Likewise.
57022         (fma_test_upward): Likewise.
57024 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57026         [BZ #157]
57028         * include/stub-tag.h: Remove file.
57029         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57030         '#include' of it.
57031         * manual/maint.texi (Porting): Don't reference it.
57032         * Makerules ($(objpfx)stubs): Likewise.
57033         * dirent/closedir.c: Don't include <stub-tag.h>.
57034         * dirent/dirfd.c: Likewise.
57035         * dirent/fdopendir.c: Likewise.
57036         * dirent/getdents.c: Likewise.
57037         * dirent/getdents64.c: Likewise.
57038         * dirent/opendir.c: Likewise.
57039         * dirent/readdir.c: Likewise.
57040         * dirent/readdir64.c: Likewise.
57041         * dirent/readdir64_r.c: Likewise.
57042         * dirent/readdir_r.c: Likewise.
57043         * dirent/rewinddir.c: Likewise.
57044         * dirent/seekdir.c: Likewise.
57045         * dirent/telldir.c: Likewise.
57046         * gmon/profil.c: Likewise.
57047         * grp/setgroups.c: Likewise.
57048         * inet/if_index.c: Likewise.
57049         * io/access.c: Likewise.
57050         * io/chdir.c: Likewise.
57051         * io/chmod.c: Likewise.
57052         * io/chown.c: Likewise.
57053         * io/close.c: Likewise.
57054         * io/dup.c: Likewise.
57055         * io/dup2.c: Likewise.
57056         * io/dup3.c: Likewise.
57057         * io/euidaccess.c: Likewise.
57058         * io/faccessat.c: Likewise.
57059         * io/fchdir.c: Likewise.
57060         * io/fchmod.c: Likewise.
57061         * io/fchmodat.c: Likewise.
57062         * io/fchown.c: Likewise.
57063         * io/fchownat.c: Likewise.
57064         * io/fcntl.c: Likewise.
57065         * io/flock.c: Likewise.
57066         * io/fstatfs.c: Likewise.
57067         * io/fstatfs64.c: Likewise.
57068         * io/fstatvfs.c: Likewise.
57069         * io/fstatvfs64.c: Likewise.
57070         * io/futimens.c: Likewise.
57071         * io/fxstat.c: Likewise.
57072         * io/fxstat64.c: Likewise.
57073         * io/fxstatat.c: Likewise.
57074         * io/fxstatat64.c: Likewise.
57075         * io/getcwd.c: Likewise.
57076         * io/isatty.c: Likewise.
57077         * io/lchmod.c: Likewise.
57078         * io/lchown.c: Likewise.
57079         * io/link.c: Likewise.
57080         * io/linkat.c: Likewise.
57081         * io/lseek.c: Likewise.
57082         * io/lseek64.c: Likewise.
57083         * io/lxstat64.c: Likewise.
57084         * io/mkdir.c: Likewise.
57085         * io/mkdirat.c: Likewise.
57086         * io/mkfifo.c: Likewise.
57087         * io/mkfifoat.c: Likewise.
57088         * io/open.c: Likewise.
57089         * io/open64.c: Likewise.
57090         * io/openat.c: Likewise.
57091         * io/openat64.c: Likewise.
57092         * io/pipe.c: Likewise.
57093         * io/pipe2.c: Likewise.
57094         * io/poll.c: Likewise.
57095         * io/posix_fadvise.c: Likewise.
57096         * io/posix_fadvise64.c: Likewise.
57097         * io/posix_fallocate.c: Likewise.
57098         * io/posix_fallocate64.c: Likewise.
57099         * io/read.c: Likewise.
57100         * io/readlink.c: Likewise.
57101         * io/readlinkat.c: Likewise.
57102         * io/rmdir.c: Likewise.
57103         * io/sendfile.c: Likewise.
57104         * io/sendfile64.c: Likewise.
57105         * io/statfs.c: Likewise.
57106         * io/statfs64.c: Likewise.
57107         * io/statvfs.c: Likewise.
57108         * io/statvfs64.c: Likewise.
57109         * io/symlink.c: Likewise.
57110         * io/symlinkat.c: Likewise.
57111         * io/ttyname.c: Likewise.
57112         * io/ttyname_r.c: Likewise.
57113         * io/umask.c: Likewise.
57114         * io/unlink.c: Likewise.
57115         * io/unlinkat.c: Likewise.
57116         * io/utime.c: Likewise.
57117         * io/utimensat.c: Likewise.
57118         * io/write.c: Likewise.
57119         * io/xmknod.c: Likewise.
57120         * io/xmknodat.c: Likewise.
57121         * io/xstat.c: Likewise.
57122         * io/xstat64.c: Likewise.
57123         * login/getpt.c: Likewise.
57124         * login/grantpt.c: Likewise.
57125         * login/unlockpt.c: Likewise.
57126         * math/e_acoshl.c: Likewise.
57127         * math/e_acosl.c: Likewise.
57128         * math/e_asinl.c: Likewise.
57129         * math/e_atan2l.c: Likewise.
57130         * math/e_atanhl.c: Likewise.
57131         * math/e_coshl.c: Likewise.
57132         * math/e_expl.c: Likewise.
57133         * math/e_fmodl.c: Likewise.
57134         * math/e_gammal_r.c: Likewise.
57135         * math/e_hypotl.c: Likewise.
57136         * math/e_j0l.c: Likewise.
57137         * math/e_j1l.c: Likewise.
57138         * math/e_jnl.c: Likewise.
57139         * math/e_lgammal_r.c: Likewise.
57140         * math/e_log10l.c: Likewise.
57141         * math/e_log2l.c: Likewise.
57142         * math/e_logl.c: Likewise.
57143         * math/e_powl.c: Likewise.
57144         * math/e_rem_pio2l.c: Likewise.
57145         * math/e_sinhl.c: Likewise.
57146         * math/e_sqrtl.c: Likewise.
57147         * math/fclrexcpt.c: Likewise.
57148         * math/fedisblxcpt.c: Likewise.
57149         * math/feenablxcpt.c: Likewise.
57150         * math/fegetenv.c: Likewise.
57151         * math/fegetexcept.c: Likewise.
57152         * math/fegetround.c: Likewise.
57153         * math/feholdexcpt.c: Likewise.
57154         * math/fesetenv.c: Likewise.
57155         * math/fesetround.c: Likewise.
57156         * math/feupdateenv.c: Likewise.
57157         * math/fgetexcptflg.c: Likewise.
57158         * math/fraiseexcpt.c: Likewise.
57159         * math/fsetexcptflg.c: Likewise.
57160         * math/ftestexcept.c: Likewise.
57161         * math/k_cosl.c: Likewise.
57162         * math/k_rem_pio2l.c: Likewise.
57163         * math/k_sinl.c: Likewise.
57164         * math/k_tanl.c: Likewise.
57165         * math/s_asinhl.c: Likewise.
57166         * math/s_atanl.c: Likewise.
57167         * math/s_cbrtl.c: Likewise.
57168         * math/s_erfl.c: Likewise.
57169         * math/s_expm1l.c: Likewise.
57170         * math/s_log1pl.c: Likewise.
57171         * math/s_tanhl.c: Likewise.
57172         * misc/acct.c: Likewise.
57173         * misc/brk.c: Likewise.
57174         * misc/chflags.c: Likewise.
57175         * misc/chroot.c: Likewise.
57176         * misc/fchflags.c: Likewise.
57177         * misc/fgetxattr.c: Likewise.
57178         * misc/flistxattr.c: Likewise.
57179         * misc/fremovexattr.c: Likewise.
57180         * misc/fsetxattr.c: Likewise.
57181         * misc/fsync.c: Likewise.
57182         * misc/ftruncate.c: Likewise.
57183         * misc/futimes.c: Likewise.
57184         * misc/futimesat.c: Likewise.
57185         * misc/getdomain.c: Likewise.
57186         * misc/getdtsz.c: Likewise.
57187         * misc/gethostid.c: Likewise.
57188         * misc/gethostname.c: Likewise.
57189         * misc/getloadavg.c: Likewise.
57190         * misc/getpagesize.c: Likewise.
57191         * misc/getsysstats.c: Likewise.
57192         * misc/getxattr.c: Likewise.
57193         * misc/gtty.c: Likewise.
57194         * misc/ioctl.c: Likewise.
57195         * misc/lgetxattr.c: Likewise.
57196         * misc/listxattr.c: Likewise.
57197         * misc/llistxattr.c: Likewise.
57198         * misc/lremovexattr.c: Likewise.
57199         * misc/lsetxattr.c: Likewise.
57200         * misc/lutimes.c: Likewise.
57201         * misc/madvise.c: Likewise.
57202         * misc/mincore.c: Likewise.
57203         * misc/mlock.c: Likewise.
57204         * misc/mlockall.c: Likewise.
57205         * misc/mmap.c: Likewise.
57206         * misc/mprotect.c: Likewise.
57207         * misc/msync.c: Likewise.
57208         * misc/munlock.c: Likewise.
57209         * misc/munlockall.c: Likewise.
57210         * misc/munmap.c: Likewise.
57211         * misc/preadv.c: Likewise.
57212         * misc/preadv64.c: Likewise.
57213         * misc/ptrace.c: Likewise.
57214         * misc/pwritev.c: Likewise.
57215         * misc/pwritev64.c: Likewise.
57216         * misc/readv.c: Likewise.
57217         * misc/reboot.c: Likewise.
57218         * misc/remap_file_pages.c: Likewise.
57219         * misc/removexattr.c: Likewise.
57220         * misc/revoke.c: Likewise.
57221         * misc/select.c: Likewise.
57222         * misc/setdomain.c: Likewise.
57223         * misc/setegid.c: Likewise.
57224         * misc/seteuid.c: Likewise.
57225         * misc/sethostid.c: Likewise.
57226         * misc/sethostname.c: Likewise.
57227         * misc/setregid.c: Likewise.
57228         * misc/setreuid.c: Likewise.
57229         * misc/setxattr.c: Likewise.
57230         * misc/sstk.c: Likewise.
57231         * misc/stty.c: Likewise.
57232         * misc/swapoff.c: Likewise.
57233         * misc/swapon.c: Likewise.
57234         * misc/sync.c: Likewise.
57235         * misc/syncfs.c: Likewise.
57236         * misc/syscall.c: Likewise.
57237         * misc/truncate.c: Likewise.
57238         * misc/ualarm.c: Likewise.
57239         * misc/usleep.c: Likewise.
57240         * misc/ustat.c: Likewise.
57241         * misc/utimes.c: Likewise.
57242         * misc/vhangup.c: Likewise.
57243         * misc/writev.c: Likewise.
57244         * posix/_exit.c: Likewise.
57245         * posix/alarm.c: Likewise.
57246         * posix/execve.c: Likewise.
57247         * posix/fexecve.c: Likewise.
57248         * posix/fork.c: Likewise.
57249         * posix/fpathconf.c: Likewise.
57250         * posix/getaddrinfo.c: Likewise.
57251         * posix/getegid.c: Likewise.
57252         * posix/geteuid.c: Likewise.
57253         * posix/getgid.c: Likewise.
57254         * posix/getgroups.c: Likewise.
57255         * posix/getlogin.c: Likewise.
57256         * posix/getlogin_r.c: Likewise.
57257         * posix/getpgid.c: Likewise.
57258         * posix/getpid.c: Likewise.
57259         * posix/getppid.c: Likewise.
57260         * posix/getresgid.c: Likewise.
57261         * posix/getresuid.c: Likewise.
57262         * posix/getsid.c: Likewise.
57263         * posix/getuid.c: Likewise.
57264         * posix/glob64.c: Likewise.
57265         * posix/nanosleep.c: Likewise.
57266         * posix/pathconf.c: Likewise.
57267         * posix/pause.c: Likewise.
57268         * posix/posix_madvise.c: Likewise.
57269         * posix/pread.c: Likewise.
57270         * posix/pread64.c: Likewise.
57271         * posix/pwrite.c: Likewise.
57272         * posix/pwrite64.c: Likewise.
57273         * posix/sched_getaffinity.c: Likewise.
57274         * posix/sched_getp.c: Likewise.
57275         * posix/sched_gets.c: Likewise.
57276         * posix/sched_primax.c: Likewise.
57277         * posix/sched_primin.c: Likewise.
57278         * posix/sched_rr_gi.c: Likewise.
57279         * posix/sched_setaffinity.c: Likewise.
57280         * posix/sched_setp.c: Likewise.
57281         * posix/sched_sets.c: Likewise.
57282         * posix/sched_yield.c: Likewise.
57283         * posix/setgid.c: Likewise.
57284         * posix/setlogin.c: Likewise.
57285         * posix/setpgid.c: Likewise.
57286         * posix/setresgid.c: Likewise.
57287         * posix/setresuid.c: Likewise.
57288         * posix/setsid.c: Likewise.
57289         * posix/setuid.c: Likewise.
57290         * posix/sleep.c: Likewise.
57291         * posix/spawni.c: Likewise.
57292         * posix/sysconf.c: Likewise.
57293         * posix/times.c: Likewise.
57294         * posix/wait.c: Likewise.
57295         * posix/wait3.c: Likewise.
57296         * posix/wait4.c: Likewise.
57297         * posix/waitpid.c: Likewise.
57298         * resolv/gai_sigqueue.c: Likewise.
57299         * resource/getpriority.c: Likewise.
57300         * resource/getrlimit.c: Likewise.
57301         * resource/getrusage.c: Likewise.
57302         * resource/nice.c: Likewise.
57303         * resource/setpriority.c: Likewise.
57304         * resource/setrlimit.c: Likewise.
57305         * resource/ulimit.c: Likewise.
57306         * rt/aio_cancel.c: Likewise.
57307         * rt/aio_fsync.c: Likewise.
57308         * rt/aio_read.c: Likewise.
57309         * rt/aio_sigqueue.c: Likewise.
57310         * rt/aio_suspend.c: Likewise.
57311         * rt/aio_write.c: Likewise.
57312         * rt/clock_getres.c: Likewise.
57313         * rt/clock_gettime.c: Likewise.
57314         * rt/clock_nanosleep.c: Likewise.
57315         * rt/clock_settime.c: Likewise.
57316         * rt/lio_listio.c: Likewise.
57317         * rt/mq_close.c: Likewise.
57318         * rt/mq_getattr.c: Likewise.
57319         * rt/mq_notify.c: Likewise.
57320         * rt/mq_open.c: Likewise.
57321         * rt/mq_receive.c: Likewise.
57322         * rt/mq_send.c: Likewise.
57323         * rt/mq_setattr.c: Likewise.
57324         * rt/mq_timedreceive.c: Likewise.
57325         * rt/mq_timedsend.c: Likewise.
57326         * rt/mq_unlink.c: Likewise.
57327         * rt/shm_open.c: Likewise.
57328         * rt/shm_unlink.c: Likewise.
57329         * rt/timer_create.c: Likewise.
57330         * rt/timer_delete.c: Likewise.
57331         * rt/timer_getoverr.c: Likewise.
57332         * rt/timer_gettime.c: Likewise.
57333         * rt/timer_settime.c: Likewise.
57334         * setjmp/__longjmp.c: Likewise.
57335         * setjmp/setjmp.c: Likewise.
57336         * signal/kill.c: Likewise.
57337         * signal/killpg.c: Likewise.
57338         * signal/raise.c: Likewise.
57339         * signal/sigaction.c: Likewise.
57340         * signal/sigaltstack.c: Likewise.
57341         * signal/sigblock.c: Likewise.
57342         * signal/sigignore.c: Likewise.
57343         * signal/sigintr.c: Likewise.
57344         * signal/signal.c: Likewise.
57345         * signal/sigpause.c: Likewise.
57346         * signal/sigpending.c: Likewise.
57347         * signal/sigqueue.c: Likewise.
57348         * signal/sigreturn.c: Likewise.
57349         * signal/sigset.c: Likewise.
57350         * signal/sigsetmask.c: Likewise.
57351         * signal/sigstack.c: Likewise.
57352         * signal/sigsuspend.c: Likewise.
57353         * signal/sigtimedwait.c: Likewise.
57354         * signal/sigvec.c: Likewise.
57355         * signal/sigwait.c: Likewise.
57356         * signal/sigwaitinfo.c: Likewise.
57357         * signal/sysv_signal.c: Likewise.
57358         * socket/accept.c: Likewise.
57359         * socket/accept4.c: Likewise.
57360         * socket/bind.c: Likewise.
57361         * socket/connect.c: Likewise.
57362         * socket/getpeername.c: Likewise.
57363         * socket/getsockname.c: Likewise.
57364         * socket/getsockopt.c: Likewise.
57365         * socket/isfdtype.c: Likewise.
57366         * socket/listen.c: Likewise.
57367         * socket/recv.c: Likewise.
57368         * socket/recvfrom.c: Likewise.
57369         * socket/recvmsg.c: Likewise.
57370         * socket/send.c: Likewise.
57371         * socket/sendmsg.c: Likewise.
57372         * socket/sendto.c: Likewise.
57373         * socket/setsockopt.c: Likewise.
57374         * socket/shutdown.c: Likewise.
57375         * socket/sockatmark.c: Likewise.
57376         * socket/socket.c: Likewise.
57377         * socket/socketpair.c: Likewise.
57378         * stdio-common/ctermid.c: Likewise.
57379         * stdio-common/cuserid.c: Likewise.
57380         * stdio-common/remove.c: Likewise.
57381         * stdio-common/rename.c: Likewise.
57382         * stdio-common/renameat.c: Likewise.
57383         * stdio-common/tempname.c: Likewise.
57384         * stdlib/getcontext.c: Likewise.
57385         * stdlib/makecontext.c: Likewise.
57386         * stdlib/setcontext.c: Likewise.
57387         * stdlib/swapcontext.c: Likewise.
57388         * stdlib/system.c: Likewise.
57389         * streams/fattach.c: Likewise.
57390         * streams/fdetach.c: Likewise.
57391         * streams/getmsg.c: Likewise.
57392         * streams/getpmsg.c: Likewise.
57393         * streams/putmsg.c: Likewise.
57394         * streams/putpmsg.c: Likewise.
57395         * sysdeps/unix/bsd/getpt.c: Likewise.
57396         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57397         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57398         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57400         Likewise.
57401         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57402         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57403         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57404         * sysvipc/msgctl.c: Likewise.
57405         * sysvipc/msgget.c: Likewise.
57406         * sysvipc/msgrcv.c: Likewise.
57407         * sysvipc/msgsnd.c: Likewise.
57408         * sysvipc/semctl.c: Likewise.
57409         * sysvipc/semget.c: Likewise.
57410         * sysvipc/semop.c: Likewise.
57411         * sysvipc/semtimedop.c: Likewise.
57412         * sysvipc/shmat.c: Likewise.
57413         * sysvipc/shmctl.c: Likewise.
57414         * sysvipc/shmdt.c: Likewise.
57415         * sysvipc/shmget.c: Likewise.
57416         * termios/tcdrain.c: Likewise.
57417         * termios/tcflow.c: Likewise.
57418         * termios/tcflush.c: Likewise.
57419         * termios/tcgetattr.c: Likewise.
57420         * termios/tcgetpgrp.c: Likewise.
57421         * termios/tcsendbrk.c: Likewise.
57422         * termios/tcsetattr.c: Likewise.
57423         * termios/tcsetpgrp.c: Likewise.
57424         * time/adjtime.c: Likewise.
57425         * time/clock.c: Likewise.
57426         * time/getitimer.c: Likewise.
57427         * time/gettimeofday.c: Likewise.
57428         * time/setitimer.c: Likewise.
57429         * time/settimeofday.c: Likewise.
57430         * time/stime.c: Likewise.
57431         * time/time.c: Likewise.
57433 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57435         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57436         /usr/old/bin.
57438         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57439         instead of spaces.
57440         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57442 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57444         [BZ #14796]
57445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57446         FE_TONEAREST before applying Dekker multiplication and Knuth
57447         addition.  Clear inexact exceptions and check for exact zero
57448         results afterwards.
57449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57450         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57452         * math/libm-test.inc (fma_test): Add more tests.
57453         (fma_test_towardzero): Likewise.
57454         (fma_test_downward): Likewise.
57455         (fma_test_upward): Likewise.
57456         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57457         function.
57458         (libc_fesetround): New macro.
57459         (libc_fesetroundf): Likewise.
57460         (libc_fesetroundl): Likewise.
57461         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57462         function.
57463         (libc_fesetround_387): Likewise.
57464         (libc_fesetroundf): New macro.
57465         (libc_fesetround): Likewise.
57466         (libc_fesetroundl): Likewise.
57467         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57468         function.
57469         (libc_fesetroundf): New macro.
57470         (libc_fesetround): Likewise.
57471         (libc_fesetroundl): Likewise.
57472         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57473         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57474         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57475         libm_hidden_ver.
57476         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57477         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57478         libm_hidden_def.
57479         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57480         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57481         libm_hidden_ver.
57482         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57483         libm_hidden_def.
57485         [BZ #3439]
57486         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57487         integer constant usable in #if and use that to give value to enum
57488         constant.
57489         (FE_DIVBYZERO): Likewise.
57490         (FE_UNDERFLOW): Likewise.
57491         (FE_OVERFLOW): Likewise.
57492         (FE_INVALID): Likewise.
57493         (FE_INVALID_SNAN): Likewise.
57494         (FE_INVALID_ISI): Likewise.
57495         (FE_INVALID_IDI): Likewise.
57496         (FE_INVALID_ZDZ): Likewise.
57497         (FE_INVALID_IMZ): Likewise.
57498         (FE_INVALID_COMPARE): Likewise.
57499         (FE_INVALID_SOFTWARE): Likewise.
57500         (FE_INVALID_SQRT): Likewise.
57501         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57502         (FE_TONEAREST): Likewise.
57503         (FE_TOWARDZERO): Likewise.
57504         (FE_UPWARD): Likewise.
57505         (FE_DOWNWARD): Likewise.
57506         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57507         (FE_DIVBYZERO): Likewise.
57508         (FE_OVERFLOW): Likewise.
57509         (FE_UNDERFLOW): Likewise.
57510         (FE_INEXACT): Likewise.
57511         (FE_TONEAREST): Likewise.
57512         (FE_DOWNWARD): Likewise.
57513         (FE_UPWARD): Likewise.
57514         (FE_TOWARDZERO): Likewise.
57515         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57516         (FE_UNDERFLOW): Likewise.
57517         (FE_OVERFLOW): Likewise.
57518         (FE_DIVBYZERO): Likewise.
57519         (FE_INVALID): Likewise.
57520         (FE_TONEAREST): Likewise.
57521         (FE_TOWARDZERO): Likewise.
57522         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57523         (FE_OVERFLOW): Likewise.
57524         (FE_UNDERFLOW): Likewise.
57525         (FE_DIVBYZERO): Likewise.
57526         (FE_INEXACT): Likewise.
57527         (FE_TONEAREST): Likewise.
57528         (FE_TOWARDZERO): Likewise.
57529         (FE_UPWARD): Likewise.
57530         (FE_DOWNWARD): Likewise.
57531         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57532         (FE_DIVBYZERO): Likewise.
57533         (FE_OVERFLOW): Likewise.
57534         (FE_UNDERFLOW): Likewise.
57535         (FE_INEXACT): Likewise.
57536         (FE_TONEAREST): Likewise.
57537         (FE_DOWNWARD): Likewise.
57538         (FE_UPWARD): Likewise.
57539         (FE_TOWARDZERO): Likewise.
57541 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57543         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57545 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57547         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57548         commands.  Quote $PWD.
57549         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57550         -x" by "export".
57551         (remove_newlines): Remove.
57553 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57555         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57556         * stdlib/stdlib.h (atof): Moved to ...
57557         * include/bits/stdlib-float.h: Here.  New file.
57558         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57559         * stdlib/bits/stdlib-float.h: New file.
57560         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57561         -mno-sse -mno-mmx.
57562         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57563         <xmmintrin.h>.
57565 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57567         * conform/conformtest.pl (@headers): Add fenv.h.
57568         * conform/data/fenv.h-data: New file.
57569         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57570         include of <math/fenv.h>.
57572         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57573         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57574         && !UNIX98].  Enables tests for XOPEN2K8.
57575         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57576         POSIX2008]: Likewise.
57578         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57579         (struct rusage): Do not expect type or its members.
57581         [BZ #3439]
57582         * math/math.h (FP_NAN): Define macro to integer constant usable in
57583         #if and use that to give value to enum constant.
57584         (FP_INFINITE): Likewise.
57585         (FP_ZERO): Likewise.
57586         (FP_SUBNORMAL): Likewise.
57587         (FP_NORMAL): Likewise.
57589 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57591         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57592         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57593         arguments.
57595 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57597         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57598         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57599         autoconf-time if not.
57600         * configure.in: Remove AC_PREREQ.
57602 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57604         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57605         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57606         of the internal implementation.
57608 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57610         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57611         except include of <misc/sys/syslog.h>.
57613 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57616         function returns with a NULL context exit with zero.
57618 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57620         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57622 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57624         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57625         (run_program_cmd): This.
57626         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57627         (tst_langinfo): New variable.  Use it.
57629 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57631         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57632         floating point opcodes.
57634 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57636         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57637         variable.
57639         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57641         * sysdeps/mach/hurd/powerpc: Remove directory.
57642         * sysdeps/mach/powerpc: Likewise.
57644 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57646         * scripts/check-local-headers.sh: Ignore c++ headers.
57648 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57650         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57651         __libc_cleanup_region_start argument.
57653 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57655         [BZ #14784]
57656         [BZ #14785]
57657         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57658         x * y using scaling, not as x * y + z.
57659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57661         * math/libm-test.inc (fma_test): Add more tests.
57662         (fma_test_towardzero): Likewise.
57663         (fma_test_downward): Likewise.
57664         (fma_test_upward): Likewise.
57666 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57668         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57670 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57672         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57673         New variable.
57675 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57677         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57679 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57682         Fix sort order.
57683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57684         Likewise.
57686 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57689         Fix the order of the list for glibc 2.17.
57690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57691         Likewise.
57693 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57697 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57699         [BZ #14610]
57700         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57701         for low part of x being zero before using __atanl (y).
57702         * math/libm-test.inc (atan2_test): Add another test.
57704         * manual/install.texi (Configuring and compiling): Document
57705         general use of test-wrapper and test-wrapper-env.
57706         * INSTALL: Regenerated.
57708         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57709         (__fma): Do not extract and scale down low bits on after-rounding
57710         systems when result rounded to normal precision would have normal
57711         exponent.
57712         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57713         (__fmal): Do not extract and scale down low bits on after-rounding
57714         systems when result rounded to normal precision would have normal
57715         exponent.
57716         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57717         (__fmal): Do not extract and scale down low bits on after-rounding
57718         systems when result rounded to normal precision would have normal
57719         exponent.
57720         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57721         macro.
57722         (fma_test): Add more tests.
57723         (fma_test_towardzero): Likewise.
57724         (fma_test_downward): Likewise.
57725         (fma_test_upward): Likewise.
57727 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57729         * sysdeps/i386/tininess.h: Renamed to ...
57730         * sysdeps/x86/tininess.h: This.
57731         * sysdeps/x86_64/tininess.h: Removed.
57733 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57735         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57736         input.  Use $(build-program-cmd).
57737         ($(objpfx)tst-array1-static.out): Likewise.
57738         ($(objpfx)tst-array2.out): Likewise.
57739         ($(objpfx)tst-array3.out): Likewise.
57740         ($(objpfx)tst-array4.out): Likewise.
57741         ($(objpfx)tst-array5.out): Likewise.
57742         ($(objpfx)tst-array5-static.out): Likewise.
57744 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57746         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57747         if defined.
57749         * nss/nsswitch.h (nss_interface_function): Provide new
57750         macro for use with NSS functions.
57751         * grp/initgroups.c: Use new macro.
57752         * nss/getXXbyYY.c: Likewise.
57753         * nss/getXXbyYY_r.c: Likewise.
57754         * nss/getXXent.c: Likewise.
57755         * nss/getXXent_r.c: Likewise.
57756         * sysdeps/posix/getaddrinfo.c: Likewise.
57758 2012-10-30  Andreas Jaeger  <aj@suse.de>
57760         * po/ru.po: Update Russion translation from translation project.
57762 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57764         [BZ #14152]
57765         [BZ #14783]
57766         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57767         result and shift together with sticky bit instead of replicating
57768         round-to-nearest rounding.
57769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57771         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57772         missing underflow exceptions.
57773         (fma_test_towardzero): Add more tests.
57774         (fma_test_downward): Likewise.
57775         (fma_test_upward): Likewise.
57777         [BZ #14047]
57778         * sysdeps/generic/tininess.h: New file.
57779         * sysdeps/i386/tininess.h: Likewise.
57780         * sysdeps/sh/tininess.h: Likewise.
57781         * sysdeps/x86_64/tininess.h: Likewise.
57782         * stdlib/tst-strtod-underflow.c: Likewise.
57783         * stdlib/tst-tininess.c: Likewise.
57784         * stdlib/strtod_l.c: Include <tininess.h>.
57785         (round_and_return): Do not set errno for exact underflow cases.
57786         Force an underflow exception when setting errno for underflow.
57787         Determine underflow based on rounding to normal precision if
57788         TININESS_AFTER_ROUNDING.
57789         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57790         ERANGE for exact underflow cases.
57791         * stdlib/Makefile (tests): Add tst-tininess and
57792         tst-strtod-underflow.
57793         ($(objpfx)tst-tininess): Use $(link-libm).
57794         ($(objpfx)tst-strtod-underflow): Likewise.
57796 2012-10-30  Andreas Jaeger  <aj@suse.de>
57798         [BZ#14767]
57799         * elf/Makefile (tests): Remove conditional for have-initfini-array
57800         since this is now always required and the variable does not exist
57801         anymore.
57802         (tests-static): Likewise.
57803         (modules-names): Likewise.
57805         * po/eo.po: Add Esperanto translation from translation project.
57807         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57808         merged with constructor/destructor.
57809         (init_array): Likewise.
57810         * elf/tst-array2dep.c (fini_array): Likewise.
57811         (init_array): Likewise.
57813 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57815         * manual/message.texi: Delete @cartouche tags.
57817 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57819         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57820         EOPNOTSUPP.
57821         * sysdeps/mach/hurd/fsync.c: Likewise.
57823         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57824         [_POSIX_REALTIME_SIGNALS]: Change condition to
57825         [_POSIX_REALTIME_SIGNALS > 0].
57827 2012-10-27  Andreas Jaeger  <aj@suse.de>
57829         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57830         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57831         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57832         [__WORDSIZE != 64]: Likewise.
57834 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57836         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57837         *  iconvdata/tst-tables.sh: Likewise.
57839 2012-10-25  David S. Miller  <davem@davemloft.net>
57841         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57842         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57843         of strtoull.
57845         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57846         ifunc-impl-list.c
57847         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57848         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57849         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57850         file.
57852 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57854         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57855         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57856         __getdirentries.
57858 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57859             Jim Blandy  <jimb@codesourcery.com>
57861         * scripts/cross-test-ssh.sh: New file.
57862         * manual/install.texi (Configuring and compiling): Document use of
57863         cross-test-ssh.sh.
57864         * INSTALL: Regenerated.
57866 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57868         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57869         EOPNOTSUPP.
57871 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57873         * Makeconfig (run-program-prefix): Fix comment.
57875 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57876             Jim Blandy  <jimb@codesourcery.com>
57878         * Makeconfig (test-wrapper): New variable,
57879         (test-wrapper-env): Likewise.
57880         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57881         (run-built-tests): Define to yes.
57882         (run-program-prefix): Use $(test-wrapper).
57883         (built-program-cmd): Likewise.
57884         * Rules (make-test-out): Use $(test-wrapper-env) and
57885         $(host-built-program-cmd).
57886         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57887         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57888         tst-pathopt.sh.
57889         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57890         $(test-wrapper-env) to tst-rtld-load-self.sh.
57891         ($(objpfx)order2.out): Use $(test-wrapper).
57892         ($(objpfx)tst-initorder.out): Likewise.
57893         ($(objpfx)tst-initorder2.out): Likewise.
57894         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57895         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57896         (test_wrapper_env): New variable.  Use it to run ld.so.
57897         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57898         Use it to run ld.so.
57899         (test_wrapper_env): Likewise.
57900         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57901         $(test-wrapper) to run-iconv-test.sh.
57902         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57903         (ICONV): Use $test_wrapper.
57904         * posix/Makefile ($(objpfx)globtest.out): Pass
57905         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57906         globtest.sh, not $(run-program-prefix).
57907         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57908         (test_wrapper): Likewise.
57909         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57910         set together with run_via_rtld_prefix.
57911         (run_program_prefix): Define in terms of test_wrapper and
57912         run_via_rtld_prefix.
57914 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57916         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57917         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57918         Targets removed.
57920         [BZ #14743]
57921         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57922         Declare __clock_getres, __clock_gettime, __clock_settime,
57923         __clock_nanosleep, and __clock_getcpuclockid.
57924         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57925         Remove librt_hidden_def (clock_gettime).
57926         * sysdeps/unix/clock_gettime.c: Likewise.
57927         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57928         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57929         * rt/clock_getres.c: Define __clock_getres as an alias.
57930         * sysdeps/posix/clock_getres.c: Likewise.
57931         * rt/clock_settime.c: Define __clock_settime as an alias.
57932         * sysdeps/unix/clock_settime.c: Likewise.
57933         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57934         * sysdeps/unix/clock_nanosleep.c: Likewise.
57935         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57936         * rt/clock-compat.c: New file.
57937         * rt/Makefile (librt-routines): Add clock-compat and move
57938         $(clock-routines) to ...
57939         (routines): ... here, new variable.
57940         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57941         Don't add get_clockfreq here.
57942         * rt/Versions (libc: GLIBC_2.17): New version set.
57943         Add clock_* symbols here.
57944         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57945         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57946         (GLIBC_2.17): Add clock_* symbols.
57947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57951         Likewise.
57952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57953         Likewise.
57954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57958         * NEWS: Mention the move.
57960         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57961         Use __open, __read, __close rather than their public counterparts.
57962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57963         (__get_clockfreq_via_cpuinfo): Likewise.
57964         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57965         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57967         * config.h.in (HAVE_IFUNC): New #undef.
57968         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57969         was successful.
57970         * configure: Regenerated.
57972 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57974         * configure.in: Move READELF check to start of file.
57975         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57976         libc_cv_asm_gnu_indirect_function in the process.
57977         * configure: Regenerated.
57979 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57981         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57982         send the output to /dev/null.
57983         (libc_cv_cc_with_libunwind): Likewise.
57984         (libc_cv_as_noexecstack): Likewise.
57985         * configure: Regenerate.
57987 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57989         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57991         * posix/globtest.sh (TMPDIR): Do not set.
57992         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57993         (testout): Likewise.
57995 2012-10-24  Andreas Jaeger  <aj@suse.de>
57997         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57998         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57999         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58000         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58001         posix_fadvise64, posix_fallocate64.
58003         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58004         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58005         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58006         Likewise.
58007         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58008         Likewise.
58009         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58012         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58013         <bits/fcntl-linux.h>.
58014         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58017         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58018         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58019         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58020         [__WORDSIZE != 64]: Likewise.
58022 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58024         * Makeconfig (run-built-tests): New variable.
58025         * Rules [$(cross-compiling) = yes]: Change condition to
58026         [$(run-built-tests) = no].
58027         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58028         to [$(run-built-tests) = yes].
58029         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58030         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58031         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58032         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58033         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58034         * io/Makefile [$(cross-compiling) = no]: Likewise.
58035         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58036         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58037         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58038         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58039         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58040         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58041         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58042         * string/Makefile [$(cross-compiling) = no]: Likewise.
58044         * posix/Makefile ($(objpfx)globtest.out): Pass
58045         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58046         $(rtld-installed-name).
58047         * posix/globtest.sh (elf_objpfx): Remove variable.
58048         (rtld_installed_name): Likewise.
58049         (library_path): Likewise.
58050         (run_program_prefix): New variable.  Use for running globtest
58051         binary.
58053 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58054             Joseph Myers  <joseph@codesourcery.com>
58056         * Makeconfig (host-built-program-cmd): New variable.
58057         * elf/Makefile (tst-stackguard1-ARGS): Use
58058         $(host-built-program-cmd).
58059         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58060         (tst-spawn-ARGS): Likewise.
58061         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58063 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58064             Jim Blandy  <jimb@codesourcery.com>
58066         * Makeconfig (run-via-rtld-prefix): New variable.
58067         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58068         (built-program-cmd): Likewise.
58070 2012-10-22  Andreas Jaeger  <aj@suse.de>
58072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58073         __O_RSYNC if it exists, otherwise to O_SYNC.
58075 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58076             Joseph Myers  <joseph@codesourcery.com>
58078         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58079         /dev/null.
58080         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58081         from /dev/null
58082         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58083         /dev/null.
58085 2012-10-22  Andreas Jaeger  <aj@suse.de>
58087         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58088         Define always.
58089         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58092         bits/fcntl-linux.h.
58094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58095         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58097         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58098         to __O_LARGEFILE.
58099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58100         to __O_LARGEFILE.
58102 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58103             Joseph Myers  <joseph@codesourcery.com>
58105         * config.make.in (NM): New variable.
58107 2012-10-21  Andreas Jaeger  <aj@suse.de>
58109         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58110         definitions and declarations that are provided by
58111         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58113 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58115         [BZ #14683]
58116         * elf/Makefile (tests-static): Add tst-leaks1-static.
58117         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58118         ($(objpfx)tst-leaks1-static): New rule.
58119         ($(objpfx)tst-leaks1-static-mem): Likewise.
58120         (tst-leaks1-static-ENV): New macro.
58121         * elf/dl-open.c (dl_open_worker): Check the main application
58122         only if SHARED is defined.
58123         * elf/tst-leaks1-static.c: New file.
58125 2012-10-20  Andreas Jaeger  <aj@suse.de>
58127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58128         generic values for Linux.
58129         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58130         and declarations that are provided by <bits/fcntl-linux.h> and
58131         include <bits/fcntl-linux.h>.
58132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58133         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58135 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58137         * io/fcntl.h: Move include of <bits/types.h> to the top and
58138         include it unconditionally.
58140 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58142         * wcsmbs/Makefile (tests-ifunc): New variable.
58143         (tests): Add $(tests-ifunc).
58144         * wcsmbs/test-wcschr-ifunc.c: New file.
58145         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58146         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58147         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58148         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58149         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58151         * string/Makefile (tests-ifunc): New variable.
58152         (tests): Add $(tests-ifunc).
58153         * string/test-memccpy.c (TEST_NAME): New macro.
58154         * string/test-memchr.c (TEST_NAME): Likewise.
58155         * string/test-memcmp.c (TEST_NAME): Likewise.
58156         * string/test-memcpy.c (TEST_NAME): Likewise.
58157         * string/test-memmem.c (TEST_NAME): Likewise.
58158         * string/test-memmove.c (TEST_NAME): Likewise.
58159         * string/test-memset.c (TEST_NAME): Likewise.
58160         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58161         * string/test-stpcpy.c (TEST_NAME): Likewise.
58162         * string/test-stpncpy.c (TEST_NAME): Likewise.
58163         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58164         * string/test-strcasestr.c (TEST_NAME): Likewise.
58165         * string/test-strcat.c (TEST_NAME): Likewise.
58166         * string/test-strchr.c (TEST_NAME): Likewise.
58167         * string/test-strcmp.c(TEST_NAME): Likewise.
58168         * string/test-strcpy.c (TEST_NAME): Likewise.
58169         * string/test-strcspn.c (TEST_NAME): Likewise.
58170         * string/test-strlen.c (TEST_NAME): Likewise.
58171         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58172         * string/test-strncmp.c (TEST_NAME): Likewise.
58173         * string/test-strncpy.c (TEST_NAME): Likewise.
58174         * string/test-strnlen.c (TEST_NAME): Likewise.
58175         * string/test-strpbrk.c (TEST_NAME): Likewise.
58176         * string/test-strrchr.c (TEST_NAME): Likewise.
58177         * string/test-strspn.c (TEST_NAME): Likewise.
58178         * string/test-strstr.c (TEST_NAME): Likewise.
58179         * string/test-bcopy-ifunc.c: New file.
58180         * string/test-bzero-ifunc.c: Likewise.
58181         * string/test-memccpy-ifunc.c: Likewise.
58182         * string/test-memchr-ifunc.c: Likewise.
58183         * string/test-memcmp-ifunc.c: Likewise.
58184         * string/test-memcpy-ifunc.c: Likewise.
58185         * string/test-memmem-ifunc.c: Likewise.
58186         * string/test-memmove-ifunc.c: Likewise.
58187         * string/test-mempcpy-ifunc.c: Likewise.
58188         * string/test-memset-ifunc.c: Likewise.
58189         * string/test-rawmemchr-ifunc.c: Likewise.
58190         * string/test-stpcpy-ifunc.c: Likewise.
58191         * string/test-stpncpy-ifunc.c: Likewise.
58192         * string/test-strcasecmp-ifunc.c: Likewise.
58193         * string/test-strcasestr-ifunc.c: Likewise.
58194         * string/test-strcat-ifunc.c: Likewise.
58195         * string/test-strchr-ifunc.c: Likewise.
58196         * string/test-strchrnul-ifunc.c: Likewise.
58197         * string/test-strcmp-ifunc.c: Likewise.
58198         * string/test-strcpy-ifunc.c: Likewise.
58199         * string/test-strcspn-ifunc.c: Likewise.
58200         * string/test-strlen-ifunc.c: Likewise.
58201         * string/test-strncasecmp-ifunc.c: Likewise.
58202         * string/test-strncat-ifunc.c: Likewise.
58203         * string/test-strncmp-ifunc.c: Likewise.
58204         * string/test-strncpy-ifunc.c: Likewise.
58205         * string/test-strnlen-ifunc.c: Likewise.
58206         * string/test-strpbrk-ifunc.c: Likewise.
58207         * string/test-strrchr-ifunc.c: Likewise.
58208         * string/test-strspn-ifunc.c: Likewise.
58209         * string/test-strstr-ifunc.c: Likewise.
58211         * debug/Makefile (tests-ifunc): New variable.
58212         (tests): Add $(tests-ifunc).
58213         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58214         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58215         * debug/test-stpcpy_chk-ifunc.c: New file.
58216         * debug/test-strcpy_chk-ifunc.c: Likewise.
58218 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58220         [BZ #13601]
58221         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58222         header is not read in.
58224 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58226         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58227         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58228         directly.  Pass built executable to script as
58229         $(built-program-cmd).
58230         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58231         $testprogram without using LD_LIBRARY_PATH and $ldso.
58233         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58234         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58235         $(rtld-installed-name).
58236         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58237         (rtld_installed_name): Likewise.
58238         (library_path): Likewise.
58239         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58240         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58241         $(run-program-prefix) to tst-tables.sh.
58242         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58243         it to run tst-table-from and tst-table-to.
58244         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58245         Pass it to tst-table.sh.
58246         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58247         $(run-program-prefix) to tst-gettext.sh.
58248         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58249         tst-translit.sh.
58250         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58251         tst-gettext2.sh.
58252         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58253         to run tst-gettext.
58254         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58255         to run tst-gettext2.
58256         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58257         to run tst-translit.
58258         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58259         $(run-program-prefix) to tst-mtrace.sh.
58260         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58261         to run tst-mtrace.
58262         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58263         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58264         $(rtld-installed-name).
58265         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58266         (rtld_installed_name): Likewise.
58267         (run_program_prefix): New variable.  Use it to run wordexp-test.
58269         * Makeconfig (ARCH): Remove all definitions.
58270         (machine): Likewise.
58271         [ARCH]: Remove conditional code.
58272         [!objdir]: Give error.
58273         [!objdir] (objpfx): Remove.
58274         [!objdir] (common-objpfx): Likewise.
58275         [!objdir] (common-objdir): Likewise.
58276         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58277         AC_CONFIG_FILES call.
58278         * configure: Regenerated.
58280         [BZ #13888]
58281         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58282         or TMPDIR.
58283         (testout): Likewise.
58285         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58286         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58287         $(rtld-installed-name).
58288         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58289         (rtld_installed_name): Likwise.
58290         (runit): Remove function.
58291         (run_getconf): New variable,  Use it for running getconf binary.
58293 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58295         [BZ #14716]
58296         * string/test-memmem.c (check_result): New function.
58297         (do_one_test): Use it.
58298         (check1): New function.
58299         (test_main): Use it.
58301 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58303         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58305 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58307         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58308         (_G_LSEEK64): Likewise.
58309         (_G_MMAP64): Likewise.
58310         (_G_FSTAT64): Likewise.
58311         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58312         (_G_LSEEK64): Likewise.
58313         (_G_MMAP64): Likewise.
58314         (_G_FSTAT64): Likewise.
58315         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58316         unconditional.  Call __mmap64 directly.
58317         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58318         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58319         __lseek64 directly.
58320         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58321         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58322         __mmap64 directly.
58323         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58324         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58325         __lseek64 directly.
58326         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58327         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58328         __lseek64 directly.
58329         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58330         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58331         __lseek64 directly.
58332         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58333         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58334         __fxstat64 directly.
58335         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58336         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58337         unconditional.
58338         (freopen64) [!_G_OPEN64]: Remove conditional code.
58339         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58340         unconditional.
58341         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58342         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58343         unconditional.
58344         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58345         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58346         unconditional.
58347         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58348         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58349         unconditional.
58350         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58351         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58352         unconditional.
58353         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58354         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58355         unconditional.
58356         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58357         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58358         unconditional.
58359         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58361 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58363         [BZ #12140]
58364         * manual/memory.texi (Malloc Tunable Parameters): Add note
58365         about free list pointers overwriting some perturb bytes.
58366         Wording suggested by Roland McGrath.
58368 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58370         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58371         (lgamma_test): Likewise.
58372         (tgamma_test): Likewise.
58374 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58376         [BZ #14700]
58377         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58378         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58380 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58382         * NEWS: Mention BZ #14716.
58383         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58384         when removing AVAILABLE1_USES_J macro.
58386 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58388         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58389         (__bswap_64): __uint64_t for unsigned 64-bit int.
58391 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58393         * include/string.h (memmem): Declare libc hidden alias.
58394         * string/memmem.c (memmem): Define libc hidden alias.
58395         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58396         __read, __close instead of open, read, close.
58398 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58401         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58402         global and hidden.
58403         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58404         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58405         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58406         Likewise.
58407         (__rawmemchr_sse2): Likewise.
58408         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58409         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58410         (__strchr_sse2): Likewise.
58411         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58412         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58413         (__strcasecmp_sse2): Likewise.
58414         (__strncasecmp_sse2): Likewise.
58415         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58416         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58417         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58418         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58419         (__strrchr_sse2): Likewise.
58420         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58421         ifunc-impl-list.c.
58422         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58423         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58424         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58425         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58426         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58427         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58428         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58429         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58430         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58431         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58432         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58433         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58434         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58435         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58436         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58437         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58438         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58439         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58440         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58441         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58442         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58443         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58444         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58445         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58446         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58447         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58448         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58449         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58450         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58451         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58453         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58454         global and hidden.
58455         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58456         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58457         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58458         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58459         Likewise.
58460         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58461         Likewise.
58462         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58463         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58464         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58465         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58466         ifunc-impl-list.c.
58467         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58468         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58469         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58476         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58477         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58478         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58479         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58480         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58481         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58482         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58483         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58484         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58485         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58486         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58487         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58488         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58489         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58490         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58491         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58492         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58493         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58494         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58495         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58496         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58497         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58498         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58499         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58500         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58501         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58502         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58503         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58504         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58505         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58506         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58507         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58509         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58510         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58511         * include/ifunc-impl-list.h: New file.
58512         * misc/ifunc-impl-list.c: Likewise.
58513         * misc/Makefile (routines): Add ifunc-impl-list.
58514         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58515         * string/test-string.h: Include <ifunc-impl-list.h>.
58516         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58517         TEST_NAME]: New variables.
58518         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58519         are defined.
58520         (test_init): Call __libc_ifunc_impl_list to initialize
58521         func_list if TEST_IFUNC and TEST_NAME are defined.
58523         * string/Makefile (strop-tests): Add bcopy and bzero.
58524         * string/test-bcopy.c: New file.
58525         * string/test-bzero.c: Likewise.
58526         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58527         defined.
58528         * string/test-memset.c: Support bzero test if TEST_BZERO is
58529         defined.
58530         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58531         __libc_memmove.
58532         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58533         __libc_memset.
58534         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58535         of memset.
58537 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58539         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58540         * configure: Regenerated.
58542         * Makeconfig (+link-static-before-libc): Don't include
58543         $(link-static-libc).
58545         * libio/libio.h (_IO_pos_t): Remove.
58547 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58549         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58550         McGrath.
58552 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58554         * crypt/crypt-entry.c: Include fips-private.h.
58555         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58556         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58557         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58558         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58560 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58562         * crypt/crypt-private.h: Include stdbool.h.
58563         (_ufc_setup_salt_r): Return bool.
58564         * crypt/crypt-entry.c: Include errno.h.
58565         (__crypt_r): Return NULL with EINVAL for bad salt.
58566         * crypt/crypt_util.c (bad_for_salt): New.
58567         (_ufc_setup_salt_r): Check that salt is long enough and within
58568         the specified alphabet.
58569         * crypt/badsalttest.c: New file.
58570         * crypt/Makefile (tests): Add it.
58571         ($(objpfx)badsalttest): New.
58573 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58575         * NEWS: Add entry for BZ #14602.
58577 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58579         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58580         type-generic.
58581         * math/libm-test.inc: Update comment listing what functions and
58582         macros are tested.
58583         (isgreater_test): New function.
58584         (isgreaterequal_test): Likewise.
58585         (isless_test): Likewise.
58586         (islessequal_test): Likewise.
58587         (islessgreater_test): Likewise.
58588         (isunordered_test): Likewise.
58589         (main): Call the new functions.
58591 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58593         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58594         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58595         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58596         * sysdeps/i386/configure: Regenerated.
58597         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58598         * sysdeps/mach/configure: Regenerated.
58599         * sysdeps/mach/hurd/configure: Regenerated.
58600         * sysdeps/powerpc/configure: Regenerated.
58601         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58602         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58603         * sysdeps/s390/s390-32/configure: Regenerated.
58604         * sysdeps/s390/s390-64/configure: Regenerated.
58605         * sysdeps/sh/configure: Regenerated.
58606         * sysdeps/sparc/configure: Regenerated.
58607         * sysdeps/unix/sysv/linux/configure: Regenerated.
58608         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58609         * sysdeps/x86_64/configure: Regenerated.
58611         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58612         defined.  Don't check if MAP is NULL.
58614 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58616         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58617         (_G_stat64): Likewise.
58618         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58619         (_G_stat64): Likewise.
58620         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58621         instead of struct _G_stat64.
58622         * libio/fileops.c (mmap_remap_check): Likewise.
58623         (decide_maybe_mmap): Likewise.
58624         (_IO_new_file_seekoff): Likewise.
58625         (_IO_file_stat): Likewise.
58626         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58627         _G_off64_t.
58628         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58629         instead of struct _G_stat64.
58630         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58632 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58634         [BZ #14602]
58635         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58636         Replace with ...
58637         (CHECK_EOL): New macro.
58638         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58639         CHECK_EOL.
58640         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58641         Replace with CHECK_EOL.
58642         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58643         Replace with CHECK_EOL.
58645 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58647         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58648         type-generic.
58649         * math/libm-test.inc: Update comment listing what functions and
58650         macros are tested.
58651         (finite_test): New function.
58652         (isinf_test): Likewise.
58653         (isnan_test): Likewise.
58654         (fpclassify_test): Test subnormal input.
58655         (isfinite_test): Likewise.
58656         (isnormal_test): Likewise.
58657         (main): Call the new functions.
58659 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58661         [BZ #14660]
58662         * Makerules (%.dynsym): Force C locale when running
58663         $(OBJDUMP) --dynamic-syms.
58665 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58667         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58668         <stdint.h>.
58670 2012-10-06  David S. Miller  <davem@davemloft.net>
58672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58673         upper 32-bits of the length value in %o2 since we use branch-on-register
58674         tests which consider the entire 64-bit register.
58676 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58678         * string/test-strstr.c (check2): Add a test for page boundary.
58680 2012-10-05  David S. Miller  <davem@davemloft.net>
58682         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58683         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58684         file.
58685         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58686         sysdep_routines.
58687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58688         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58689         and bzero when HWCAP_SPARC_CRYPTO is present.
58691 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58693         [BZ #14602]
58694         * string/test-strstr.c (check2): New function.
58695         (test_main): Call check2.
58697         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58698         and bug-strchr1.
58699         * string/bug-strcasestr1.c (do_test): Moved to ...
58700         * string/test-strcasestr.c (check1): Here.  New function.
58701         (do_one_test): Break out result checking code into ...
58702         (check_result): This.  New function.
58703         (do_one_test): Call check_result.
58704         (test_main): Call check1.
58705         * string/bug-strchr1.c (do_test): Moved to ...
58706         * string/test-strchr.c (check1): Here.  New function.
58707         (do_one_test): Break out result checking code into ...
58708         (check_result): This.  New function.
58709         (do_one_test): Call check_result.
58710         (test_main): Call check1.
58711         * string/bug-strstr1.c (main): Moved to ...
58712         * string/test-strstr.c (check1): Here.  New function.
58713         (do_one_test): Break out result checking code into ...
58714         (check_result): This.  New function.
58715         (do_one_test): Call check_result.
58716         (test_main): Call check1.
58717         * string/bug-strcasestr1.c: Removed.
58718         * string/bug-strchr1.c: Likewise.
58719         * string/bug-strstr1.c: Likewise.
58721         * elf/Makefile (dl-routines): Add hwcaps.
58722         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58723         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58724         (_dl_important_hwcaps): Moved to ...
58725         * elf/dl-hwcaps.c: Here.  New file.
58726         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58728         [BZ #14557]
58729         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58730         if IS_IN_rtld isn't defined.
58732         * elf/dl-support.c (_dl_sysinfo_map): New.
58733         Include "get-dynamic-info.h" and "setup-vdso.h".
58734         (_dl_non_dynamic_init): Call setup_vdso.
58735         * elf/dynamic-link.h: Don't include <assert.h>.
58736         (elf_get_dynamic_info): Moved to ...
58737         * elf/get-dynamic-info.h: Here.  New file.
58738         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58739         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58740         * elf/setup-vdso.h: Here.  New file.
58741         * elf/rtld.c: Include "setup-vdso.h".
58742         (dl_main): Call setup_vdso.
58744 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58746         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58747         creal in comment listing functions tested.  List finite, isinf,
58748         isnan, isless, islessequal, isgreater, isgreaterequal,
58749         islessgreater, isunordered, lgamma_r and pow10 as functions and
58750         macros not tested.  Mention which functions not tested are aliases
58751         for other functions.  Fix typo.  Note that signs of NaNs are not
58752         tested.
58754         * scripts/config.guess: Update from config.git.
58755         * scripts/config.sub: Likewise.
58757 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58759         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58760         * misc/madvise.c (madvise): Renamed to __madvise.
58761         Make madvise a weak alias.
58762         * include/sys/mman.h: Declare __madvise.
58763         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58764         * sysdeps/unix/syscalls.list
58765         (madvise): Make __madvise the strong name, and madvise a weak alias.
58766         * sysdeps/unix/sysv/linux/syscalls.list
58767         (madvise, mmap): Remove redundant entries.
58768         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58769         * malloc/malloc.c (mtrim): Likewise.
58770         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58772 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58774         * sysdeps/mach/hurd/dl-cache.c: File removed.
58775         * config.h.in (USE_LDCONFIG): New #undef.
58776         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58777         * configure: Regenerated.
58778         * elf/Makefile (dl-routines): Add dl-cache only under
58779         [$(use-ldconfig) = yes].
58780         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58781         cache on [USE_LDCONFIG].
58782         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58783         [USE_LDCONFIG].
58784         * elf/rtld.c (dl_main): Likewise.
58786 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58788         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58789         _SC_LEVEL4_CACHE_LINESIZE.
58791 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58793         * sysdeps/unix/bsd/confstr.h: File removed.
58795 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58797         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58798         sys/sdt-config.h.
58800 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58802         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58803         Make 'mapoff' field ElfW(Off) rather than off_t.
58805 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58807         * nscd/Makefile: Remove nscd-cflags and all its users.
58808         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58809         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58811         [BZ #10631]
58812         * malloc.c (malloc_printerr): Clarify error message.
58814 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58816         [BZ #14648]
58817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58818         Set bit_FMA_Usable if FMA is supported.
58819         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58820         macro.
58821         (bit_FMA4_Usable): Updated.
58822         (index_FMA_Usable): New macro.
58823         (CPUID_FMA): Likewise.
58824         (HAS_FMA): Defined with bit_FMA_Usable.
58826 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58828         * bits/types.h (__swblk_t): Type removed.
58829         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58830         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58832         (__SWBLK_T_TYPE): Likewise.
58833         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58834         (__SWBLK_T_TYPE): Likewise.
58835         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58836         (__SWBLK_T_TYPE): Likewise.
58837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58838         (__SWBLK_T_TYPE): Likewise.
58840 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58841             Honza Horak <hhorak@redhat.com>
58843         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58844         (xdr_mapname): Use YPMAXMAP as maxsize.
58845         (xdr_peername): Use YPMAXPEER as maxsize.
58846         (xdr_keydat): Use YPAXRECORD as maxsize.
58847         (xdr_valdat): Use YPMAXRECORD as maxsize.
58849 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58851         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58853         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58854         * csu/init-first.c: ... here.
58855         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58856         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58857         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58858         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58859         * sysdeps/i386/init-first.c: File removed.
58860         * sysdeps/sh/init-first.c: File removed.
58862 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58864         [BZ #14645]
58865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58866         if x * y might underflow to zero and z is zero.
58867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58868         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58869         * math/libm-test.inc (min_subnorm_value): New variable.
58870         (fma_test): Add more tests.
58871         (fma_test_towardzero): Likewise.
58872         (fma_test_downward): Likewise.
58873         (fma_test_upward): Likewise.
58874         (initialize): Set min_subnorm_value.
58876 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58878         [BZ #14638]
58879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58880         0 + 0.
58881         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58882         mode for addition resulting in exact zero.
58883         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58885         exact 0 + 0.
58886         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58888         * math/libm-test.inc (fma_test): Add more tests.
58889         (fma_test_towardzero): New function.
58890         (fma_test_downward): Likewise.
58891         (fma_test_upward): Likewise.
58892         (main): Call the new functions.
58894 2012-09-28  David S. Miller  <davem@davemloft.net>
58896         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58898 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58900         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58901         instead of SIGALRM.
58903         * sysdeps/gnu/_G_config.h: Moved to ...
58904         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58905         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58906         * sysdeps/generic/_G_config.h: ... here.
58908         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58910         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58912         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58913         Conditionalize target on [libnss_test1.so-version].
58915         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58917         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58918         (elfobjdir): Move out of conditionals.
58920         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58921         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58922         (__nss_lookup_function): Conditionalize label remove_from_tree on
58923         [!DO_STATIC_NSS || SHARED], matching its only use.
58925 2012-09-28  David S. Miller  <davem@davemloft.net>
58927         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58928         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58929         file.
58930         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58931         sysdep_routines.
58932         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58934         when HWCAP_SPARC_CRYPTO is present.
58936 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58938         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58940 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58942         [BZ #6530]
58943         * stdio-common/vfprintf.c (process_string_arg): Revert
58944         2000-07-22 change.
58946 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58948         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58949         for testcase.
58950         * stdio-common/tst-sprintf.c: Include <locale.h>
58951         (main): Test sprintf's handling of incomplete multibyte
58952         characters.
58954 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58956         * elf/dl-runtime.c (VERSYMIDX): Removed.
58957         * elf/dl-version.c (VERSYMIDX): Likewise.
58958         * elf/do-rel.h (VERSYMIDX): Likewise.
58959         (VALIDX): Likewise.
58960         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58961         * elf/rtld.c (VALIDX): Likewise.
58962         (ADDRIDX): Likewise.
58963         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58964         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58965         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58966         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58967         (VALIDX): Likewise.
58968         (ADDRIDX): Likewise.
58970 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58972         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58974 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58976         [BZ #11438]
58977         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58978         to global scope.
58979         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58980         addresses are in the same scope as 192.0.2/24.
58981         * posix/gai.conf: Document new scope table defaults.
58983 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58985         [BZ #5298]
58986         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58987         for ftell.  Compute offsets from write pointers instead.
58988         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58990 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58992         [BZ #14543]
58993         * libio/Makefile (tests): New test case tst-fseek.
58994         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58995         combination works in wide mode.
58996         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58997         state when the external buffer state changes.
58999 2012-09-27  David S. Miller  <davem@davemloft.net>
59001         [BZ #14376]
59002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59003         pass reloc->r_addend in as the 'high' argument to
59004         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59008 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59010         * rt/tst-aio2.c: Include <pthread.h>.
59011         * rt/tst-aio3.c: Likewise.
59013 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59015         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59017 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59019         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59020         contents on [SHARED].
59022 2012-09-26  Marek Polacek  <polacek@redhat.com>
59024         [BZ #14530]
59025         [BZ #13741]
59026         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59027         for C++ and GCC <4.3 as well as for non GCC compilers.
59029 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59033 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59035         * Makefile.in (all, install): Declare with .PHONY.
59036         Reported by Michael Hope <michael.hope@linaro.org>.
59038 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59040         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59041         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59042         system header.
59043         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59044         Likewise.
59045         (sydep_routines): Add the new and the internal functions.
59046         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59047         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59049         (GLIBC_2.17): Add the new function.
59050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59051         (GLIBC_2.17): Likewise.
59052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59053         (GLIBC_2.17): Likewise.
59054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59055         (GLIBC_2.17): Likewise.
59056         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59058 2012-09-25  Alan Modra  <amodra@gmail.com>
59060         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59061         Add release barrier before setting once_control to say
59062         initialisation is done.  Add hints on lwarx.  Use macro in
59063         place of isync.
59064         (clear_once_control): Add release barrier.
59066 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59068         [BZ #13629]
59069         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59070         specially.
59071         * math/s_clog10.c (__clog10): Likewise.
59072         * math/s_clog10f.c (__clog10f): Likewise.
59073         * math/s_clog10l.c (__clog10l): Likewise.
59074         * math/s_clogf.c (__clogf): Likewise.
59075         * math/s_clogl.c (__clogl): Likewise.
59076         * math/Makefile (libm-calls): Add x2y2m1.
59077         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59078         (__x2y2m1): Likewise.
59079         (__x2y2m1l): Likewise.
59080         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59081         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59082         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59083         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59084         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59085         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59086         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59087         * sysdeps/i386/fpu/libm-test-ulps: Update.
59088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59090         [BZ #14621]
59091         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59092         int as type of variable DEPTH.
59093         (glob): Use size_t instead of int as type of variables NEWCOUNT
59094         and OLD_PATHC.
59096 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59098         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59099         Add s_sincosf-sse2.
59100         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59101         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59102         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59103         macros for using routine as __sincosf_ia32.
59104         Use macro for function declaration and weak_alias.
59105         * sysdeps/i386/fpu/libm-test-ulps: Update.
59107         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59110         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59111         subnormal argument.
59112         * math/s_cexpf.c (__cexpf): Likewise.
59113         * math/s_csinf.c (__csinf): Likewise.
59114         * math/s_csinhf.c (__csinhf): Likewise.
59115         * math/s_ctanf.c (__ctanf): Likewise.
59116         * math/s_ctanhf.c (__ctanhf): Likewise.
59117         * math/s_ccosh.c (__ccoshf): Likewise.
59118         * math/s_cexp.c (__cexpl): Likewise.
59119         * math/s_csin.c (__csin): Likewise.
59120         * math/s_csinh.c (__csinh): Likewise.
59121         * math/s_ctan.c (__ctan): Likewise.
59122         * math/s_ctanh.c (ctanh): Likewise.
59123         * math/s_ccoshl.c (__ccoshl): Likewise.
59124         * math/s_cexpl.c (__cexpl): Likewise.
59125         * math/s_csinl.c (__csinl): Likewise.
59126         * math/s_csinhl.c (__csinhl): Likewise.
59127         * math/s_ctanl.c (__ctanl): Likewise.
59128         * math/s_ctanhl.c (__ctanhl): Likewise.
59130 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59132         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59133         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59134         (_IO_off_t): Define to __off_t, not _G_off_t.
59135         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59136         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59137         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59138         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59139         type of __dummy and __dummy2 fields.
59140         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59141         (_G_ssize_t): Likewise.
59142         (_G_off_t): Likewise.
59143         (_G_pid_t): Likewise.
59144         (_G_uid_t): Likewise.
59145         (_G_wchar_t): Likewise.
59146         (_G_wint_t): Likewise.
59147         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59148         (_G_ssize_t): Likewise.
59149         (_G_off_t): Likewise.
59150         (_G_pid_t): Likewise.
59151         (_G_uid_t): Likewise.
59152         (_G_wchar_t): Likewise.
59153         (_G_wint_t): Likewise.
59154         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59155         (_G_ssize_t): Likewise.
59156         (_G_off_t): Likewise.
59157         (_G_pid_t): Likewise.
59158         (_G_uid_t): Likewise.
59159         (_G_wchar_t): Likewise.
59160         (_G_wint_t): Likewise.
59162 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59164         * malloc/arena.c: Include malloc-sysdep.h.
59165         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59166         is sufficient to shrink the heap or an unmap is needed.
59167         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59168         new function check_may_shrink_heap.
59169         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59170         new function check_may_shrink_heap.
59172 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59174         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59175         comments.
59177 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59179         * catgets/test-gencat.sh: Add "set -e".
59180         * elf/tst-pathopt.sh: Likewise.
59181         * grp/tst_fgetgrent.sh: Likewise.
59182         * iconvdata/run-iconv-test.sh: Likewise.
59183         * intl/tst-gettext.sh: Likewise.
59184         * intl/tst-gettext2.sh: Likewise.
59185         * intl/tst-gettext4.sh: Likewise.
59186         * intl/tst-gettext6.sh: Likewise.
59187         * intl/tst-translit.sh: Likewise.
59188         * io/ftwtest-sh: Likewise.
59189         * libio/test-freopen.sh: Likewise.
59190         * malloc/tst-mtrace.sh: Likewise.
59191         * posix/globtest.sh: Likewise.
59192         * posix/tst-getconf.sh: Likewise.
59193         * posix/wordexp-tst.sh: Likewise.
59194         * stdio-common/tst-printf.sh: Likewise.
59195         * stdio-common/tst-unbputc.sh: Likewise.
59196         * stdlib/tst-fmtmsg.sh: Likewise.
59197         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59198         * catgets/Makefile: Do not specify -e option when running
59199         testsuite shell scripts.
59200         * elf/Makefile: Likewise.
59201         * grp/Makefile: Likewise.
59202         * iconvdata/Makefile: Likewise.
59203         * intl/Makefile: Likewise.
59204         * io/Makefile: Likewise.
59205         * libio/Makefile: Likewise.
59206         * malloc/Makefile: Likewise.
59207         * posix/Makefile: Likewise.
59208         * stdio-common/Makefile: Likewise.
59209         * stdlib/Makefile: Likewise.
59210         * sysdeps/x86_64/Makefile: Likewise.
59212         * io/ftwtest-sh: Add copyright header.
59213         * posix/globtest.sh: Likewise.
59214         * posix/tst-getconf.sh: Likewise.
59215         * posix/wordexp-tst.sh: Likewise.
59216         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59218 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59220         [BZ #13679]
59221         * Makeconfig (+link): Defined as $(+link-static) if
59222         $(build-shared) isn't yes.
59223         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59224         isn't yes.
59225         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59227         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59229         [BZ #14562]
59230         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59231         new chunk size with MALLOC_ALIGN_MASK.
59233 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59235         [BZ #5044]
59236         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59237         <rounding-mode.h>.
59238         (__printf_fphex): Determine rounding using get_rounding_mode and
59239         round_away.
59240         * stdio-common/tst-printf-round.c (struct hex_test): New
59241         structure.
59242         (hex_tests): New variable.
59243         (test_hex_in_one_mode): New function.
59244         (do_test): Also run tests for hex float output.
59246 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59248         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59249         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59250         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59251         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59252         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59253         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59254         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59255         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59257 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59259         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59260         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59261         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59262         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59264 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59266         [BZ #14579]
59267         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59268         mode only.
59269         * elf/tst-rtld-load-self.sh: New test.
59270         * elf/Makefile: Run it.
59272 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59274         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59275         (tst-writev-ENV): Remove.
59276         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59278 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59280         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59282 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59284         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59285         unconditional.
59286         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59287         Likewise.
59288         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59289         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59291         Likewise.
59293 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59295         [BZ #14587]
59296         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59297         * config.make.in (have-cpp-asm-debuginfo): Removed.
59298         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59299         * configure: Regenerated.
59301 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59303         [BZ #5044]
59304         * stdio-common/printf_fp.c: Include <stdbool.h> and
59305         <rounding-mode.h>.
59306         (___printf_fp): Determine rounding using get_rounding_mode and
59307         round_away.
59308         * stdio-common/tst-printf-round.c: New file.
59309         * stdio-common/Makefile (tests): Add tst-printf-round.
59310         (link-libm): New variable.
59311         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59313 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59315         [BZ #14576]
59316         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59317         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59318         Likewise.
59319         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59320         Likewise.
59322 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59324         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59325         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59326         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59327         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59329 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59331         [BZ #14518]
59332         * include/rounding-mode.h: New file.
59333         * sysdeps/generic/get-rounding-mode.h: Likewise.
59334         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59335         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59336         (MAX_VALUE): New macro.
59337         (MIN_VALUE): Likewise.
59338         (overflow_value): New function.
59339         (underflow_value): Likewise.
59340         (round_and_return): Use overflow_value and underflow_value to
59341         determine return values in overflow and underflow cases.  Use
59342         round_away to determine rounding depending on rounding mode.
59343         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59344         determine return values in overflow and underflow cases.
59345         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59346         (struct test_results): New structure.
59347         (struct test): Use struct test_results to store expected results
59348         for all rounding modes.
59349         (TEST): Include expected results for all rounding modes.
59350         (test_in_one_mode): New function.
59351         (do_test): Use test_in_one_mode to compute and check results.
59352         Check results for all rounding modes.
59353         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59354         $(link-libm).
59356 2012-12-09  Allan McRae  <allan@archlinux.org>
59358         * sysdeps/i386/fpu/libm-test-ulps: Update
59360 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59362         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59363         (_G_int32_t): Likewise.
59364         (_G_uint16_t): Likewise.
59365         (_G_uint32_t): Likewise.
59366         (_G_HAVE_BOOL): Likewise.
59367         (_G_HAVE_ATEXIT): Likewise.
59368         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59369         (_G_HAVE_IO_FILE_OPEN): Likewise.
59370         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59371         (_G_int32_t): Likewise.
59372         (_G_uint16_t): Likewise.
59373         (_G_uint32_t): Likewise.
59374         (_G_HAVE_BOOL): Likewise.
59375         (_G_HAVE_ATEXIT): Likewise.
59376         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59377         (_G_HAVE_IO_FILE_OPEN): Likewise.
59378         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59379         (_G_int32_t): Likewise.
59380         (_G_uint16_t): Likewise.
59381         (_G_uint32_t): Likewise.
59382         (_G_HAVE_BOOL): Likewise.
59383         (_G_HAVE_ATEXIT): Likewise.
59384         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59385         (_G_HAVE_IO_FILE_OPEN): Likewise.
59387 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59389         * csu/libc-tls.c: Update copyright years.
59391 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59393         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59394         [!_G_USING_THUNKS]: Remove conditional code.
59395         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59396         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59398         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59399         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59400         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59401         (_G_VTABLE_LABEL_PREFIX): Likewise.
59402         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59403         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59404         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59405         (_G_VTABLE_LABEL_PREFIX): Likewise.
59406         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59407         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59408         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59409         (_G_VTABLE_LABEL_PREFIX): Likewise.
59410         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59412 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59414         * libio/Makefile: Include ../Makeconfig before tests.
59415         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59416         only if $(build-shared) is yes.
59418         * iconv/gconv_db.c: Update copyright years.
59420 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59422         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59423         unwind info if defined PIC. Fix special cases description.
59424         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59426         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59427         DP_HI_MASK entry.
59428         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59430 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59432         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59434         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59435         is NULL.
59437         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59438         (LDLIBS-tst-chk4): This.
59439         (LDFLAGS-tst-chk5): Renamed to ...
59440         (LDLIBS-tst-chk5): This.
59441         (LDFLAGS-tst-chk6): Renamed to ...
59442         (LDLIBS-tst-chk6): This.
59443         (LDFLAGS-tst-lfschk4): Renamed to ...
59444         (LDLIBS-tst-lfschk4): This.
59445         (LDFLAGS-tst-lfschk5): Renamed to ...
59446         (LDLIBS-tst-lfschk5): This.
59447         (LDFLAGS-tst-lfschk6): Renamed to ...
59448         (LDLIBS-tst-lfschk6): This.
59450         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59451         on $(common-objpfx)soversions.mk.
59453 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59455         [BZ #10014]
59456         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59457         example host name.
59459 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59461         * malloc/arena.c (arena_get_retry): New function that gets
59462         another arena for the caller to try its request on.
59463         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59464         current arena cannot fulfill the request.
59465         (__libc_memalign): Likewise.
59466         (__libc_memalign): Likewise.
59467         (__libc_pvalloc): Likewise.
59468         (__libc_calloc): Likewise.
59470 2012-09-05  John Tobey  <john.tobey@gmail.com>
59472         [BZ #13542]
59473         * manual/arith.texi (Operations on Complex): Fix description
59474         of carg branch cut.
59476 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59478         [BZ #10014]
59479         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59480         host name.
59482         [BZ #10038]
59483         * manual/memory.texi (Memory): Make order of menu items match
59484         order of sections.
59486 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59488         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59489         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59490         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59492 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59494         * csu/libc-tls.c (static_dtv): Renamed to ...
59495         (_dl_static_dtv): This.  Make it global.
59496         (_dl_initial_dtv): Removed.
59497         (__libc_setup_tls): Updated.
59498         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59499         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59500         DL_INITIAL_DTV.
59502 2012-09-06  Petr Machata  <pmachata@redhat.com>
59504         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59505         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59506         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59507         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59509 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59511         [BZ #14545]
59512         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59513         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59514         freeing dtv[-1].
59516 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59518         [BZ #14544]
59519         * Makeconfig (link-static-before-libc): Replace $(+prector)
59520         with $(+prectorT).
59521         (link-static-after-libc): Replace $(+postctor) with
59522         $(+postctorT).
59523         (link-bounded): Replace $(+prector)/$(+postctor) with
59524         $(+prectorT)/$(+postctorT).
59525         (+prectorT): New macro.
59526         (+postctorT): Likewise.
59528 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59530         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59531         (round_str): Handle values above the maximum for IBM long double
59532         as inexact.
59533         * stdlib/tst-strtod-round.c (tests): Regenerated.
59535 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59537         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59538         assembler flag.
59539         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59540         zarch_nohighgprs around the zarch optimized routines.
59541         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59542         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59543         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59544         for zarch.
59546 2012-09-05  David S. Miller  <davem@davemloft.net>
59548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59550         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59551         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59552         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59553         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59554         entries.
59556 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59558         * malloc/arena.c: Fold copyright years.
59559         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59561 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59563         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59565 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59567         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59569 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59571         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59572         change internal state upon failure.
59574 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59576         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59577         * malloc/memusage.c (mmap): Likewise.
59578         (mmap64, mremap): Likewise.  Adjust name in comment.
59580 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59582         * libio/fileops.c: Fix typos in comments.
59583         * libio/oldfileops.c: Likewise.
59584         * libio/wfileops.c: Likewise.
59586 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59588         [BZ #1349]
59589         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59590         (tst-malloc-usable-ENV): Set environment for test case.
59591         * malloc/hooks.c (malloc_check_get_size): New function to get
59592         requested size.
59593         * malloc/malloc.c (musable): Use malloc_check_get_size.
59594         * malloc/tst-malloc-usable.c: New test case.
59596 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59598         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59600 2012-09-05  Allan McRae  <allan@archlinux.org>
59602         [BZ #13966]
59603         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59604         determine header location.
59605         * configure: Regenerated.
59607 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59609         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59610         float format.
59611         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59612         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59613         format.
59614         (test): Regenerate.
59616 2012-09-04  David S. Miller  <davem@davemloft.net>
59618         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59619         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59620         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59622 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59624         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59625         failures.
59627         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59629 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59631         [BZ #9914]
59632         * libio/iogetdelim.c: Include <limits.h>.
59633         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59634         + len + 1 would overflow.
59636 2012-09-03  Andreas Jaeger  <aj@suse.de>
59638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59639         * sysdeps/i386/fpu/libm-test-ulps: Update.
59641 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59643         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59644         Add s_sinf-sse2, s_conf-sse2.
59646         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59647         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59648         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59649         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59651         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59652         for using routine as __sinf_ia32.
59653         Use macro for function declaration and weak_alias.
59654         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59655         for using routine as __cosf_ia32.
59656         Use macro for function declaration and weak_alias.
59658         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59659         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59661         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59662         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59665         * math/libm-test.inc (cos_test): Add more test cases.
59666         (sin_test): Likewise.
59667         (sincos_test): Likewise.
59669 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59671         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59672         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59673         hidden.
59674         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59676 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59678         [BZ #14538]
59679         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59680         first element of the GOT.
59681         (elf_machine_load_address): Return the difference between
59682         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59684 2012-09-01  Allan McRae  <allan@archlinux.org>
59686         [BZ #13412]
59687         * configure.in (AWK): Require gawk version 3.0 or later.
59688         * configure: Regenerated.
59690 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59692         * sysdeps/unix/sysv/linux/kernel-features.h
59693         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59694         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59695         [__NR_clock_getres]: Make code unconditional.
59696         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59697         (clock_getcpuclockid): Remove code left unreachable by removal of
59698         conditionals.
59699         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59700         code unconditional.
59701         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59702         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59703         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59704         Make code unconditional.
59705         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59706         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59707         * sysdeps/unix/sysv/linux/clock_settime.c
59708         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59709         conditional code.
59710         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59711         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59713 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59715         [BZ #14476]
59716         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59717         scripts/test-installation.pl.
59719         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59720         and $ld_so_version if it is set.
59722 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59724         [BZ #14516]
59725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59726         failure if reading from procfs failed.
59727         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59729 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59731         * sysdeps/unix/sysv/linux/kernel-features.h
59732         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59733         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59734         Remove conditional code.
59735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59736         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59737         Remove conditional code.
59738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59739         * sysdeps/unix/sysv/linux/i386/fxstat.c
59740         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59742         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59743         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59745         * sysdeps/unix/sysv/linux/i386/lxstat.c
59746         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59748         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59749         Remove conditional code.
59750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59751         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59752         Remove conditional code.
59753         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59754         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59755         <kernel-features.h>.
59756         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59757         Remove.
59758         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59759         Remove conditional code.
59760         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59761         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59762         Remove conditional.
59764 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59766         [BZ #5400]
59767         * NEWS: Add fixed bug number.
59769 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59771         [BZ #14519]
59772         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59773         underflowing exponent in case of negative sign.
59774         * stdlib/tst-strtod-round-data: Add more tests.
59775         * stdlib/tst-strtod-round.c (tests): Regenerated.
59777         [BZ #3479]
59778         * stdlib/strtod_l.c (NDIG): Remove.
59779         (HEXNDIG): Likewise.
59780         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59781         smallest representable value.
59782         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59783         lie within an exact representation of 1/2 ulp of the result.
59784         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59785         unconditionally.
59786         (TENS_P9_IDX): Define unconditionally.
59787         (TENS_P9_SIZE): Likewise.
59788         (TENS_P10_IDX): Likewise.
59789         (TENS_P10_SIZE): Likewise.
59790         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59791         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59792         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59793         entries for 10^2^13 and 10^2^14.
59794         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59795         (TENS_P13_IDX): Define.
59796         (TENS_P13_SIZE): Likewise.
59797         (TENS_P14_IDX): Likewise.
59798         (TENS_P14_SIZE): Likewise.
59799         (_fpioconst_pow10): Change array size to
59800         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59801         unconditional.
59802         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59803         1024]: Add entries for 10^2^13 and 10^2^14.
59804         [LAST_POW10 > _LAST_POW10]: Remove #error.
59805         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59806         (_fpioconst_pow10): Change array size to
59807         FPIOCONST_POW10_ARRAY_SIZE.
59808         * stdlib/gen-fpioconst.c: New file.
59809         * stdlib/gen-tst-strtod-round.c: Likewise.
59810         * stdlib/tst-strtod-round-data: Likewise.
59811         * stdlib/tst-strtod-round.c: Likewise.
59812         * stdlib/Makefile (tests): Add tst-strtod-round.
59814         [BZ #14459]
59815         * stdlib/strtod_l.c: Include <stdint.h>.
59816         (NDEBUG): Do not define.
59817         (round_and_return): Change EXPONENT parameter to type intmax_t.
59818         Rearrange calculations to avoid internal overflow possibilities.
59819         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59820         Rearrange calculations to avoid internal overflow possibilities.
59821         Assert that number fits inside MPNSIZE limbs.
59822         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59823         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59824         calculations and add assertions to avoid internal overflow
59825         possibilities.  Add casts to avoid signed/unsigned operations.
59826         * stdlib/tst-strtod-overflow.c: New file.
59827         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59829 2012-08-25  Marek Polacek  <polacek@redhat.com>
59831         * time/time.h: Fix some typos in comments.
59833 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59835         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59836         * posix/tst-rfc3484-2.c: Likewise.
59837         * posix/tst-rfc3484-3.c: Likewise.
59839 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59841         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59842         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59844 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59846         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59847         #include of fxstatat64.c.
59849 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59851         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59852         * shadow/getspent_r.c: Likewise.
59853         * shadow/getspnam.c: Likewise.
59854         * shadow/getspnam_r.c: Likewise.
59855         * gshadow/getsgent.c: Likewise.
59856         * gshadow/getsgent_r.c: Likewise.
59857         * gshadow/getsgnam.c: Likewise.
59858         * gshadow/getsgnam_r.c: Likewise.
59859         * inet/getnetbyad.c: Likewise.
59860         * inet/getnetbyad_r.c: Likewise.
59861         * inet/getnetbynm.c: Likewise.
59862         * inet/getnetbynm_r.c: Likewise.
59863         * inet/getnetent.c: Likewise.
59864         * inet/getnetent_r.c: Likewise.
59865         * inet/getproto.c: Likewise.
59866         * inet/getproto_r.c: Likewise.
59867         * inet/getprtent.c: Likewise.
59868         * inet/getprtent_r.c: Likewise.
59869         * inet/getprtname.c: Likewise.
59870         * inet/getprtname_r.c: Likewise.
59871         * inet/getrpcbyname.c: Likewise.
59872         * inet/getrpcbyname_r.c: Likewise.
59873         * inet/getrpcbynumber.c: Likewise.
59874         * inet/getrpcbynumber_r.c: Likewise.
59875         * inet/getrpcent.c: Likewise.
59876         * inet/getrpcent_r.c: Likewise.
59877         * inet/getaliasent.c: Likewise.
59878         * inet/getaliasent_r.c: Likewise.
59879         * inet/getaliasname.c: Likewise.
59880         * inet/getaliasname_r.c: Likewise.
59881         * nscd/getgrgid_r.c: Likewise.
59882         * nscd/getgrnam_r.c: Likewise.
59883         * nscd/gethstbyad_r.c: Likewise.
59884         * nscd/gethstbynm3_r.c: Likewise.
59885         * nscd/getpwnam_r.c: Likewise.
59886         * nscd/getpwuid_r.c: Likewise.
59887         * nscd/getsrvbynm_r.c: Likewise.
59888         * nscd/getsrvbypt_r.c: Likewise.
59889         * nscd/gai.c: Likewise.
59891         * configure.in (build_nscd): New substituted variable, set
59892         by --disable-build-nscd and defaults to $use_nscd.
59893         * configure: Regenerated.
59894         * config.make.in (build-nscd): New substituted variable.
59895         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59896         Change conditional to require [$(build-nscd) = yes] as well.
59897         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59899         [BZ# 13696]
59900         * configure.in (use_nscd): New substituted variable, set by
59901         --disable-nscd.  If enabled, define USE_NSCD.
59902         * configure: Regenerated.
59903         * config.h.in: Add USE_NSCD.
59904         * config.make.in (use-nscd): New substituted variable.
59905         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59906         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59907         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59908         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59909         (CFLAGS-getgrnam_r.c): Likewise.
59910         (CFLAGS-initgroups.c): Likewise.
59911         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59912         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59913         Variables removed.
59914         * inet/getnetgrent_r.c
59915         (nscd_setnetgrent): New function, broken out of ...
59916         (setnetgrent): ... here.  Call it.
59917         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59918         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59919         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59920         * nscd/Makefile (routines, aux): Move definitions after include of
59921         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59922         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59923         Conditionalize on [USE_NSCD].
59924         (is_nscd, nscd_init_cb): Likewise.
59925         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59926         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59927         * nss/nss_db/db-init.c: Likewise.
59928         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59929         [USE_NSCD].
59930         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59931         (make_request): Use it.
59932         (cache_valid_p): New function.
59933         (__check_pf): Use it.
59934         * NEWS: Add item for --disable-nscd.
59936 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59938         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59939         to support sed >= 4.2.1-20-ga9bf076.
59940         * configure: Regenerated.
59942 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59944         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59945         Conditionalize whole body on [IREL].
59947 2012-08-22  Jeff Law <law@redhat.com>
59949         [BZ #14505]
59950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59951         if the family is PF_UNSPEC.
59953 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59955         * Makerules (lib-version): Rename from V.
59956         (install-lib-nosubdir): Change V to lib-version.
59958 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59960         [BZ #14252]
59961         * powerpc32/power6/wcschr.c: New file.
59962         * powerpc32/power6/wcscpy.c: New file.
59963         * powerpc32/power6/wcsrchr.c: New file.
59964         * powerpc64/power6/wcschr.c: New file.
59965         * powerpc64/power6/wcscpy.c: New file.
59966         * powerpc64/power6/wcsrchr.c: New file.
59968 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59970         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59971         (two_way_short_needle): Use it.
59972         * string/strstr.c (AVAILABLE1_USES_J): Define.
59973         * string/strcasestr.c: Likewise.
59975         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59976         array references.
59977         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59979         [BZ #11607]
59980         * NEWS: Add an entry.
59981         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59982         define their defaults.
59983         (two_way_short_needle): Detect end-of-string on-the-fly.
59984         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59985         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59986         * string/bug-strcasestr1.c: New test.
59987         * string/Makefile: Run it.
59989 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59991         [BZ #11607]
59992         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59993         the first character.
59995 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59997         * csu/elf-init.c (__libc_csu_irel): Function removed.
59998         * csu/libc-start.c (apply_irel): New function.
59999         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60001 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60003         * sysdeps/unix/sysv/linux/kernel-features.h
60004         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60005         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60006         <kernel-features.h>.
60007         [__NR_fadvise64_64]: Make code unconditional.
60008         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60009         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60010         !__NR_fadvise64_64)]: Likewise.
60011         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60012         !__NR_fadvise64_64))]: Likewise.
60013         [__NR_fadvise64]: Make code unconditional.
60014         [!__NR_fadvise64]: Remove conditional code.
60015         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60016         <kernel-features.h>.
60017         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60018         unconditional.
60019         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60020         conditional code.
60021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60022         not include <kernel-features.h>.
60023         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60024         unconditional.
60025         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60026         conditional code.
60027         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60028         include <kernel-features.h>.
60029         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60030         unconditional.
60031         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60032         conditional code.
60034 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60036         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60037         slight instruction rearrangements per scrollpipe analysis.
60038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60040 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60042         * manual/syslog.texi (syslog; vsyslog, closelog):
60043         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60044         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60046         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60047         DSOCAPS to match condition on defining it.
60049 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60051         * sysdeps/unix/sysv/linux/kernel-features.h
60052         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60054         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60055         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60057         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60058         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60060         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60061         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60063         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60064         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60066         * sysdeps/unix/sysv/linux/kernel-features.h
60067         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60068         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60069         unconditional.
60070         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60071         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60072         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60073         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60074         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60075         Make code unconditional.
60076         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60077         (__mmap64) [!__NR_mmap2]: Likewise.
60078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60079         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60080         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60081         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60082         [__NR_mmap2]: Make code unconditional.
60083         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60084         (__mmap64) [!__NR_mmap2]: Likewise.
60086 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60088         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60090 2012-08-18  Andreas Jaeger  <aj@suse.de>
60092         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60094 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60096         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60097         * include/unistd.h (__have_sock_cloexec): Likewise.
60098         (__have_pipe2): Likewise.
60099         (__have_dup3): Likewise.
60101 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60103         [BZ #9685]
60104         * include/unistd.h (__have_pipe2): Change define into an extern int.
60105         (__have_dup3): Likewise.
60106         * socket/have_sock_cloexec.c: Include fcntl.h.
60107         (__have_pipe2): New variable.
60108         (__have_dup3): Likewise.
60110 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60112         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60114 2012-08-17  Marek Polacek  <polacek@redhat.com>
60116         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60117         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60119 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60121         * configure.in: Add AC_SUBST for sysheaders.
60122         * configure: Regenerated.
60123         * config.make.in (sysheaders): New substituted variable.
60125         * sysdeps/unix/mkfifo.c: Moved ...
60126         * sysdeps/posix/mkfifo.c: ... here.
60127         * sysdeps/unix/mkfifoat.c: Moved ...
60128         * sysdeps/posix/mkfifoat.c: ... here.
60130         * sysdeps/unix/utime.c: Moved ...
60131         * sysdeps/posix/utime.c: ... here.
60133         * sysdeps/unix/time.c: Moved ...
60134         * sysdeps/posix/time.c: ... here.
60135         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60136         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60138         * sysdeps/unix/nice.c: Moved ...
60139         * sysdeps/posix/nice.c: ... here.
60141         * sysdeps/unix/alarm.c: Moved ...
60142         * sysdeps/posix/alarm.c: ... here.
60144         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60146 2012-08-17  Jeff Law <law@redhat.com>
60148         * intl/Makefile (codeset_mo): New variable.
60149         ($(codeset_mo)): New target.
60150         (tst-codeset.out): Depend on that.  Remove explicit rule.
60151         (tst-gettext3.out, tst-gettext5.out): Likewise.
60152         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60153         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60154         * intl/tst-codeset.sh: Remove.
60155         * intl/tst-gettext3.sh: Likewise.
60156         * intl/tst-gettext5.sh: Likewise.
60158 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60160         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60161         * sysdeps/unix/syscalls.list: ... here.
60163         * sysdeps/posix/getaddrinfo.c
60164         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60165         (gaiconf_init, gaiconf_reload): Use them.
60166         [!_STATBUF_ST_NSEC]
60167         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60168         Define using time_t rather than struct timespec.
60170         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60171         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60172         Macros removed.
60173         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60174         [!NO_THREADS].
60175         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60176         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60177         Likewise.
60179         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60180         __libc_cleanup_push argument.
60182         * bits/param.h: New file.
60183         * misc/sys/param.h: New file.
60184         * include/sys/param.h: New file.
60185         * misc/Makefile (headers): Add bits/param.h.
60186         * sysdeps/generic/sys/param.h: File removed.
60187         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60188         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60189         * sysdeps/mach/hurd/bits/param.h: New file.
60190         * sysdeps/mach/hurd/sys/param.h: File removed.
60192         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60193         last change.
60195         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60196         [_IO_MTSAFE_IO].
60197         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60198         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60199         New macros.
60201         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60202         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60203         rather than -D_IO_MTSAFE_IO conditionally.
60204         * stdio-common/Makefile (CPPFLAGS): Likewise.
60205         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60206         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60207         Use $(libio-mtsafe).
60208         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60209         of -D_IO_MTSAFE_IO.
60210         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60211         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60212         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60213         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60214         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60215         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60216         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60217         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60218         (CFLAGS-fread_u_chk.c): Likewise.
60219         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60220         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60221         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60222         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60223         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60224         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60225         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60226         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60227         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60229         * libio/Makefile: Test [$(libc-reentrant) = yes]
60230         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60232         * Makeconfig
60233         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60234         * sysdeps/pthread/configure: File removed.
60235         * sysdeps/pthread/Makeconfig: New file.
60236         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60237         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60239 2012-08-16  Gary Benson  <gbenson@redhat.com>
60241         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60242         unmapping the first object in a namespace.
60244 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60246         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60247         (__internal_setnetgrent): ... this.  Add internal_function to
60248         definition.  Add libc_hidden_def.
60249         (setnetgrent): Update caller.
60250         (internal_endnetgrent): Renamed to ...
60251         (__internal_endnetgrent): ... this.  Add internal_function to
60252         definition.  Add libc_hidden_def.
60253         (endnetgrent): Update caller.
60254         (internal_getnetgrent_r): Renamed to ...
60255         (__internal_getnetgrent_r): ... this.  Add internal_function to
60256         definition.  Add libc_hidden_def.
60257         (__getnetgrent_r): Update caller.
60258         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60260 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60262         * stdlib/longlong.h: Update from GCC.
60264 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60266         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60267         on _QL, which is set by umul_ppmm but never used.
60268         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60269         variables, which are set by GMP macros but never used.
60270         * stdio-common/_itowa.c (_itowa): Likewise.
60271         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60272         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60274 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60276         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60277         struct La_sh_regs is not constant.
60278         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60279         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60280         and struct La_sparc64_regs are not constant.
60282 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60284         * sysdeps/unix/sysv/linux/kernel-features.h
60285         (__ASSUME_POSIX_TIMERS): Remove.
60286         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60288         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60289         Make code unconditional.
60290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60291         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60292         Make code unconditional.
60293         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60294         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60295         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60296         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60297         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60298         Make code unconditional.
60299         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60300         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60301         (__libc_missing_posix_timers): Remove.
60303 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60305         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60306         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60308         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60310         * elf/dl-sym.c: Include <stdlib.h>.
60312         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60313         constants, which avoids warnings in 32-bit builds.
60315         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60316         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60318         * misc/lseek.c: File moved to ...
60319         * io/lseek.c: ... here.
60321         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60323         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60324         shifting LEN more than 31 bits at once.
60326 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60328         [BZ #14195]
60329         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60330         segmentation fault for a case of two empty input strings.
60331         * string/test-strncasecmp.c (check1): Renamed to...
60332         (bz12205): ...this.
60333         (bz14195): Add new testcase for two empty input strings and N > 0.
60334         (test_main): Call new testcase, adapt for renamed function.
60336 2012-08-15  Andreas Jaeger  <aj@suse.de>
60338         [BZ #14090]
60339         * crypt/md5test2.c: New test, based on test supplied by Serge
60340         Belyshev <belyshev@depni.sinp.msu.ru>.
60341         * crypt/Makefile (xtests): Add md5test-giant..
60342         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60344 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60346         [BZ #14090]
60347         * crypt/md5.c (md5_process_block): Don't assume the buffer
60348         length is less than 2**32.
60349         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60350         length is less than 2**64.
60352 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60354         * string/str-two-way.h: Include <sys/param.h>.
60355         (MAX): Macro removed.
60357         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60358         Move #define and #undef of memmove to just before and after
60359         including <string.h>.
60361         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60362         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60363         and after including <string.h>.  Move declarations of
60364         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60365         to before #include "string/memmove.c".
60367         * include/dirent.h: Declare __getdirentries.
60369         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60370         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60372 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60374         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60375         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60376         * sysdeps/i386/configure: Regenerated.
60377         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60378         STABS_CURRENT_FILE, and STABS_FUN.
60379         (END): Remove call to STABS_FUN_END.
60380         (STABS_CURRENT_FILE1): Delete.
60381         (STABS_CURRENT_FILE): Likewise.
60382         (STABS_FUN): Likewise.
60383         (STABS_FUN_END): Likewise.
60384         (STABS_FUN2): Likewise.
60385         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60386         * sysdeps/x86_64/configure: Regenerated.
60388 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60390         * elf/dl-open.c: Include <atomic.h>.
60391         * elf/dl-lookup.c: Likewise.
60393 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60395         * sysdeps/unix/sysv/linux/kernel-features.h
60396         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60397         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60398         unconditionally.
60399         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60400         unconditionally.
60401         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60402         condition on __ASSUME_CLONE_THREAD_FLAGS.
60404 2012-08-14  Andreas Jaeger  <aj@suse.de>
60406         * sysdeps/i386/fpu/libm-test-ulps: Update.
60408 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60410         * include/atomic.h (atomic_exchange_and_add): Split into ...
60411         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60412         New atomic macros.
60414 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60418 2012-08-13  Jeff Law <law@redhat.com>
60420         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60421         null byte in the output string.
60423 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60425         * sysdeps/unix/sysv/linux/kernel-features.h
60426         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60427         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60428         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60429         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60430         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60431         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60432         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60434 2012-08-09  Jeff Law <law@redhat.com>
60436         [BZ #13939]
60437         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60438         When avoid_arena is set, don't retry in the that arena.  Pick the
60439         next one, whatever it might be.
60440         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60441         (arena_lock): Pass in new parameter to arena_get2.
60442         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60443         arena_get2.
60444         (__libc_malloc): Unify retrying after main arena failure with
60445         __libc_memalign version.
60446         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60448 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60450         [BZ #14166]
60451         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60452         to __redirect_strstr.
60453         (__strstr_sse42): Use typeof __redirect_strstr.
60454         (__strstr_ia32): Likewise.
60455         (__libc_strstr): New prototype.
60456         (strstr): Renamed to ...
60457         (__libc_strstr): This.
60458         (strstr): New strong alias of __libc_strstr.
60459         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60460         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60461         __redirect_time.
60462         Include <time.h>.
60463         (__libc_time): New prototype.
60464         (time_ifunc): Replace time with __libc_time.
60465         (time): New strong alias and hidden definition of __libc_time.
60466         (__GI_time): Remove strong alias.
60467         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60468         Include <stddef.h>.
60469         (memmove): Redefined to __redirect_memmove.
60470         (__memmove_sse2): Use typeof __redirect_memmove.
60471         (__memmove_ssse3): Likewise.
60472         (__memmove_ssse3_back): Likewise.
60473         (__libc_memmove): New prototype.
60474         (memmove): Renamed to ...
60475         (__libc_memmove): This.
60476         (memmove): New strong alias of __libc_memmove.
60478 2012-08-08  Mark Salter  <msalter@redhat.com>
60480         * elf/elf.h
60481         (R_MN10300_TLS_GD): Define.
60482         (R_MN10300_TLS_LD): Likewise.
60483         (R_MN10300_TLS_LDO): Likewise.
60484         (R_MN10300_TLS_GOTIE): Likewise.
60485         (R_MN10300_TLS_IE): Likewise.
60486         (R_MN10300_TLS_LE): Likewise.
60487         (R_MN10300_TLS_DTPMOD): Likewise.
60488         (R_MN10300_TLS_DTPOFF): Likewise.
60489         (R_MN10300_TLS_TPOFF): Likewise.
60490         (R_MN10300_SYM_DIFF): Likewise.
60491         (R_MN10300_ALIGN): Likewise.
60492         (R_MN10300_NUM): Update.
60494 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60497         Remove.
60499 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60501         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60503         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60504         sysdeps/unix -> sysdeps/posix move.
60505         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60507 2012-08-07      Allan McRae     <allan@archlinux.org>
60509         [BZ #14303]
60510         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60511         (SUNOS_CPP): Likewise.
60512         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60513         not found.
60514         (open_input): Call CPP using execvp.
60516 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60518         * sysdeps/unix/sysv/linux/kernel-features.h
60519         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60520         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60521         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60522         (__ASSUME_WAITID_SYSCALL): Likewise.
60523         * sysdeps/unix/sysv/linux/dl-execstack.c
60524         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60525         code unconditional.
60526         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60527         conditional code.
60528         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60529         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60530         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60531         code.
60532         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60533         unconditional.
60534         [__ASSUME_WAITID_SYSCALL]: Likewise.
60535         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60537 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60539         * sysdeps/unix/closedir.c: Renamed to ...
60540         * sysdeps/posix/closedir.c: ... here.
60541         * sysdeps/unix/dirfd.c: Renamed to ...
60542         * sysdeps/posix/dirfd.c: ... here.
60543         * sysdeps/unix/dirstream.h: Renamed to ...
60544         * sysdeps/posix/dirstream.h: ... here.
60545         * sysdeps/unix/fdopendir.c: Renamed to ...
60546         * sysdeps/posix/fdopendir.c: ... here.
60547         * sysdeps/unix/opendir.c: Renamed to ...
60548         * sysdeps/posix/opendir.c: ... here.
60549         * sysdeps/unix/readdir.c: Renamed to ...
60550         * sysdeps/posix/readdir.c: ... here.
60551         * sysdeps/unix/readdir_r.c: Renamed to ...
60552         * sysdeps/posix/readdir_r.c: ... here.
60553         * sysdeps/unix/rewinddir.c: Renamed to ...
60554         * sysdeps/posix/rewinddir.c: ... here.
60555         * sysdeps/unix/seekdir.c: Renamed to ...
60556         * sysdeps/posix/seekdir.c: ... here.
60557         * sysdeps/unix/telldir.c: Renamed to ...
60558         * sysdeps/posix/telldir.c: ... here.
60559         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60560         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60561         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60562         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60564         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60565         * bits/fcntl.h: ... here.
60567         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60568         not 0.
60569         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60570         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60571         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60572         (struct flock): Move l_start, l_len to the beginning.
60573         Use __pid_t for l_pid.
60574         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60575         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60576         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60577         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60578         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60579         [__USE_LARGEFILE64] (struct flock64): New type.
60580         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60582         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60583         * bits/dirent.h: ... here.
60585         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60586         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60588 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60590         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60591         Change from 2.6.0 to 2.6.16.
60592         * sysdeps/unix/sysv/linux/configure: Regenerated.
60593         * sysdeps/unix/sysv/linux/kernel-features.h
60594         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60595         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60596         version.
60597         (__ASSUME_UTIMES): Likewise.
60598         (__ASSUME_CLONE_STOPPED): Remove.
60599         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60600         architectures, not kernel version.
60601         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60602         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60603         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60604         (__ASSUME_WAITID_SYSCALL): Likewise.
60605         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60606         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60607         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60608         refer to older versions.
60610 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60612         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60613         Define alphasort64 as an alias.
60614         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60615         Define versionsort64 as an alias.
60616         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60617         Define scandir64 as an alias.
60618         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60619         Define scandirat64 as an alias.
60620         * dirent/alphasort64.c (alphasort64):
60621         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60622         * dirent/versionsort64.c: Likewise.
60623         * dirent/scandir64.c: Likewise.
60624         * dirent/scandirat64.c: Likewise.
60625         * sysdeps/wordsize-64/alphasort.c: File removed.
60626         * sysdeps/wordsize-64/alphasort64.c: File removed.
60627         * sysdeps/wordsize-64/scandir.c: File removed.
60628         * sysdeps/wordsize-64/scandir64.c: File removed.
60629         * sysdeps/wordsize-64/scandirat.c: File removed.
60630         * sysdeps/wordsize-64/scandirat64.c: File removed.
60631         * sysdeps/wordsize-64/versionsort.c: File removed.
60632         * sysdeps/wordsize-64/versionsort64.c: File removed.
60633         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60634         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60635         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60636         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60637         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60638         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60639         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60640         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60642         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60643         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60644         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60645         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60646         [defined __arch64__ || defined __sparcv9]
60647         (__INO_T_MATCHES_INO64_T): New macro.
60648         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60649         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60650         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60651         * sysdeps/unix/sysv/linux/bits/dirent.h
60652         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60653         (_DIRENT_MATCHES_DIRENT64): New macro.
60655         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60656         Define lockf64 as an alias.
60657         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60658         Define fseeko64 as an alias.
60659         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60660         Define ftello64 as an alias.
60661         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60662         Define _IO_fgetpos64 and fgetpos64 as aliases.
60663         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60664         Define _IO_fsetpos64 and fsetpos64 as aliases.
60665         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60666         Conditionalize body on this.
60667         * libio/fseeko64.c: Likewise.
60668         * libio/ftello64.c: Likewise.
60669         * libio/iofgetpos64.c: Likewise.
60670         * libio/iofsetpos64.c: Likewise.
60671         * sysdeps/wordsize-64/lockf.c: File removed.
60672         * sysdeps/wordsize-64/lockf64.c: File removed.
60673         * sysdeps/wordsize-64/fseeko.c: File removed.
60674         * sysdeps/wordsize-64/fseeko64.c: File removed.
60675         * sysdeps/wordsize-64/ftello.c: File removed.
60676         * sysdeps/wordsize-64/ftello64.c: File removed.
60677         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60678         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60679         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60680         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60681         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60682         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60683         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60684         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60685         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60686         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60687         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60688         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60689         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60690         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60692         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60693         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60694         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60696         [defined __arch64__ || defined __sparcv9]
60697         (__OFF_T_MATCHES_OFF64_T): New macro.
60698         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60699         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60700         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60701         (__OFF_T_MATCHES_OFF64_T): New macro.
60703 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60705         * stdlib/secure-getenv.c (__secure_getenv): Replace
60706         GLIBC_2_16 with GLIBC_2_17.
60708 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60711         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60713 2012-08-03  David S. Miller  <davem@davemloft.net>
60715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60717 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60720         Remove.
60721         (__ASSUME_CORRECT_SI_PID): Likewise.
60722         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60723         (__ASSUME_TMPFS_NAME): Likewise.
60724         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60725         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60726         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60727         (HAVE_AUX_SECURE): Make definition unconditional.
60728         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60729         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60731 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60733         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60734         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60735         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60736         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60737         __eloop_threshold instead of SYMLOOP_MAX.
60739         * sysdeps/generic/eloop-threshold.h: New file.
60740         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60741         of MAXSYMLINKS.
60742         * elf/chroot_canon.c (chroot_canon): Likewise.
60744 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60746         [BZ #13717]
60747         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60748         Change to 2.6.0 everywhere.
60749         * sysdeps/unix/sysv/linux/configure: Regenerated.
60750         * sysdeps/unix/sysv/linux/kernel-features.h
60751         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60752         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60753         kernel versions.
60754         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60755         (__ASSUME_FUTEX_REQUEUE): Remove.
60756         (__ASSUME_STATFS64): Define unconditionally.
60757         (__ASSUME_AT_SECURE): Likewise.
60758         (__ASSUME_CORRECT_SI_PID): Likewise.
60759         (__ASSUME_TGKILL): Define without depending on kernel version for
60760         i386.
60761         (__ASSUME_UTIMES): Likewise.
60762         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60763         kernel version.
60764         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60765         (__ASSUME_TMPFS_NAME): Likewise.
60766         * README: Update reference to Linux kernel versions.
60768 2012-08-02  Marek Polacek  <polacek@redhat.com>
60770         [BZ# 14150]
60771         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60772         libc_cv_asm_type_prefix with %.
60773         * configure: Regenerated.
60774         * include/libc-symbols.h: Remove comment about
60775         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60776         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60777         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60778         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60779         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60780         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60781         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60782         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60783         * elf/tst-unique2mod1.c: Likewise.
60784         * elf/tst-unique1mod2.c: Likewise.
60785         * elf/tst-unique1mod1.c: Likewise.
60786         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60787         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60788         Replace ASM_TYPE_DIRECTIVE with .type.
60789         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60790         * sysdeps/i386/sysdep.h: Likewise.
60791         * sysdeps/x86_64/sysdep.h: Likewise.
60792         * sysdeps/sh/sysdep.h: Likewise.
60793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60794         Do not define ASM_TYPE_DIRECTIVE.
60795         * sysdeps/powerpc/sysdep.h: Likewise.
60796         * sysdeps/powerpc/powerpc32/sysdep.h:
60797         Replace ASM_TYPE_DIRECTIVE with .type.
60798         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60799         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60800         * sysdeps/i386/fpu/e_powf.S: Likewise.
60801         * sysdeps/i386/fpu/e_expl.S: Likewise.
60802         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60803         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60804         * sysdeps/i386/fpu/e_pow.S: Likewise.
60805         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60806         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60807         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60808         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60809         * sysdeps/i386/fpu/e_log2.S: Likewise.
60810         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60811         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60812         * sysdeps/i386/fpu/e_powl.S: Likewise.
60813         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60814         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60815         * sysdeps/i386/fpu/e_logl.S: Likewise.
60816         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60817         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60818         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60819         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60820         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60821         * sysdeps/i386/fpu/e_log.S: Likewise.
60822         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60823         * sysdeps/i386/fpu/e_logf.S: Likewise.
60824         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60825         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60826         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60827         * sysdeps/i386/fpu/e_log10.S: Likewise.
60828         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60829         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60830         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60831         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60832         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60833         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60834         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60835         * sysdeps/i386/i686/strtok.S: Likewise.
60836         * sysdeps/i386/i386-mcount.S: Likewise.
60837         * sysdeps/i386/strtok.S: Likewise.
60838         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60839         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60840         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60841         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60842         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60843         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60844         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60845         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60846         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60847         * sysdeps/x86_64/_mcount.S: Likewise.
60848         * sysdeps/x86_64/strtok.S: Likewise.
60849         * sysdeps/sh/_mcount.S: Likewise.
60851 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60853         * libio/iofopen.c: Include <fcntl.h>.
60854         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60855         (_IO_fopen64, fopen64): Define as aliases.
60856         * libio/iofopen64.c: Include <fcntl.h>.
60857         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60858         Conditionalize body on this.
60859         * sysdeps/wordsize-64/iofopen.c: File removed.
60860         * sysdeps/wordsize-64/iofopen64.c: File removed.
60862 2012-08-01  Marek Polacek  <polacek@redhat.com>
60864         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60865         Use dlfcn directly instead of a variable.
60866         (binfmt-subdir): Do not define.
60867         (dlfcn): Likewise.
60869 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60871         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60872         Remove all definitions.
60873         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60874         <kernel-features.h>.
60875         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60876         (miss_F_GETOWN_EX): Remove all definitions.
60877         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60878         macro definition.
60879         [!__ASSUME_FCNTL64]: Remove conditional code.
60880         [__ASSUME_FCNTL64]: Make code unconditional.
60881         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60882         <kernel-features.h>.
60883         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60884         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60885         (lockf64) [__NR_fcntl64]: Make code unconditional.
60886         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60888         * sysdeps/unix/sysv/linux/kernel-features.h
60889         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60890         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60891         Make code unconditional.
60892         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60893         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60895         [__NR_vfork]: Make code unconditional.
60896         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60897         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60899         [__NR_vfork]: Make code unconditional.
60900         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60901         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60903 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60905         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60906         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60908         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60909         Define mkstemp64 as an alias.
60910         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60911         Define mkstemps64 as an alias.
60912         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60913         Define mkostemp64 as an alias.
60914         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60915         Define mkostemps64 as an alias.
60916         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60917         Conditionalize body on this.
60918         * misc/mkostemp64.c: Likewise.
60919         * misc/mkostemps64.c: Likewise.
60920         * misc/mkstemps64.c: Likewise.
60921         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60922         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60923         * sysdeps/wordsize-64/mkostemp.c: File removed.
60924         * sysdeps/wordsize-64/mkstemp.c: File removed.
60925         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60926         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60927         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60928         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60930         [BZ #14138]
60931         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60932         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60933         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60934         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60936         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60937         compat_symbol macros from <shlib-compat.h> rather than the underlying
60938         default_symbol_version and symbol_version macros, so that DEFAULT
60939         lines in shlib-versions are respected.
60940         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60942 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60944         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60945         Declare with warn_unused_result.
60946         (setgid, setregid, setegid, setresgid): Likewise.
60947         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60948         Likewise.
60949         * WUR-REPORT: Remove set*id functions.
60951 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60953         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60955 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60957         [BZ #10191]
60958         * include/sys/socket.h (__libc_accept, __libc_accept4):
60959         Add attribute_hidden.
60960         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60962         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60963         use of PTR_MANGLE.
60964         * inet/getnetgrent_r.c (setup): Likewise.
60966         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60968 2012-07-31  David S. Miller  <davem@davemloft.net>
60970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60972 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60974         [BZ #13629]
60975         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60976         value between 1.0 and 2.0 and smaller part has absolute value less
60977         than 1.0.
60978         * math/s_clog10.c (__clog10): Likewise.
60979         * math/s_clog10f.c (__clog10f): Likewise.
60980         * math/s_clog10l.c (__clog10l): Likewise.
60981         * math/s_clogf.c (__clogf): Likewise.
60982         * math/s_clogl.c (__clogl): Likewise.
60983         * math/libm-test.inc (clog_test): Add more tests.
60984         (clog10_test): Likewise.
60985         * sysdeps/i386/fpu/libm-test-ulps: Update.
60986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60988 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60990         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60991         Exit with zero in case no suitable GID is found, and write a
60992         message to standard error.
60994 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60996         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60997         rather than to 1.
60998         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60999         (MAXPATHLEN): Removed.
61000         (NOGROUP, NODEV): New macros.
61001         (setbit, clrbit, isset, isclr): New macros.
61002         (howmany, roundup, powerof2): New macros.
61003         (DEV_BSIZE): New macro.
61005         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61006         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61008         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61009         definition on [!__NO_LONG_DOUBLE_MATH].
61011         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61012         PTR_MANGLE and PTR_DEMANGLE.
61014         * socket/accept4.c (accept4): Rename to __libc_accept4.
61015         Define accept4 as a weak alias.
61017         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61018         on [_DIRENT_HAVE_D_TYPE].
61019         * io/ftw.c (ftw_dir): Likewise.
61021         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61023         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61025         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61026         Use the BSD numbers rather than the arbitrary ones we had.
61027         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61028         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61029         (SIGXCPU, SIGXFSZ): New macros.
61030         (_NSIG): Now 32.
61032         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61033         initializer on [_LIBC_REENTRANT].
61035         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61036         definitions inside [_POSIX_MAPPED_FILES].
61038         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61040         * dirent/opendir.c: Include <fcntl.h>.
61042         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61043         (__libc_getspecific): Likewise.
61044         (__libc_key_create): Likewise.
61046         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61047         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61048         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61049         (tmpfile64): Define as alias.
61050         * sysdeps/wordsize-64/tmpfile.c: File removed.
61051         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61053         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61055         * stdio-common/vfscanf.c: Include <stdbool.h>.
61056         * nss/makedb.c: Likewise.
61057         * stdio-common/_i18n_number.h: Likewise.
61058         * argp/argp-help.c: Likewise.
61059         * posix/wordexp.c: Likewise.
61060         * sysdeps/posix/spawni.c: Likewise.
61061         * nss/nss_files/files-initgroups.c: Likewise.
61062         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61063         * nss/nss_files/files-initgroups.c: Likewise.
61064         * nss/nss_db/db-netgrp.c: Likewise.
61065         * nss/nss_db/db-initgroups.c: Likewise.
61066         * io/fchmodat.c: Include <sys/stat.h>.
61068         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61069         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61071         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61072         [HAVE_MMAP].
61074         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61075         Add multiple inclusion protection.
61077 2012-07-27  David S. Miller  <davem@davemloft.net>
61079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61081 2012-07-27  Gary Benson  <gbenson@redhat.com>
61083         [BZ #14298]
61084         * elf/rtld.c: Include <stap-probe.h>.
61085         (dl_main): Added static probes "init_start" and "init_complete".
61086         * elf/dl-load.c: Include <stap-probe.h>.
61087         (lose): Take new parameter "nsid".
61088         Added static probe "map_failed".
61089         (_dl_map_object_from_fd): Pass namespace id to lose.
61090         Added static probe "map_start".
61091         (open_verify): Pass namespace id to lose.
61092         * elf/dl-open.c: Include <stap-probe.h>.
61093         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61094         and "reloc_complete".
61095         * elf/dl-close.c: Include <stap-probe.h>.
61096         (_dl_close_worker): Added static probes "unmap_start" and
61097         "unmap_complete".
61098         * elf/rtld-debugger-interface.txt: New file documenting the above.
61100 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61102         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61103         rather than a string variable.
61104         * sunrpc/rpc_main.c (h_output): Likewise.
61105         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61107 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61109         * inet/check_native.c: New file.
61111 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61113         [BZ #13629]
61114         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61115         if larger part has absolute value 1.0.
61116         * math/s_clog10.c (__clog10): Likewise.
61117         * math/s_clog10f.c (__clog10f): Likewise.
61118         * math/s_clog10l.c (__clog10l): Likewise.
61119         * math/s_clogf.c (__clogf): Likewise.
61120         * math/s_clogl.c (__clogl): Likewise.
61121         * math/libm-test.inc (clog_test): Add more tests.
61122         (clog10_test): Likewise.
61123         * sysdeps/i386/fpu/libm-test-ulps: Update.
61124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61126         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61127         (pltexit): Likewise.
61128         (La_regs): Likewise.
61129         (La_retval): Likewise.
61130         (int_retval): Likewise.
61131         Update #error for removed macros to refer only to definitions in
61132         tst-audit.h.
61133         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61134         macro.
61135         (pltexit): Likewise.
61136         (La_regs): Likewise.
61137         (La_retval): Likewise.
61138         (int_retval): Likewise.
61139         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61140         macro.
61141         (pltexit): Likewise.
61142         (La_regs): Likewise.
61143         (La_retval): Likewise.
61144         (int_retval): Likewise.
61145         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61146         macro.
61147         (pltexit): Likewise.
61148         (La_regs): Likewise.
61149         (La_retval): Likewise.
61150         (int_retval): Likewise.
61151         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61152         macro.
61153         (pltexit): Likewise.
61154         (La_regs): Likewise.
61155         (La_retval): Likewise.
61156         (int_retval): Likewise.
61157         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61158         macro.
61159         (pltexit): Likewise.
61160         (La_regs): Likewise.
61161         (La_retval): Likewise.
61162         (int_retval): Likewise.
61163         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61164         macro.
61165         (pltexit): Likewise.
61166         (La_regs): Likewise.
61167         (La_retval): Likewise.
61168         (int_retval): Likewise.
61169         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61170         macro definitions in tst-audit.h.
61171         * sysdeps/i386/tst-audit.h: New file.
61172         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61173         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61174         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61175         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61176         * sysdeps/sh/tst-audit.h: Likewise.
61177         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61178         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61179         * sysdeps/x86_64/tst-audit.h: Likewise.
61181 2012-07-26  Andreas Jaeger  <aj@suse.de>
61183         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61184         ptrace.
61186         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61187         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61188         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61189         PTRACE_O_MASK.
61190         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61191         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61192         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61194         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61195         value.
61197         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61198         _sigsys.
61199         (si_call_addr, si_syscall, si_arch): Define new macro.
61200         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61201         _sigsys.
61202         (si_call_addr, si_syscall, si_arch): Define new marcro.
61203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61204         _sigsys.
61205         (si_call_addr, si_syscall, si_arch): Define new macro.
61206         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61207         _sigsys.
61208         (si_call_addr, si_syscall, si_arch): Define new macro.
61210 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61212         [BZ #13717]
61213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61214         Change to 2.4.21 where previously 2.4.1.
61215         * sysdeps/unix/sysv/linux/configure: Regenerated.
61216         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61217         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61218         Linux kernel version.
61219         (__ASSUME_STD_AUXV): Remove.
61220         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61221         kernel version.
61222         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61223         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61224         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61225         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61226         (__ASSUME_NETLINK_SUPPORT): Likewise.
61227         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61228         (__no_netlink_support): Remove conditional definition.
61229         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61230         Remove.
61231         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61232         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61233         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61234         (if_nameindex_ioctl): Remove.
61235         (if_nameindex_netlink): Do not handle __no_netlink_support.
61236         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61237         code.
61238         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61239         Remove conditional code.
61240         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61241         code.
61242         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61243         unconditional.
61244         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61245         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61246         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61247         Remove.
61248         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61249         [!__ASSUME_STD_AUXV]: Remove conditional code.
61250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61251         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61252         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61254         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61255         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61256         code.
61257         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61259         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61260         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61261         conditional code.
61262         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61264         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61265         code.
61266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61267         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61268         conditional code.
61269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61270         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61271         code unconditional.
61272         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61273         conditional code.
61274         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61275         unconditional.
61276         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61277         conditional code.
61278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61279         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61280         unconditional.
61281         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61282         conditional code.
61283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61284         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61285         code unconditional.
61286         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61287         conditional code.
61288         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61289         unconditional.
61290         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61291         conditional code.
61292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61293         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61294         code unconditional.
61295         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61296         conditional code.
61297         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61298         unconditional.
61299         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61300         conditional code.
61302 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61304         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61305         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61306         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61307         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61308         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61309         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61310         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61311         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61312         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61313         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61314         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61315         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61316         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61317         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61318         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61319         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61320         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61322         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61324         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61325         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61326         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61328 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61330         * Versions.def: Add GLIBC_2.17.
61331         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61332         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61333         Introduce __libc_secure_getenv.
61334         * stdlib/Versions (2.17): Add secure_getenv
61335         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61336         * stdlib/secure-getenv.c: Rename __secure_getenv to
61337         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61338         symbol __secure_getenv for GLIBC_2.0.
61339         * stdlib/tst-secure-getenv.c: New.
61340         * stdlib/Makefile (tests): Add testcase.
61341         * manual/startup.texi (Environment Access): Document
61342         secure_getenv.
61343         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61344         __libc_secure_getenv.
61345         * inet/ruserpass.c (ruserpass): Likewise.
61346         * malloc/mtrace.c (mtrace): Likewise.
61347         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61348         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61349         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61350         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61351         HAVE_SECURE_GETENV.
61352         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61353         __secure_getenv to __libc_secure_getenv.
61354         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61356         Likewise.
61357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61358         Likewise.
61359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61361         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61367 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61369         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61370         (struct La_i86_retval): Likewise.
61371         (struct La_x86_64_regs): Likewise.
61372         (struct La_x86_64_retval): Likewise.
61373         (struct La_x32_regs): Likewise.
61374         (struct La_x32_retval): Likewise.
61375         (struct La_ppc32_regs): Likewise.
61376         (struct La_ppc32_retval): Likewise.
61377         (struct La_ppc64_regs): Likewise.
61378         (struct La_ppc64_retval): Likewise.
61379         (struct La_sh_regs): Likewise.
61380         (struct La_sh_retval): Likewise.
61381         (struct La_s390_32_regs): Likewise.
61382         (struct La_s390_32_retval): Likewise.
61383         (struct La_s390_64_regs): Likewise.
61384         (struct La_s390_64_retval): Likewise.
61385         (struct La_sparc32_regs): Likewise.
61386         (struct La_sparc32_retval): Likewise.
61387         (struct La_sparc64_regs): Likewise.
61388         (struct La_sparc64_retval): Likewise.
61389         (struct audit_ifaces): Remove architecture-specific pltenter and
61390         pltexit members.
61391         * sysdeps/i386/ldsodefs.h: New file.
61392         * sysdeps/powerpc/ldsodefs.h: Likewise.
61393         * sysdeps/s390/ldsodefs.h: Likewise.
61394         * sysdeps/sh/ldsodefs.h: Likewise.
61395         * sysdeps/sparc/ldsodefs.h: Likewise.
61396         * sysdeps/x86_64/ldsodefs.h: Likewise.
61398 2012-07-25  Marek Polacek  <polacek@redhat.com>
61400         [BZ #6808]
61401         * math/libm-test.inc (yn_test): Add another test.
61402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61403         to ERANGE when the result is +-Inf.
61404         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61405         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61406         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61407         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61409 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61411         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61412         equal to 0.
61413         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61414         clock_t.
61415         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61417 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61419         * configure.in <sysdeps resolving>: Correct printing
61420         Implies_before.
61421         * configure: Regenerate.
61423 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61425         * math/w_ilogb.c: Include <limits.h>.
61426         * math/w_ilogbl.c: Likewise.
61428 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61430         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61431         va_copy.  Document allowing for unavailable va_copy only as
61432         pre-C99 compatibility.
61433         * manual/string.texi (Copying and Concatenation): Use va_copy
61434         instead of __va_copy in concat example.
61436 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61438         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61439         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61440         it if not null.
61442         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61443         with O_NOLINK passed to __file_name_lookup.
61445         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61446         with O_NOLINK passed to __file_name_lookup.
61448         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61449         negative N or less than NGIDS.
61451         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61452         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61453         enough.  Use memcpy instead of strncpy.
61455 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61457         * elf/Makefile (check-data): Remove.
61458         (localplt.data): New vpath directive.
61459         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61460         instead of $(check-data).
61461         * scripts/data/localplt-generic.data: Move to ...
61462         * sysdeps/generic/localplt.data: ... here.
61463         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61464         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61465         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61467         ... here.
61468         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61470         ... here.
61471         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61473         ... here.
61474         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61476         ... here.
61477         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61479         ... here.
61480         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61482         ... here.
61484 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61486         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61487         PPC32 and PPC64 files.
61488         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61489         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61491 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61493         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61494         __makecontext_ret to ...
61495         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61496         ... here and call exit if uc_link is NULL.  New file.
61497         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61498         __makecontext_ret.S.
61499         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61500         __makecontext_ret to ...
61501         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61502         ... here and call exit if uc_link is NULL.  New file.
61503         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61504         __makecontext_ret.S.
61506 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61508         * elf/elf.h (R_390_IRELATIVE): New definition.
61509         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61510         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61511         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61512         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61513         (elf_machine_lazy_rel): Likewise.
61514         * sysdeps/s390/dl-irel.h: New file.
61515         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61516         * sysdeps/s390/s390-64/memset.S: New asm code.
61517         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61518         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61519         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61520         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61521         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61522         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61523         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61524         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61525         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61526         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61527         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61528         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61529         * sysdeps/s390/s390-32/memset.S: New asm code.
61530         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61532 2012-07-17  Marek Polacek  <polacek@redhat.com>
61534         [BZ #14349]
61535         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61536         * sysdeps/s390/s390-64/configure.in: Likewise.
61537         * sysdeps/sparc/configure.in: Likewise.
61538         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61539         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61540         * sysdeps/i386/configure.in: Likewise.
61541         * sysdeps/x86_64/configure.in: Likewise.
61542         * sysdeps/sh/configure.in: Likewise.
61543         * sysdeps/s390/s390-32/configure: Regenerated.
61544         * sysdeps/s390/s390-64/configure: Likewise.
61545         * sysdeps/x86_64/configure: Likewise.
61546         * sysdeps/sh/configure: Likewise.
61547         * sysdeps/powerpc/powerpc64/configure: Likewise.
61548         * sysdeps/powerpc/powerpc32/configure: Likewise.
61549         * sysdeps/sparc/configure: Likwise.
61550         * sysdeps/i386/configure: Likewise.
61552         * elf/dl-open.c: Comment fixes.
61554 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61556         * Makefile [CXX] (check-data): Remove.
61557         [CXX] (c++-types.data): New vpath directive.
61558         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61559         vpath.  Do not allow for C++ type data being missing.
61560         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61561         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61562         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61563         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61564         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61565         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61566         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61568         ... here.
61569         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61571         ... here.
61572         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61574         ... here.
61575         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61577         ... here.
61578         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61580         ... here.
61581         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61583         ... here.
61584         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61586         ... here.
61587         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61590         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61591         definitions to architecture-specific files.
61592         (TLS_IE): Likewise.
61593         (TLS_LD): Likewise.
61594         (TLS_GD): Likewise.
61595         * sysdeps/i386/tls-macros.h: New file.
61596         * sysdeps/powerpc/tls-macros.h: Likewise.
61597         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61598         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61599         * sysdeps/sh/tls-macros.h: Likewise.
61600         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61601         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61602         * sysdeps/x86_64/tls-macros.h: Likewise.
61604 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61606         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61607         zero value for regular exit case.
61609         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61610         (__start_context): Preserve zero value for regular exit case.
61612 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61613             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61615         * manual/setjmp.texi (setcontext): Clarify normal process
61616         termination when uc_link is the null pointer.
61617         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61618         exit call.
61620 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61622         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61623         preprocessor.  Test for each exception mask separately.
61625 2012-07-16  Andreas Jaeger  <aj@suse.de>
61627         * po/ru.po: Update from translation team.
61629 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61631         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61632         equal to 0.
61633         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61634         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61635         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61636         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61637         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61639 2012-07-13  Andreas Jaeger  <aj@suse.de>
61641         * po/fr.po: Update from translation team.
61643 2012-07-12  Marek Polacek  <polacek@redhat.com>
61645         [BZ #14173]
61646         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61647         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61648         loop condition.
61650 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61652         [BZ #13717]
61653         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61654         Change to 2.4.1 where previously 2.4.0.
61655         * sysdeps/unix/sysv/linux/configure: Regenerated.
61656         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61657         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61658         version.
61659         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61660         (__ASSUME_AT_CLKTCK): Remove.
61661         (__ASSUME_AT_PAGESIZE): Likewise.
61662         (__ASSUME_AT_XID): Likewise.
61663         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61664         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61665         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61666         unconditionally.
61667         (HAVE_AUX_PAGESIZE): Likewise.
61668         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61669         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61670         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61672 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61674         [BZ #14307]
61675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61676         the temporary buffer used to invoke __gethostbyname2_r,
61677         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61678         host_data / struct gaih_addrtuple.
61679         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61680         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61681         header file nss/nsswitch.h.
61682         * nss/nsswitch.h (global scope): Add definition of implementation
61683         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61684         resolv/nss_dns/dns-host.c).
61686 2012-07-11  Andreas Jaeger  <aj@suse.de>
61688         * po/fr.po: Update from translation team.
61690         * po/sv.po: Update from translation team
61691         * po/fr.po: Another update from translation team.
61693 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61695         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61696         for subnormals or multiply small sinh result by itself.
61697         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61700 2012-07-11  David S. Miller  <davem@davemloft.net>
61702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61704 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61706         [BZ #14347]
61707         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61708         (INTERNAL_MARK): Shift it here.
61710 2012-07-10  Marek Polacek  <polacek@redhat.com>
61712         [BZ #14151]
61713         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61714         libc_cv_asm_global_directive with .globl.
61715         * configure: Regenerated.
61716         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61717         with .globl.
61718         * sysdeps/i386/configure: Regenerated.
61719         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61720         with .globl.
61721         * sysdeps/x86_64/configure: Regenerated.
61722         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61723         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61724         * elf/tst-unique2mod2.c: Likewise.
61725         * elf/tst-unique2mod1.c: Likewise.
61726         * elf/tst-unique1mod2.c: Likewise.
61727         * elf/tst-unique1mod1.c: Likewise.
61728         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61729         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61730         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61731         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61732         * sysdeps/mach/sysdep.h: Likewise.
61733         * sysdeps/i386/sysdep.h: Likewise.
61734         * sysdeps/i386/i386-mcount.S: Likewise.
61735         * sysdeps/x86_64/_mcount.S: Likewise.
61736         * sysdeps/x86_64/sysdep.h: Likewise.
61737         * sysdeps/sh/_mcount.S: Likewise.
61738         * sysdeps/sh/sysdep.h: Likewise.
61739         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61740         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61741         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61742         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61743         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61744         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61745         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61746         * locale/localeinfo.h: Likewise.
61747         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61748         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61750 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61752         [BZ #14336]
61753         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61754         system".
61755         * manual/message.texi (The Uniforum approach): Likewise.
61756         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61757         (glibc iconv Implementation): Likewise.
61759 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61761         [BZ #14337]
61762         * math/s_clog.c (__clog): Avoid scaling a value down where that
61763         could result in underflow.
61764         * math/s_clog10.c (__clog10): Likewise.
61765         * math/s_clog10f.c (__clog10f): Likewise.
61766         * math/s_clog10l.c (__clog10l): Likewise.
61767         * math/s_clogf.c (__clogf): Likewise.
61768         * math/s_clogl.c (__clogl): Likewise.
61769         * math/libm-test.inc (clog_test): Add more tests.
61770         (clog10_test): Likewise.
61771         * sysdeps/i386/fpu/libm-test-ulps: Update.
61772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61774 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61776         [BZ #14283]
61777         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61778         by 7 not 8 to examine high bit of fractional part.
61780         [BZ #14042]
61781         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61782         for call to __mcount_internal.
61783         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61784         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61785         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61787 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61789         [BZ #14154]
61790         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61791         approximation for values within 0x1p-13f of an odd multiple of
61792         pi/4.
61793         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61794         exception.  Add more tests.
61795         * sysdeps/i386/fpu/libm-test-ulps: Update.
61797         [BZ #6778]
61798         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61799         inputs and return -1 for them.  Do not check for +Inf in case not
61800         reachable for +Inf.
61801         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61802         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61803         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61804         and return -1 for them.  Do not check for +Inf in case not
61805         reachable for +Inf.
61806         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61807         define.
61808         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61809         and return -1 for them.  Do not check for +Inf in case not
61810         reachable for +Inf.
61811         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61812         spurious underflow.
61813         * sysdeps/i386/fpu/libm-test-ulps: Update.
61814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61816 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61818         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61820 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61822         [BZ #14157]
61823         [BZ #14331]
61824         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61825         could result in spurious underflow.  Scale down values above
61826         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61827         * math/s_csqrtf.c (__csqrtf): Likewise.
61828         * math/s_csqrtl.c (__csqrtl): Likewise.
61829         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61830         spurious underflow.
61831         * sysdeps/i386/fpu/libm-test-ulps: Update.
61832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61834 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61836         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61837         xopen-msg.sed.
61838         * catgets/xopen-msg.awk: New file.
61839         * catgets/xopen-msg.sed: Removed.
61841         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61842         po2text.sed.
61843         * intl/po2test.awk: New file.
61844         * intl/po2test.sed: Removed.
61846 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61848         [BZ #14328]
61849         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61850         or multiply small sinh result by itself.
61851         * math/s_ctanf.c (__ctanf): Likewise.
61852         * math/s_ctanh.c (__ctanh): Likewise.
61853         * math/s_ctanhf.c (__ctanhf): Likewise.
61854         * math/s_ctanhl.c (__ctanhl): Likewise.
61855         * math/s_ctanl.c (__ctanl): Likewise.
61856         * math/libm-test.inc (ctan_test_tonearest): New function.
61857         (ctan_test_towardzero): Likewise.
61858         (ctan_test_downward): Likewise.
61859         (ctan_test_upward): Likewise.
61860         (ctanh_test_tonearest): Likewise.
61861         (ctanh_test_towardzero): Likewise.
61862         (ctanh_test_downward): Likewise.
61863         (ctanh_test_upward): Likewise.
61864         (main): Call these new functions.
61865         * sysdeps/i386/fpu/libm-test-ulps: Update.
61866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61868 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61870         * .gitignore: Delete /ports entry.
61872 2012-07-03  Andreas Jaeger  <aj@suse.de>
61874         * po/bg.po: Update from translation team.
61875         * po/cs.po: Likewise.
61876         * po/de.po: Likewise.
61877         * po/hr.po: Likewise.
61878         * po/nl.pl: Likewise.
61879         * po/pl.po: Likewise.
61880         * po/vi.po: Likewise.
61882 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61884         * Makeconfig [!+link] (+link-before-libc): New variable.
61885         [!+link] (+link-after-libc): Likewise.
61886         [!+link] (+link-tests): Likewise.
61887         [!+link] (+link): Define in terms of $(+link-before-libc) and
61888         $(+link-after-libc).
61889         [!+link-static] (+link-static-before-libc): New variable.
61890         [!+link-static] (+link-static-after-libc): Likewise.
61891         [!+link-static] (+link-static-tests): Likewise.
61892         [!+link-static] (+link-static): Define in terms of
61893         $(+link-static-before-libc) and $(+link-static-after-libc).
61894         [build-shared] (link-libc-before-gnulib): New variable.
61895         [build-shared] (link-libc-tests): Likewise.
61896         [build-shared] (link-libc): Define in terms of
61897         $(link-libc-before-gnulib).
61898         [!build-shared] (link-libc-tests): New variable.
61899         (link-libc-static-tests): New variable.
61900         [!gnulib] (gnulib-arch): New variable.
61901         [!gnulib] (gnulib-tests): Likewise.
61902         [!gnulib] (static-gnulib-arch): Likewise.
61903         [!gnulib] (static-gnulib-tests): Likewise.
61904         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61905         Define with "=" instead of ":=".
61906         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61907         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61908         * Rules (binaries-all-notests): New variable.
61909         (binaries-all-tests): Likewise.
61910         (binaries-static-notests): Likewise.
61911         (binaries-static-tests): Likewise.
61912         (binaries-all): Define using $(binaries-all-notests) and
61913         $(binaries-all-tests).
61914         (binaries-static): Define using $(binaries-static-notests) and
61915         $(binaries-static-tests).
61916         (binaries-shared-tests): New variable.
61917         (binaries-shared-notests): Likewise.
61918         (binaries-shared): Remove variable.
61919         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61920         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61921         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61922         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61923         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61924         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61925         * elf/Makefile (sln-modules): New variable.
61926         (extra-objs): Add $(sln-modules:=.o).
61927         (ldconfig-modules): Add static-stubs.
61928         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61929         * elf/static-stubs.c: New file.
61931         [BZ #14283]
61932         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61933         by 7 not 8 to examine high bit of fractional part.  Use volatile
61934         variables when splitting into final array of floats if
61935         __FLT_EVAL_METHOD__ != 0.
61936         * math/libm-test.inc (cos_test): Add another test.
61937         (sin_test): Likewise.
61938         * sysdeps/i386/fpu/libm-test-ulps: Update.
61940         [BZ #14273]
61941         * math/libm-test.inc (cosh_test): Add more tests.
61943         * version.h (RELEASE): Set to "development".
61944         (VERSION): Set to "2.16.90".
61946 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61948         * NEWS: Update copyright. Remove last-updated date.
61949         Mention math library bug fixes and timezone data changes.
61950         * README: Mention GNU/Hurd, x32, and HPPA support status.
61952 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61954         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61956 2012-06-27  Andreas Jaeger  <aj@suse.de>
61958         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61960 2012-06-25  Andreas Jaeger  <aj@suse.de>
61962         * sysdeps/s390/fpu/libm-test-ulps: Update.
61964 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61965             Thomas Schwinge  <thomas@codesourcery.com>
61967         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61968         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61970         fanotify_mark.
61972 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61974         * sysdeps/mach/start.c: Remove file.
61975         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61976         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61977         * sysdeps/sh/init-first.c: Likewise.
61979         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61980         registers for frame unwinding purposes, add CFI directives.
61981         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61982         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61983         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61984         Likewise.
61986         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61987         __fortify_fail returning.
61988         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61990         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61991         sysdeps/sh/____longjmp_chk.S.
61992         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61993         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61994         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61995         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61997         * sysdeps/sh/abort-instr.h: New file.
61998         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61999         process in case exit returns.
62001         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62002         initialize the GOT register before use.
62004         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62005         calculation of ARGC > 4.
62007         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62008         meaningful names to some local labels.
62010 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62011             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62013         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62014         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62015         (__arch_compare_and_exchange_val_16_acq): Likewise.
62016         (__arch_compare_and_exchange_val_32_acq): Likewise.
62017         (atomic_exchange_and_add): Fix gUSA sequence.
62018         (atomic_add): Likewise.
62019         (atomic_add_negative): Likewise.
62020         (atomic_add_zero): Likewise.
62021         (atomic_bit_test_set): Likewise.
62023 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62025         [BZ #13579]
62026         * include/link.h (struct link_map): Add l_free_initfini.
62027         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62028         l_initfini.
62029         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62030         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62031         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62032         set.
62034 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62036         * configure.in: Use AC_LANG_SOURCE.
62037         * configure: Regenerate.
62039 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62041         * configure.in (libc_cv_localstatedir): New substituted variable.
62042         * configure: Regenerated.
62043         * config.make.in (localstatedir): New variable, substituted from
62044         libc_cv_localstatedir.
62045         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62046         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62047         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62048         * sysdeps/gnu/configure: Regenerated.
62050 2012-06-21  Jeff Law  <law@redhat.com>
62052         [BZ #14277]
62053         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62054         free.  Simplify list management for _LIBC case.
62056 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62058         [BZ #14273]
62059         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62060         Clear sign bit of 64-bit integer value before comparing against
62061         overflow value.
62063         * sysdeps/mach/configure: Regenerated.
62065 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62067         [BZ #14278]
62068         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62070 2012-06-21  Jeff Law  <law@redhat.com>
62072         [BZ #13882]
62073         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62074         uint16_t for elements in the "seen" array to avoid char overflows.
62075         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62076         * elf/dl-open.c (dl_open_worker): Likewise.
62078 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62080         * scripts/list-sources.sh: Scan PORTS for translations.
62081         * po/libc.pot: Regenerated.
62083 2012-06-21  Andreas Jaeger  <aj@suse.de>
62085         [BZ #12194]
62086         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62087         warning.
62088         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62089         * bits/byteswap-16.h (__bswap_16): Likewise.
62090         * bits/byteswap.h (__bswap_constant_16): Likewise.
62092 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62094         [BZ #14117]
62095         * sysdeps/i386/fpu_control.h: Removed.
62096         * sysdeps/x86_64/fpu_control.h: Moved to ...
62097         * sysdeps/x86/fpu_control.h: Here.
62099         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62100         (_FPU_SETCW): Likewise.
62102 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62104         [BZ #14117]
62105         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62106         * sysdeps/x86/fpu/bits/mathinline.h: This.
62107         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62109         [BZ #14050]
62110         [BZ #14117]
62111         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62112         functions if __x86_64__ is defined.
62114 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62116         * string/endian.h: Add !__ASSEMBLER__ condition for including
62117         conversion interfaces.
62119 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62121         [BZ #14241]
62122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62123         of ABS(x) in calculating zero to negative powers other than odd
62124         integers.
62125         * math/libm-test.inc (pow_test): Add more tests.
62127 2012-06-15  Andreas Jaeger  <aj@suse.de>
62129         * manual/contrib.texi (Contributors): Update entry of Liubov
62130         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62131         Machado Filho.
62133 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62135         * string/string.h: Add __wur to GNU version of strerror_r.
62137 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62139         [BZ #14229]
62140         * string/Makefile (tests): Add tst-strtok_r.
62141         * string/tst-strtok_r.c: New file.
62142         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62143         RAX_LP/RDX_LP on SAVE_PTR.
62145 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62147         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62149 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62151         * libm_test.inc (csqrt_test): Allow more spurious underflow
62152         exceptions.
62153         (j0_test): Likewise.
62154         (j1_test): Likewise.
62155         (y0_test): Likewise.
62156         (y1_test): Likewise.
62158 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62160         * po/Makefile (libc.pot): Use UTF-8 charset.
62162 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62164         [BZ #14210]
62165         Suppress sign-conversion warning from FD_SET.
62166         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62167         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62168         not unsigned long int.
62169         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62171 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62173         [BZ #14050]
62174         [BZ #14117]
62175         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62176         __extern_always_inline instead of __extern_inline.
62177         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62178         (__signbit): Likewise.
62179         (__signbitl): Support C++ namespace.
62180         (lrintf): New inline function.
62181         (lrint): Likewise.
62182         (llrintf): Likewise.
62183         (llrint): Likewise.
62184         (fmaxf): Likewise.
62185         (fmax): Likewise.
62186         (fminf): Likewise.
62187         (fmin): Likewise.
62188         (rint): Likewise.
62189         (rintf): Likewise.
62190         (ceil): Likewise.
62191         (ceilf): Likewise.
62192         (floor): Likewise.
62193         (floorf): Likewise.
62194         (nearbyint): Likewise.
62195         (nearbyintf): Likewise.
62197 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62199         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62200         non-default versions.
62202 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62204         [BZ #14218]
62205         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62207 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62209         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62210         (FE_UPWARD, FE_DOWNWARD): Don't define.
62211         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62212         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62214         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62215         reading it.
62216         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62217         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62219 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62221         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62223         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62224         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62226 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62228         [BZ #14117]
62229         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62230         * sysdeps/i386/fpu/Implies: New file.
62231         * sysdeps/x86_64/fpu/Implies: Likewise.
62232         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62233         * sysdeps/x86/fpu/bits/fenv.h: This.
62235         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62236         __SSE_MATH__.
62238 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62240         [BZ #14134]
62241         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62242         character 0xffff that matches the last element of the
62243         conversion table.
62245 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62248         fmodl commit.
62250 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62252         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62253         values higher than 25.6283.
62255 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62257         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62258         subnormal exponent extraction and add some __builtin_expect.
62259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62260         Fix for subnormal mantissa calculation.
62262 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62264         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62265         cpu2 is -1 and errno is not ENOSYS.
62267 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62269         [BZ #14117]
62270         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62271         * sysdeps/x86/bits/string.h: This.
62272         * sysdeps/x86_64/bits/string.h: Removed.
62274         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62275         if not compiling for x86-64, but compiling for >= i486.
62277         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62278         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62280         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62281         New macro from Linux kernel 3.4.0.
62282         (FP_XSTATE_MAGIC2): Likewise.
62283         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62284         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62285         (struct _fpx_sw_bytes): New struct.
62286         (struct _xsave_hdr): Likewise.
62287         (struct _ymmh_state): Likewise.
62288         (struct _xstate): Likewise.
62290         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62291         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62292         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62293         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62294         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62295         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62297         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62298         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62299         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62300         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62301         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62302         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62304 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62306         [BZ #13743]
62307         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62308         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62309         (sysdep_headers): Include sys/platform/ppc.h.
62310         * sysdeps/powerpc/test-gettimebase.c: Test for
62311         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62312         * manual/Makefile (appendices): Include platform.texi.
62313         * manual/contrib.texi (Contributors): Update @node pointers.
62314         * manual/maint.texi (Maintenance): Likewise.
62315         (Platform): New node.
62316         * manual/platform.texi: New file.  Document the new features.
62318 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62319             Jakub Jelinek  <jakub@redhat.com>
62321         [BZ #14188]
62322         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62323         where __builtin_expect is unavailable.
62325 2012-06-03  David S. Miller  <davem@davemloft.net>
62327         * stdlib/longlong.h: Updated from GCC.
62329 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62331         [BZ #14042]
62332         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62333         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62334         __mcount_internal.
62335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62336         (GLIBC_2.16): Likewise.
62338 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62340         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62342 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62345         (default-abi): New variable.
62346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62347         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62348         variable.
62349         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62350         Likewise.
62351         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62352         Likewise.
62353         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62354         Likewise.
62356         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62357         definition.  Document in comment.
62359 2012-06-01  David S. Miller  <davem@davemloft.net>
62361         * stdlib/longlong.h: Updated from GCC.
62363 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62365         [BZ #14117]
62366         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62367         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62368         sys/debugreg.h sys/io.h here.
62369         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62370         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62371         sys/io.h.
62372         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62373         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62374         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62375         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62376         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62377         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62379         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62380         Define only if __x86_64__ is defined.
62382 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62384         [BZ #14048]
62385         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62386         Use int64_t for variable i.
62387         * math/libm-test.inc (fmod_test): Add more tests.
62389         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62390         z computation is not scheduled after fetestexcept.
62391         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62392         Use math_force_eval instead of asm to ensure calculation scheduled
62393         before exception test.
62394         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62395         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62397 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62399         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62400         computation is not scheduled after fetestexcept.
62402 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62404         [BZ #14117]
62405         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62406         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62408 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62410         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62411         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62413 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62415         [BZ #14117]
62416         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62417         <bits/wordsize.h>.
62418         (__WCHAR_MIN): Support __WORDSIZE == 64.
62419         (__WCHAR_MAX): Likewise.
62421         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62422         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62424         [BZ #14183]
62425         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62426         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62428         [BZ #14117]
62429         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62430         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62432         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62433         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62435         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62436         Defined to 1 if __x86_64__ isn't defined.
62437         (_STAT_VER_LINUX_OLD): New.
62438         (st_atime): Remove duplicate.
62439         (st_mtime): Likewise.
62440         (st_ctime): Likewise.
62442 2012-05-31  David S. Miller  <davem@davemloft.net>
62444         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62445         entries.
62447 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62449         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62450         gen-libm-test.pl.
62452         [BZ #14132]
62453         * elf/dl-reloc.c: Include <_itoa.h>.
62454         (_dl_reloc_bad_type): Remove use of INTUSE.
62455         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62456         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62457         * stdio-common/psiginfo.c (psiginfo): Likewise.
62458         * stdio-common/psignal.c (psignal): Likewise.
62459         * string/strsignal.c (strsignal): Likewise.
62460         * include/signal.h (_sys_siglist): Declare hidden proto.
62461         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62462         INTVARDEF with libc_hidden_data_def.
62463         * stdio-common/itoa-udigits.c: Likewise.
62464         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62465         (_itoa_lower_digits_internal): Remove declaration.
62466         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62467         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62468         (_sys_sigabbrev_internal): Remove aliases.
62469         (_sys_siglist): Define hidden alias.
62471 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62474         bits/sysctl.h.
62476 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62478         [BZ #14117]
62479         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62480         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62482         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62483         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62484         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62485         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62486         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62487         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62489         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62490         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62491         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62493         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62494         with __addr.
62495         (insw): Likewise.
62496         (insl): Likewise.
62497         (outsb): Likewise.
62498         (outsw): Likewise.
62499         (outsl): Likewise.
62501         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62502         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62503         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62505         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62506         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62507         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62508         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62509         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62510         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62512         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62513         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62515         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62516         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62520         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62522         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62523         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62524         to ...
62525         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62527         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62528         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62529         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62531         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62532         for x86-64.
62533         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62535 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62537         * math/math.h (M_El): Use two more decimal places.
62538         (M_LOG2El): Likewise.
62539         (M_LOG10El): Likewise.
62540         (M_LN2l): Likewise.
62541         (M_LN10l): Likewise.
62542         (M_PIl): Likewise.
62543         (M_PI_2l): Likewise.
62544         (M_PI_4l): Likewise.
62545         (M_1_PIl): Likewise.
62546         (M_2_PIl): Likewise.
62547         (M_2_SQRTPIl): Likewise.
62548         (M_SQRT2l): Likewise.
62549         (M_SQRT1_2l): Likewise.
62551 2012-05-31  David S. Miller  <davem@davemloft.net>
62553         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62554         values between float registers.
62555         * sysdeps/sparc/sparc64/memset.S: Likewise.
62556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62558 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62560         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62561         -D_FORTIFY_SOURCE=1.
62562         (CPPFLAGS-tst-longjmp_chk.c): Define.
62563         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62564         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62565         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62566         CFLAGS-tst-wchar-h.c.
62568 2012-05-31  Marek Polacek  <polacek@redhat.com>
62570         [BZ #14132]
62571         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62572         __endmntent_internal): Remove declaration.
62573         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62574         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62575         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62577 2012-05-30  David S. Miller  <davem@davemloft.net>
62579         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62580         (___Q_simulate_exceptions): Use real FP ops rather than writing
62581         into the %fsr.
62582         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62583         Likewise.
62585 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62587         [BZ #14117]
62588         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62589         * sysdeps/x86/bits/xtitypes.h: This.
62591         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62592         * sysdeps/x86/bits/wordsize.h: This.
62594         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62595         * sysdeps/x86/bits/huge_vall.h: This.
62597         * sysdeps/i386/bits/select.h: Removed.
62598         * sysdeps/x86_64/bits/select.h: Renamed to ...
62599         * sysdeps/x86/bits/select.h: This.
62601         * sysdeps/i386/bits/setjmp.h: Removed.
62602         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62603         * sysdeps/x86/bits/setjmp.h: This.
62605         * sysdeps/i386/bits/mathdef.h: Removed.
62606         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62607         * sysdeps/x86/bits/mathdef.h: This.
62609 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62611         [BZ #14132]
62612         * include/sys/socket.h (__connect_internal)
62613         (__libc_sa_len_internal): Remove declaration.
62614         (__connect, __libc_sa_len): Declare hidden_proto.
62615         (SA_LEN): Remove use of INTUSE.
62616         * socket/connect.c: Add libc_hidden_def.
62617         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62618         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62619         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62620         alias.
62621         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62622         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62623         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62624         of adding _internal alias.
62626 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62628         [BZ #14117]
62629         * sysdeps/i386/bits/link.h: Removed.
62630         * sysdeps/i386/bits/linkmap.h: Likewise.
62631         * sysdeps/x86_64/bits/link.h: Renamed to ...
62632         * sysdeps/x86/bits/link.h: This.
62633         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62634         * sysdeps/x86/bits/linkmap.h: This.
62636         * sysdeps/i386/bits/endian.h: Removed.
62637         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62638         * sysdeps/x86/bits/endian.h: This.
62640         * sysdeps/i386/bits/byteswap.h: Removed.
62641         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62642         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62643         * sysdeps/x86/bits/byteswap.h: This.
62644         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62645         * sysdeps/x86/bits/byteswap-16.h: This.
62646         * sysdeps/i386/Implies: Add x86.
62647         * sysdeps/x86_64/Implies: Likewise.
62649 2012-05-30  David S. Miller  <davem@davemloft.net>
62651         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62652         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62653         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62654         (FP_TRAPPING_EXCEPTIONS): Define.
62655         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62656         (FP_TRAPPING_EXCEPTIONS): Define.
62657         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62658         subnormals only when inexact has been signalled or underflow
62659         exceptions are enabled.
62660         (_FP_PACK_CANONICAL): Likewise.
62662 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62664         [BZ #14183]
62665         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62666         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62668 2012-05-30  Richard Henderson  <rth@twiddle.net>
62670         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62671         with #ifndef NOT_IN_libc.
62673         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62674         marked to avoid plt entry.
62676 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62678         [BZ #14112]
62679         * Makeconfig (default-abi): New macro.
62680         (abi-includes): Likewise.
62681         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62682         $(abi-$(default-abi)-lib-soname) for soname if defined.
62683         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62684         abi-variants.
62685         * Makefile (installed-stubs): Likewise.
62686         * include/stubs-biarch.h: Removed.
62687         * scripts/lib-names.awk: Only handle one library at a time.
62688         * scripts/soversions.awk: Remove WORDSIZE support.
62689         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62690         entries.
62691         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62692         Removed.
62693         (syscall-list-default-condition): Likewise.
62694         (syscall-list-default-condition): Likewise.
62695         (syscall-list-includes): Likewise.
62696         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62697         syscall-list-* with abi-*.  Handle undefined abi-variants.
62698         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62699         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62700         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62701         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62702         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62703         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62704         Removed.
62705         (syscall-list-32-options): Likewise.
62706         (syscall-list-32-condition): Likewise.
62707         (syscall-list-64-options): Likewise.
62708         (syscall-list-64-condition): Likewise.
62709         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62710         macro.
62711         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62712         Renamed to ...
62713         (abi-*): This.
62714         (abi-64-ld-soname): New macro.
62715         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62716         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62717         Renamed to ...
62718         (abi-*): This.
62719         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62720         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62722 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62724         * sysdeps/unix/sysv/linux/kernel-features.h
62725         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62726         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62727         include <kernel-features.h>.
62728         [!__NR_ftruncate64]: Remove conditional code.
62729         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62730         [__NR_ftruncate64]: Make code unconditional.
62731         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62732         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62733         include <kernel-features.h>.
62734         [!__NR_ftruncate64]: Remove conditional code.
62735         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62736         [__NR_ftruncate64]: Make code unconditional.
62737         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62739         include <kernel-features.h>.
62740         [!__NR_ftruncate64]: Remove conditional code.
62741         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62742         [__NR_ftruncate64]: Make code unconditional.
62743         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62745         include <kernel-features.h>.
62746         [!__NR_ftruncate64]: Remove conditional code.
62747         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62748         [__NR_ftruncate64]: Make code unconditional.
62749         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62751         * configure.in (libc_cv_fpie): Weaken to a compile test using
62752         LIBC_TRY_CC_OPTION.
62753         * configure: Regenerated.
62755 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62761         Refreshed.
62762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62768         Refreshed.
62770 2012-05-27  David S. Miller  <davem@davemloft.net>
62772         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62773         (___Q_zero): New.
62774         (__Q_simulate_exceptions): Return void.  Change to simulate
62775         exceptions by writing into the %fsr.
62776         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62777         (__Qp_handle_exceptions): Likewise.
62778         (numbers): Delete.
62779         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62780         __Qp_handle_exceptions.
62781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62782         __Qp_handle_exceptions.
62783         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62784         as unused and give dummy FP_RND_NEAREST initializer.
62785         (FP_INHIBIT_RESULTS): Define.
62786         (___Q_simulate_exceptions): Update declaration.
62787         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62788         formatting.
62789         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62790         as unused and give dummy FP_RND_NEAREST initializer.
62791         (__Qp_handle_exceptions): Update declaration.
62792         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62793         formatting.
62795 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62797         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62798         the temporary FPU control word.
62799         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62800         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62802         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62803         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62804         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62805         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62806         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62807         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62808         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62809         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62811 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62813         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62814         fields.
62816 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62818         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62819         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62820         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62821         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62822         Likewise.
62823         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62824         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62825         Likewise.
62827 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62829         * po/h.po: Update from translation team.
62831 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62833         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62835         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62836         handling of denormals.
62837         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62838         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62839         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62840         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62842         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62844         Likewise.
62846 2012-05-26  Marek Polacek  <polacek@redhat.com>
62848         [BZ #14152]
62849         * math/libm-test.inc (fma_test): Don't always expect underflow
62850         exception.
62852 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62854         [BZ #12416]
62855         * elf/tst-execstack.c: Include stackinfo.h.
62856         (do_test): Adjust test case to ensure that pthread_getattr_np
62857         behaviour remains the same after marking stack executable.
62859 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62861         * sysdeps/unix/sysv/linux/kernel-features.h
62862         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62863         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62864         kernel-features.h.
62865         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62866         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62867         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62868         kernel-features.h.
62869         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62870         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62872 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62874         * configure.in: Define the default includes to being none.
62875         * configure: Regenerated.
62877 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62879         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62880         * sysdeps/x86_64/setjmp.S: Likewise.
62881         * sysdeps/i386/bsd-setjmp.S: Likewise.
62882         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62883         * sysdeps/i386/setjmp.S: Likewise.
62884         * sysdeps/i386/__longjmp.S: Likewise.
62885         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62886         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62888         * include/stap-probe.h: New file.
62889         * configure.in: Handle --enable-systemtap.
62890         * configure: Regenerated.
62891         * config.h.in (USE_STAP_PROBE): New #undef.
62892         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62893         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62894         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62896 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62898         [BZ #13717]
62899         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62900         to 2.4.0 where earlier.
62901         * sysdeps/unix/sysv/linux/configure: Regenerated.
62902         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62903         <kernel-features.h>.
62904         [__ASSUME_32BITUIDS]: Make code unconditional.
62905         [!__ASSUME_32BITUIDS]: Remove conditional code.
62906         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62907         <kernel-features.h>.
62908         [__ASSUME_32BITUIDS]: Make code unconditional.
62909         [!__ASSUME_32BITUIDS]: Remove conditional code.
62910         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62911         [__ASSUME_32BITUIDS]: Make code unconditional.
62912         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62913         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62914         <kernel-features.h>.
62915         [__ASSUME_32BITUIDS]: Make code unconditional.
62916         [!__ASSUME_32BITUIDS]: Remove conditional code.
62917         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62918         <kernel-features.h>.
62919         [__ASSUME_32BITUIDS]: Make code unconditional.
62920         [!__ASSUME_32BITUIDS]: Remove conditional code.
62921         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62922         <kernel-features.h>.
62923         [__ASSUME_32BITUIDS]: Make code unconditional.
62924         [!__ASSUME_32BITUIDS]: Remove conditional code.
62925         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62926         <kernel-features.h>.
62927         [__ASSUME_32BITUIDS]: Make code unconditional.
62928         [!__ASSUME_32BITUIDS]: Remove conditional code.
62929         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62930         <kernel-features.h>.
62931         [__ASSUME_32BITUIDS]: Make code unconditional.
62932         [!__ASSUME_32BITUIDS]: Remove conditional code.
62933         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62934         <kernel-features.h>.
62935         [__ASSUME_32BITUIDS]: Make code unconditional.
62936         [!__ASSUME_32BITUIDS]: Remove conditional code.
62937         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62938         <kernel-features.h>.
62939         [__ASSUME_32BITUIDS]: Make code unconditional.
62940         [!__ASSUME_32BITUIDS]: Remove conditional code.
62941         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62942         <kernel-features.h>.
62943         [__ASSUME_32BITUIDS]: Make code unconditional.
62944         [!__ASSUME_32BITUIDS]: Remove conditional code.
62945         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62946         <kernel-features.h>.
62947         [__ASSUME_32BITUIDS]: Make code unconditional.
62948         [!__ASSUME_32BITUIDS]: Remove conditional code.
62949         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62950         <kernel-features.h>.
62951         [__ASSUME_32BITUIDS]: Make code unconditional.
62952         [!__ASSUME_32BITUIDS]: Remove conditional code.
62953         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62954         <kernel-features.h>.
62955         [__NR_setresgid] (__setresgid): Do not declare.
62956         [__ASSUME_32BITUIDS]: Make code unconditional.
62957         [!__ASSUME_32BITUIDS]: Remove conditional code.
62958         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62959         <kernel-features.h>.
62960         [__NR_setresuid] (__setresuid): Do not declare.
62961         [__ASSUME_32BITUIDS]: Make code unconditional.
62962         [!__ASSUME_32BITUIDS]: Remove conditional code.
62963         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62964         <kernel-features.h>.
62965         [__ASSUME_32BITUIDS]: Make code unconditional.
62966         [!__ASSUME_32BITUIDS]: Remove conditional code.
62967         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62968         <kernel-features.h>.
62969         [__ASSUME_32BITUIDS]: Make code unconditional.
62970         [!__ASSUME_32BITUIDS]: Remove conditional code.
62971         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62972         <kernel-features.h>.
62973         [__ASSUME_32BITUIDS]: Make code unconditional.
62974         [!__ASSUME_32BITUIDS]: Remove conditional code.
62975         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62976         <kernel-features.h>.
62977         [__ASSUME_32BITUIDS]: Make code unconditional.
62978         [!__ASSUME_32BITUIDS]: Remove conditional code.
62979         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62980         <kernel-features.h>.
62981         [__ASSUME_32BITUIDS]: Make code unconditional.
62982         [!__ASSUME_32BITUIDS]: Remove conditional code.
62983         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62984         <kernel-features.h>.
62985         [__ASSUME_32BITUIDS]: Make code unconditional.
62986         [!__ASSUME_32BITUIDS]: Remove conditional code.
62987         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62988         <kernel-features.h>.
62989         [__ASSUME_32BITUIDS]: Make code unconditional.
62990         [!__ASSUME_32BITUIDS]: Remove conditional code.
62991         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62992         <kernel-features.h>.
62993         [__ASSUME_32BITUIDS]: Make code unconditional.
62994         [!__ASSUME_32BITUIDS]: Remove conditional code.
62995         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62996         <kernel-features.h>.
62997         [__ASSUME_32BITUIDS]: Make code unconditional.
62998         [!__ASSUME_32BITUIDS]: Remove conditional code.
62999         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63000         <kernel-features.h>.
63001         [__ASSUME_32BITUIDS]: Make code unconditional.
63002         [!__ASSUME_32BITUIDS]: Remove conditional code.
63003         * sysdeps/unix/sysv/linux/kernel-features.h
63004         (__ASSUME_SETRESUID_SYSCALL): Remove.
63005         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63006         (__ASSUME_32BITUIDS): Likewise.
63007         (__ASSUME_LDT_WORKS): Likewise.
63008         (__ASSUME_O_DIRECTORY): Likewise.
63009         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63010         architecture but not kernel version.
63011         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63012         (__ASSUME_MMAP2_SYSCALL): Likewise.
63013         (__ASSUME_STAT64_SYSCALL): Likewise.
63014         (__ASSUME_IPC64): Likewise.
63015         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63016         <kernel-features.h>.
63017         [__ASSUME_32BITUIDS]: Make code unconditional.
63018         [!__ASSUME_32BITUIDS]: Remove conditional code.
63019         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63020         <kernel-features.h>.
63021         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63022         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63023         132096]: Remove conditional code.
63024         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63025         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63026         <kernel-features.h>.
63027         [__ASSUME_32BITUIDS]: Make code unconditional.
63028         [!__ASSUME_32BITUIDS]: Remove conditional code.
63029         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63030         <kernel-features.h>.
63031         [__ASSUME_32BITUIDS]: Make code unconditional.
63032         [!__ASSUME_32BITUIDS]: Remove conditional code.
63033         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63034         <kernel-features.h>.
63035         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63036         unconditional.
63037         (__setresgid): Do not declare.
63038         [__ASSUME_32BITUIDS]: Make code unconditional.
63039         [!__ASSUME_32BITUIDS]: Remove conditional code.
63040         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63041         <kernel-features.h>.
63042         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63043         unconditional.
63044         (__setresuid): Do not declare.
63045         [__ASSUME_32BITUIDS]: Make code unconditional.
63046         [!__ASSUME_32BITUIDS]: Remove conditional code.
63047         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63048         <kernel-features.h>.
63049         [__ASSUME_32BITUIDS]: Make code unconditional.
63050         [!__ASSUME_32BITUIDS]: Remove conditional code.
63051         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63052         <kernel-features.h>.
63053         [__ASSUME_32BITUIDS]: Make code unconditional.
63054         [!__ASSUME_32BITUIDS]: Remove conditional code.
63056 2012-05-25  Richard Henderson  <rth@twiddle.net>
63058         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63059         dl_hwcap to ifunc resolver.
63060         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63061         elf_ifunc_invoke.
63062         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63063         dl_hwcap to ifunc resolver.
63064         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63066 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63068         [BZ #14153]
63069         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63070         for |x| <= 2**-26, not 2**-57.
63071         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63072         exception.
63074 2012-05-24  Jeff Law  <law@redhat.com>
63076         * stdio-common/Makefile (tests): Add bug25.
63077         * stdio-common/bug25.c: New test.
63079 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63081         [BZ #13576]
63082         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63083         multiple of MALLOC_ALIGNMENT in size.
63084         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63086 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63088         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63089         Require >= 256.
63090         (FILENAME_MAX): Use macro-int-constant.
63091         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63092         (_IOFBF): Use macro-int-constant.
63093         (_IOLBF): Likewise.
63094         (_IONBF): Likewise.
63095         (SEEK_CUR): Likewise.
63096         (SEEK_END): Likewise.
63097         (SEEK_SET): Likewise.
63098         (TMP_MAX): Likewise.
63099         (EOF): Use macro-int-constant.  Require < 0.
63100         (NULL): Use macro-constant.  Require == 0.
63101         (stdin): Require type to be FILE *.
63102         (stdout): Likewise.
63103         (stderr): Likewise.
63104         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63105         macro-int-constant.
63106         (EXIT_SUCCESS): Likewise.
63107         (NULL): Use macro-constant.  Require == 0.
63108         (RAND_MAX): Use macro-int-constant.
63109         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63110         [C99-based standards] (strtof): Require function.
63111         [C99-based standards] (strtold): Likewise.
63112         [C99-based standards] (strtoll): Likewise.
63113         [C99-based standards] (strtoull): Likewise.
63114         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63115         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63116         [ISO || ISO99 || ISO11] (math.h): Likewise.
63117         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63118         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63119         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63121 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63123         [BZ #14132]
63124         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63125         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63126         * intl/dgettext.c (DCGETTEXT): Likewise.
63127         * intl/gettext.c (DCGETTEXT): Likewise.
63128         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63129         * posix/regex_internal.h (gettext): Likewise.
63130         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63131         Remove declaration.
63132         * include/argz.h (__argz_count_internal)
63133         (__argz_stringify_internal): Remove declaration.
63134         (__argz_count, __argz_stringify): Declare hidden proto.
63135         * intl/dcgettext.c: Remove use of INTDEF.
63136         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63137         * string/argz-stringify.c: Likewise.
63138         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63139         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63140         Declare hidden proto.
63141         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63142         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63143         Declare hidden proto.
63144         * include/stdio.h (__asprintf_internal): Don't declare.
63145         (__asprintf): Don't define as macro.  Declare hidden proto.
63146         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63147         (__fsetlocking): Declare hidden proto.
63148         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63149         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63150         hidden proto.
63151         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63152         (_IO_setlinebuf): Remove use of INTUSE.
63153         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63154         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63155         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63156         Remove declaration.
63157         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63158         (_IO_do_flush): Remove use of INTUSE.
63159         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63160         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63161         (_IO_adjust_column, _IO_least_wmarker)
63162         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63163         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63164         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63165         (_IO_default_doallocate, _IO_wdefault_doallocate)
63166         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63167         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63168         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63169         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63170         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63171         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63172         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63173         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63174         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63175         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63176         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63177         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63178         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63179         proto.
63180         (_IO_flush_all_internal, _IO_adjust_column_internal)
63181         (_IO_default_uflow_internal, _IO_default_finish_internal)
63182         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63183         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63184         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63185         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63186         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63187         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63188         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63189         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63190         (_IO_file_close_internal, _IO_file_close_it_internal)
63191         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63192         (_IO_file_init_internal, _IO_file_attach_internal)
63193         (_IO_file_fopen_internal, _IO_file_read_internal)
63194         (_IO_file_sync_internal, _IO_file_seek_internal)
63195         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63196         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63197         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63198         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63199         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63200         (_IO_list_all_internal, _IO_link_in_internal)
63201         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63202         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63203         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63204         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63205         (_IO_do_write_internal, _IO_padn_internal)
63206         (_IO_getline_info_internal, _IO_getline_internal)
63207         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63208         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63209         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63210         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63211         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63212         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63213         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63214         with libc_hidden_ver, remove use of INTUSE.
63215         * libio/genops.c: Likewise.
63216         * libio/freopen.c: Likewise.
63217         * libio/freopen64.c: Likewise.
63218         * libio/iofclose.c: Likewise.
63219         * libio/iofdopen.c: Likewise.
63220         * libio/iofflush.c: Likewise.
63221         * libio/iofflush_u.c: Likewise.
63222         * libio/iofgets.c: Likewise.
63223         * libio/iofgets_u.c: Likewise.
63224         * libio/iofopen.c: Likewise.
63225         * libio/iofopncook.c: Likewise.
63226         * libio/iofread.c: Likewise.
63227         * libio/iofread_u.c: Likewise.
63228         * libio/ioftell.c: Likewise.
63229         * libio/iofwrite.c: Likewise.
63230         * libio/iogetline.c: Likewise.
63231         * libio/iogets.c: Likewise.
63232         * libio/iogetwline.c: Likewise.
63233         * libio/iopadn.c: Likewise.
63234         * libio/iopopen.c: Likewise.
63235         * libio/ioseekoff.c: Likewise.
63236         * libio/ioseekpos.c: Likewise.
63237         * libio/iosetbuffer.c: Likewise.
63238         * libio/iosetvbuf.c: Likewise.
63239         * libio/ioungetc.c: Likewise.
63240         * libio/ioungetwc.c: Likewise.
63241         * libio/iovdprintf.c: Likewise.
63242         * libio/iovsprintf.c: Likewise.
63243         * libio/iovsscanf.c: Likewise.
63244         * libio/memstream.c: Likewise.
63245         * libio/obprintf.c: Likewise.
63246         * libio/oldfileops.c: Likewise.
63247         * libio/oldiofclose.c: Likewise.
63248         * libio/oldiofdopen.c: Likewise.
63249         * libio/oldiofopen.c: Likewise.
63250         * libio/oldiopopen.c: Likewise.
63251         * libio/oldstdfiles.c: Likewise.
63252         * libio/putc.c: Likewise.
63253         * libio/setbuf.c: Likewise.
63254         * libio/setlinebuf.c: Likewise.
63255         * libio/stdfiles.c: Likewise.
63256         * libio/strops.c: Likewise.
63257         * libio/vasprintf.c: Likewise.
63258         * libio/vscanf.c: Likewise.
63259         * libio/vsnprintf.c: Likewise.
63260         * libio/vswprintf.c: Likewise.
63261         * libio/wfiledoalloc.c: Likewise.
63262         * libio/wfileops.c: Likewise.
63263         * libio/wgenops.c: Likewise.
63264         * libio/wmemstream.c: Likewise.
63265         * libio/wstrops.c: Likewise.
63266         * libio/__fpurge.c: Likewise.
63267         * libio/__fsetlocking.c: Likewise.
63268         * assert/assert.c: Likewise.
63269         * debug/fgets_chk.c: Likewise.
63270         * debug/fgets_u_chk.c: Likewise.
63271         * debug/fread_chk.c: Likewise.
63272         * debug/fread_u_chk.c: Likewise.
63273         * debug/gets_chk.c: Likewise.
63274         * debug/obprintf_chk.c: Likewise.
63275         * debug/vasprintf_chk.c: Likewise.
63276         * debug/vdprintf_chk.c: Likewise.
63277         * debug/vsnprintf_chk.c: Likewise.
63278         * debug/vsprintf_chk.c: Likewise.
63279         * malloc/mtrace.c: Likewise.
63280         * misc/error.c: Likewise.
63281         * misc/syslog.c: Likewise.
63282         * stdio-common/asprintf.c: Likewise.
63283         * stdio-common/fxprintf.c: Likewise.
63284         * stdio-common/getw.c: Likewise.
63285         * stdio-common/isoc99_fscanf.c: Likewise.
63286         * stdio-common/isoc99_scanf.c: Likewise.
63287         * stdio-common/isoc99_vfscanf.c: Likewise.
63288         * stdio-common/isoc99_vscanf.c: Likewise.
63289         * stdio-common/isoc99_vsscanf.c: Likewise.
63290         * stdio-common/printf-prs.c: Likewise.
63291         * stdio-common/printf_fp.c: Likewise.
63292         * stdio-common/printf_fphex.c: Likewise.
63293         * stdio-common/printf_size.c: Likewise.
63294         * stdio-common/putw.c: Likewise.
63295         * stdio-common/scanf.c: Likewise.
63296         * stdio-common/sprintf.c: Likewise.
63297         * stdio-common/tmpfile.c: Likewise.
63298         * stdio-common/vfprintf.c: Likewise.
63299         * stdio-common/vfscanf.c: Likewise.
63300         * stdlib/strfmon_l.c: Likewise.
63301         * sunrpc/openchild.c: Likewise.
63302         * sunrpc/xdr_stdio.c: Likewise.
63303         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63304         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63306 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63308         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63310         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63311         in the third column, to generate for the shared library an IFUNC
63312         that uses _dl_vdso_vsym.
63313         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63314         * Makeconfig (object-suffixes-noshared): New variable.
63316         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63317         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63318         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63319         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63321         [BZ #14132]
63322         * include/sys/time.h (__gettimeofday): Remove macro.
63323         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63324         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63325         Remove INTDEF.
63326         (__gettimeofday): Add libc_hidden_def.
63327         (gettimeofday): Add libc_hidden_weak.
63328         * sysdeps/mach/gettimeofday.c: Likewise.
63329         * sysdeps/posix/gettimeofday.c: Likewise.
63330         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63331         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63332         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63333         (__gettimeofday_internal): Remove strong_alias.
63334         (__gettimeofday): Add libc_hidden_def.
63335         (gettimeofday): Add libc_hidden_weak.
63336         * sysdeps/unix/syscalls.list (gettimeofday):
63337         Remove __gettimeofday_internal alias.
63339 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63340             H.J. Lu  <hongjiu.lu@intel.com>
63342         [BZ #12495]
63343         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63344         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63345         (largebin_index_32_big): New.
63346         (largebin_index): Use it for 16-byte alignment.
63347         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63348         correction with front_misalign.
63350 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63354         Likewise.
63355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63356         Likewise.
63357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63358         Likewise.
63359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63360         Likewise.
63361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63362         Likewise.
63363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63364         Likewise.
63365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63366         Likewise.
63367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63368         Likewise.
63369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63370         Likewise.
63371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63372         Likewise.
63373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63374         Likewise.
63375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63376         Likewise.
63378         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63379         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63381 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63383         [BZ #10846]
63384         [BZ #14036]
63385         * math/libm-test.inc (exp_test): Add test from bug 14036.
63386         (pow_test): Add test from bug 10846.
63388         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63389         and other flags.
63390         (special_function): Do not include flags in test name.
63391         (parse_args): Likewise.
63392         * sysdeps/i386/fpu/libm-test-ulps: Update.
63393         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63394         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63395         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63398         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63399         exceptions.
63400         * math/libm-test.inc ("Philosophy"): Update comment about
63401         exception testing.
63402         (UNDERFLOW_EXCEPTION): New macro.
63403         (UNDERFLOW_EXCEPTION_OK): Likewise.
63404         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63405         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63406         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63407         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63408         (INVALID_EXCEPTION_OK): Update value.
63409         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63410         (OVERFLOW_EXCEPTION_OK): Likewise.
63411         (IGNORE_ZERO_INF_SIGN): Likewise.
63412         (test_exceptions): Handle underflow exceptions.
63413         (acos_test): Update for underflow exception expectations.
63414         (cexp_test): Likewise.
63415         (clog_test): Likewise.
63416         (clog10_test): Likewise.
63417         (csqrt_test): Likewise.
63418         (ctan_test): Likewise.
63419         (ctanh_test): Likewise.
63420         (exp_test): Likewise.
63421         (exp10_test): Likewise.
63422         (exp2_test): Likewise.
63423         (expm1_test): Likewise.
63424         (fma_test): Likewise.
63425         (j0_test): Likewise.
63426         (jn_test): Likewise.
63427         (nexttoward_test): Likewise.
63428         (pow_test): Likewise.
63429         (scalbn_test): Likewise.
63430         (scalbln_test): Likewise.
63431         (tan_test): Likewise.
63432         (y1_test): Likewise.
63433         * sysdeps/i386/fpu/libm-test-ulps: Update.
63434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63436 2012-05-23  David S. Miller  <davem@davemloft.net>
63438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63439         (__libc_sigaction): Remove unused local variables.
63441 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63443         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63445 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63447         mktime: avoid signed integer overflow
63448         * time/mktime.c (__mktime_internal): Do not mishandle the case
63449         where diff == INT_MIN.
63451         mktime: simplify computation of average
63452         * time/mktime.c (ranged_convert): Use new time_t_avg function
63453         instead of rolling our own (probably-slower) code.
63455         mktime: do not assume signed right shift propagates sign bit
63456         * time/mktime.c (isdst_differ): New static function.
63457         (__mktime_internal): No need to normalize tm_isdst now.
63458         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63459         tm_isdst values.
63461         mktime: merge another wrapv change from gnulib
63462         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63463         from some compilers.
63465         mktime: remove incorrect attempt at unusual arithmetics
63466         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63467         The code didn't really work on such machines anyway.
63468         (TYPE_MINIMUM): Assume two's complement.
63469         (twos_complement_arithmetic): Verify that long_int and time_t
63470         are two's complement (or unsigned, in the latter case).
63472         mktime: check signed shifts on long_int and time_t, too
63473         * time/mktime.c (SHR): Check that shifts work as desired
63474         on the types long_int and time_t too, as SHR is used on
63475         such types.
63477         mktime: do not assume 'long' is wide enough
63478         * time/mktime.c (verify): Move decl up.
63479         (long_int): New type.
63480         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63481         to remove assumption in the code that 'long' is wide enough to
63482         store year values.  This assumption is not true on x32 and on
63483         some non-glibc platforms.
63485         mktime: merge wrapv change from gnulib
63486         * time/mktime.c (WRAPV): New macro.
63487         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63488         (guess_time_tm, __mktime_internal): Do not assume that signed
63489         integer overflow wraps around; modern compilers generate code
63490         where this assumption is no longer valid.
63492 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63494         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63495         Replace "jmp L(pseudo_end)" with "ret".
63496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63497         Likewise.
63499 2012-05-23  Andreas Jaeger  <aj@suse.de>
63501         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63502         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63504 2012-05-23  Andreas Jaeger  <aj@suse.de>
63505             Maximilian Attems  <max@stro.at>
63507         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63508         New macros.
63510 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63512         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63513         code so that pseudo_end is just ret and the stack pointer is
63514         correct also for static library in error case.
63516 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63518         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63519         move to syscalls.list.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63525         * manual/install.texi (Running make install): Do not mention Linux
63526         kernel version for which pt_chown is not needed.
63527         (Linux): Do not mention problems with nscd with 2.0 kernels.
63528         * INSTALL: Regenerated.
63530 2012-05-23  Andreas Jaeger  <aj@suse.de>
63532         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63533         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63534         macro.
63535         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63536         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63537         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63538         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63539         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63540         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63541         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63542         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63543         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63544         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63545         * sysdeps/unix/sysv/linux/bits/in.h
63546         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63548 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63550         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63551         (PREPARE_VERSION): Just use assert instead, it will be elided
63552         under [NDEBUG] anyway.
63554 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63556         * sysdeps/unix/sysv/linux/Makefile: Include
63557         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63558         (sysdep_routines): Remove sysctl.
63559         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63560         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63561         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63562         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63563         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63565 2012-05-22  Andreas Jaeger  <aj@suse.de>
63567         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63568         that pseudo_end is just ret and the stack pointer is correct also
63569         for static library in error case.
63571 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63573         [BZ #14122]
63574         * nss/nsswitch.c (defconfig_entries): New variable.
63575         (__nss_database_lookup): Don't leak defconfig entries.
63576         (nss_parse_service_list): Don't leak on error paths.
63577         (free_database_entries): New function.
63578         (free_defconfig): New function.
63579         (free_mem): Move common code to free_database_entries.
63581 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63583         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63584         Add arch_prctl.
63585         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63587         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63588         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63590         New macro.
63591         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63592         (INTERNAL_SYSCALL_TYPES): Likewise.
63593         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63594         (LOAD_REGS_TYPES_[1-6]): Likewise.
63595         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63596         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63598 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63600         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63601         copysignl for GLIBC_2_0.
63602         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63603         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63605         logbl for GLIBC_2_0.
63606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63607         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63609 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63611         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63612         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63614         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63615         Use "neg %eax".
63617         * time/mktime.c: Update copyright years.
63619 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63621         mktime: merge comment-quoting-style change from gnulib
63622         * time/mktime.c: Quote 'like this' in comments.
63623         The GNU coding standards suggest that we no longer quote `like this',
63624         as "`" and "'" are typically rendered asymmetrically nowadays.
63625         The typical gnulib style is to quote 'like this' when quoting
63626         code, and "like this" when quoting English.
63628         * time/mktime.c (compile-command): Add "-I.".
63630         mktime: merge mktime-internal.h change from gnulib
63631         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63633         mktime: merge time_r change from gnulib
63634         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63636         mktime: merge DEBUG change from gnulib
63637         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63638         case system <time.h> has a #define.
63640         mktime: merge <sys/types.h> change from gnulib
63641         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63642         since <time.t> is now guaranteed to define time_t.
63644         mktime: merge HAVE_CONFIG_H change from gnulib
63645         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63647 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63650         Use "neg %eax".
63652         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63653         __rlim_t cast.
63654         (struct rusage): Use anonymous union to pad each field to
63655         __syscall_slong_t.
63657 2012-05-21  David S. Miller  <davem@davemloft.net>
63659         * Makefules (o-iterator): Remove .s cases.
63660         (compile-command.s): Delete.
63661         (COMPILE.s): Delete.
63662         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63664 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63666         * configure.in (libc_cv_predef_stack_protector): Only consider
63667         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63668         * configure: Regenerated.
63670 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63673         New macro.  Use R*LP on int and pointer.
63674         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63675         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63676         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63677         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63679         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63680         [__WORDSIZE_TIME64_COMPAT32] instead of
63681         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63682         (struct utmp): Likewise.
63683         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63684         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63685         Renamed to ...
63686         (__WORDSIZE_TIME64_COMPAT32): This.
63687         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63688         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63689         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63690         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63691         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63692         (__WORDSIZE_TIME64_COMPAT32): New macro.
63694 2012-05-21  Andreas Jaeger  <aj@suse.de>
63696         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63697         only if [SHARED]. Add prototype for __wcschr_ia32.
63699 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63701         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63702         of %rbp unmolested in the jmp_buf while mangling the low bits.
63703         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63704         unmolested high bits of %rbp while demangling the low bits.
63705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63707 2012-05-21  Andreas Jaeger  <aj@suse.de>
63709         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63710         * sunrpc/svc_simple.c: Use it for registerrpc.
63711         * sunrpc/xcrypt.c: Use it for passwd2des.
63713         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63715 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63717         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63718         Don't define if [__SYSCALL_WORDSIZE != 32].
63719         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63720         New macro.
63722 2012-05-21  Bruno Haible  <bruno@clisp.org>
63723             Andreas Jaeger  <aj@suse.de>
63725         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63726         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63727         inptr and inend for must_buffer_ch.
63728         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63729         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63730         * stdio-common/Makefile (tests): Remove bug15.
63731         (bug15-ENV): Remove macro.
63732         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63733         anymore.
63735 2012-05-19  Andreas Jaeger  <aj@suse.de>
63736             Roland McGrath  <roland@hack.frob.com>
63738         * manual/contrib.texi: Completely rewritten. It contains now an
63739         alphabetical list of contributors and their contributions.
63741 2012-05-21  Richard Henderson  <rth@twiddle.net>
63743         * misc/getauxval.c (__getauxval): Use unsigned long int.
63744         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63745         (getauxval): Use unsigned long int.
63747 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63749         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63751 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63753         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63754         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63755         __alignof__ (long double).
63757 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63761 2012-05-20  Richard Henderson  <rth@twiddle.net>
63763         * misc/getauxval.c: New file.
63764         * misc/sys/auxv.h: New file.
63765         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63766         (routines): Add getauxval.
63767         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63768         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63769         * elf/dl-sysdep.c (_dl_auxv): Remove.
63770         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63771         * elf/dl-support.c (_dl_auxv): New variable.
63772         (_dl_aux_init): Initialize it.
63773         * manual/startup.texi (Auxiliary Vector): New node.
63774         * sysdeps/generic/bits/hwcap.h: New file.
63775         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63776         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63777         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63778         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63779         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63780         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63782         Update.
63783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63792 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63796 2012-05-19  David S. Miller  <davem@davemloft.net>
63798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63800 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63802         [BZ #14123]
63803         * math/s_ccosh.c: Include <float.h>
63804         (__ccosh): Avoid internal overflow calculating sinh and cosh
63805         values before multiplying by sin and cos values.
63806         * math/s_ccoshf.c: Likewise.
63807         * math/s_ccoshl.c: Likewise.
63808         * math/s_csin.c: Likewise.
63809         * math/s_csinf.c: Likewise.
63810         * math/s_csinl.c: Likewise.
63811         * math/s_csinh.c: Likewise.
63812         * math/s_csinhf.c: Likewise.
63813         * math/s_csinhl.c: Likewise.
63814         * math/libm-test.inc (ccos_test): Add more tests.
63815         (ccosh_test): Likewise.
63816         (csin_test): Likewise.
63817         (csinh_test): Likewise.
63818         * sysdeps/i386/fpu/libm-test-ulps: Update.
63819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63821 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63823         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63824         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63826         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63828 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63830         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63831         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63832         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63833         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63834         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63835         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63836         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63837         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63838         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63839         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63840         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63841         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63842         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63843         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63844         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63845         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63846         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63847         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63848         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63849         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63850         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63851         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63852         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63853         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63854         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63855         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63856         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63857         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63858         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63859         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63860         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63862 2012-05-18  Andreas Jaeger  <aj@suse.de>
63864         * csu/.gitignore: Delete.
63866 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63868         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63869         (timex): Use __syscall_slong_t.
63871 2012-05-18  Andreas Jaeger  <aj@suse.de>
63872             Carlos O'Donell  <carlos_odonell@mentor.com>
63874         * manual/install.texi (Configuring and compiling): Update
63875         description about files modified in the source directory.
63876         * INSTALL: Regenerated.
63878 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63880         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63881         value.  Use "or" to set return value to -1.
63882         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63883         negate return value.
63885 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63887         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63888         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63889         failure if the compiler has Graphite support disabled.
63890         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63891         Likewise.
63892         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63893         (CFLAGS-memmove.c): Likewise.
63894         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63895         Likewise.
63897 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63899         * sysdeps/x86_64/x32/_itoa.h: New file.
63901         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63902         getdents system call only if kernel and user dirents have the
63903         same d_ino and d_off.
63905         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63906         LLONG_MAX != LONG_MAX.
63907         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63908         (_fitoa_word): Likewise.
63910         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63911         years.
63912         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63913         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63914         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63916         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63917         include <bits/wordsize.h>.  Check __x86_64__ instead of
63918         __WORDSIZE.
63919         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63920         if __x86_64__ is defined.  Use anonymous union on fpstate.
63922         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63923         anonymous union.
63925 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63927         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63928         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63929         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63930         Refer to _rtld_local_ro instead of _rtld_global_ro.
63931         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63932         Likewise.
63933         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63934         Likewise.
63935         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63936         Likewise.
63937         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63938         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63939         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63941         [BZ #10882]
63942         * sysdeps/powerpc/powerpc32/dl-machine.c
63943         (__elf_machine_runtime_setup) [PROF]: Don't reference
63944         _dl_prof_resolve.
63946 2012-05-18  Andreas Jaeger  <aj@suse.de>
63948         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63949         function only available for GCCs before 3.4 since GCC 3.4
63950         introduced a builtin.
63951         (lrint): Likewise.
63952         (llrintf): Likewise.
63953         (llrint): Likewise.
63954         (fmaxf): Likewise.
63955         (fmax): Likewise.
63956         (fminf): Likewise.
63957         (fmin): Likewise.
63958         (rint): Likewise.
63959         (rintf): Likewise.
63960         (nearbyint): Likewise.
63961         (nearbyintf): Likewise.
63962         (ceil): Likewise.
63963         (ceilf): Likewise.
63964         (floor): Likewise.
63965         (floorf): Likewise.
63967 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63969         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63970         on both fields and cast pointer to __syscall_ulong_t.
63972         * bits/types.h (__fsword_t): New type.
63973         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63974         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63976         (__FSWORD_T_TYPE): Likewise.
63977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63978         (__FSWORD_T_TYPE): Likewise.
63979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63980         (__FSWORD_T_TYPE): Likewise.
63981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63982         (__FSWORD_T_TYPE): Likewise.
63983         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63984         __SWORD_TYPE with __fsword_t.
63985         (statfs64): Likewise.
63987 2012-05-17  David S. Miller  <davem@davemloft.net>
63989         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63991 2012-05-17  Andreas Jaeger  <aj@suse.de>
63993         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63994         warning.
63996 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63998         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64000 2012-05-17  Andreas Jaeger  <aj@suse.de>
64002         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64003         when it is used.
64005 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64007         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64011         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64012         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64014 2012-05-17  Andreas Jaeger  <aj@suse.de>
64015             Carlos O'Donell  <carlos_odonell@mentor.com>
64017         [BZ #14059]
64018         * sysdeps/x86_64/multiarch/init-arch.h
64019         (bit_YMM_Usable): Rename to...
64020         (bit_AVX_Usable): ... this.
64021         (bit_FMA4_Usable): New macro.
64022         (bit_XMM_state): New macro.
64023         (bit_YMM_state): New macro.
64024         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64025         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64026         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64027         (CPUID_OSXSAVE): New macro.
64028         (CPUID_AVX): New macro.
64029         (CPUID_FMA4): New macro.
64030         (index_YMM_Usable): Rename to...
64031         (index_AVX_Usable): ... this.
64032         (HAS_AVX): Use HAS_ARCH_FEATURE.
64033         (HAS_FMA4): Likewise.
64034         (HAS_YMM_USABLE): Remove.
64035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64036         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64037         are present.
64038         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64039         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64040         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64041         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64042         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64044 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64046         * math/libm-test.c: Support platforms without multiple rounding modes.
64047         * math/bug-nextafter.c: Support platforms without FP exceptions.
64048         * math/bug-nexttoward.c: Likewise.
64049         * math/test-fenv.c: Likewise.
64050         * math/test-misc.c: Likewise.
64051         * stdlib/bug-getcontext.c: Likewise.
64053 2012-05-17  Andreas Jaeger  <aj@suse.de>
64055         * manual/examples/search.c (critter_cmp): Change signature to
64056         avoid warnings.
64057         * manual/string.texi (Collation Functions): Likewise.
64059 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64061         * bits/types.h: Fold copyright years.
64062         * bits/typesizes.h: Likewise.
64063         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64064         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64065         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64067         * time/time.h: Likewise.
64069 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64071         [BZ #208]
64072         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64073         in instead of returning them.  Return void.
64074         (__libc_mallinfo): Accumulate over all arenas.
64075         (__malloc_stats): Adjust for change in int_mallinfo interface.
64077 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64079         [BZ #10375]
64080         * configure.in (NM): Add AC_CHECK_TOOL for it.
64081         (libc_extra_cflags): New substituted variable.
64082         Check for -fstack-protector being used implicitly.
64083         * configure: Regenerated.
64084         * config.make.in (config-extra-cflags): New variable,
64085         gets @libc_extra_cflags@.
64086         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64088         [BZ #10375]
64089         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64090         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64091         * configure: Regenerated.
64092         * config.make.in (CPPUNDEFS): New substituted variable.
64093         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64094         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64095         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64097 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64099         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64100         (mq_attr): Use __syscall_slong_t.
64102 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64104         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64105         Check __x86_64__ instead of __WORDSIZE.
64106         (_STAT_VER_LINUX): Likewise.
64107         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64108         __syscall_ulong_t and __syscall_slong_t.
64109         (stat64): Likewise.
64111 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64117         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64119 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64121         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64122         __syscall_ulong_t.
64124         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64125         include <bits/wordsize.h>.  Check __x86_64__ instead of
64126         __WORDSIZE.
64127         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64128         defined.
64129         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64131         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64132         include <bits/wordsize.h>.  Check __x86_64__ instead of
64133         __WORDSIZE.
64134         (user_regs_struct): Use "__extension__ unsigned long long"
64135         instead of "unsigned long" if __x86_64__ is defined.
64136         (user): Likewise.  Pad after pointer field if __ILP32__ is
64137         defined.
64139 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64141         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64142         versions 5 to 9.
64143         * configure: Regenerated.
64144         * manual/install.texi (texinfo): Increase version requirement to
64145         4.5 or later.
64146         * INSTALL: Regenerated.
64148         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64152         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64154         * sysdeps/x86_64/x32/ffs.c: New file.
64156         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64157         __syscall_ulong_t.
64158         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64159         defined.  Use __syscall_ulong_t.
64160         (shminfo): Use __syscall_ulong_t.
64161         (shm_info): Likewise.
64163         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64164         __syscall_ulong_t.
64166         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64167         <bits/wordsize.h>.
64168         (msgqnum_t): Use __syscall_ulong_t.
64169         (msglen_t): Likewise.
64170         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64171         __syscall_ulong_t.
64173         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64174         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64176         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64178         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64179         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64181         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64182         __syscall_slong_t.
64184         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64185         include <bits/wordsize.h>.  Check __x86_64__ instead of
64186         __WORDSIZE.
64188         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64189         "unsigned long long int" if __x86_64__ is defined.
64190         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64192         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64193         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64194         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64196         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64197         <stdint.h>.
64198         (GET_PC): Cast to uintptr_t first.
64199         (GET_FRAME): Likewise.
64200         (GET_STACK): Likewise.
64202         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64203         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64204         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64205         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64206         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64207         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64208         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64209         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64210         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64211         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64212         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64213         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64214         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64215         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64216         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64217         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64218         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64219         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64220         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64221         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64222         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64227         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64228         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64229         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64230         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64232 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64234         * Makerules (+depfiles): Also collect depfiles from .oS in
64235         $(extra-objs).
64236         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64237         .oS, $(libnldbl-routines)).
64239         * Makerules (native-compile-mkdep-flags): Define.
64240         * sunrpc/Makefile (extra-objs): Add $(addprefix
64241         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64242         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64243         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64244         calling $(make-target-directory).
64246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64248         * bits/types.h (__snseconds_t): Removed.
64249         * time/time.h (struct timespec): Replace __snseconds_t with
64250         __syscall_slong_t.
64251         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64252         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64253         Likewise.
64254         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64255         (__SNSECONDS_T_TYPE): Likewise.
64256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64257         (__SNSECONDS_T_TYPE): Likewise.
64258         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64259         (__SNSECONDS_T_TYPE): Likewise.
64261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64263         * sysdeps/mach/hurd/bits/typesizes.h
64264         (__SYSCALL_SLONG_TYPE): New macro.
64265         (__SYSCALL_ULONG_TYPE): Likewise.
64267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64269         * bits/types.h (__syscall_slong_t): New type.
64270         (__syscall_ulong_t): Likewise.
64272         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64273         (__SYSCALL_ULONG_TYPE): Likewise.
64274         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64275         (__SYSCALL_SLONG_TYPE): Likewise.
64276         (__SYSCALL_ULONG_TYPE): Likewise.
64277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64278         (__SYSCALL_SLONG_TYPE): Likewise.
64279         (__SYSCALL_ULONG_TYPE): Likewise.
64280         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64281         (__SYSCALL_SLONG_TYPE): Likewise.
64282         (__SYSCALL_ULONG_TYPE): Likewise.
64284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64286         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64287         Add sigaltstack-offsets.sym.
64288         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64289         <sigaltstack-offsets.h>.
64290         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64291         longjmp_msg pointer.
64292         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64293         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64294         signal stack.
64295         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64297 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64299         * elf/stackguard-macros.h: Remove file.
64300         * sysdeps/generic/stackguard-macros.h: New file.
64301         * sysdeps/i386/stackguard-macros.h: Likewise.
64302         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64303         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64304         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64305         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64306         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64307         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64308         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64309         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64310         <elf/stackguard-macros.h>.
64312         [BZ #14109]
64313         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64314         __aligned__ in attribute.
64315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64316         (gregset_t): Likewise.
64318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64320         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64321         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64322         * sysdeps/x86_64/x32/Implies-after: New file.
64324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64326         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64327         and access return value for _dl_profile_fixup.  Use R10_LP to
64328         load frame size.
64330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64332         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64336         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64337         * sysdeps/x86_64/x32/sysdep.h: New file.
64339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64341         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64342         * sysdeps/x86_64/setjmp.S: Likewise.
64344 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64346         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64348         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64349         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64350         remove unused global constant.
64352 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64354         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64355         include of <not-cancel.h>.
64357 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64359         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64361 2012-05-15  Jeff Law  <law@redhat.com>
64362             Andreas Jaeger  <aj@suse.de>
64364         [BZ #13594]
64365         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64366         out from...
64367         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64368         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64369         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64370         code changing __hst_map_handle.map.
64372 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64374         * configure.in (sysnames): Look for Implies-before and Implies-after
64375         files.
64376         * configure: Regenerated.
64378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64380         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64381         8-byte data alignment with LP_SIZE alignment.
64383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64385         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64386         into R10_LP.
64388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64390         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64394         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64395         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64396         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64397         Likewise.
64398         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64402         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64403         (stackinfo_sub_sp): Likewise.
64405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64407         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64408         RAX_LP.
64410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64413         into R*_LP.
64415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64417         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64418         sizes into R*_LP.
64420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64422         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64426         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64427         into R11_LP and load __x86_64_shared_cache_size_half into
64428         R8_LP.
64430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64432         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64433         R8_LP.
64435 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64438         logb for POWER7.
64439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64440         logbf for POWER7.
64441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64442         logbl for POWER7.
64443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64444         powerpc32/power7/fpu/s_logb.c via #include.
64445         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64446         powerpc32/power7/fpu/s_logbf.c via #include.
64447         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64448         powerpc32/power7/fpu/s_logbl.c via #include.
64450 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64452         * README.libm: Remove file.
64454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64456         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64457         count for x32.  Use R*_LP and omit operand-size suffix.
64459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64461         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64462         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64463         * sysdeps/x86_64/x32/shlib-versions: New file.
64465 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64467         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64468         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64469         Use _dl_fatal_printf instead.
64471 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64473         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64474         set if not set by the user.  Do not allow for being unset.
64475         * sysdeps/unix/sysv/linux/configure: Regenerated.
64477 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64479         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64480         the `q' suffix from lea and replace .quad with ASM_ADDR.
64482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64485         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64486         instead of $17.
64487         (PTR_DEMANGLE): Likewise.
64489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64491         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64492         (LP_OP): Likewise.
64493         (ASM_ADDR): Likewise.
64494         (RAX_LP): Likewise.
64495         (RBP_LP): Likewise.
64496         (RBX_LP): Likewise.
64497         (RCX_LP): Likewise.
64498         (RDI_LP): Likewise.
64499         (RSI_LP): Likewise.
64500         (RSP_LP): Likewise.
64501         (R8_LP): Likewise.
64502         (R9_LP): Likewise.
64503         (R10_LP): Likewise.
64504         (R10_LP): Likewise.
64505         (R11_LP): Likewise.
64506         (R12_LP): Likewise.
64507         (R13_LP): Likewise.
64508         (R14_LP): Likewise.
64509         (R15_LP): Likewise.
64511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64513         * sysdeps/x86_64/x32/dl-machine.h: New file.
64515 2012-05-14  Andreas Jaeger  <aj@suse.de>
64517         * manual/Makefile (subdir): Remove export of subdir.
64518         (all): Remove target.
64519         (.PHONY): Remove all from list.
64520         (mkinstalldirs): Remove.
64521         (.PHONY): Remove installdirs from list.
64522         ($(inst_infodir)/libc.info): Use make-target-directory.
64523         (installdirs): Remove.
64524         (subdir_%): Remove.
64525         (glibc-targets): Remove.
64526         (lib): Remove.
64527         (stubs): Remove.
64528         ($(objpfx)stubs ../po/manual.pot): Remove.
64529         ($(objpfx)stamp%): Remove.
64530         (make-target-directory): Remove.
64531         (subdir_install): Remove.
64532         (routines): Remove.
64533         (aux): Remove.
64534         (sources): Remove.
64535         (objects): Remove.
64536         (headers): Remove.
64538         [BZ #13750]
64539         * manual/.gitignore: Remove, it's not needed anymore.
64540         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64541         all files in it.
64542         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64543         directory.
64544         (texis): Renamed to $(objpfx)texis.
64545         (texis-path): New, contains path to generated files.
64546         (chapters.%): Use texis-path for complete path, add extra argument
64547         libc-texinfo.sh.
64548         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64549         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64550         (summary,texi, stamp-summary): Use complete path of
64551         files. Generate files in build dir.
64552         (dir-add.texi): Build in build dir.
64553         (libm-err.texi,stamp-libm-err): Likewise.
64554         (version.texi, stamp-version): Likewise.
64555         (.%c.texi): Likewise.
64556         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64557         (mostlyclean): Remove target.
64558         (realclean): Remove target.
64559         (generated): Add new variable with contents from mostlyclean and
64560         realclean, remove entries duplicated in common-mostlyclean, add
64561         stamp-libm-err and stamp-version.
64562         (generated-dirs): Add libc directory.
64563         ($(inst_infodir)/libc.info): Install files from build dir.
64565         * manual/install.texi (Configuring and compiling): Adjust since
64566         the info files are not part of the tar ball anymore.
64568 2012-05-14  Andreas Jaeger  <aj@suse.de>
64570         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64571         variable.
64573 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64575         [BZ #13717]
64576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64577         to 2.2.0 where earlier.
64578         * sysdeps/unix/sysv/linux/configure: Regenerated.
64579         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64580         Remove conditional code.
64581         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64582         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64583         Remove conditional code.
64584         [!__NR_lchown]: Likewise.
64585         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64586         [__NR_lchown]: Likewise.
64587         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64588         comment referencing __ASSUME_LCHOWN_SYSCALL.
64589         * sysdeps/unix/sysv/linux/i386/sigaction.c
64590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64592         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64593         Remove conditional code.
64594         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64595         (__protocol_available): Remove #if 0 code.
64596         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64597         conditional code.
64598         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64599         * sysdeps/unix/sysv/linux/kernel-features.h
64600         (__ASSUME_GETCWD_SYSCALL): Don't define.
64601         (__ASSUME_REALTIME_SIGNALS): Likewise.
64602         (__ASSUME_PREAD_SYSCALL): Likewise.
64603         (__ASSUME_PWRITE_SYSCALL): Likewise.
64604         (__ASSUME_POLL_SYSCALL): Likewise.
64605         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64606         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64607         non-SPARC.
64608         (__ASSUME_SIOCGIFNAME): Don't define.
64609         (__ASSUME_MSG_NOSIGNAL): Likewise.
64610         (__ASSUME_SENDFILE): Define unconditionally.
64611         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64612         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64613         conditional code.
64614         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64615         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64616         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64617         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64618         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64619         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64620         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64622         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64625         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64626         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64628         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64631         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64634         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64637         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64640         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64643         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64645         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64646         Remove conditional code.
64647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64648         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64649         Remove conditional code.
64650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64651         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64652         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64653         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64654         Remove conditional code.
64655         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64656         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64657         Remove conditional code.
64658         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64659         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64660         Remove conditional code.
64661         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64662         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64663         Remove conditional code.
64664         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64665         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64666         Remove conditional code.
64667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64668         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64669         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64670         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64671         * sysdeps/unix/sysv/linux/sigaction.c
64672         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64673         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64674         * sysdeps/unix/sysv/linux/sigpending.c
64675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64677         * sysdeps/unix/sysv/linux/sigprocmask.c
64678         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64679         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64680         * sysdeps/unix/sysv/linux/sigsuspend.c
64681         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64682         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64683         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64684         (__libc_missing_rt_sigs): Remove.
64685         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64686         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64687         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64688         Remove conditional code.
64689         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64690         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64691         return 1.
64692         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64693         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64694         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64695         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64697 2012-05-14  Andreas Jaeger  <aj@suse.de>
64699         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64700         it's not used in glibc.
64701         (__coshm1): Likewise.
64702         (__acosh1p): Likewise.
64703         (__sgn): Likewise.
64705         * manual/string.texi (Copying and Concatenation): Add missing
64706         variable in concat example.
64707         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64711         [BZ #14103]
64712         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64713         __builtin_clzl with __builtin_clzll.
64715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64717         [BZ #14104]
64718         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64719         libc_freeres_ptr.
64721 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64723         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64724         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64725         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64726         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64728 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64730         * NEWS: Update ia64 info.
64732 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64734         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64735         used as bcopy.
64737 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64739         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64740         * sysdeps/unix/syscalls.list (dup3): Likewise.
64741         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64742         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64744 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64746         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64747         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64749 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64751         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64752         thread pointer.
64753         (TLS_IE): Use mov/add instead of movq/addq to load thread
64754         pointer.
64755         (TLS_GD_PREFIX): New.
64756         (TLS_GD): Use it.
64758 2012-05-11  David S. Miller  <davem@davemloft.net>
64760         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64761         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64762         (_FPU_SETCW): Likewise.
64764 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64766         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64767         is 32-byte aligned.
64769 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64771         [BZ #11837]
64772         * iconvdata/gb18030.c: Update tables.
64773         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64774         characters specially.
64775         (BODY for TO_LOOP): Add encoding of missing ranges.
64777 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64779         [BZ #13673]
64780         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64781         * sysdeps/mach/hurd/dup3.c: Likewise.
64782         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64783         * sysdeps/powerpc/memmove.c:: Likewise.
64785 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64787         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64788         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64790 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64792         * elf/elf.h (R_X86_64_RELATIVE64): New.
64793         (R_X86_64_NUM): Updated.
64794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64795         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64796         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64797         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64798         tst-quad1pie tst-quad2pie
64799         (modules-names): Add tst-quadmod1 tst-quadmod2.
64800         ($(objpfx)tst-quad1): New dependency.
64801         ($(objpfx)tst-quad2): Likewise.
64802         ($(objpfx)tst-quad1pie): Likewise.
64803         ($(objpfx)tst-quad2pie): Likewise.
64804         * sysdeps/x86_64/tst-quad1.c: New file.
64805         * sysdeps/x86_64/tst-quad1pie.c: New file.
64806         * sysdeps/x86_64/tst-quad2.c: Likewise.
64807         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64808         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64809         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64810         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64811         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64815         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64816         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64817         * streams/stropts.h (t_scalar_t): Define type.
64819         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64820         (_PATH_PRESERVE): Set to "/var/lib".
64821         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64823         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64824         instead of int.
64826         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64827         if __dir_mkfile succeeded.
64829         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64830         checking for _hurd_dtablesize.  Unlock it right after having
64831         finished _hurd_dtable allocation.
64833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64835         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64836         * sysdeps/mach/hurd/configure: Regenerated.
64837         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64838         special-casing to...
64839         * sysdeps/gnu/configure.in: ... this new file.
64840         * sysdeps/unix/sysv/linux/configure: Regenerated.
64841         * sysdeps/gnu/configure: New generated file.
64843         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64844         for Linux: use nsec instead of usec, as well as:
64845         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64846         members of type struct timespec.
64847         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64848         New macros.
64849         (struct stat64): Likewise.
64850         (_STATBUF_ST_NSEC): New macro.
64851         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64853         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64854         __strtoul_internal rather than strtoul.
64856 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64858         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64859         and reject them.
64861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64863         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64864         which preserves existing values.
64865         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64867 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64869         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64870         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64871         greater than FD_SETSIZE.
64873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64875         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64876         allocated, call __vm_protect to finish enabling the existing space, and
64877         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64878         allocate the remainder.
64880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64882         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64883         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64887         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64888         sysdeps/mach/hurd/readlink.c.
64890         * posix/tst-sysconf.c (posix_options): Only use
64891         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64892         _POSIX_SYNCHRONIZED_IO when they are defined
64893         * sysdeps/mach/hurd/bits/posix_opt.h:
64894         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64895         (_XOPEN_REALTIME): Undefine macro.
64896         (_XOPEN_REALTIME_THREADS): Undefine macro.
64897         (_XOPEN_SHM): Undefine macro.
64898         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64899         macro to -1.
64900         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64901         macro to -1.
64902         (_POSIX_ASYNC_IO): Undefine macro.
64903         (_POSIX_PRIORITIZED_IO): Undefine macro.
64904         (_POSIX_SPIN_LOCKS): Define macro to -1.
64906         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64907         SA_NODEFER, SA_RESETHAND.
64908         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64909         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64910         F_DUPFD_CLOEXEC.
64912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64914         * elf/Makefile (pldd-modules): Define unconditionally.
64916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64918         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64922         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64923         Return ENOENT when name is empty.
64924         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64926 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64928         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64930         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64934         Fix mlock in all cases except non-readable pages.
64935         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64936         instead of VM_PROT_ALL as parameter to __vm_wire function.
64938         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64939         (__mkdir): When path is `/', just fail with EEXIST.
64940         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64944         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64945         <sys/uio.h> (for writev).
64946         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64947         and <sys/param.h> (for MIN).
64949 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64951         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64952         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64953         if interrupted.
64955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64957         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64958         Depend on against $(link-rpcuserlibs).
64960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64962         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64963         (__libc_stack_end): Do not use attribute_relro.
64964         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64965         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64966         to libthread-provided value.
64967         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64968         attribute_relro.
64970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64972         [BZ #3748]
64973         * bits/libc-lock.h (__libc_once_get): New macro.
64974         * sysdeps/mach/bits/libc-lock.h: Likewise.
64975         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64977         instead of using implementation details.
64979         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64980         * libio/freopen.c: Likewise.
64981         * libio/freopen64.c: Likewise.
64982         * misc/syslog.c: Likewise.
64983         * nscd/connections.c: Likewise.
64984         * nscd/netgroupcache.c: Likewise.
64985         * sysdeps/posix/getcwd.c: Likewise.
64987 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64989         * math/w_ilogbf.c: Add #include <limits.h>.
64991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64993         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64994         path instead of returning without unlocking.
64996         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64997         immediate-write ioctls.
64998         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65002         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65003         __builtin_frame_address instead of making assumptions about the
65004         location of the return address relative to DATA.  Force early load of
65005         the return address.
65006         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65007         __builtin_frame_address.
65009         dup3 for GNU Hurd.
65010         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65011         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65012         implement dup3 and do some further code clean-ups.
65013         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65014         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65018         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65020         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65021         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65022         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65023         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65024         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65025         d->port.lock.
65027         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65028         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65029         when handler == SIG_ERR, not when handler != SIG_ERR.
65031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65033         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65034         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65035         definitions.
65037         accept4 for GNU Hurd.
65038         * include/sys/socket.h (__libc_accept4): New prototype.
65039         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65040         to implement __libc_accept4.
65041         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65042         __libc_accept4.
65043         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65045         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65046         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65047         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65048         signal-defines.sym.
65050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65052         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65056         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65057         assertion on O_CLOEXEC flag.
65058         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65059         * hurd/intern-fd.c: Likewise.
65060         * hurd/port2fd.c: Likewise.
65062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65064         [BZ #3906]
65065         * bits/in.h (IPV6_PKTINFO): Define new macro.
65066         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65068 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65070         [BZ #13954]
65071         [BZ #13955]
65072         [BZ #13956]
65073         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65075         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65076         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65078         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65079         * math/libm-test.inc (logb_test) : Additional logb tests.
65081 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65082             Andreas Jaeger  <aj@suse.de>
65084         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65085         * configure: Regenerated.
65086         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65087         * config.make.in (link-obsolete-rpc): New substituted variable.
65088         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65089         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65090         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65091         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65092         so that libc.a contains the symbols.
65093         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65094         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65095         * sunrpc/auth_none.c: Likewise.
65096         * sunrpc/auth_unix.c: Likewise.
65097         * sunrpc/authdes_prot.c: Likewise.
65098         * sunrpc/authuxprot.c: Likewise.
65099         * sunrpc/clnt_gen.c: Likewise.
65100         * sunrpc/clnt_perr.c: Likewise.
65101         * sunrpc/clnt_raw.c: Likewise.
65102         * sunrpc/clnt_simp.c: Likewise.
65103         * sunrpc/clnt_tcp.c: Likewise.
65104         * sunrpc/clnt_udp.c: Likewise.
65105         * sunrpc/clnt_unix.c: Likewise.
65106         * sunrpc/des_crypt.c: Likewise.
65107         * sunrpc/des_soft.c: Likewise.
65108         * sunrpc/get_myaddr.c: Likewise.
65109         * sunrpc/key_call.c: Likewise.
65110         * sunrpc/key_prot.c: Likewise.
65111         * sunrpc/netname.c: Likewise.
65112         * sunrpc/pm_getmaps.c: Likewise.
65113         * sunrpc/pm_getport.c: Likewise.
65114         * sunrpc/pmap_clnt.c: Likewise.
65115         * sunrpc/pmap_prot.c: Likewise.
65116         * sunrpc/pmap_prot2.c: Likewise.
65117         * sunrpc/pmap_rmt.c: Likewise.
65118         * sunrpc/publickey.c: Likewise.
65119         * sunrpc/rpc_cmsg.c: Likewise.
65120         * sunrpc/rpc_common.c: Likewise.
65121         * sunrpc/rpc_dtable.c: Likewise.
65122         * sunrpc/rpc_prot.c: Likewise.
65123         * sunrpc/rpc_thread.c: Likewise.
65124         * sunrpc/rtime.c: Likewise.
65125         * sunrpc/svc.c: Likewise.
65126         * sunrpc/svc_auth.c: Likewise.
65127         * sunrpc/svc_raw.c: Likewise.
65128         * sunrpc/svc_run.c: Likewise.
65129         * sunrpc/svc_tcp.c: Likewise.
65130         * sunrpc/svc_udp.c: Likewise.
65131         * sunrpc/svc_unix.c: Likewise.
65132         * sunrpc/svcauth_des.c: Likewise.
65133         * sunrpc/xcrypt.c: Likewise.
65134         * sunrpc/xdr.c: Likewise.
65135         * sunrpc/xdr_array.c: Likewise.
65136         * sunrpc/xdr_float.c: Likewise.
65137         * sunrpc/xdr_intXX_t.c: Likewise.
65138         * sunrpc/xdr_mem.c: Likewise.
65139         * sunrpc/xdr_rec.c: Likewise.
65140         * sunrpc/xdr_ref.c: Likewise.
65141         * sunrpc/xdr_sizeof.c: Likewise.
65142         * sunrpc/xdr_stdio.c: Likewise.
65144 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65146         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65147         change.  Update copyright years.
65149 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65151         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65153 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65154             Joseph Myers  <joseph@codesourcery.com>
65155             Paul Pluzhnikov  <ppluzhnikov@google.com>
65157         [BZ #14012]
65158         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65159         requiring rpcgen.
65160         [cross-compiling] (extra-libs): Likewise.
65161         [cross-compiling] (extra-libs-others): Likewise.
65162         [cross-compiling] (librpcsvc-routines): Likewise.
65163         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65164         [cross-compiling] (omit-deps): Likewise.
65165         (sunrpc-CPPFLAGS): New variable.
65166         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65167         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65168         (cross-rpcgen-objs): New variable.
65169         (extra-objs): Append $(cross-rpcgen-objs).
65170         ($(cross-rpcgen-objs)): New rule.
65171         ($(objpfx)cross-rpcgen): Likewise.
65172         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65173         comment.
65174         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65175         ($(objpfx)x%.stmp): Likewise.
65176         * sunrpc/proto.h [IS_IN_build] (_): Define.
65177         [IS_IN_build] (_libc_intl_domainname): Likewise.
65179 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65181         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65182         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65183         and R_X86_64_TPOFF64.
65185 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65187         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65188         sysdeps/unix/sysv/syscalls.list.
65189         (stime): Likewise.
65190         (utime): Likewise.
65191         * sysdeps/unix/sysv/syscalls.list: Remove file.
65193 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65195         [BZ #3440]
65196         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65197         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65198         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65199         (__LC_IDENTIFICATION): Make these macros useful in #if
65200         expressions, as required by C99.
65202 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65204         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65205         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65206         after this.
65208 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65210         * stdlib/longlong.h: Updated from GCC.
65212 2012-05-09  Andreas Jaeger  <aj@suse.de>
65214         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65215         default is first entry.
65216         (run_mode): Set type.
65217         (main): Remove informal message about syslog.
65218         (options): Fix typo.
65220         [BZ #14053]
65221         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65222         to asm.
65223         (lrint): Likewise.
65224         (llrintf): Likewise.
65225         (llrint): Likewise.
65226         (rint): Likewise.
65227         (rintf): Likewise.
65228         (nearbyint): Likewise.
65229         (nearbyintf): Likewise.
65231 2012-05-09  Andreas Jaeger  <aj@suse.de>
65232             Pedro Alves  <palves@redhat.com>
65234         * nscd/nscd.c (run_mode): Use enum.
65235         (main): Cleanup coding style issue.
65237 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65238             Andreas Jaeger  <aj@suse.de>
65240         * nscd/nscd.c (go_background): Replaced with...
65241         (run_mode): ... this.
65242         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65243         (options): Add -F --foreground.
65244         (main): Implement it.
65245         (parse_opt): Parse it.
65247 2012-05-09  Andreas Jaeger  <aj@suse.de>
65249         [BZ #14083]
65250         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65251         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65252         -Wconversion warning.
65253         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65254         Likewise.
65256 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65258         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65259         == 0.
65260         (LC_ALL): Use macro-int-constant.
65261         (LC_COLLATE): Likewise.
65262         (LC_CTYPE): Likewise.
65263         (LC_MESSAGES): Likewise.
65264         (LC_MONETARY): Likewise.
65265         (LC_NUMERIC): Likewise.
65266         (LC_TIME): Likewise.
65267         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65268         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65270         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65271         Specify type.
65272         [C99-based standards] (float_t): Expect type.
65273         [C99-based standards] (double_t): Expect type.
65274         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65275         type.
65276         [C99-based standards] (HUGE_VALL): Likewise.
65277         [C99-based standards] (INFINITY): Likewise.
65278         [C99-based standards] (NAN): Likewise.
65279         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65280         [C99-based standards] (FP_NAN): Likewise.
65281         [C99-based standards] (FP_NORMAL): Likewise.
65282         [C99-based standards] (FP_SUBNORMAL): Likewise.
65283         [C99-based standards] (FP_ZERO): Likewise.
65284         [C99-based standards] (FP_FAST_FMA): Use
65285         optional-macro-int-constant.  Specify type.  Require == 1.
65286         [C99-based standards] (FP_FAST_FMAF): Likewise.
65287         [C99-based standards] (FP_FAST_FMAL): Likewise.
65288         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65289         [C99-based standards] (FP_ILOGBNAN): Likewise.
65290         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65291         Specify type.
65292         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65293         [C99-based standards] (math_errhandling): Specify type.
65294         [ISO99 || ISO11] (signgam): Do not allow.
65295         [non-C99-based standards] (copysignf): Do not allow.
65296         [non-C99-based standards] (exp2f): Likewise.
65297         [non-C99-based standards] (log2f): Likewise.
65298         [non-C99-based standards] (modff): Allow.
65299         [non-C99-based standards] (erff): Do not allow.
65300         [non-C99-based standards] (erfcf): Likewise.
65301         [non-C99-based standards] (gammaf): Likewise.
65302         [non-C99-based standards] (hypotf): Likewise.
65303         [non-C99-based standards] (j0f): Likewise.
65304         [non-C99-based standards] (j1f): Likewise.
65305         [non-C99-based standards] (jnf): Likewise.
65306         [non-C99-based standards] (lgammaf): Likewise.
65307         [non-C99-based standards] (tgammaf): Likewise.
65308         [non-C99-based standards] (y0f): Likewise.
65309         [non-C99-based standards] (y1f): Likewise.
65310         [non-C99-based standards] (ynf): Likewise.
65311         [non-C99-based standards] (isnanf): Likewise.
65312         [non-C99-based standards] (acoshf): Likewise.
65313         [non-C99-based standards] (asinhf): Likewise.
65314         [non-C99-based standards] (atanhf): Likewise.
65315         [non-C99-based standards] (cbrtf): Likewise.
65316         [non-C99-based standards] (expm1f): Likewise.
65317         [non-C99-based standards] (ilogbf): Likewise.
65318         [non-C99-based standards] (log1pf): Likewise.
65319         [non-C99-based standards] (logbf): Likewise.
65320         [non-C99-based standards] (nextafterf): Likewise.
65321         [non-C99-based standards] (remainderf): Likewise.
65322         [non-C99-based standards] (rintf): Likewise.
65323         [non-C99-based standards] (scalbf): Likewise.
65324         [non-C99-based standards] (copysignl): Likewise.
65325         [non-C99-based standards] (exp2l): Likewise.
65326         [non-C99-based standards] (log2l): Likewise.
65327         [non-C99-based standards] (modfl): Allow.
65328         [non-C99-based standards] (erfl): Do not allow.
65329         [non-C99-based standards] (erfcl): Likewise.
65330         [non-C99-based standards] (gammal): Likewise.
65331         [non-C99-based standards] (hypotl): Likewise.
65332         [non-C99-based standards] (j0l): Likewise.
65333         [non-C99-based standards] (j1l): Likewise.
65334         [non-C99-based standards] (jnl): Likewise.
65335         [non-C99-based standards] (lgammal): Likewise.
65336         [non-C99-based standards] (tgammal): Likewise.
65337         [non-C99-based standards] (y0l): Likewise.
65338         [non-C99-based standards] (y1l): Likewise.
65339         [non-C99-based standards] (ynl): Likewise.
65340         [non-C99-based standards] (isnanl): Likewise.
65341         [non-C99-based standards] (acoshl): Likewise.
65342         [non-C99-based standards] (asinhl): Likewise.
65343         [non-C99-based standards] (atanhl): Likewise.
65344         [non-C99-based standards] (cbrtl): Likewise.
65345         [non-C99-based standards] (expm1l): Likewise.
65346         [non-C99-based standards] (ilogbl): Likewise.
65347         [non-C99-based standards] (log1pl): Likewise.
65348         [non-C99-based standards] (logbl): Likewise.
65349         [non-C99-based standards] (nextafterl): Likewise.
65350         [non-C99-based standards] (remainderl): Likewise.
65351         [non-C99-based standards] (rintl): Likewise.
65352         [non-C99-based standards] (scalbl): Likewise.
65353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65354         [non-C99-based standards] (FP_*): Do not allow.
65355         [C99-based standards] (FP_*): Change to
65356         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65357         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65358         allow.
65359         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65360         (SIG_ERR): Likewise.
65361         [X/Open-based standards] (SIG_HOLD): Likewise.
65362         (SIG_IGN): Likewise.
65363         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65364         positive value.
65365         (SIGFPE): Likewise.
65366         (SIGILL): Likewise.
65367         (SIGINT): Likewise.
65368         (SIGSEGV): Likewise.
65369         (SIGTER): Likewise.
65370         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65371         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65372         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65373         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65374         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65375         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65376         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65377         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65378         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65379         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65380         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65381         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65382         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65383         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65384         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65385         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65386         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65387         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65388         [X/Open-based standards] (SIGTRAP): Likewise.
65389         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65390         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65391         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65392         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65393         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65394         allow.
65396 2012-05-08  Ian Wienand  <ianw@vmware.com>
65398         [BZ #14080]
65399         * time/tzset.c (__tzset_parse_tz): Update default rules for
65400         daylight time changes in the Energy Policy Act of 2005.
65402 2012-05-09  Andreas Jaeger  <aj@suse.de>
65404         [BZ #13983]
65405         * elf/ldconfig.c (parse_conf): Change string to make clear that
65406         ldconfig only issued a warning if ld.so.conf does not exist.
65408 2012-05-08  David S. Miller  <davem@davemloft.net>
65410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65411         movxtod instead of popping the value on the stack.
65413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65415 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65417         * config.h.in: Add HAVE_ARM_PCS_VFP.
65419 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65421         [BZ #13979]
65422         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65423         checking but the checks are disabled for any reason.
65425 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65427         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65428         and ELF64_R_TYPE with ELFW(R_TYPE).
65430 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65432         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65433         (ulimit): Likewise.
65435         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65436         (settimeofday): Likewise.
65438 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65440         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65441         a struct th_u2 inside the union, and move tu_block/tu_code into
65442         a new th_u3 union of tu_block/tu_code inside of that.  Move
65443         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65444         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65445         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65446         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65447         (th_stuff): Change to th_u1.tu_stuff.
65448         (th_data): Define.
65449         (th_msg): Change to th_u1.th_u2.tu_data.
65451 2012-05-07  David S. Miller  <davem@davemloft.net>
65453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65455         [BZ #14074]
65456         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65457         (SETUP_PIC_REG): Use it.
65458         (SETUP_PIC_REG_LEAF): Use it.
65460 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65462         [BZ #13885]
65463         [BZ #13923]
65464         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65465         USE_AS_EXPM1L.
65466         (EXPL_FINITE): Likewise.
65467         (FLDLOG): Likewise.
65468         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65469         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65470         e_expl.S.
65471         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65472         USE_AS_EXPM1L.
65473         (EXPL_FINITE): Likewise.
65474         (FLDLOG): Likewise.
65475         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65476         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65477         e_expl.S.
65478         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65479         test of -max_value argument for long double.
65480         * sysdeps/i386/fpu/libm-test-ulps: Update.
65481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65483 2012-05-06  David S. Miller  <davem@davemloft.net>
65485         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65486         quad soft-float symbols whose references which are compiler
65487         generated.
65488         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65490 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65492         [BZ #13884]
65493         [BZ #13914]
65494         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65495         USE_AS_EXP10L.
65496         (EXPL_FINITE): Likewise.
65497         (FLDLOG): Likewise.
65498         (c0): Likewise.
65499         (c1): Likewise.
65500         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65501         Adjust comments for base varying.
65502         (__expl_finite): Change alias to EXPL_FINITE.
65503         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65504         e_expl.S.
65505         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65506         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65508         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65509         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65510         USE_AS_EXP10L.
65511         (EXPL_FINITE): Likewise.
65512         (FLDLOG): Likewise.
65513         (c0): Likewise.
65514         (c1): Likewise.
65515         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65516         Adjust comments for base varying.
65517         (__expl_finite): Change alias to EXPL_FINITE.
65518         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65519         tests for bugs.
65520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65522         [BZ #14064]
65523         * math/libm-test.inc (check_float_internal): Correct ulp
65524         calculation for subnormal expected results.
65526 2012-05-06  Andreas Jaeger  <aj@suse.de>
65528         * Makeconfig (+math-flags): New, set to -frounding-math.
65529         (+cflags): Add +math-flags so that all of glibc gets compiled with
65530         it.
65532         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65534 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65536         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65537         Disable one test.
65539         [BZ #13787]
65540         [BZ #13922]
65541         [BZ #14036]
65542         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65543         (__ieee754_expl): Allow for and saturate large arguments.
65544         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65545         (u_threshold): Likewise.
65546         (__exp): Call __ieee754_exp before checking for overflow and
65547         underflow.
65548         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65549         (u_threshold): Likewise.
65550         (__expf): Call __ieee754_expf before checking for overflow and
65551         underflow.
65552         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65553         (u_threshold): Likewise.
65554         (__expl): Call __ieee754_expl before checking for overflow and
65555         underflow.
65556         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65557         (__ieee754_expl): Allow for and saturate large arguments.
65558         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65559         missing overflow exception on overflow.
65560         (expm1_test): Do not allow missing overflow exception on overflow.
65562         * sysdeps/i386/fpu/e_expl.c: Move to ...
65563         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65564         rather than using inline asm.
65565         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65566         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65567         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65569         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65570         (nice): Likewise.
65571         (poll): Likewise.
65572         (signal): Likewise.
65573         (time): Likewise.
65574         (times): Likewise.
65576 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65578         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65579         sysdeps/unix/common/syscalls.list.
65580         (fchmod): Likewise.
65581         (fchown): Likewise.
65582         (ftruncate): Likewise.
65583         (getrusage): Likewise.
65584         (gettimeofday): Likewise.
65585         (setpgid): Likewise.
65586         (setregid): Likewise.
65587         (setreuid): Likewise.
65588         (sigaction): Likewise.
65589         (truncate): Likewise.
65590         (vhangup): Likewise.
65591         * sysdeps/unix/common/syscalls.list: Remove file.
65592         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65593         * sysdeps/unix/sysv/linux/Implies: Likewise.
65595 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65597         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65599         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65600         Moved to ...
65601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65602         Here.
65603         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65604         to ...
65605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65606         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65607         to ...
65608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65609         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65610         to ...
65611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65612         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65613         to ...
65614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65615         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65616         to ...
65617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65618         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65619         to ...
65620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65621         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65622         to ...
65623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65624         Here.
65625         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65626         to ...
65627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65628         Here.
65629         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65630         to ...
65631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65632         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65633         Moved to ...
65634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65635         Here.
65636         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65637         to ...
65638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65640 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65642         * sysdeps/unix/common/bits/dirent.h: Remove file.
65643         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65645         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65646         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65647         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65648         * sysdeps/unix/bsd/isatty.c: Likewise.
65649         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65650         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65651         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65653 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65655         [BZ #13563]
65656         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65657         long double comparison inaccuracies.
65658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65661 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65663         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65664         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65666 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65668         [BZ #14049]
65669         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65670         nonzero digits before rounding a hex value.
65671         * stdlib/tst-strtod.c (tests): Add another test.
65673 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65675         * sysdeps/s390/fpu/libm-test-ulps: Update.
65677 2012-05-03  Andreas Jaeger  <aj@suse.de>
65679         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65680         does not get optimized out.
65681         (malloc_opt_barrier): New.
65683 2012-05-03  Andreas Jaeger  <aj@suse.de>
65684             Roland McGrath  <roland@hack.frob.com>
65686         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65687         intermediate file deletion.
65688         (generated): Add .symlist files.
65690 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65692         [BZ #13775]
65693         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65694         Redirect under this condition.
65695         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65696         [__USE_GNU] (__dprintf_chk): Not under this condition.
65697         [__USE_GNU] (__vdprintf_chk): Likewise.
65698         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65699         under this condition.
65700         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65701         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65702         [__USE_XOPEN2K8] (vdprintf): Likewise.
65703         [__USE_GNU] (__dprintf_chk): Not under this condition.
65704         [__USE_GNU] (__vdprintf_chk): Likewise.
65705         [__USE_GNU] (dprintf): Likewise.
65706         [__USE_GNU] (vdprintf): Likewise.
65708 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65710         * elf/Makefile (common-generated): Set this instead of generated for
65711         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65712         $(all-built-dso)-derived lists.
65714 2012-05-03  Andreas Jaeger  <aj@suse.de>
65716         * sysdeps/i386/fpu/libm-test-ulps: Update.
65718         * FAQ: Removed.
65719         * FAQ.in: Likewise.
65720         * scripts/gen-FAQ.pl: Likewise.
65721         * manual/install.texi (Installation): Point to online location of
65722         FAQ.
65723         * Makefile (files-for-dist): Remove FAQ.
65724         (FAQ): Remove.
65726 2012-05-02  Allan McRae  <allan@archlinux.org>
65728         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65729         (LDFLAGS-reldepmod5.so): Likewise.
65730         (LDFLAGS-reldep6mod1.so): Likewise.
65731         (LDFLAGS-reldep6mod4.so): Likewise.
65732         (LDFLAGS-reldep8mod3.so): Likewise.
65733         (LDFLAGS-unload4mod1.so): Likewise.
65734         (LDFLAGS-unload4mod2.so): Likewise.
65735         (LDFLAGS-tst-initorder): Likewise.
65736         (LDFLAGS-tst-initordera2.so): Likewise.
65737         (LDFLAGS-tst-initordera3.so): Likewise.
65738         (LDFLAGS-tst-initordera4.so): Likewise.
65739         (LDFLAGS-tst-initorderb2.so): Likewise.
65740         (LDFLAGS-noload): Likewise.
65741         (LDFLAGS-next): Likewise.
65742         (LDFLAGS-order2mod1.so): Likewise.
65743         (LDFLAGS-order2mod2.so): Likewise.
65744         (LDFLAGS-tst-initorder2): Likewise.
65745         (LDFLAGS-tst-initorder2a.so): Likewise.
65746         (LDFLAGS-tst-initorder2b.so): Likewise.
65747         (LDFLAGS-tst-initorder2c.so): Likewise.
65748         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65750 2012-05-02  David S. Miller  <davem@davemloft.net>
65752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65754 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65756         [BZ #14055]
65757         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65759 2012-05-02  Andreas Jaeger  <aj@suse.de>
65761         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65762         since we manipulate rounding mode.
65763         (CPPFLAGS-test-idouble.c): Likewise.
65764         (CPPFLAGS-test-ifloat.c): Likewise.
65765         (CFLAGS-test-ldouble.c): Likewise.
65766         (CFLAGS-test-double.c): Likewise.
65767         (CFLAGS-test-float.c): Likewise.
65768         (CFLAGS-test-misc.c): Likewise.
65769         (CFLAGS-test-test-fenv.c): Likewise.
65771 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65773         [BZ #2550]
65774         [BZ #2570]
65775         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65776         comparisons to determine direction to adjust input.
65778 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65780         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65781         output to the target.
65783         * scripts/localplt.awk: New file.
65784         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65785         (check-localplt-CFLAGS): Variable removed.
65786         ($(all-built-dso:=.jmprel)): New static pattern rule.
65787         (generated): Add those targets.
65788         (localplt-built-dso): New variable.
65789         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65791         * elf/check-localplt.c: File removed.
65793         * scripts/check-execstack.awk: New file.
65794         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65795         (check-execstack-CFLAGS): Variable removed.
65796         ($(objpfx)check-execstack.h): Target removed.
65797         ($(objpfx)execstack-default): New target.
65798         (generated): Add that instead of check-execstack.h.
65799         ($(all-built-dso:=.phdr)): New static pattern rule.
65800         (generated): Add those targets.
65801         * elf/check-execstack.c: File removed.
65803         * scripts/check-textrel.awk: New file.
65804         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65805         (check-textrel-CFLAGS): Variable removed.
65806         (all-built-dso): Use := to define.o
65807         ($(all-built-dso:=.dyn)): New static pattern rule.
65808         (generated): Add those targets.
65809         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65810         * config.make.in (READELF): New substituted variable.
65811         * elf/check-textrel.c: File removed.
65813 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65815         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65816         allow.
65817         * conform/data/ctype.h-data [C99-based standards] (isblank):
65818         Expect function.
65819         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65820         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65821         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65822         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65823         Specify type.  Require positive value.
65824         (EILSEQ): Likewise.
65825         (ERANGE): Likewise.
65826         [ISO || POSIX] (EILSEQ): Do not expect.
65827         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65828         Specify type.  Require positive value.
65829         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65830         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65831         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65832         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65833         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65834         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65835         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65836         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65837         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65838         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65839         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65840         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65841         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65842         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65843         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65844         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65845         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65846         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65847         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65848         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65849         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65850         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65851         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65852         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65853         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65854         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65855         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65856         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65857         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65858         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65859         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65860         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65861         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65862         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65863         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65864         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65865         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65866         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65867         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65868         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65869         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65870         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65871         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65872         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65873         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65874         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65875         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65876         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65877         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65878         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65879         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65880         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65881         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65882         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65883         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65884         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65885         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65886         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65887         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65888         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65889         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65890         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65891         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65892         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65893         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65894         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65895         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65896         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65897         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65898         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65899         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65900         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65901         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65902         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65903         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65904         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65905         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65906         Require >= 2.
65907         (FLT_ROUNDS): Expect as macro, not constant.
65908         (FLT_MANT_DIG): Use macro-int-constant.
65909         (DBL_MANT_DIG): Likewise.
65910         (LDBL_MANT_DIG): Likewise.
65911         (FLT_DIG): Likewise.
65912         (DBL_DIG): Likewise.
65913         (LDBL_DIG): Likewise.
65914         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65915         (DBL_MIN_EXP): Likewise.
65916         (LDBL_MIN_EXP): Likewise.
65917         (FLT_MAX_EXP): Use macro-int-constant.
65918         (DBL_MAX_EXP): Likewise.
65919         (LDBL_MAX_EXP): Likewise.
65920         (FLT_MAX_10_EXP): Likewise.
65921         (DBL_MAX_10_EXP): Likewise.
65922         (LDBL_MAX_10_EXP): Likewise.
65923         (FLT_MAX): Use macro-constant.
65924         (DBL_MAX): Likewise.
65925         (LDBL_MAX): Likewise.
65926         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65927         (DBL_EPSILON): Likewise.
65928         (LDBL_EPSILON): Likewise.
65929         (FLT_MIN): Likewise.
65930         (DBL_MIN): Likewise.
65931         (LDBL_MIN): Likewise.
65932         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65933         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65934         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65935         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65936         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65937         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65938         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65939         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65940         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65941         [ISO11] (FLT_TRUE_MIN): Likewise.
65942         [ISO11] (LDBL_TRUE_MIN): Likewise.
65943         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65944         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65945         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65946         (SCHAR_MAX): Likewise.
65947         (UCHAR_MAX): Likewise.
65948         (CHAR_MIN): Likewise.
65949         (CHAR_MAX): Likewise.
65950         (MB_LEN_MAX): Use macro-int-constant.
65951         (SHRT_MIN): Use macro-int-constant.  Specify type.
65952         (SHRT_MAX): Likewise.
65953         (USHRT_MAX): Likewise.
65954         (INT_MAX): Likewise.
65955         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65956         bound negative.
65957         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65958         bound with "U".
65959         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65960         bound with "L".
65961         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65962         bound negative.  Suffix upper bound with "L".
65963         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65964         bound with "UL".
65965         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65966         Specify type.
65967         [C99-based standards] (LLONG_MAX): Likewise.
65968         [C99-based standards] (ULLONG_MAX): Likewise.
65969         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65970         == 0.
65971         [ISO11] (max_align_t): Require type.
65972         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65974         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65975         from $CFLAGS, without defining away __attribute__ calls.
65976         (checknamespace): Use $CFLAGS_namespace.
65978         * conform/conformtest.pl (@keywords): Only include C99 keywords
65979         for standards based on C99 or C11.
65981         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65982         Disable tests.
65983         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65984         UNIX98]: Likewise.
65986         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65987         usability of symbols in #if.
65989         * conform/conformtest.pl: If macro or constant types start
65990         "promoted:", expect the symbol to be of the following type
65991         promoted by the integer promotions.
65993         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65994         in one place.  Also handle "macro-constant".
65996         * conform/conformtest.pl: Only accept expected macro values with
65997         "==".  Parse all "macro" lines in one place.
65998         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66000         * conform/conformtest.pl: Handle braced types on "constant" lines
66001         instead of handling "typed-constant".
66002         * conform/data/signal.h-data: Use "constant" instead of
66003         "typed-constant".
66005         * conform/conformtest.pl: Handle "optional-" at start of lines in
66006         one place rather than duplicating several cases.  Handle each
66007         format of "macro" line with initial "optional-".
66009         * conform/conformtest.pl: Only accept expected constant or
66010         optional-constant values with "==".  Parse all "constant" lines in
66011         one place.  Parse all "optional-constant" lines in one place.
66012         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66013         * conform/data/fmtmsg.h-data: Likewise.
66014         * conform/data/netinet/in.h-data: Likewise.
66015         * conform/data/tar.h-data: Likewise.
66016         * conform/data/limits.h-data: Use "==" form on "constant" and
66017         "optional-constant" lines.
66019         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66020         Use -std=c99 for XOPEN2K.
66021         (@knownproblems): Remove.
66022         (newtoken): Don't check %isknown.
66024         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66025         Do not expect macro.
66026         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66027         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66028         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66029         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66030         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66031         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66032         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66033         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66034         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66035         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66036         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66037         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66038         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66039         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66040         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66041         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66042         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66043         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66044         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66045         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66046         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66047         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66048         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66049         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66050         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66051         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66052         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66053         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66054         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66055         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66056         [XPG3] (acosh): Likewise.
66057         [XPG3] (asinh): Likewise.
66058         [XPG3] (atanh): Likewise.
66059         [XPG3] (cbrt): Likewise.
66060         [XPG3] (expm1): Likewise.
66061         [XPG3] (ilogb): Likewise.
66062         [XPG3] (log1p): Likewise.
66063         [XPG3] (logb): Likewise.
66064         [XPG3] (nextafter): Likewise.
66065         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66066         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66067         [XPG3] (remainder): Likewise.
66068         [XPG3] (rint): Likewise.
66069         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66070         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66071         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66072         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66073         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66074         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66075         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66076         [UNIX98 || XOPEN2K] (scalb): Expect.
66077         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66078         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66079         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66080         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66081         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66082         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66083         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66084         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66085         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66086         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66087         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66088         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66089         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66090         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66091         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66092         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66093         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66094         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66095         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66096         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66097         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66098         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66099         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66100         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66101         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66102         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66103         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66104         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66105         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66106         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66107         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66108         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66109         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66110         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66111         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66112         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66113         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66114         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66115         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66116         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66117         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66118         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66119         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66120         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66121         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66122         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66123         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66124         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66125         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66126         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66127         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66128         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66129         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66130         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66131         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66132         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66133         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66134         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66135         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66136         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66137         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66138         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66139         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66140         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66141         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66142         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66143         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66144         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66145         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66146         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66147         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66148         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66149         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66150         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66151         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66152         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66153         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66154         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66155         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66156         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66157         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66158         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66159         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66160         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66161         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66162         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66163         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66164         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66165         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66166         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66167         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66168         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66169         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66170         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66171         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66172         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66173         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66174         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66175         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66176         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66177         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66178         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66179         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66180         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66181         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66182         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66183         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66184         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66185         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66186         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66187         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66188         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66189         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66190         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66191         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66192         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66193         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66194         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66195         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66196         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66197         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66198         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66199         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66200         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66201         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66202         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66203         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66204         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66205         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66206         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66207         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66208         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66209         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66210         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66211         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66212         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66213         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66215         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66216         _XOPEN_SOURCE_EXTENDED for XPG4.
66218         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66220         * Makeconfig (localtime): Remove variable.
66221         (inst_localtime-file): Likewise.
66223 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66226         Update.
66227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66228         Update.
66229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66230         Update.
66231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66232         Update.
66233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66234         Update.
66235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66236         Update.
66237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66238         Update.
66239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66240         Update.
66241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66242         Update.
66244 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66246         [BZ #2550]
66247         [BZ #2570]
66248         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66249         comparisons to determine direction to adjust input.
66250         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66251         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66252         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66253         Likewise.
66254         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66255         Likewise.
66256         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66257         Likewise.
66258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66259         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66260         Likewise.
66261         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66262         Likewise.
66263         * math/libm-test.inc (nexttoward_test): Add more tests.
66265 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66267         [BZ #14040]
66268         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66269         in version GLIBC_2.1, not GLIBC_2.0.
66270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66271         Likewise.
66273 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66275         [BZ #13942]
66276         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66277         (1 - x) * (1 + x).
66278         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66279         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66280         * math/libm-test.inc (acos_test): Add more tests.
66281         (asin_test): Likewise.
66282         * sysdeps/i386/fpu/libm-test-ulps: Update.
66283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66285         [BZ #14034]
66286         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66287         of square root.
66288         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66289         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66290         * math/libm-test.inc (acos_test_tonearest): New function.
66291         (acos_test_towardzero): Likewise.
66292         (acos_test_downward): Likewise.
66293         (acos_test_upward): Likewise.
66294         (asin_test_tonearest): Likewise.
66295         (asin_test_towardzero): Likewise.
66296         (asin_test_downward): Likewise.
66297         (asin_test_upward): Likewise.
66298         (main): Call the new functions.
66299         * sysdeps/i386/fpu/libm-test-ulps: Update.
66300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66302         [BZ #13884]
66303         [BZ #13924]
66304         * math/e_exp10.c: Include <float.h>.
66305         (__ieee754_exp10): Handle underflow here rather than multiplying
66306         large negative argument by M_LN10.
66307         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66308         of __ieee754_expf.
66309         * math/e_exp10l.c: Include <float.h>.
66310         (__ieee754_exp10l): Handle underflow here rather than multiplying
66311         large negative argument by M_LN10l.
66312         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66313         spurious overflow exception on underflow.
66315 2012-04-29  Marek Polacek  <polacek@redhat.com>
66317         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66318         (__fortify_function): New macro.
66319         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66320         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66321         __extern_always_inline.
66322         * libio/bits/stdio2.h: Likewise.
66323         * libio/bits/stdio.h: Likewise.
66324         * string/string.h: Likewise.
66325         * string/bits/string3.h: Likewise.
66326         * include/stdio.h: Likewise.
66327         * stdlib/bits/stdlib.h: Likewise.
66328         * stdlib/stdlib.h: Likewise.
66329         * rt/bits/mqueue2.h: Likewise.
66330         * rt/mqueue.h: Likewise.
66331         * posix/bits/unistd.h: Likewise.
66332         * posix/unistd.h: Likewise.
66333         * io/bits/poll2.h: Likewise.
66334         * io/bits/fcntl2.h: Likewise.
66335         * io/fcntl.h: Likewise.
66336         * io/sys/poll.h: Likewise.
66337         * misc/bits/syslog.h: Likewise.
66338         * misc/bits/syslog-ldbl.h: Likewise.
66339         * misc/sys/syslog.h: Likewise.
66340         * socket/bits/socket2.h: Likewise.
66341         * socket/sys/socket.h: Likewise.
66342         * debug/tst-chk1.c: Likewise.
66343         * wcsmbs/bits/wchar2.h: Likewise.
66344         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66345         * wcsmbs/wchar.h: Likewise.
66347 2012-04-29  Andreas Jaeger  <aj@suse.de>
66349         * Makerules (tests): Remove enable-check-abi protection.
66350         (check-abi-warn): Remove.
66351         (check-abi-%): Remove check-abi-warn usage.
66353         * configure.in: Remove check-abi configure option.
66354         * configure: Regenerated.
66355         * config.make.in (enable-check-abi): Remove.
66357 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66359         [BZ #14033]
66360         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66361         double functions to double *_finite functions.
66363         [BZ #13941]
66364         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66365         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66366         LDBL_MIN_EXP.
66367         * stdio-common/Makefile (tests): Add tst-sprintf3.
66368         * stdio-common/tst-sprintf3.c: New file.
66370         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66371         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66373 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66375         * conform/conformtest.pl: Remove duplicate typed-constant
66376         handling.
66378 2012-04-28  David S. Miller  <davem@davemloft.net>
66380         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66381         (check-abi-%): Remove AWK script prerequisite and explicit
66382         abilist directory.
66383         (check-abi): Rewrite to just diff the symlist with the abilist.
66384         (config-tls, config-abi-config): Delete, no longer used.
66385         (update-abi-%): Remove AWK script and explicit abilist directory.
66386         (update-abi): Rewrite to simply compare and conditionally copy the
66387         symlist and the sysdep abilist file.  Remove update-abi-config
66388         checks.
66389         * abilist/ld.abilist: Remove.
66390         * abilist/libBrokenLocale.abilist: Remove.
66391         * abilist/libanl.abilist: Remove.
66392         * abilist/libcrypt.abilist: Remove.
66393         * abilist/libdl.abilist: Remove.
66394         * abilist/librt.abilist: Remove.
66395         * abilist/libthread_db.abilist: Remove.
66396         * abilist/libutil.abilist: Remove.
66397         * scripts/extract-abilist.awk: Remove.
66398         * scripts/merge-abilist.awk: Remove.
66399         * sysdeps/generic/libcidn.abilist: New file.
66400         * sysdeps/generic/libnss_compat.abilist: New file.
66401         * sysdeps/generic/libnss_db.abilist: New file.
66402         * sysdeps/generic/libnss_dns.abilist: New file.
66403         * sysdeps/generic/libnss_files.abilist: New file.
66404         * sysdeps/generic/libnss_hesiod.abilist: New file.
66405         * sysdeps/generic/libnss_nis.abilist: New file.
66406         * sysdeps/generic/libnss_nisplus.abilist: New file.
66407         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66408         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66409         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66410         file.
66411         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66412         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66413         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66414         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66415         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66416         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66417         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66418         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66419         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66420         file.
66421         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66422         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66423         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66424         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66425         file.
66426         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66427         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66428         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66429         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66430         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66431         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66432         file.
66433         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66434         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66435         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66436         file.
66437         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66439         New file.
66440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66441         New file.
66442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66443         New file.
66444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66445         New file.
66446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66447         New file.
66448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66449         New file.
66450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66451         New file.
66452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66453         New file.
66454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66455         New file.
66456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66457         New file.
66458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66459         New file.
66460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66461         New file.
66462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66463         New file.
66464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66465         file.
66466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66467         New file.
66468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66469         New file.
66470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66471         file.
66472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66473         New file.
66474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66475         New file.
66476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66477         file.
66478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66479         New file.
66480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66481         New file.
66482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66483         New file.
66484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66485         New file.
66486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66487         New file.
66488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66489         New file.
66490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66492         file.
66493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66494         New file.
66495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66496         file.
66497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66498         file.
66499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66500         file.
66501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66502         file.
66503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66504         file.
66505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66506         New file.
66507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66508         file.
66509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66510         file.
66511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66512         New file.
66513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66514         file.
66515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66517         file.
66518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66519         New file.
66520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66521         file.
66522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66523         file.
66524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66525         file.
66526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66527         file.
66528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66529         file.
66530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66531         New file.
66532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66533         file.
66534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66535         file.
66536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66537         New file.
66538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66539         file.
66540         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66541         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66542         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66543         file.
66544         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66545         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66546         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66547         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66548         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66549         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66550         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66551         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66552         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66553         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66556         file.
66557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66558         New file.
66559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66560         file.
66561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66562         file.
66563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66564         file.
66565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66566         file.
66567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66568         file.
66569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66570         New file.
66571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66572         New file.
66573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66574         file.
66575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66576         New file.
66577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66578         file.
66579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66581         file.
66582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66583         New file.
66584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66585         file.
66586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66587         file.
66588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66589         file.
66590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66591         file.
66592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66593         file.
66594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66595         New file.
66596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66597         New file.
66598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66599         file.
66600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66601         New file.
66602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66603         file.
66605 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66607         * conform/conformtest.pl: Fix typo in handling typed-constant from
66608         allow-header.
66610 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66612         * README: Cut down references to pre-2.6 Linux kernels and
66613         Linuxthreads.  Update lists of configurations in libc and ports
66614         and sort alphabetically.  Say "or newer" with Linux kernel version
66615         requirements.
66617         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66619 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66621         [BZ #887]
66622         * math/libm-test.inc (logb_test_downward): New test to expose
66623         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66624         rounding mode.
66626 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66628         [BZ #14027]
66629         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66630         to be done.
66631         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66632         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66634 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66636         * sysdeps/unix/i386/brk.S: Remove file.
66637         * sysdeps/unix/i386/dl-brk.S: Likewise.
66638         * sysdeps/unix/i386/pipe.S: Likewise.
66639         * sysdeps/unix/i386/sigreturn.S: Likewise.
66640         * sysdeps/unix/i386/syscall.S: Likewise.
66641         * sysdeps/unix/i386/vfork.S: Likewise.
66642         * sysdeps/unix/i386/wait.S: Likewise.
66644         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66645         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66647         * configure.in (arm*-none*): Do not allow without
66648         --enable-hacker-mode.
66649         (netbsd*): Remove case setting base_os.
66650         (386bsd*): Likewise.
66651         (freebsd*): Likewise.
66652         (bsdi*): Likewise.
66653         (osf*): Likewise.
66654         (sunos*): Likewise.
66655         (ultrix*): Likewise.
66656         (newsos*): Likewise.
66657         (dynix*): Likewise.
66658         (*bsd*): Likewise.
66659         (sysv*): Likewise.
66660         (isc*): Likewise.
66661         (esix*): Likewise.
66662         (sco*): Likewise.
66663         (minix*): Likewise.
66664         (irix4*): Likewise.
66665         (irix6*): Likewise.
66666         (solaris[2-9]*): Likewise.
66667         (none): Likewise.
66668         * configure: Regenerated.
66670 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66672         [BZ #11521]
66673         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66674         overflow or cancellation in calculating denominator.
66675         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66676         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66677         down expression to avoid unexpected rounding in newer GCCs.
66678         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66680 2012-04-26  David S. Miller  <davem@davemloft.net>
66682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66683         long-double compat symbols.
66684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66698 2012-04-25  David S. Miller  <davem@davemloft.net>
66700         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66701         HWCAP_* values only after the memory barriers have been defined.
66702         (atomic_full_barrier): Define.
66703         (atomic_read_barrier): Define.
66704         (atomic_write_barrier): Define.
66706 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66708         * shlib-versions: Add libgcc_s version information.
66709         * sysdeps/generic/libgcc_s.h: Remove.
66710         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66711         libgcc_s.h.
66712         * sysdeps/gnu/unwind-resume.c: Likewise.
66713         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66715 2012-04-25  David S. Miller  <davem@davemloft.net>
66717         * sysdeps/unix/sparc/brk.S: Delete.
66718         * sysdeps/unix/sparc/dl-brk.S: Delete.
66719         * sysdeps/unix/sparc/pipe.S: Delete.
66720         * sysdeps/unix/sparc/sysdep.S: Delete.
66721         * sysdeps/unix/sparc/sysdep.h: Delete.
66722         * sysdeps/unix/sparc/vfork.S: Delete.
66723         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66724         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66725         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66726         (ret_ERRVAL, r0, r1, MOVE): Define.
66727         (JUMPTARGET): Remove.
66728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66729         sysdeps/unix/sparc/sysdep.h
66730         (ENTRY, END): Remove.
66731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66733 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66735         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66736         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66737         -DIS_IN_build.
66739         * timezone/README: Update upstream location and email address for
66740         tzcode and tzdata.
66741         * timezone/zdump.c: Update from tzcode 2012b.
66742         * timezone/zic.c: Likewise.
66744         * configure.in (libc_cv_as_needed): Remove test.
66745         * configure: Regenerated.
66746         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66747         conditional definition.
66748         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66749         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66750         * config.make.in (have-as-needed): Remove variable.
66752 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66753             Paul Pluzhnikov  <ppluzhnikov@google.com>
66755         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66756         strings correctly.
66758 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66760         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66761         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66762         * sysdeps/sh/strlen.S: Likewise.
66764 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66766         * sysdeps/unix/fork.S: Remove file.
66767         * sysdeps/unix/i386/fork.S: Likewise.
66768         * sysdeps/unix/sparc/fork.S: Likewise.
66770         * sysdeps/unix/system.c: Remove file.
66771         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66773         * sysdeps/unix/getegid.S: Remove file.
66774         * sysdeps/unix/geteuid.S: Likewise.
66776 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66778         * scripts/check-localplt.awk: New file.
66779         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66780         of diff.
66781         * scripts/data/localplt-generic.data: Add a comment.
66783         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66784         NODE when __dir_mkfile failed.
66785         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66786         Reported by Ludovic Courtès <ludo@gnu.org>.
66788 2012-04-24  Andreas Jaeger  <aj@suse.de>
66790         * Makerules (common-clean): Also remove gen-as-const-headers
66791         files.
66793 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66795         * Makerules (native-compile): Do not change working directory for
66796         build.  Use $(OUTPUT_OPTION) in command.
66797         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66799 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66801         [BZ #13886]
66802         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66803         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66804         * math/libm-test.inc (floor_test): Add more tests.
66805         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66807 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66809         * sysdeps/unix/getdents.c: Remove file.
66810         * sysdeps/unix/sysv/getdents.c: Likewise.
66811         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66813         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66814         sysdeps/unix/mman/syscalls.list.
66815         (mmap): Likewise.
66816         (mprotect): Likewise.
66817         (msync): Likewise.
66818         (munmap): Likewise.
66819         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66820         * sysdeps/unix/mman/syscalls.list: Remove.
66821         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66823         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66824         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66825         * configure: Regenerated.
66826         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66827         $(libgcc_s_suffix).
66828         * config.make.in (libgcc_s_suffix): Remove variable.
66830 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66832         * sysdeps/unix/sysv/gethostname.c: Move to ...
66833         * sysdeps/posix/gethostname.c: ... here.
66835         * sysdeps/unix/execve.S: Remove file.
66837         * sysdeps/unix/_exit.S: Remove file.
66839 2012-04-23  Andreas Jaeger  <aj@suse.de>
66841         [BZ #13739]
66842         * manual/Makefile: Remove make dist support, there's no
66843         need for a stand-alone documentation tar ball.
66844         (TEXI2DVI): Define always, it's not in Makeconfig.
66845         (dist): Removed.
66846         (tar-it): Removed.
66847         (edition): Removed.
66848         (glibc-doc-$(edition).tar): Removed
66849         (%.Z): Removed.
66850         (%.gz): Removed.
66851         (%.uu): Removed.
66852         (ETAGS): Remove, it's in Makeconfig.
66853         (move-if-change): Remove, it's in Makeconfig.
66855 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66857         [BZ #13970]
66858         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66859         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66860         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66861         (strtod_l, strtof_l, strtold_l): Remove __wur.
66862         It is not necessarily an error to ignore strtol's return value.
66863         One can reliably look at the stored endptr to decide whether
66864         the number had valid syntax.
66866 2012-04-21  Andreas Jaeger  <aj@suse.de>
66868         [BZ #13739]
66869         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66871 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66873         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66874         * sysdeps/unix/sysv/Versions: Remove file.
66876 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66878         [BZ #13927]
66879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66881 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66883         [BZ #7064]
66884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66885         version from __vm86.
66887 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66889         * sysdeps/unix/common/lxstat.c: Remove file.
66890         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66892         * sysdeps/unix/sysv/Makefile: Remove file.
66894         * sysdeps/unix/sysv/direct.h: Remove file.
66896         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66897         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66898         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66899         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66900         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66901         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66902         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66904         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66906         * sysdeps/unix/xmknod.c: Remove file.
66907         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66909         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66911         * sysdeps/unix/sysv/i386/time.S: Remove file.
66913         * sysdeps/unix/fxstat.c: Remove file.
66914         * sysdeps/unix/xstat.c: Likewise.
66915         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66917         * sysdeps/unix/sysv/sigaction.c: Remove file.
66919         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66920         (sysdep_headers): Remove variable.
66921         [termio.h not in sysdep_headers] (generated): Likewise.
66922         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66923         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66924         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66925         * sysdeps/unix/sysv/tcflow.c: Likewise.
66926         * sysdeps/unix/sysv/tcflush.c: Likewise.
66927         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66928         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66929         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66930         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66931         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66933         * sysdeps/unix/siglist.c: Remove file.
66935         * sysdeps/unix/getppid.S: Remove file.
66937         * sysdeps/unix/mkdir.c: Remove file.
66938         * sysdeps/unix/rmdir.c: Likewise.
66940 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66942         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66943         ERR_MAX value.
66944         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66945         errlist-compat value.
66947 2012-04-18  David S. Miller  <davem@davemloft.net>
66949         * sysdeps/generic/memcopy.h (reg_char): Delete.
66950         * debug/strcat_chk.c: Use char, not reg_char.
66951         * debug/strcpy_chk.c: Likewise.
66952         * debug/strncat_chk.c: Likewise.
66953         * debug/strncpy_chk.c: Likewise.
66954         * string/memchr.c: Likewise.
66955         * string/memrchr.c: Likewise.
66956         * string/rawmemchr.c: Likewise.
66957         * string/strcat.c: Likewise.
66958         * string/strchr.c: Likewise.
66959         * string/strchrnul.c: Likewise.
66960         * string/strcmp.c: Likewise.
66961         * string/strcpy.c: Likewise.
66962         * string/strncat.c: Likewise.
66963         * string/strncmp.c: Likewise.
66964         * string/strncpy.c: Likewise.
66966 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66968         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66969         __builtin_memcopy is called when src and dest ranges are known to not
66970         overlap.
66972 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66974         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66975         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66976         fwd_align_merge macro call.
66977         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66978         bwd_align_merge macro call.
66979         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66981 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66983         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66984         bwd_align_merge macros.
66985         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66986         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66987         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66989 2012-04-18  David S. Miller  <davem@davemloft.net>
66991         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66993 2012-04-18  Andreas Jaeger  <aj@suse.de>
66995         [BZ# 6794]
66996         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66997         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66998         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67001         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67002         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67004         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67005         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67006         Adjust for changed ldbl-128 files.
67008         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67009         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67010         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67012 2012-04-17  David S. Miller  <davem@davemloft.net>
67014         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67016 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67018         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67019         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67020         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67021         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67022         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67023         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67025 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67027         [BZ #6794]
67028         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67029         * math/libm-test.inc: Add ilogb errno and exception tests.
67030         * math/w_ilogb.c: New file: ilogb wrapper.
67031         * math/w_ilogbf.c: New file: ilogbf wrapper.
67032         * math/w_ilogbl.c: New file: ilogbl wrapper.
67033         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67034         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67035         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67036         exception being thrown with 0.0 as argument.
67037         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67038         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67039         exception being thrown with 0.0 as argument.
67040         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67041         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67042         exception being thrown with 0.0 as argument.
67043         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67044         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67045         exception being thrown with 0.0 as argument.
67046         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67047         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67048         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67049         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67050         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67051         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67052         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67053         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67054         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67056 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67058         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67059         with altivec.
67061 2012-04-16  Marek Polacek  <polacek@redhat.com>
67063         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67065 2012-04-16  Marek Polacek  <polacek@redhat.com>
67067         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67068         operands of fdivp instruction.
67070 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67072         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67073         * elf/tst-auditmod3b.c: Likewise.
67074         * elf/tst-auditmod4b.c: Likewise.
67075         * elf/tst-auditmod5b.c: Likewise.
67076         * elf/tst-auditmod6b.c: Likewise.
67077         * elf/tst-auditmod6c.c: Likewise.
67078         * elf/tst-auditmod7b.c: Likewise.
67079         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67080         * sysdeps/x86_64/preconfigure.in: Likewise.
67081         * sysdeps/x86_64/preconfigure: Regenerated.
67083 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67085         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67086         __ILP32__.
67088 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67091         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67093 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67095         [BZ #13973]
67096         * locale/iso-639.def: Fix gl language name. Spotted by
67097         Yaron Shahrabani.
67099 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67101         [BZ #2074]
67102         * libio/libio.h (__io_write_fn): Update comment.
67104 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67106         [BZ #2074]
67107         * stdio.texi (Hook Functions): The user provided writer function
67108         is not allowed to return -1.
67110 2012-04-11  David S. Miller  <davem@davemloft.net>
67112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67114 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67116         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67117         Add a leading slash to rtkaio.
67119 2012-04-11  Jim Meyering  <meyering@redhat.com>
67121         [BZ #11959]
67122         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67123         It is not necessarily an error to ignore fwrite's return
67124         value.  One can reliably use ferror to test for errors after
67125         the fact.
67127 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67129         * bits/types.h (__snseconds_t): New type.
67130         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67132         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67134         (__SNSECONDS_T_TYPE): Likewise.
67135         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67136         (__SNSECONDS_T_TYPE): Likewise.
67137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67138         (__SNSECONDS_T_TYPE): Likewise.
67140 2012-04-10  Andreas Jaeger  <aj@suse.de>
67142         [BZ #2636]
67143         * manual/time.texi (Processor Time): Return type of times is
67144         elapsed real time since an arbitrary point in the past.
67145         (CPU Time): Move CLK_TCK from here...
67146         (Processor Time): ...to here.  Correct description.
67147         * manual/conf.texi (Constants for Sysconf): Correct description of
67148         _SC_CLK_TCK.
67150 2012-04-10  David S. Miller  <davem@davemloft.net>
67152         [BZ #13967]
67153         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67154         where the is a gap between DT_REL(A) and DT_JMPREL.
67156 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67158         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67159         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67160         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67162 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67164         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67165         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67166         (dl_main): Handle --inhibit-cache.
67167         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67168         _dl_inhibit_cache.
67169         * elf/dl-load.c (_dl_map_object): Use it.
67170         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67172 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67174         [BZ #13872]
67175         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67176         (__ieee754_powl): Saturate large exponents rather than testing for
67177         overflow of y*log2(x).
67178         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67179         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67180         exceptions.
67182         [BZ #11521]
67183         * math/s_ctan.c: Include <float.h>.
67184         (__ctan): Avoid internal overflow or cancellation in calculating
67185         denominator.
67186         * math/s_ctanf.c: Likewise.
67187         * math/s_ctanl.c: Likewise.
67188         * math/s_ctanh.c: Likewise.
67189         * math/s_ctanhf.c: Likewise.
67190         * math/s_ctanhl.c: Likewise.
67191         * math/libm-test.inc (ctan_test): Add more tests.
67192         (ctanh_test): Likewise.
67193         * sysdeps/i386/fpu/libm-test-ulps: Update.
67194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67196 2012-04-09  Andreas Jaeger  <aj@suse.de>
67198         [BZ #6894]
67199         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67200         is an optional BSD extension.
67202         [BZ #10254]
67203         * manual/stdio.texi (Opening Streams): Document additional fopen
67204         parameters.
67206 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67208         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67209         %eax without telling the compiler.
67211 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67213         [BZ # 13963]
67214         * manual/install.texi: Use sourceware.org.
67216 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67218         [BZ #13873]
67219         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67220         (__ieee754_pow): Generate overflow and underflow using huge*huge
67221         and tiny*tiny rather than just returning constant infinity or zero
67222         for large exponents.
67223         * math/libm-test.inc (pow_test): Require overflow exceptions for
67224         applicable cases of large exponents.
67226         [BZ #706]
67227         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67228         (__ieee754_pow): Use iterative multiplication algorithm only for
67229         integer exponents with absolute value below 1024.  Check for odd
67230         integer exponents when using algorithm for real exponents.
67231         * math/libm-test.inc (pow_test): Add more tests.
67232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67234 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67236         [BZ #13705]
67237         * math/libm-test.inc (exp_test): Do not allow overflow exception
67238         on underflow test.
67240 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67242         [BZ #13705]
67243         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67244         instead of __kernel_standard_f.
67246 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67248         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67249         * sysdeps/x86_64/memset_chk.S: Likewise.
67251 2012-04-08  Andreas Jaeger  <aj@suse.de>
67253         [BZ #10153]
67254         * manual/startup.texi (Environment Access): Describe return value
67255         for putenv and setenv.
67257         [BZ #6895]
67258         * manual/filesys.texi (Directory Entries): Add description for
67259         DT_LNK.
67261         [BZ #6890]
67262         * manual/filesys.texi (Directory Entries): Clarify that it's file
67263         system not operating system in the description of DT_UNKNOWN.
67265         [BZ #6578]
67266         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67268 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67270         [BZ #6649]
67271         * manual/llio.texi (Opening and Closing Files): Add cross
67272         reference to explain mode argument.
67274 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67276         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67277         * sysdeps/x86_64/memset_chk.S: Likewise.
67279 2012-04-07  David S. Miller  <davem@davemloft.net>
67281         * elf/elf.h (R_SPARC_WDISP10): Define.
67282         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67283         R_SPARC_SIZE32.
67284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67285         R_SPARC_SIZE64 and R_SPARC_H34.
67287 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67289         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67290         conditions and remove no longer applicable assertion.
67292 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67294         * bits/byteswap.h: Include <features.h>.
67295         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67296         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67298 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67300         * bits/byteswap.h (__bswap_16): Removed.
67301         Include <bits/byteswap-16.h> to get __bswap_16.
67302         * sysdeps/i386/bits/byteswap.h: Likewise.
67303         * sysdeps/s390/bits/byteswap.h: Likewise.
67304         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67305         * bits/byteswap-16.h: New file.
67306         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67307         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67308         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67309         * string/Makefile (headers): Add bits/byteswap-16.h.
67311 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67313         [BZ #13895]
67314         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67315         extra indirection.
67316         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67317         * nss/tst-nss-static.c: New.
67319 2012-04-06  Robert Millan  <rmh@gnu.org>
67321         [BZ #6486]
67322         * manual/llio.texi (File Position Primitive): lseek
67323         refers to WHENCE when it really means OFFSET.
67325 2012-04-06  Andreas Jaeger  <aj@suse.de>
67327         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67328         strncmp declarations.
67330         * abilist/libc.abilist: Add __poll and __ppoll.
67332 2012-04-05  David S. Miller  <davem@davemloft.net>
67334         * scripts/check-local-headers.sh: Accept a host triplet in the
67335         path matched by the exclude regexp.
67337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67338         definition.
67339         * sysdeps/powerpc/powerpc32/dl-machine.h
67340         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67341         * sysdeps/s390/s390-32/dl-machine.h
67342         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67343         * sysdeps/sparc/sparc32/dl-machine.h
67344         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67345         * sysdeps/sparc/sparc64/dl-machine.h
67346         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67348         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67349         lazy binding.
67350         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67351         undefined symbol errors.
67353         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67354         DT_NEEDED entries.
67356 2012-04-05  Michael Matz  <matz@suse.de>
67358         [BZ #13592]
67359         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67361 2012-04-05  Andreas Jaeger  <aj@suse.de>
67363         [BZ #13908]
67364         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67365         comment.
67367 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67369         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67370         which ROUND is no valid rounding mode.
67372 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67374         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67375         read again.
67376         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67378 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67380         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67381         an exception using FPU order intentionally.
67383 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67385         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67386         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67387         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67388         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67390 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67392         [BZ #12340]
67393         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67394         EINVAL when BUFLEN is too smal.
67396 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67398         [BZ #13553]
67399         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67400         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67402 2012-04-03  Andreas Jaeger  <aj@suse.de>
67404         [BZ #13938]
67405         * manual/setjmp.texi (System V contexts): Fix sentence.
67407         [BZ #13926]
67408         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67409         New macro for this case.
67410         [!__GNUC__] (__bswap_64): New inline function for this case.
67411         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67412         * bits/byteswap.h: Likewise.
67413         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67414         ull, guard with __GLIBC_HAVE_LONG_LONG.
67416         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67417         __GLIBC_HAVE_LONG_LONG.
67419         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67420         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67422 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67424         [BZ #13691]
67425         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67426         inptr and inend, rather than using last_ch.
67428 2012-04-02  David S. Miller  <davem@davemloft.net>
67430         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67431         * stdio-common/printf-parse.h (read_int): Change return type to
67432         'int', return -1 on INT_MAX overflow.
67433         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67434         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67435         overflows INT_MAX.  Check for overflow of in-format-string precision
67436         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67437         SIZE_MAX not INT_MAX for integer overflow test.
67438         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67439         skip the construct in the format string but do not record anything.
67440         * stdio-common/bug22.c: Adjust to test both width/prevision
67441         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67442         explicitly for proper errno values.
67444 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67446         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67447         CHAR_MAX.
67448         * string/test-strcmp.c [! WIDE]: Likewise.
67449         * time/tst-mktime2.c: Likewise for INT_MAX.
67450         * string/test-string.h: #include <sys/param.h> for MIN.
67452         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67453         * sysdeps/i386/init-first.c (init): Likewise.
67454         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67455         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67456         * sysdeps/sh/init-first.c (init): Likewise.
67458 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67460         * po/ru.po: Update from translation team.
67461         * po/vi.po: Likewise.
67463 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67465         * resolv/nss_dns/dns-host.c: Merge copyright years.
67467 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67470         Optimize memcpy with prefetch if
67471         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67472         src, dst pointers have unequal 16 byte alignments.
67474 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67476         [BZ #13928]
67477         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67478         from a CNAME entry and return the minimum ttl for the query.
67479         (gaih_getanswer_slice): Likewise.
67481 2012-03-30  Jeff Law  <law@redhat.com>
67483         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67484         due to long keys.
67485         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67486         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67488         * resolv/nss_dns/dns-host.c: Update copyright year.
67490 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67492         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67493         requests to save a system call.  Fix check that all bytes are sent.
67495         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67496         comments for sendmmsg.
67498 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67500         [BZ #13691]
67501         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67502         with only 1 character between 0x0041 and 0x01b0.
67503         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67504         * wcsmbs/tst-mbsnrtowcs.c: New file.
67506 2012-03-29  David S. Miller  <davem@davemloft.net>
67508         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67509         small copies by hand.
67511 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67513         [BZ #13761]
67514         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67515         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67516         group memberships.
67518 2012-03-28  David S. Miller  <davem@davemloft.net>
67520         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67521         that branches into memcpy.
67522         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67523         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67525         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67527         bits.
67528         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67529         implementation too.
67530         * sysdeps/sparc/mempcpy.S: New file.
67532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67533         the IFUNC routine in the libc case.
67534         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67536         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67537         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67538         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67539         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67540         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67541         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67542         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67543         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67545         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67546         loop to 256 bytes instead of 64 bytes and fix test signedness.
67548         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67549         * sysdeps/sparc/sparc32/Makefile: rather than here...
67550         * sysdeps/sparc/sparc64/Makefile: and here.
67552 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67554         * malloc/mallocbug.c: Avoid warnings about unused variables.
67556 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67558         [BZ #13760]
67559         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67560         in the right place. Discard and retry query if response is
67561         larger than input buffer size.
67563 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67565         [BZ #369]
67566         [BZ #2678]
67567         [BZ #3866]
67568         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67569         x for large integer exponent.
67570         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67571         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67572         sign of result as needed afterwards.
67573         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67574         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67575         result for underflowing pow the same as for overflow.
67576         (__kernel_standard_l): Handle powl overflow and underflow here
67577         rather than calling __kernel_standard.
67578         * math/libm-test.inc (pow_test): Add more tests.
67580         [BZ #3868]
67581         [BZ #13879]
67582         [BZ #13910]
67583         [BZ #13911]
67584         [BZ #13912]
67585         [BZ #13913]
67586         [BZ #13915]
67587         [BZ #13916]
67588         [BZ #13917]
67589         [BZ #13918]
67590         [BZ #13919]
67591         [BZ #13920]
67592         [BZ #13921]
67593         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67594         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67595         (__kernel_standard_l): New function.
67596         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67597         __kernel_standard.
67598         * math/w_acosl.c (__acosl): Likewise.
67599         * math/w_asinl.c (__asinl): Likewise.
67600         * math/w_atan2l.c (__atan2l): Likewise.
67601         * math/w_atanhl.c (__atanhl): Likewise.
67602         * math/w_coshl.c (__coshl): Likewise.
67603         * math/w_exp10l.c (__exp10l): Likewise.
67604         * math/w_exp2l.c (__exp2l): Likewise.
67605         * math/w_fmodl.c (__fmodl): Likewise.
67606         * math/w_hypotl.c (__hypotl): Likewise.
67607         * math/w_j0l.c (__j0l, __y0l): Likewise.
67608         * math/w_j1l.c (__j1l, __y1l): Likewise.
67609         * math/w_jnl.c (__jnl, __ynl): Likewise.
67610         * math/w_lgammal.c (__lgammal): Likewise.
67611         * math/w_log10l.c (__log10l): Likewise.
67612         * math/w_log2l.c (__log2l): Likewise.
67613         * math/w_logl.c (__logl): Likewise.
67614         * math/w_powl.c (__powl): Likewise.
67615         * math/w_remainderl.c (__remainderl): Likewise.
67616         * math/w_scalbl.c (sysv_scalbl): Likewise.
67617         * math/w_sinhl.c (__sinhl): Likewise.
67618         * math/w_sqrtl.c (__sqrtl): Likewise.
67619         * math/w_tgammal.c (__tgammal): Likewise.
67620         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67621         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67622         * math/libm-test.inc (acos_test): Add more tests.
67623         (acosh_test): Likewise.
67624         (asin_test): Likewise.
67625         (atanh_test): Likewise.
67626         (exp_test): Likewise.
67627         (exp10_test): Likewise.
67628         (exp2_test): Likewise.
67629         (expm1_test): Likewise.
67630         (lgamma_test): Likewise.
67631         (log_test): Likewise.
67632         (log10_test): Likewise.
67633         (log1p_test): Likewise.
67634         (log2_test): Likewise.
67635         (pow_test): Do not allow some spurious overflow exceptions.
67636         (sqrt_test): Add more tests.
67637         (tgamma_test): Likewise.
67638         (y0_test): Likewise.
67639         (y1_test): Likewise.
67640         (yn_test): Likewise.
67642 2012-03-27  Anton Blanchard  <anton@samba.org>
67644         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67645         MAP_HUGETLB.
67646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67647         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67650 2012-03-27  David S. Miller  <davem@davemloft.net>
67652         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67654         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67655         have-as-vis3 check.
67657 2012-03-27  Andreas Jaeger  <aj@suse.de>
67659         * sysdeps/x86_64/elf/configure.in: Moved to ...
67660         * sysdeps/x86_64/configure.in: ... here.
67661         * sysdeps/x86_64/elf/start.S: Moved to ...
67662         * sysdeps/x86_64/start.S: ... here.
67663         * sysdeps/x86_64/elf/configure: Delete.
67665         * sysdeps/x86_64/configure.in: Merge contents from
67666         sysdeps/i386/configure.in (without i686 check).
67668         * sysdeps/i386/elf/Versions: Merge into ...
67669         * sysdeps/i386/Versions: ... this.
67670         * sysdeps/i386/elf/Versions: Delete file.
67671         * sysdeps/i386/elf/start.S: Moved to ...
67672         * sysdeps/i386/start.S: ...here.
67673         * sysdeps/i386/elf/configure.in: Merge into...
67674         * sysdeps/i386/configure.in: ...here.
67675         * sysdeps/i386/elf/configure.in: Delete file.
67676         * sysdeps/i386/elf/configure: Delete file.
67678         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67679         * debug/backtracesyms.c: ... here.
67680         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67681         * debug/backtracesymsfd.c: ... here.
67682         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67683         * sysdeps/generic/ifunc-sel.h: ... here.
67685         * sysdeps/unix/i386/start.c: Delete file.
67686         * sysdeps/unix/sparc/start.c: Delete file.
67687         * sysdeps/unix/start.c: Delete file.
67689         * sysdeps/sh/elf/configure.in: Moved to ...
67690         * sysdeps/sh/configure.in: ... here.
67691         * sysdeps/sh/elf/start.S: Moved to ...
67692         * sysdeps/sh/start.S: ... here.
67693         * sysdeps/sh/elf/configure: Delete file.
67695         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67696         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67697         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67698         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67699         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67700         * sysdeps/powerpc/powerpc64/start.S: here.
67701         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67702         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67703         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67704         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67705         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67707         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67708         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67709         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67710         * sysdeps/powerpc/powerpc32/start.S: ... here.
67711         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67712         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67713         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67715         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67716         * sysdeps/powerpc/ifunc-sel.h: ... here.
67717         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67718         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67720         * sysdeps/sparc/elf/configure.in: Moved to ...
67721         * sysdeps/sparc/configure.in: ... here.
67722         * sysdeps/sparc/elf/configure: Delete file.
67723         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67724         * sysdeps/sparc/sparc32/start.S: ... here.
67725         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67726         * sysdeps/sparc/sparc64/start.S: ... here.
67727         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67728         * sysdeps/sparc/sparc32/Makefile: ... this.
67729         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67730         * sysdeps/sparc/sparc64/Makefile: ... this.
67732         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67733         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67734         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67735         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67736         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67737         * sysdeps/s390/s390-32/setjmp.S: ... here.
67738         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67739         * sysdeps/s390/s390-32/configure.in: ... here.
67740         * sysdeps/s390/s390-32/elf/configure: Delete file.
67741         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67742         * sysdeps/s390/s390-32/start.S: ... here.
67744         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67745         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67746         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67747         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67748         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67749         * sysdeps/s390/s390-64/setjmp.S: ... here.
67750         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67751         * sysdeps/s390/s390-64/configure.in: ... here
67752         * sysdeps/s390/s390-64/elf/configure: Delete file.
67753         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67754         * sysdeps/s390/s390-64/start.S: ... here.
67755         * sysdeps/s390/s390-64/elf/configure: Delete.
67757         * configure.in: Remove support for elf directories in sysdeps.
67759         * configure: Regenerated.
67760         * sysdeps/i386/configure: Regenerated.
67761         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67762         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67763         * sysdeps/s390/s390-32/configure: Regenerated.
67764         * sysdeps/s390/s390-64/configure: Regenerated.
67765         * sysdeps/sh/configure: Regenerated.
67766         * sysdeps/sparc/configure: Regenerated.
67767         * sysdeps/x86_64/configure: Regenerated.
67769 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67773         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67774         denormal result into account.
67776 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67778         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67779         Reported by Allan McRae <allan@archlinux.org>.
67781 2012-03-23  Jeff Law  <law@redhat.com>
67783         * nss/getnssent.c (__nss_getent): Fix typo.
67785 2012-03-23  David S. Miller  <davem@davemloft.net>
67787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67789 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67791         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67792         to pad to uint64_t for each field.
67793         (dl_tls_index): Replace unsigned long with uint64_t.
67795 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67796         Paul Pluzhnikov  <ppluzhnikov@google.com>
67798         [BZ #6528]
67799         * grp/Makefile (otherlibs): Don't set it.
67800         * inet/Makefile (otherlibs): Likewise.
67801         * login/Makefile (otherlibs): Likewise.
67802         * nscd/Makefile (otherlibs): Likewise.
67803         * posix/Makefile (otherlibs): Likewise.
67804         * pwd/Makefile (otherlibs): Likewise.
67805         * rt/Makefile (otherlibs): Likewise.
67806         * sunrpc/Makefile (otherlibs): Likewise.
67807         * nss/Makefile (otherlibs): Likewise.
67808         Add libnss_files to routines and static-only-routines.
67809         ($(objpfx)getent): Remove rule.
67810         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67811         static-only-routines.
67813 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67815         [BZ #13892]
67816         * math/s_cexp.c: Include <float.h>.
67817         (__cexp): Handle exp result overflowing not necessarily
67818         overflowing both real and imaginary parts of result.
67819         * math/s_cexpf.c: Likewise.
67820         * math/s_cexpl.c: Likewise.
67821         * math/libm-test.inc (cexp_test): Add more tests.
67822         * sysdeps/i386/fpu/libm-test-ulps: Update.
67823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67825 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67827         * include/link.h (ELFW): New macro.
67828         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67829         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67831 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67833         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67834         with uint64_t.
67836 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67838         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67839         declaration.
67840         (struct La_x32_retval): Likewise.
67842 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67844         * sysdeps/x86_64/preconfigure.in: New file.
67845         * sysdeps/x86_64/preconfigure: New generated file.
67847 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67849         [BZ #13824]
67850         * math/e_exp2l.c: Include <float.h>.
67851         (__ieee754_exp2l): Handle overflow and underflow cases
67852         separately.  Only pass fractional part of argument to
67853         __ieee754_expl.
67854         * math/libm-test.inc (exp2_test): Add more tests.
67856         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67857         negating x to take absolute value.
67858         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67859         Likewise.
67860         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67861         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67862         Likewise.
67863         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67864         computing low part if x was negated.
67865         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67867 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67869         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67870         la_x32_gnu_pltexit.
67871         (pltexit): Cast int_retval to ptrdiff_t.
67872         * elf/tst-auditmod3b.c: Likewise.
67873         * elf/tst-auditmod4b.c: Likewise.
67874         * elf/tst-auditmod5b.c: Likewise.
67875         * elf/tst-auditmod6b.c: Likewise.
67876         * elf/tst-auditmod6c.c: Likewise.
67877         * elf/tst-auditmod7b.c: Likewise.
67879         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67880         and x32_gnu_pltexit.
67882         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67883         __ELF_NATIVE_CLASS.
67884         (La_x32_regs): New macro.
67885         (La_x32_retval): Likewise.
67886         (la_x32_gnu_pltenter): New function prototype.
67887         (la_x32_gnu_pltexit): Likewise.
67889 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67891         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67892         exponent.
67894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67896         * configure.in (libc_cv_cc_nofma): Check for option to disable
67897         generation of FMA instructions.
67898         * configure: Regenerate.
67899         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67900         * sysdeps/ieee754/dbl-64/Makefile: New file.
67901         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67902         Remove brandred-fma4.
67903         (CFLAGS-brandred-fma4.c): Remove.
67904         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67905         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67906         define.
67907         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67908         define.
67910 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67912         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67913         LLONG_MAX != LONG_MAX.
67914         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67915         (_fitoa_word): Likewise.
67916         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67917         LLONG_MAX != LONG_MAX.
67918         * stdio-common/_itowa.h: Include <_itoa.h>.
67919         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67920         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67921         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67922         only if not defined.
67923         (_ITOA_WORD_TYPE): Likewise.
67924         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67925         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67927 2012-03-21  David S. Miller  <davem@davemloft.net>
67929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67931 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67933         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67934         of x86_64 when setting libc_cv_slibdir, libdir and
67935         libc_cv_localedir.
67936         * sysdeps/unix/sysv/linux/configure: Regenerated.
67938 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67940         * manual/lang.texi (Old Varargs): Remove section.
67941         (How Variadic): Update menu.
67942         (va_start): Do not mention varargs.h.
67944 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67945             Joseph Myers  <joseph@codesourcery.com>
67947         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67948         link test.
67949         * configure: Regenerated.
67951 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67953         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67954         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67955         conformtest.pl
67957 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67959         * NOTES: Remove.
67960         * Makefile (files-for-dist): Remove NOTES.
67961         (NOTES): Remove rule.
67962         * README: Don't refer to NOTES.
67963         * manual/creature.texi: Don't include macros.texi.
67964         * manual/intro.texi (creature.texi): Remove comment referring to
67965         NOTES.
67967         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67968         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67969         * configure: Regenerated.
67970         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67971         LIBC_TRY_CC_OPTION.
67972         (libc_cv_as_i686): Likewise.
67973         (libc_cv_cc_avx): Likewise.
67974         (libc_cv_cc_sse2avx): Likewise.
67975         (libc_cv_cc_fma4): Likewise.
67976         (libc_cv_cc_novzeroupper): Likewise.
67977         * sysdeps/i386/configure: Regenerated.
67979         [BZ #13883]
67980         * sysdeps/i386/fpu/s_cexp.S: Remove.
67981         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67982         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67983         * math/libm-test.inc (cexp_test): Add more tests.
67984         * sysdeps/i386/fpu/libm-test-ulps: Update.
67985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67987 2012-03-21  Allan McRae  <allan@archlinux.org>
67989         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67991 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67993         [BZ #13871]
67994         * math/w_exp2.c: Do not include <float.h>.
67995         (o_threshold, u_threshold): Remove.
67996         (__exp2): Calculate result before checking finiteness and calling
67997         __kernel_standard.
67998         * math/w_exp2f.c: Likewise.
67999         * math/w_exp2l.c: Likewise.
68000         * math/libm-test.inc (exp2_test): Require overflow exception for
68001         1e6 input.
68003         [BZ #3866]
68004         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68005         range of signed 64-bit integers before using fistpll.  Remove
68006         checks for whether integers fit in mantissa bits.
68007         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68008         the range of signed 32-bit integers before using fistpl.  Remove
68009         checks for whether integers fit in mantissa bits.
68010         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68011         (__ieee754_powl): Test for y outside the range of signed 64-bit
68012         integers before using fistpll.  Reduce 64-bit values to 63-bit
68013         ones as needed.
68014         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68015         divide-by-zero is raised for zero to large negative powers.
68016         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68017         (__ieee754_powl): Test for y outside the range of signed 64-bit
68018         integers before using fistpll.  Reduce 64-bit values to 63-bit
68019         ones as needed.
68020         * math/libm-test.inc (pow_test): Add more tests.
68022 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68024         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68025         <stdio-common/_itoa.h>.
68026         * debug/segfault.c: Likewise.
68027         * elf/dl-cache.c: Likewise.
68028         * elf/dl-minimal.c: Likewise.
68029         * elf/dl-misc.c: Likewise.
68030         * elf/dl-sysdep.c: Likewise.
68031         * elf/dl-version.c: Likewise.
68032         * elf/rtld.c: Likewise.
68033         * hurd/hurdsock.c: Likewise.
68034         * hurd/lookup-retry.c: Likewise.
68035         * malloc/malloc.c: Likewise.
68036         * malloc/mtrace.c: Likewise.
68037         * nscd/nscd_getgr_r.c: Likewise.
68038         * nscd/nscd_getpw_r.c: Likewise.
68039         * nscd/nscd_getserv_r.c: Likewise.
68040         * posix/getopt_init.c: Likewise.
68041         * posix/wordexp.c: Likewise.
68042         * stdio-common/_itoa.c: Likewise.
68043         * stdio-common/printf_fphex.c: Likewise.
68044         * stdio-common/vfprintf.c: Likewise.
68045         * string/_strerror.c: Likewise.
68046         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68047         * sysdeps/i386/i686/hp-timing.h: Likewise.
68048         * sysdeps/mach/_strerror.c: Likewise.
68049         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68050         * sysdeps/mach/hurd/sethostid.c: Likewise.
68051         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68052         * sysdeps/mach/xpg-strerror.c: Likewise.
68053         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68055         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68056         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68057         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68058         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68059         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68060         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68061         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68062         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68063         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68064         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68065         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68066         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68067         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68068         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68069         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68070         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68071         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68072         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68073         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68075         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68077         * stdio-common/_itoa.h: Moved to ...
68078         * sysdeps/generic/_itoa.h: Here.
68080         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68082         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68083         instead of "_itoa.h" and "_itowa.h".
68084         * stdio-common/vfprintf.: Likewise.
68086 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68088         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68089         <bits/wordsize.h>.
68090         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68091         (__signbit): Likwise.
68092         (llrintf): Likwise.
68093         (llrint): Likwise.
68095 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68097         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68098         __WORDSIZE != 64.
68100 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68102         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68103         OVERFLOW_EXCEPTION_OK.
68104         * math/libm-test.inc ("Philosophy"): Update comment about
68105         exception testing.
68106         (OVERFLOW_EXCEPTION): Define.
68107         (OVERFLOW_EXCEPTION_OK): Likewise.
68108         (INVALID_EXCEPTION_OK): Renumber.
68109         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68110         (IGNORE_ZERO_INF_SIGN): Likewise.
68111         (test_exceptions): Handle FE_OVERFLOW.
68112         (exp10_test): Expect overflow exceptions.
68113         (exp2_test): Likewise.
68114         (expm1_test): Likewise.
68115         (nextafter_test): Likewise.
68116         (pow_test): Likewise.
68117         (scalbn_test): Likewise.
68118         (scalbln_test): Likewise.
68120 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68122         * sysdeps/x86_64/bits/atomic.h
68123         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68124         64bit integer.
68125         (atomic_exchange_acq): Likewise.
68126         (__arch_exchange_and_add_body): Likewise.
68127         (__arch_add_body): Likewise.
68128         (atomic_add_negative): Likewise.
68129         (atomic_add_zero): Likewise.
68131 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68133         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68134         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68136 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68138         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68139         Check __x86_64__ instead of __WORDSIZE.
68141 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68143         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68145 2012-03-19  David S. Miller  <davem@davemloft.net>
68147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68149         * sysdeps/sparc/fpu/fenv_private.h: New file.
68150         * sysdeps/sparc/fpu/math_private.h: Use it.
68151         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68152         Remove.
68153         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68154         (libc_feholdexcept_setroundl): Remove.
68155         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68156         Remove.
68157         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68158         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68160 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68162         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68163         int64_t instead of long int.
68164         (INSERT_WORDS64): Likwise.
68166 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68168         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68169         _Unwind_GetCFA return to _Unwind_Ptr first.
68171 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68173         [BZ #13629]
68174         * math/s_clog.c: Include <float.h>.
68175         (__clog): Scale large or subnormal inputs.
68176         * math/s_clogf.c: Likewise.
68177         * math/s_clogl.c: Likewise.
68178         * math/s_clog10.c: Include <float.h>.
68179         (M_LOG10_2): Define.
68180         (__clog10): Scale large or subnormal inputs.
68181         * math/s_clog10f.c: Likewise.
68182         * math/s_clog10l.c: Likewise.
68183         * math/libm-test.inc (clog_test): Add more tests.
68184         (clog10_test): Likewise.
68185         * sysdeps/i386/fpu/libm-test-ulps: Update.
68186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68188         [BZ #11451]
68189         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68190         x and y.
68191         * math/libm-test.inc (atan2_test): Add another test.
68193         * Makerules (common-objdir-compile): Remove.
68194         * sysdeps/unix/Makefile (config-generated): Do not add
68195         $(unix-generated) to variable.
68196         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68197         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68198         Remove rule.
68199         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68200         Likewise.
68201         [generic bits/local_lim.h] (before-compile): Do not append to
68202         variable.
68203         [generic bits/local_lim.h] (common-generated): Likewise.
68204         [generic sys/param.h] (before-compile): Do not append to variable.
68205         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68206         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68207         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68208         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68209         include.
68210         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68211         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68212         [generic sys/param.h] ($(addprefix
68213         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68214         [generic sys/param.h] (common-generated): Do not append to
68215         variable.
68216         [generic sys/param.h] (sysdep_headers): Likewise.
68217         [generic bits/errno.h] (before-compile): Do not append to
68218         variable.
68219         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68220         rule.
68221         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68222         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68223         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68224         [generic bits/errno.h] (common-generated): Do not append to
68225         variable.
68226         [generic bits/ioctls.h] (before-compile): Do not append to
68227         variable.
68228         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68229         rule.
68230         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68231         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68232         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68233         rule.
68234         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68235         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68236         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68237         [generic bits/ioctls.h] (common-generated): Do not append to
68238         variable.
68239         [generic sys/syscall.h] (syscall.h): Remove variable.
68240         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68241         rule.
68242         [generic sys/syscall.h] (before-compile): Do not append to
68243         variable.
68244         [generic sys/syscall.h] (common-generated): Likewise.
68245         * sysdeps/unix/errnos-tmpl.c: Remove file.
68246         * sysdeps/unix/errnos.awk: Likewise.
68247         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68248         * sysdeps/unix/ioctls.awk: Likewise.
68249         * sysdeps/unix/mk-local_lim.c: Likewise.
68250         * sysdeps/unix/snarf-ioctls: Likewise.
68252 2012-03-19  Richard Henderson  <rth@twiddle.net>
68254         * sysdeps/i386/fpu/fenv_private.h: New file.
68255         * sysdeps/i386/fpu/math_private.h: Use it.
68256         (math_opt_barrier, math_force_eval): Remove.
68257         (libc_feholdexcept_setround_53bit): Remove.
68258         (libc_feupdateenv_53bit): Remove.
68259         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68260         (math_opt_barrier, math_force_eval): Remove.
68261         (libc_feholdexcept): Remove.
68262         (libc_feholdexcept_setround): Remove.
68263         (libc_fetestexcept, libc_fesetenv): Remove.
68264         (libc_feupdateenv_test): Remove.
68265         (libc_feupdateenv, libc_feholdsetround): Remove.
68266         (libc_feresetround): Remove.
68268         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68269         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68271         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68272         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68273         (libc_feupdateenv_testl): New.
68274         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68275         (libc_feupdateenv_testf): New.
68276         (libc_feupdateenv): Use libc_feupdateenv_test.
68277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68278         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68280         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68281         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68282         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68283         (libc_feresetround_noex): New.
68284         (libc_feresetround_noexf): New.
68285         (libc_feresetround_noexl): New.
68286         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68287         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68288         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68289         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68290         SET_RESTORE_ROUND.
68291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68293         (__cos): Likewise.
68294         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68295         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68296         SET_RESTORE_ROUND_NOEX.
68297         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68298         SET_RESTORE_ROUND_NOEXF.
68299         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68300         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68301         (libc_feholdsetroundf): New.
68302         (libc_feresetround, libc_feresetroundf): New.
68304         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68305         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68306         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68308         * sysdeps/generic/math_private.h: Include <fenv.h>.
68309         (default_libc_feholdexcept): New.
68310         (default_libc_feholdexcept_setround): New.
68311         (default_libc_fesetenv, default_libc_feupdateenv): New.
68312         (libc_feholdexcept): Only define if undefined.
68313         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68314         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68315         (libc_feholdexcept_setroundl): Likewise.
68316         (libc_feholdexcept_setround_53bit): Likewise.
68317         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68318         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68319         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68320         (libc_feupdateenv_53bit): Likewise.
68321         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68322         (libc_feholdexcept): Convert from macro to inline function.
68323         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68324         (libc_fesetenv, libc_feupdateenv): Likewise.
68326         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68327         not previously defined.
68328         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68329         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68330         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68331         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68332         * sysdeps/ieee754/flt-32/math_private.h: New file.
68333         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68334         math_private.h below SET_FLOAT_WORD.
68335         (__isnan, __isinf_ns, __finite): Remove.
68336         (__isnanf, __isinf_nsf, __finitef): Remove.
68338 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68342 2012-03-17  David S. Miller  <davem@davemloft.net>
68344         [BZ #6471]
68345         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68346         for 2.16.
68348 2012-03-16  David S. Miller  <davem@davemloft.net>
68350         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68351         warnings.
68353         [BZ #6471]
68354         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68355         properly.
68356         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68357         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68358         sysdep_routines when subdir is sysvipc.
68359         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68360         __getshmlba helper.
68362         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68364 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68366         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68367         [__LP64__].
68369 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68371         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68372         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68373         (__lround): Renamed to ...
68374         (__llround): This.  Replace long int with long long int.
68375         Define lround functions as aliases of llround functions.
68376         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68378 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68380         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68381         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68382         adresses to uintptr_t.  Replace "long int" and "unsigned long
68383         int" with "greg_t" on va_arg.
68385 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68387         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68388         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68390         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68391         Move e_machine check before EI_CLASS check.  Handle x32
68392         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68393         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68394         SKIP_EM_IA_64 and include
68395         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68397         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68398         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68399         (add_system_dir): New macro.
68401         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68402         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68404 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68406         [BZ #2551]
68407         [BZ #2552]
68408         [BZ #2553]
68409         [BZ #2554]
68410         [BZ #2562]
68411         [BZ #2563]
68412         [BZ #2565]
68413         [BZ #2566]
68414         [BZ #2576]
68415         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68416         (y0): Likewise.
68417         * math/w_j0f.c (j0f): Likewise.
68418         (y0f): Likewise.
68419         * math/w_j0l.c (__j0l): Likewise.
68420         (__y0l): Likewise.
68421         * math/w_j1.c (j1): Likewise.
68422         (y1): Likewise.
68423         * math/w_j1f.c (j1f): Likewise.
68424         (y1f): Likewise.
68425         * math/w_j1l.c (__j1l): Likewise.
68426         (__y1l): Likewise.
68427         * math/w_jn.c (jn): Likewise.
68428         (yn): Likewise.
68429         * math/w_jnf.c (jnf): Likewise.
68430         (ynf): Likewise.
68431         * math/w_jnl.c (__jnl): Likewise.
68432         (__ynl): Likewise.
68433         * math/libm-test.inc (j0_test): Add more tests.
68434         (j1_test): Likewise.
68435         (jn_test): Likewise.  Add trailing semicolon to existing test.
68436         (y0_test): Likewise.
68437         (y1_test): Likewise.
68438         * sysdeps/i386/fpu/libm-test-ulps: Update.
68439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68441         [BZ #13851]
68442         [BZ #13854]
68443         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68444         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68445         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68446         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68447         (__tanl): Set errno for infinite argument.
68448         * sysdeps/i386/fpu/mptan.c: Remove.
68449         * sysdeps/i386/fpu/s_tan.S: Likewise.
68450         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68451         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68452         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68453         * math/libm-test.inc (tan_test): Add more tests and enable more
68454         tests for double and long double.
68455         * sysdeps/i386/fpu/libm-test-ulps: Update.
68456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68458 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68460         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68461         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68463 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68465         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68466         * configure.in: Use it for both main tree and add-ons.
68467         * configure: Regenerated.
68469 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68471         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68473 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68475         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68476         in comment.
68478         [BZ #13851]
68479         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68480         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68481         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68482         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68483         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68484         infinite argument.
68485         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68486         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68487         != 0 for prec == 2.
68488         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68489         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68490         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68491         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68492         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68493         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68494         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68495         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68496         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68497         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68498         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68499         * math/libm-test.inc (cos_test): Add more tests and enable more
68500         tests for long double.
68501         (sin_test): Likewise.
68502         (sincos_test): Likewise.
68503         * sysdeps/i386/fpu/libm-test-ulps: Update.
68504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68506 2012-03-16  David S. Miller  <davem@davemloft.net>
68508         * sysdeps/sparc/fpu/math_private.h: New file.
68510 2012-03-15  David S. Miller  <davem@davemloft.net>
68512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68513         file.
68514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68516         file.
68517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68518         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68519         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68523         sysdep routines.
68524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68526         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68527         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68529         * sysdeps/sparc/sparc-ifunc.h: New file.
68530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68531         sparc-ifunc.h
68532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68534         Likewise.
68535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68536         Likewise.
68537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68541         Likewise.
68542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68547         Likewise.
68548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68549         Likewise.
68550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68556         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68572         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68573         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68575 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68577         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68578         scaling.
68579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68581 2012-03-15  Andreas Jaeger  <aj@suse.de>
68583         [BZ #13852]
68584         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68585         ieee754/flt-32 implementation for sin, cos and sincos.
68586         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68587         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68588         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68589         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68590         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68591         ieee754/flt-32 implementation for tan.
68593         * math/libm-test.inc (cos_test): Enable some large input tests for
68594         float as well
68595         (sin_test): Likewise.
68596         (sincos_test): Likewise.
68597         (tan_test): Add tests for large input.
68599         * sysdeps/i386/fpu/libm-test-ulps: Update.
68601 2012-03-15  Andreas Jaeger  <aj@suse.de>
68603         [BZ #13658]
68604         * math/libm-test.inc (cos_test): Add more test cases.
68605         (sin_test): Likewise.
68606         (sincos_test): Likewise.
68608 2012-03-15  Andreas Jaeger  <aj@suse.de>
68610         [BZ #13837]
68611         * math/libm-test.inc (cos_test): Add a test case for large input
68612         value.
68613         (sin_test): Likewise.
68614         (sincos_test): Likewise.
68616 2012-03-15  Andreas Jaeger  <aj@suse.de>
68617             Joseph Myers  <joseph@codesourcery.com>
68619         [BZ #13658]
68620         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68621         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68622         * sysdeps/i386/fpu/branred.c: Likewise.
68623         * sysdeps/i386/fpu/dosincos.c: Likewise.
68624         * sysdeps/i386/fpu/mpa.c: Likewise.
68625         * sysdeps/i386/fpu/s_cos.S: Likewise.
68626         * sysdeps/i386/fpu/s_sin.S: Likewise.
68627         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68628         * sysdeps/i386/fpu/sincos32.c: Likewise.
68630         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68631         Define.
68632         (libc_feupdateenv_53bit): Define.
68633         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68634         Define.
68635         (libc_feupdateenv_53bit): Define.
68637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68638         53 bit (without extend i386 double precision).
68640         * math/libm-test.inc (sincos_test): Add tests for large input.
68641         (sin): Likewise.
68642         (cos): Likewise.
68644         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68646 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68650 2012-03-15  David S. Miller  <davem@davemloft.net>
68652         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68653         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68654         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68655         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68668         file.
68669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68671         file.
68672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68674         file.
68675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68677         file.
68678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68679         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68680         fmin/fmax sysdep routines.
68681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68683 2012-03-14  David S. Miller  <davem@davemloft.net>
68685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68690         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68691         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68692         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68695         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68701         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68702         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68703         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68705         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68706         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68707         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68708         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68709         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68710         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68711         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68712         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68714         routines.
68715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68716         file.
68717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68719         file.
68720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68722         file.
68723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68725         file.
68726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68728         file.
68729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68731         file.
68732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68733         file.
68734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68735         file.
68736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68737         file.
68738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68739         New file.
68740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68741         file.
68742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68743         file.
68744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68746         file.
68747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68749         file.
68750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68752         file.
68753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68755         VIS3 routines.
68757         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68758         New file.
68760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68762         * sysdeps/sparc/configure.in: New file.
68763         * sysdeps/sparc/configure: Generate.
68764         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68765         * configure: Regenerate.
68766         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68767         * config.make.in (have-as-vis3): New.
68768         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68769         available use -Av9d instead of -Av9a.
68770         * sysdeps/sparc/sparc64/Makefile: Likewise.
68771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68773         New file.
68774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68775         file.
68776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68777         New file.
68778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68779         file.
68780         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68781         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68783         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68784         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68786         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68787         fzeros/fnegs to load 0x80000000 into a float register instead of
68788         using the stack.
68789         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68791 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68794         bits/syscall.h.
68795         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68796         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68797         ($(inst_includedir)/bits/syscall.h): Remove rule.
68798         ($(objpfx)bits/syscall.d): Include instead of
68799         $(objpfx)syscall-list.d.
68800         (generated): Change syscall-list.h and syscall-list.d to
68801         bits/syscall.h and bits/syscall.d.
68803 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68805         [BZ #13846]
68806         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68808 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68810         [BZ #13841]
68811         * math/s_csqrt.c: Include <float.h>.
68812         (__csqrt): Scale large or subnormal inputs.
68813         * math/s_csqrtf.c: Likewise.
68814         * math/s_csqrtl.c: Likewise.
68815         * math/libm-test.inc (csqrt_test): Add more tests.
68816         * sysdeps/i386/fpu/libm-test-ulps: Update.
68817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68819         [BZ #13840]
68820         * math/libm-test.inc (hypot_test): Add more tests.
68822 2012-03-13  David S. Miller  <davem@davemloft.net>
68824         [BZ #13840]
68825         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68826         double-precision for the calculation instead of scaling.
68828 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68830         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68831         manipulate bits before adding and subtracting TWO52[sx].
68832         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68833         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68834         Likewise.
68835         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68837 2012-03-13  David S. Miller  <davem@davemloft.net>
68839         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68840         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68842         rtld-global-offsets.h
68843         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68845         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68846         large parameters.
68848         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68850         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68851         'err' in the ifdef scope in which it is actually used.
68853         * nss/nss_db/db-init.c: Include string.h
68855 2012-03-12  David S. Miller  <davem@davemloft.net>
68857         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68858         masking out of the most significant byte of random value used.
68859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68860         Fix coding style in previous change.
68862         * sysdeps/unix/sysv/linux/kernel-features.h
68863         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68864         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68865         expression.
68866         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68867         later.
68869 2012-03-11  David S. Miller  <davem@davemloft.net>
68871         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68872         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68873         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68874         for 'resultvar' otherwise things get truncated on 64-bit.
68876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68877         Fix masking out of the most significant byte of random value used.
68879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68881 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68885 2012-03-09  David S. Miller  <davem@davemloft.net>
68887         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68888         variables with appropriate CPP guards.
68889         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68890         from the frame pointer, not the stack pointer.  Correct layout
68891         comments.  Fix test on resulting framesize and the management of
68892         the outregs buffer for pltexit.  Preserve floating point return
68893         values across _dl_call_pltexit call.
68894         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68895         framesize and the management of the outregs buffer for pltexit.
68896         Preserve floating point return values across _dl_call_pltexit
68897         call.
68898         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68899         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68900         (la_sparc64_gnu_pltexit): New functions.
68901         (print_exit): Fix format string for return register value.
68903 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68905         * sunrpc/Makefile (others): Add rpcgen.
68906         ($(objpfx)rpcgen): Remove special build rule and dependency on
68907         libc.
68908         * sunrpc/rpcgen.c: New file.
68910 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68912         [BZ #13673]
68913         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68914         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68915         * sysdeps/i386/crti.S: Likewise.
68916         * sysdeps/i386/crtn.S: Likewise.
68917         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68918         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68919         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68920         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68921         * sysdeps/sh/crti.S: Likewise.
68922         * sysdeps/sh/crtn.S: Likewise.
68923         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68925         [BZ #13673]
68926         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68927         with URL.
68928         * locale/programs/locfile-kw.gperf: Likewise.
68929         * locale/programs/charmap-kw.h: Regenerated.
68930         * locale/programs/locfile-kw.h: Likewise.
68932         [BZ #13673]
68933         * intl/plural.y: Replace FSF snail mail address with URL.
68934         * intl/plural.c: Regenerated.
68936 2012-03-09  Richard Henderson  <rth@twiddle.net>
68938         * include/math_private.h: Remove file.
68939         * math/math_private.h: Move file ...
68940         * sysdeps/generic/math_private.h: ... here.
68942         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68943         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68944         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68946         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68947         and <math_private.h>.
68948         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68949         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68950         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68951         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68952         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68953         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68954         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68955         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68956         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68957         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68959         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68960         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68961         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68962         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68963         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68964         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68965         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68966         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68967         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68968         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68969         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68970         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68971         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68972         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68973         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68974         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68975         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68977         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68978         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68980         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68981         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68982         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68983         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68984         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68985         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68986         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68987         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68988         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68989         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68990         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68991         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68992         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68993         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68994         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68995         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68996         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68997         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68998         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68999         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69000         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69001         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69002         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69003         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69004         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69005         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69006         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69007         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69008         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69009         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69011         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69012         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69013         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69014         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69015         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69016         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69017         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69018         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69019         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69020         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69021         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69022         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69023         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69024         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69026         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69027         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69028         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69029         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69030         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69031         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69032         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69033         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69034         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69035         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69036         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69037         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69038         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69039         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69040         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69041         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69042         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69043         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69044         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69045         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69046         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69047         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69048         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69049         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69050         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69051         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69052         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69053         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69054         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69055         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69056         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69057         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69058         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69059         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69060         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69061         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69062         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69063         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69064         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69065         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69066         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69067         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69068         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69069         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69070         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69071         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69072         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69073         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69074         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69075         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69076         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69077         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69078         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69079         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69080         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69081         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69082         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69083         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69084         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69085         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69086         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69087         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69088         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69089         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69090         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69091         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69092         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69093         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69094         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69095         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69096         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69097         * sysdeps/ieee754/k_standard.c: Likewise.
69098         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69099         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69100         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69101         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69102         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69103         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69104         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69105         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69106         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69107         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69108         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69109         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69110         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69111         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69112         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69113         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69114         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69115         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69116         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69117         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69118         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69119         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69120         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69121         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69122         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69123         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69124         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69125         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69126         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69127         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69128         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69129         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69130         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69131         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69132         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69133         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69134         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69135         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69136         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69137         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69138         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69139         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69140         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69141         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69142         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69143         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69144         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69146         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69147         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69148         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69149         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69150         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69151         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69152         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69153         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69154         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69155         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69156         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69157         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69158         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69159         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69160         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69161         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69162         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69163         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69164         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69165         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69166         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69167         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69168         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69170         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69171         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69172         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69173         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69174         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69175         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69177         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69178         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69179         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69180         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69181         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69182         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69183         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69184         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69185         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69187         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69188         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69189         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69190         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69191         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69193         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69194         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69195         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69196         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69198         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69199         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69201         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69202         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69205         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69206         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69207         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69208         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69209         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69210         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69211         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69212         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69213         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69214         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69215         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69216         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69217         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69218         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69219         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69220         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69221         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69222         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69223         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69224         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69225         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69226         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69227         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69228         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69229         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69230         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69231         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69232         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69233         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69234         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69235         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69236         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69237         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69238         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69239         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69240         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69241         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69242         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69243         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69244         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69245         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69246         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69247         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69248         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69249         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69250         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69251         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69252         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69253         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69254         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69255         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69256         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69257         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69258         * sysdeps/ieee754/s_lib_version.c: Likewise.
69259         * sysdeps/ieee754/s_matherr.c: Likewise.
69260         * sysdeps/ieee754/s_signgam.c: Likewise.
69261         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69262         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69263         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69264         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69265         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69266         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69267         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69268         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69269         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69270         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69271         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69272         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69273         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69274         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69275         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69276         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69277         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69278         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69279         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69283 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69285         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69286         * sunrpc/rpc_main.c: Likewise.
69287         * sunrpc/rpc_svcout.c: Likewise.
69289 2012-03-09  David S. Miller  <davem@davemloft.net>
69291         * include/math_private.h: New file.
69293 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69295         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69296         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69297         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69298         from <bits/socket_type.h>.
69299         (enum __socket_type): Don't define here.
69300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69302         bits/socket_type.h.
69304         [BZ #13566]
69305         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69306         checking __USE_GNU.
69308         * Makerules ($(inst_includedir)/%.h): New rule.
69309         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69310         (install-others): Remove variable setting.
69311         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69313 2012-03-08  Richard Henderson  <rth@twiddle.net>
69315         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69316         from macro to inline function; merge with the
69317         !__LIBC_INTERNAL_MATH_INLINES version.
69318         (__ieee754_sqrtf): Likewise.
69320         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69321         to inline function.
69322         (__rintf, __floor, __floorf): Likewise.
69324         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69325         macro to inline function.
69326         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69328         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69329         not <math/math_private.h>.
69331 2012-03-08  David S. Miller  <davem@davemloft.net>
69333         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69334         copyright year.
69335         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69337 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69339         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69340         normalization.
69341         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69342         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69344 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69346         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69347         be defined individually, they must be defined as a block.  Define
69348         S for printing a string instead of hidint the different by using a
69349         macro for adding the 'l'.
69350         * stdio-common/tst-fphex-wide.c: Adjust.
69352 2012-03-07  Marek Polacek  <polacek@redhat.com>
69354         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69356 2012-03-08  Marek Polacek  <polacek@redhat.com>
69358         [BZ #13806]
69359         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69360         * stdio-common/tst-fphex.c: Define a few macros to make the
69361         test reusable.  Use them.
69362         * stdio-common/tst-fphex-wide.c: New file.
69364 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69366         [BZ #6911]
69367         * manual/macros.texi (gnusystems): New macro.
69368         (nongnusystems): Likewise.
69369         (gnulinuxhurdsystems): Likewise.
69370         (gnuhurdsystems): Likewise..
69371         (gnulinuxsystems): Likewise.
69372         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69373         variants of the GNU system, not "GNU system".
69374         * manual/conf.texi: Likewise.
69375         * manual/errno.texi: Likewise.  Update example of errno macro
69376         expansion.
69377         * manual/filesys.texi: Likewise.
69378         (getumask): Document as specific to GNU/Hurd.
69379         * manual/install.texi: Likewise.  Reword some references to
69380         GNU/Linux.
69381         * manual/intro.texi: Likewise.
69382         * manual/io.texi: Likewise.
69383         (File Name Portability): Detail which constraints are inapplicable
69384         to all GNU systems and which are only inapplicable to GNU/Hurd.
69385         * manual/job.texi: Likewise.
69386         * manual/llio.texi: Likewise.
69387         (O_NOCTTY): Document as present on GNU/Linux.
69388         * manual/maint.texi: Likewise.
69389         * manual/memory.texi: Likewise.
69390         * manual/pattern.texi: Likewise.
69391         * manual/pipe.texi: Likewise.
69392         * manual/process.texi: Likewise.
69393         * manual/resource.texi: Likewise.
69394         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69395         child on GNU/Hurd.
69396         * manual/setjmp.texi: Likewise.
69397         * manual/signal.texi: Likewise.
69398         * manual/startup.texi: Likewise.
69399         * manual/stdio.texi: Likewise.
69400         * manual/terminal.texi: Likewise.
69401         (ONLCR): Document as POSIX.
69402         (OXTABS): Document availability on GNU/Linux as XTABS.
69403         (ONOEOT): Document availability separately from other bits.
69404         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69405         * manual/time.texi: Likewise.
69406         * manual/users.texi: Likewise.
69407         * INSTALL: Regenerated.
69408         * sysdeps/gnu/errlist.c: Regenerated.
69410         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69411         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69412         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69413         puts.
69414         * configure: Regenerated.
69416 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69418         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69419         default includes instead of AC_HEADER_CHECK.
69420         * sysdeps/i386/configure: Regenerated.
69422         [BZ #10716]
69423         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69424         * math/s_cacoshf.c (__cacoshf): Likewise.
69425         * math/s_cacoshl.c (__cacoshl): Likewise.
69426         * math/s_casinh.c (__casinh): Set signs of result from argument.
69427         * math/s_casinhf.c (__casinhf): Likewise.
69428         * math/s_casinhl.c (__casinhl): Likewise.
69429         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69430         (casinh_test): Add more tests.
69431         * sysdeps/i386/fpu/libm-test-ulps: Update.
69432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69434 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69436         * po/zh_TW.po: Update from translation team.
69438         * login/Makefile (distribute): Remove variable.
69439         * catgets/Makefile: Likewise.
69440         * mach/Makefile: Likewise.
69441         * malloc/Makefile: Likewise.
69442         * misc/Makefile: Likewise.
69443         * iconv/Makefile: Likewise.
69444         * nscd/Makefile: Likewise.
69445         * hurd/Makefile: Likewise.
69446         * manual/Makefile: Likewise.
69447         * locale/Makefile: Likewise.
69448         * intl/Makefile: Likewise.
69449         * conform/Makefile: Likewise.
69450         * nss/Makefile: Likewise.
69451         * time/Makefile: Likewise.
69452         * soft-fp/Makefile: Likewise.
69453         * dirent/Makefile: Likewise.
69454         * gmon/Makefile: Likewise.
69455         * po/Makefile: Likewise.
69456         * rt/Makefile: Likewise.
69457         * socket/Makefile: Likewise.
69458         * math/Makefile: Likewise.
69459         * signal/Makefile: Likewise.
69460         * debug/Makefile: Likewise.
69461         * elf/Makefile: Likewise.
69462         * timezone/Makefile: Likewise.
69463         * stdlib/Makefile: Likewise.
69464         * iconvdata/Makefile: Likewise.
69465         * sunrpc/Makefile: Likewise.
69466         * io/Makefile: Likewise.
69467         * argp/Makefile: Likewise.
69468         * inet/Makefile: Likewise.
69469         * hesiod/Makefile: Likewise.
69470         * grp/Makefile: Likewise.
69471         * csu/Makefile: Likewise.
69472         * wctype/Makefile: Likewise.
69473         * crypt/Makefile: Likewise.
69474         * libio/Makefile: Likewise.
69475         * string/Makefile: Likewise.
69476         * nis/Makefile: Likewise.
69477         * resolv/Makefile: Likewise.
69478         * stdio-common/Makefile: Likewise.
69479         * wcsmbs/Makefile: Likewise.
69480         * dlfcn/Makefile: Likewise.
69481         * posix/Makefile: Likewise.
69483         [BZ #6959]
69484         * timezone/Makefile: Don't install timezone files, just the programs
69485         and scripts.
69487 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69489         * nss/databases.def: Add missing gshadow entry.
69491         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69493 2012-03-06  Marek Polacek  <polacek@redhat.com>
69495         [BZ #13726]
69496         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69497         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69498         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69499         * stdio-common/tst-long-dbl-fphex.c: New file.
69501 2012-03-06  David S. Miller  <davem@davemloft.net>
69503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69504         (set_obp_int): New function.
69505         (get_obp_int): New function.
69506         (__get_clockfreq_via_dev_openprom): Likewise.
69507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69508         Avoid unused variable warnings on 'val' and use builtin_expect.
69509         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69510         __builtin_expect.
69511         (INLINE_CLONE_SYSCALL): Likewise.
69513 2012-03-05  David S. Miller  <davem@davemloft.net>
69515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69517 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69521         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69522         only for |x| >= 40.
69523         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69525 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69528         Replace gettimeofday with __vdso_gettimeofday.
69530         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69531         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69532         __vdso_clock_gettime and __vdso_getcpu.
69534         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69535         time with __vdso_time.
69537 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69539         * manual/lang.texi (size_t): Note types to which size_t may be
69540         equivalent with the GNU C Library, but do not describe when
69541         differences between them are significant.
69543 2012-03-05  Andreas Jaeger  <aj@suse.de>
69545         * sysdeps/i386/fpu/libm-test-ulps: Update.
69547 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69549         [BZ #3976]
69550         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69551         (__ieee754_pow): Save and restore rounding mode and use
69552         round-to-nearest for main computations.
69553         * math/libm-test.inc (pow_test_tonearest): New function.
69554         (pow_test_towardzero): Likewise.
69555         (pow_test_downward): Likewise.
69556         (pow_test_upward): Likewise.
69557         (main): Call the new functions.
69558         * sysdeps/i386/fpu/libm-test-ulps: Update.
69559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69561         [BZ #3976]
69562         * math/libm-test.inc (cosh_test_tonearest): New function.
69563         (cosh_test_towardzero): Likewise.
69564         (cosh_test_downward): Likewise.
69565         (cosh_test_upward): Likewise.
69566         (sinh_test_tonearest): Likewise.
69567         (sinh_test_towardzero): Likewise.
69568         (sinh_test_downward): Likewise.
69569         (sinh_test_upward): Likewise.
69570         (main): Call the new functions.
69571         * sysdeps/i386/fpu/libm-test-ulps: Update.
69572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69574 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69576         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69577         default stack guard is set in last bytes.
69578         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69580 2012-03-05  Kees Cook  <keescook@chromium.org>
69582         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69584         [BZ #13656]
69585         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69586         possibly allocate from heap instead of stack.
69587         * stdio-common/bug-vfprintf-nargs.c: New file.
69588         * stdio-common/Makefile (tests): Add nargs overflow test.
69590 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69594 2012-03-03  Marek Polacek  <polacek@redhat.com>
69596         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69597         * math/math_private.h: Likewise.
69598         * stdlib/tst-strtod.c: Likewise.
69599         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69600         * sysdeps/x86_64/bits/atomic.h: Likewise.
69602 2012-03-02  David S. Miller  <davem@davemloft.net>
69604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69608         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69609         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69610         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69611         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69613 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69615         [BZ #13792]
69616         * manual/examples/README: New file, says the example source files
69617         can be used under GPL>=2.
69618         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69619         line containing just "*/".
69620         * manual/examples/add.c: Add copyright header (GPL>=2).
69621         * manual/examples/argp-ex1.c: Likewise.
69622         * manual/examples/argp-ex2.c: Likewise.
69623         * manual/examples/argp-ex3.c: Likewise.
69624         * manual/examples/argp-ex4.c: Likewise.
69625         * manual/examples/atexit.c: Likewise.
69626         * manual/examples/db.c: Likewise.
69627         * manual/examples/dir.c: Likewise.
69628         * manual/examples/dir2.c: Likewise.
69629         * manual/examples/execinfo.c: Likewise.
69630         * manual/examples/filecli.c: Likewise.
69631         * manual/examples/filesrv.c: Likewise.
69632         * manual/examples/fmtmsgexpl.c: Likewise.
69633         * manual/examples/genpass.c: Likewise.
69634         * manual/examples/inetcli.c: Likewise.
69635         * manual/examples/inetsrv.c: Likewise.
69636         * manual/examples/isockad.c: Likewise.
69637         * manual/examples/longopt.c: Likewise.
69638         * manual/examples/memopen.c: Likewise.
69639         * manual/examples/memstrm.c: Likewise.
69640         * manual/examples/mkfsock.c: Likewise.
69641         * manual/examples/mkisock.c: Likewise.
69642         * manual/examples/mygetpass.c: Likewise.
69643         * manual/examples/pipe.c: Likewise.
69644         * manual/examples/popen.c: Likewise.
69645         * manual/examples/rprintf.c: Likewise.
69646         * manual/examples/search.c: Likewise.
69647         * manual/examples/select.c: Likewise.
69648         * manual/examples/setjmp.c: Likewise.
69649         * manual/examples/sigh1.c: Likewise.
69650         * manual/examples/sigusr.c: Likewise.
69651         * manual/examples/stpcpy.c: Likewise.
69652         * manual/examples/strdupa.c: Likewise.
69653         * manual/examples/strftim.c: Likewise.
69654         * manual/examples/strncat.c: Likewise.
69655         * manual/examples/subopt.c: Likewise.
69656         * manual/examples/swapcontext.c: Likewise.
69657         * manual/examples/termios.c: Likewise.
69658         * manual/examples/testopt.c: Likewise.
69659         * manual/examples/testpass.c: Likewise.
69660         * manual/examples/timeval_subtract.c: Likewise.
69662         [BZ #13792]
69663         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69664         function to ...
69665         * manual/timeval_subtract.c.texi: ... here, new file.
69667 2012-03-02  David S. Miller  <davem@davemloft.net>
69669         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69671 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69673         [BZ #3976]
69674         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69675         (__sin): Save and restore rounding mode and use round-to-nearest
69676         for all computations.
69677         (__cos): Save and restore rounding mode and use round-to-nearest
69678         for all computations.
69679         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69680         <fenv.h>.
69681         (tan): Save and restore rounding mode and use round-to-nearest for
69682         all computations.
69683         * math/libm-test.inc (cos_test_tonearest): New function.
69684         (cos_test_towardzero): Likewise.
69685         (cos_test_downward): Likewise.
69686         (cos_test_upward): Likewise.
69687         (sin_test_tonearest): Likewise.
69688         (sin_test_towardzero): Likewise.
69689         (sin_test_downward): Likewise.
69690         (sin_test_upward): Likewise.
69691         (tan_test_tonearest): Likewise.
69692         (tan_test_towardzero): Likewise.
69693         (tan_test_downward): Likewise.
69694         (tan_test_upward): Likewise.
69695         (main): Call the new functions.
69696         * sysdeps/i386/fpu/libm-test-ulps: Update.
69697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69699         [BZ #10135]
69700         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69701         small n, then large n, before computing and testing k+n.
69702         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69704         Likewise.
69705         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69706         Likewise.
69707         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69708         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69709         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69710         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69712         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69713         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69714         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69715         * math/libm-test.inc (scalbn_test): Add more tests.
69716         (scalbln_test): Likewise.
69718         * manual/filesys.texi (mode_t): Describe constraints on size and
69719         signedness, not exact equivalence to a particular type.
69720         (ino_t): Likewise.
69721         (ino64_t): Likewise.
69722         (dev_t): Likewise.
69723         (nlink_t): Likewise.
69724         (blkcnt_t): Likewise.
69725         (blkcnt64_t): Likewise.
69726         * manual/llio.texi (off_t): Likewise.
69728         [BZ #3976]
69729         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69730         (__ieee754_exp): Save and restore rounding mode and use
69731         round-to-nearest for all computations.
69732         * math/libm-test.inc (exp_test_tonearest): New function.
69733         (exp_test_towardzero): Likewise.
69734         (exp_test_downward): Likewise.
69735         (exp_test_upward): Likewise.
69736         (main): Call the new functions.
69737         * sysdeps/i386/fpu/libm-test-ulps: Update.
69738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69740 2012-03-01  Chris Demetriou  <cgd@google.com>
69742         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69743         have predictable order.
69745 2012-03-01  David S. Miller  <davem@davemloft.net>
69747         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69749         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69750         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69751         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69752         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69754         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69755         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69756         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69758         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69759         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69760         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69761         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69762         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69766         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69767         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69768         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69770         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69771         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69772         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69773         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69774         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69776         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69777         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69778         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69779         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69780         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69781         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69783         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69784         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69785         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69786         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69787         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69788         * sysdeps/sparc/elf/configure: Regenerated.
69790 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69792         * configure.in (AS, LD): Require binutils 2.20 or later.
69793         * configure: Regenerated.
69794         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69795         as required minimum version.
69796         * INSTALL: Regenerated.
69798         [BZ #2541]
69799         [BZ #4108]
69800         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69801         before squaring exponent.
69802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69803         bottom long double and 27 bits of top long double before squaring
69804         exponent.
69805         * math/libm-test.inc (erfc_test): Add more tests.
69806         * sysdeps/i386/fpu/libm-test-ulps: Update.
69807         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69810 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69812         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69813         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69814         containing bit-fields.
69815         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69816         * soft-fp/single.h (_FP_UNION_S): Likewise.
69817         * soft-fp/double.h (_FP_UNION_D): Likewise.
69819 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69821         [BZ #13786]
69822         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69823         not include ../strcmp.S.
69824         [USE_AS_STRNCASECMP_L]: Likewise.
69825         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69826         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69827         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69828         (__strncasecmp_l_ia32): Define as alias to
69829         __strncasecmp_l_nonascii.
69831         [BZ #5794]
69832         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69833         * sysdeps/i386/fpu/libm-test-ulps: Update.
69834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69836         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69839 2012-02-29  Jeff Law  <law@redhat.com>
69841         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69842         out of bounds read.
69844 2012-02-29  Marek Polacek  <polacek@redhat.com>
69846         [BZ #13706]
69847         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69848         * elf/Makefile: Add rules to run tst-unused-dep.out.
69850 2012-02-28  David S. Miller  <davem@davemloft.net>
69852         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69853         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69856         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69857         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69859 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69861         * math/libm-test.inc (llround_test): Move one test from
69862         lround_test.  Use TEST_f_L in moved test.
69863         (lround_test): Move misplaced test to llround_test.  Add testcase
69864         from bug 2561.
69866 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69868         * sysdeps/x86_64/fpu/e_expf.S: New file.
69869         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69871 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69873         [BZ #13637]
69874         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69875         of remain_len that may cause incomplete multi-byte character and
69876         false match.
69877         * posix/bug-regex33.c: New file.
69878         * posix/Makefile (tests): Add bug-regex33.
69880 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69882         * manual/macros.texi: New file.
69883         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69884         * manual/libc.texinfo: Include macros.texi.
69885         * manual/creatute.texi: Likewise.
69886         * manual/install.texi: Likewise.
69887         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69888         @glibcadj{} in references to the GNU C Library.
69889         * manual/charset.texi: Likewise.
69890         * manual/conf.texi: Likewise.
69891         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69892         when not using those macros.
69893         * manual/creature.texi: Likewise.
69894         * manual/crypt.texi: Likewise.
69895         * manual/errno.texi: Likewise.
69896         * manual/filesys.texi: Likewise.
69897         * manual/header.texi: Likewise.
69898         * manual/install.texi: Likewise.
69899         * manual/intro.texi: Likewise.
69900         * manual/io.texi: Likewise.
69901         * manual/job.texi: Likewise.
69902         * manual/lang.texi: Likewise.
69903         * manual/libc.texiinfo: Likewise.
69904         * manual/llio.texi: Likewise.
69905         * manual/locale.texi: Likewise.
69906         * manual/maint.texi: Likewise.
69907         * manual/math.texi: Likewise.
69908         * manual/memory.texi: Likewise.
69909         * manual/message.texi: Likewise.
69910         * manual/nss.texi: Likewise.
69911         * manual/pattern.texi: Likewise.
69912         * manual/process.texi: Likewise.
69913         * manual/resource.texi: Likewise.
69914         * manual/search.texi: Likewise.
69915         * manual/setjmp.texi: Likewise.
69916         * manual/signal.texi: Likewise.
69917         * manual/socket.texi: Likewise.
69918         * manual/startup.texi: Likewise.
69919         * manual/stdio.texi: Likewise.
69920         * manual/string.texi: Likewise.
69921         * manual/sysinfo.texi: Likewise.
69922         * manual/syslog.texi: Likewise.
69923         * manual/terminal.texi: Likewise.
69924         * manual/time.texi: Likewise.
69925         * manual/users.texi: Likewise.
69926         * INSTALL: Regenerated.
69927         * NOTES: Regenerated.
69928         * sysdeps/gnu/errlist.c: Regenerated.
69930 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69932         * include/dirent.h: Include <dirstream.h> before
69933         <dirent/dirent.h>.
69935 2012-02-28  David S. Miller  <davem@davemloft.net>
69937         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69938         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69939         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69940         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69942 2012-02-27  David S. Miller  <davem@davemloft.net>
69944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69946         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69947         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69950         frame pointer instead of stack pointer relative arg slot.
69951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69952         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69953         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69955 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69957         [BZ #3992]
69958         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69960 2012-02-27  David S. Miller  <davem@davemloft.net>
69962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69966         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69967         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69968         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69969         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69971 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69973         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69974         later.  Allow versions 5-9.
69975         * configure: Regenerated.
69976         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69977         required minimum version and 4.6 as recommended version.  Do not
69978         mention bugs in GCC 2.7 and 2.8.
69979         * INSTALL: Regenerated.
69981 2012-02-27  David S. Miller  <davem@davemloft.net>
69983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69987         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69988         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69989         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69990         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69993         manipulate bits before adding and subtracting TWO112[sx].
69994         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69996 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69998         [BZ #13775]
69999         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70000         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70001         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70002         being in POSIX, because they are in 1003.1-2008.
70004         * rt/tst-aio.c: Include <fcntl.h>.
70005         * rt/tst-aio7.c: Likewise.
70006         * rt/tst-aio64.c: Likewise.
70008         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70010 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70012         * manual/install.texi (--with-headers): Describe headers as
70013         interface headers, not private headers.
70014         (Specific advice for GNU/Linux systems): Describe use of headers
70015         from "make headers_install", not private headers from older
70016         kernels.
70017         * INSTALL: Regenerated.
70018         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70019         Change to 2.6.19.
70020         * sysdeps/unix/sysv/linux/configure: Regenerated.
70022         * manual/llio.texi (fclean): Remove documentation.
70024         * manual/Makefile (libc-texi-generated): New variable.  Include
70025         version.texi.
70026         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70027         $(libc-texi-generated), not duplicated list of files.
70028         (version.texi, stamp-version): New rules.
70029         (realclean): Remove $(libc-texi-generated), not individual files
70030         from that list.  Do not remove dir-add.texinfo.
70031         * manual/libc.texinfo: Comment out uses of edition numbers and
70032         references to printed manual.  Remove last-updated dates.
70033         (EDITION): Comment out.
70034         (ISBN): Likewise.
70035         (VERSION, UPDATED): Remove.
70036         (version.texi): Include.
70038 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70040         * sysdeps/posix/spawni.c: Include <signal.h>.
70041         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70042         * sysdeps/pthread/aio_fsync.c: Likewise.
70044 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70046         * conform/Makefile (tests): Run only when not cross-compiling and
70047         when fast-check is not defined.
70049         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70050         * conform/data/limits.h-data: Fixes for POSIX2008.
70051         * conform/run-conformtest.sh: Run all tests.
70052         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70053         headers.
70054         * include/bits/dlfcn.h: Likewise.
70055         * include/langinfo.h: Likewise.
70056         * include/monetary.h: Likewise.
70057         * include/sys/poll.h: Likewise.
70059         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70060         for __USE_GNU.
70061         * posix/spawn.h: Define __need_sigset_t.
70062         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70063         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70064         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70065         to get sigevent_t only.
70066         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70067         only for __USE_GNU.
70068         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70069         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70070         process_vm_writev only for __USE_GNU.
70071         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70073         * conform/Makefile: For now ignore errors from run-conformtest.
70074         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70075         POSIX to avoid namespace pollution.  Don't prepend headers.
70076         * conform/data/aio.h-data: Fixes for POSIX testing.
70077         * conform/data/fcntl.h-data: Likewise.
70078         * conform/data/glob.h-data: Likewise.
70079         * conform/data/grp.h-data: Likewise.
70080         * conform/data/pthread.h-data: Likewise.
70081         * conform/data/pwd.h-data: Likewise.
70082         * conform/data/signal.h-data: Likewise.
70083         * conform/data/spawn.h-data: Likewise.
70084         * conform/data/stdio.h-data: Likewise.
70085         * conform/data/stdlib.h-data: Likewise.
70086         * conform/data/stropts.h-data: Likewise.
70087         * conform/data/sys/mman.h-data: Likewise.
70088         * conform/data/sys/stat.h-data: Likewise.
70089         * conform/data/sys/types.h-data: Likewise.
70090         * conform/data/sys/wait.h-data: Likewise.
70091         * conform/data/time.h-data: Likewise.
70092         * conform/data/unistd.h-data: Likewise.
70093         * conform/data/utime.h-data: Likewise.
70095         * io/sys/stat.h: fchmod was always in POSIX.
70096         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70097         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70098         * rt/aio.h: Define __need_timespec before including <time.h>.
70099         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70100         struct.  Add forward declaration of pthread_attr_t and use it in
70101         sigevent.
70102         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70103         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70104         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70105         always remove CLK_TCK definition.
70107 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70109         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70111 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70113         * conform/run-conformtest.sh: New file.
70114         * conform/Makefile: Run run-conformtest for tests.
70115         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70116         support.
70118         * conform/data/uchar.h-data: New file.
70119         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70120         * conform/data/arpa/inet.h-data: Likewise.
70121         * conform/data/assert.h-data: Likewise.
70122         * conform/data/complex.h-data: Likewise.
70123         * conform/data/cpio.h-data: Likewise.
70124         * conform/data/ctype.h-data: Likewise.
70125         * conform/data/dirent.h-data: Likewise.
70126         * conform/data/dlfcn.h-data: Likewise.
70127         * conform/data/errno.h-data: Likewise.
70128         * conform/data/fcntl.h-data: Likewise.
70129         * conform/data/float.h-data: Likewise.
70130         * conform/data/fmtmsg.h-data: Likewise.
70131         * conform/data/fnmatch.h-data: Likewise.
70132         * conform/data/ftw.h-data: Likewise.
70133         * conform/data/glob.h-data: Likewise.
70134         * conform/data/grp.h-data: Likewise.
70135         * conform/data/iconv.h-data: Likewise.
70136         * conform/data/inttypes.h-data: Likewise.
70137         * conform/data/langinfo.h-data: Likewise.
70138         * conform/data/libgen.h-data: Likewise.
70139         * conform/data/limits.h-data: Likewise.
70140         * conform/data/locale.h-data: Likewise.
70141         * conform/data/math.h-data: Likewise.
70142         * conform/data/monetary.h-data: Likewise.
70143         * conform/data/mqueue.h-data: Likewise.
70144         * conform/data/ndbm.h-data: Likewise.
70145         * conform/data/net/if.h-data: Likewise.
70146         * conform/data/netdb.h-data: Likewise.
70147         * conform/data/netinet/in.h-data: Likewise.
70148         * conform/data/nl_types.h-data: Likewise.
70149         * conform/data/poll.h-data: Likewise.
70150         * conform/data/pthread.h-data: Likewise.
70151         * conform/data/pwd.h-data: Likewise.
70152         * conform/data/regex.h-data: Likewise.
70153         * conform/data/sched.h-data: Likewise.
70154         * conform/data/search.h-data: Likewise.
70155         * conform/data/semaphore.h-data: Likewise.
70156         * conform/data/setjmp.h-data: Likewise.
70157         * conform/data/signal.h-data: Likewise.
70158         * conform/data/spawn.h-data: Likewise.
70159         * conform/data/stdarg.h-data: Likewise.
70160         * conform/data/stdio.h-data: Likewise.
70161         * conform/data/stdlib.h-data: Likewise.
70162         * conform/data/string.h-data: Likewise.
70163         * conform/data/strings.h-data: Likewise.
70164         * conform/data/stropts.h-data: Likewise.
70165         * conform/data/sys/ipc.h-data: Likewise.
70166         * conform/data/sys/mman.h-data: Likewise.
70167         * conform/data/sys/msg.h-data: Likewise.
70168         * conform/data/sys/resource.h-data: Likewise.
70169         * conform/data/sys/select.h-data: Likewise.
70170         * conform/data/sys/sem.h-data: Likewise.
70171         * conform/data/sys/shm.h-data: Likewise.
70172         * conform/data/sys/socket.h-data: Likewise.
70173         * conform/data/sys/stat.h-data: Likewise.
70174         * conform/data/sys/statvfs.h-data: Likewise.
70175         * conform/data/sys/time.h-data: Likewise.
70176         * conform/data/sys/timeb.h-data: Likewise.
70177         * conform/data/sys/times.h-data: Likewise.
70178         * conform/data/sys/types.h-data: Likewise.
70179         * conform/data/sys/uio.h-data: Likewise.
70180         * conform/data/sys/un.h-data: Likewise.
70181         * conform/data/sys/utsname.h-data: Likewise.
70182         * conform/data/sys/wait.h-data: Likewise.
70183         * conform/data/syslog.h-data: Likewise.
70184         * conform/data/tar.h-data: Likewise.
70185         * conform/data/termios.h-data: Likewise.
70186         * conform/data/utime.h-data: Likewise.
70187         * conform/data/utmpx.h-data: Likewise.
70188         * conform/data/varargs.h-data: Likewise.
70189         * conform/data/wchar.h-data: Likewise.
70190         * conform/data/wctype.h-data: Likewise.
70191         * conform/data/wordexp.h-data: Likewise.
70193         * include/stropts.h: New file.
70194         * include/uchar.h: New file.
70195         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70196         * include/assert.h: Likewise.
70197         * include/ctype.h: Likewise.
70198         * include/dirent.h: Likewise.
70199         * include/dlfcn.h: Likewise.
70200         * include/fcntl.h: Likewise.
70201         * include/fnmatch.h: Likewise.
70202         * include/glob.h: Likewise.
70203         * include/grp.h: Likewise.
70204         * include/libio.h: Likewise.
70205         * include/locale.h: Likewise.
70206         * include/math.h: Likewise.
70207         * include/net/if.h: Likewise.
70208         * include/netdb.h: Likewise.
70209         * include/netinet/in.h: Likewise.
70210         * include/pthread.h: Likewise.
70211         * include/pwd.h: Likewise.
70212         * include/regex.h: Likewise.
70213         * include/sched.h: Likewise.
70214         * include/search.h: Likewise.
70215         * include/setjmp.h: Likewise.
70216         * include/signal.h: Likewise.
70217         * include/stdio.h: Likewise.
70218         * include/stdlib.h: Likewise.
70219         * include/string.h: Likewise.
70220         * include/sys/cdefs.h: Likewise.
70221         * include/sys/mman.h: Likewise.
70222         * include/sys/msg.h: Likewise.
70223         * include/sys/resource.h: Likewise.
70224         * include/sys/select.h: Likewise.
70225         * include/sys/socket.h: Likewise.
70226         * include/sys/stat.h: Likewise.
70227         * include/sys/statvfs.h: Likewise.
70228         * include/sys/time.h: Likewise.
70229         * include/sys/times.h: Likewise.
70230         * include/sys/uio.h: Likewise.
70231         * include/sys/utsname.h: Likewise.
70232         * include/sys/wait.h: Likewise.
70233         * include/termios.h: Likewise.
70234         * include/time.h: Likewise.
70235         * include/ulimit.h: Likewise.
70236         * include/unistd.h: Likewise.
70237         * include/utime.h: Likewise.
70238         * include/wchar.h: Likewise.
70239         * include/wctype.h: Likewise.
70240         * include/wordexp.h: Likewise.
70242         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70244         * time/time.h: TIME_UTC must be a macro.
70245         Make timespec_get available for ISO C11 only as well.
70247 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70249         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70250         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70252 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70254         * configure.in: Use -o not -a in test for unsupported multi-arch.
70256 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70258         * manual/texinfo.tex: Update to version 2012-01-19.16.
70260 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70262         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70264 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70266         [BZ #13738]
70267         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70268         * manual/fdl-1.3.texi: New file.
70269         * manual/fdl-1.1.texi: File removed.
70271         [BZ #13738]
70272         * manual/libc.texinfo (FDL_VERSION): New @set.
70273         Use it for mention of FDL in cover text.
70274         (Documentation License): Use it in @include file name.
70276 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70277             Roland McGrath  <roland@hack.frob.com>
70279         [BZ #5461]
70280         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70281         (not LONG_LONG_MAX and LONG_LONG_MIN.
70282         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70283         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70284         name.
70285         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70287 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70289         [BZ #2547]
70290         [BZ #11365]
70291         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70292         manipulate bits before adding and subtracting TWO23[sx].
70293         * math/libm-test.inc (nearbyint_test): Add more tests.
70295 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70297         [BZ #2548]
70298         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70299         bits before adding and subtracting TWO23[sx].
70300         * math/libm-test.inc (rint_test): Add more tests.
70301         (rint_test_tonearest): Likewise.
70302         (rint_test_towardzero): Likewise.
70303         (rint_test_downward): Likewise.
70304         (rint_test_upward: Likewise.
70306 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70308         [BZ #10110]
70309         * include/stdc-predef.h: New file.  Extracted from features.h.
70310         * include/features.h: Include stdc-predef.h.
70311         * Makefile (headers): Add stdc-predef.h.
70312         * CONFORMANCE (Compiler limitations): Update.
70314 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70316         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70318 2012-02-21  David S. Miller  <davem@davemloft.net>
70320         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70321         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70323 2012-02-20  David S. Miller  <davem@davemloft.net>
70325         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70326         using a normal save/restore sequence, rather than allocating a
70327         dummy stack frame just to store a frame pointer and restore.
70328         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70330 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70332         * manual/install.texi: Fix stray word in line-wrapped comment.
70334 2012-02-20  David S. Miller  <davem@davemloft.net>
70336         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70337         both binutils and gcc support GOTDATA.
70339         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70340         "rd %pc" in the PIC register setup sequences.
70342         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70343         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70344         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70345         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70346         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70348         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70349         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70351         (SYSCALL_ERROR_HANDLER): Likewise.
70352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70353         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70355         (SYSCALL_ERROR_HANDLER): Likewise.
70357         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70358         (HAVE_GCC_GOTDATA): New.
70359         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70360         relocation support in both binutils and gcc.
70361         * sysdeps/sparc/elf/configure: Regenerate.
70363         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70364         * sysdeps/sparc/sparc32/elf/configure: Delete.
70365         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70366         * sysdeps/sparc/sparc64/elf/configure: Delete.
70367         * sysdeps/sparc/elf/configure.in: New file.
70368         * sysdeps/sparc/elf/configure: Generate.
70370         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70371         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70372         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70373         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70374         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70376 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70378         * manual/install.texi: Do not mention specific glibc version
70379         numbers.
70380         * manual/libc.texinfo (VERSION, UPDATED): Update.
70381         (@copying): Use @copyright{} and range of years.
70383 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70385         [BZ #13695]
70386         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70387         [crti.S not in sysdirs] (generated): Do not append.
70388         [crti.S not in sysdirs] (omit-deps): Likewise.
70389         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70390         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70391         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70392         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70393         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70394         Likewise.
70395         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70396         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70397         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70398         * csu/defs.awk: Remove file.
70399         * sysdeps/generic/initfini.c: Likewise.
70400         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70401         variable.
70402         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70403         Likewise.
70405 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70407         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70408         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70409         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70410         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70411         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70412         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70413         <bits/epoll.h>.
70414         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70415         (__EPOLL_PACKED): Define to empty if not defined by
70416         <bits/epoll.h>.
70417         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70419         bits/epoll.h.
70421 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70423         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70424         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70425         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70426         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70427         <bits/timerfd.h>.
70428         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70430         bits/timerfd.h.
70432 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70434         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70435         in C locale.
70436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70437         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70438         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70441 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70443         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70444         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70446 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70448         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70449         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70450         defined.
70451         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70452         Likewise.
70453         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70454         entry for 2.16.
70456 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70458         * math/w_acos.c: Use non-signaling floating-point comparisons.
70459         * math/w_acosf.c: Likewise.
70460         * math/w_acosh.c: Likewise.
70461         * math/w_acoshf.c: Likewise.
70462         * math/w_acoshl.c: Likewise.
70463         * math/w_acosl.c: Likewise.
70464         * math/w_asin.c: Likewise.
70465         * math/w_asinf.c: Likewise.
70466         * math/w_asinl.c: Likewise.
70467         * math/w_atanh.c: Likewise.
70468         * math/w_atanhf.c: Likewise.
70469         * math/w_atanhl.c: Likewise.
70470         * math/w_exp2.c: Likewise.
70471         * math/w_exp2f.c: Likewise.
70472         * math/w_exp2l.c: Likewise.
70473         * math/w_j0.c: Likewise.
70474         * math/w_j0f.c: Likewise.
70475         * math/w_j0l.c: Likewise.
70476         * math/w_j1.c: Likewise.
70477         * math/w_j1f.c: Likewise.
70478         * math/w_j1l.c: Likewise.
70479         * math/w_jn.c: Likewise.
70480         * math/w_jnf.c: Likewise.
70481         * math/w_log.c: Likewise.
70482         * math/w_log10.c: Likewise.
70483         * math/w_log10f.c: Likewise.
70484         * math/w_log10l.c: Likewise.
70485         * math/w_log2.c: Likewise.
70486         * math/w_log2f.c: Likewise.
70487         * math/w_log2l.c: Likewise.
70488         * math/w_logf.c: Likewise.
70489         * math/w_logl.c: Likewise.
70490         * math/w_sqrt.c: Likewise.
70491         * math/w_sqrtf.c: Likewise.
70492         * math/w_sqrtl.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70495         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70496         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70497         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70499 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70501         [BZ #9739]
70502         * manual/string.texi (strnlen): Use correct parameter name in
70503         equivalent expression.
70505 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70507         [BZ #11174]
70508         * manual/users.texi (seteuid): Consistently use neweuid for
70509         argument name.
70511 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70513         [BZ #13704]
70514         * manual/nss.texi (Services in the NSS configuration): Correct
70515         list of services in example configuration file.
70517 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70519         [BZ #11322]
70520         * manual/arith.texi: Remove statements about negative zero
70521         behaving identically to zero.
70523 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70525         [BZ #5993]
70526         * manual/install.texi: Do not document upgrading from libc5.
70528 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70530         [BZ #4596]
70531         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70533 2012-02-18  David S. Miller  <davem@davemloft.net>
70535         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70536         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70537         %o7 across the call.
70538         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70539         instead.
70540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70541         SETUP_PIC_REG_LEAF.
70542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70543         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70544         * sysdeps/sparc/crtn.S: Likewise.
70546 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70548         * aout/Makefile: Remove.
70550 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70552         [BZ #13058]
70553         * manual/examples/argp-ex1.c (main): Format definition in GNU
70554         style.
70555         * manual/examples/argp-ex2.c (main): Likewise.
70556         * manual/examples/argp-ex3.c (main): Likewise.
70557         * manual/examples/argp-ex4.c (main): Likewise.
70558         * manual/examples/longopt.c (main): Use new-style prototype
70559         definition.
70560         * manual/examples/strncat.c (main): Specify return type and use
70561         (void) for arguments.
70562         * manual/examples/subopt.c (main): Use char **argv argument.
70564 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70566         [BZ #5077]
70567         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70568         rounding modes.
70570 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70572         [BZ #6907]
70573         * manual/string.texi (strchr): Change when strchrnul is
70574         recommended.
70576 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70578         [BZ #174]
70579         * manual/locale.texi (setlocale): Document LOCPATH.
70581 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70583         [BZ #10210]
70584         * manual/process.texi (execle): Move @dots{} before last argument.
70586 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70588         [BZ #12047]
70589         * manual/charset.texi (Generic Charset Conversion): Fix typo
70590         (LC_TYPE -> LC_CTYPE).
70592 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70594         [BZ #5805]
70595         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70596         (scalbnf): Likewise.
70597         (scalbnl): Likewise.
70598         (scalbln): Likewise.
70599         (scalblnf): Likewise.
70600         (scalblnl): Likewise.
70601         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70602         (vwarnx): Likewise.
70603         (verr): Likewise.
70604         (verrx): Likewise.
70605         * manual/filesys.texi (telldir): Use braces around return type.
70606         * manual/llio.texi (mmap): Add space after comma.
70607         (mmap64): Likewise.
70608         * manual/math.texi (jn): Use @var{} on parameter names.
70609         (jnf): Likewise.
70610         (jnl): Likewise.
70611         (yn): Likewise.
70612         (ynf): Likewise.
70613         (ynl): Likewise.
70614         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70615         line.
70616         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70617         "...".
70618         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70619         (sched_get_priority_max): Likewise.
70620         * manual/signal.texi (sigvec): Add space after comma.
70621         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70622         names.
70623         (if_indextoname): Likewise.
70624         (if_freenameindex): Likewise.
70625         (sendto): Use ',' instead of '.' in prototype.
70626         * manual/startup.texi (syscall): Use @dots{} instead of literal
70627         "...".
70628         * manual/stdio.texi (__fpending): Separate initial words of
70629         paragraph from @deftypefun line.
70630         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70631         "...".
70632         (vsyslog): Use @var{} on parameter names.
70633         * manual/terminal.texi (stty): Use @var{} on parameter names.
70634         * manual/users.texi (getutmp): Use @var{} on parameter names.
70635         (getutmpx): Likewise.
70637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70639         [BZ #6884]
70640         * manual/stdio.texi (fopen): Fix typos in description of
70641         ",ccs=STRING".
70643 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70645         [BZ #4026]
70646         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70647         get clock_id definition.
70649 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70651         [BZ #4822]
70652         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70653         (madvise): Cast every argument to void on its own.
70655 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70657         [BZ #9902]
70658         * manual/startup.texi (Exit Status): Fix typo.
70660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70662         [BZ #10140]
70663         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70664         * manual/examples/argp-ex2.c: Likewise.
70665         * manual/examples/argp-ex3.c: Likewise.
70667 2012-02-16  Richard Henderson  <rth@redhat.com>
70669         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70670         * sysdeps/s390/s390-32/initfini.c: Remove.
70671         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70672         * sysdeps/s390/s390-64/initfini.c: Remove.
70674 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70676         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70677         compiler output for sysdeps/generic/initfini.c.
70678         * sysdeps/sh/elf/initfini.c: Remove file.
70680 2012-02-16  David S. Miller  <davem@davemloft.net>
70682         [BZ #11494]
70683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70685         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70686         * sysdeps/sparc/crti.S: New file.
70687         * sysdeps/sparc/crtn.S: New file.
70688         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70689         * sysdeps/sparc/sparc64/Makefile: Likewise.
70691 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70693         [BZ #3335]
70694         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70696 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70698         [BZ #4822]
70699         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70701         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70702         (write, read, close): Likewise.
70703         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70705 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70707         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70708         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70709         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70710         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70711         <bits/signalfd.h>.
70712         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70714         bits/signalfd.h.
70716 2012-02-14  Marek Polacek  <polacek@redhat.com>
70718         * sysdeps/x86_64/crti.S: New file.
70719         * sysdeps/x86_64/crtn.S: New file.
70720         * sysdeps/x86_64/elf/initfini.c: Remove file.
70722 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70724         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70725         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70726         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70727         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70728         <bits/inotify.h>.
70729         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70731         bits/inotify.h.
70733 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70735         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70736         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70737         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70738         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70739         <bits/eventfd.h>.
70740         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70742         bits/eventfd.h.
70744 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70746         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70747         __feraiseexcept instead of feraiseexcept.
70749         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70750         nanosleep invocations.
70751         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70752         strings, and add error checking for a nanosleep invocations.
70754 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70756         Replace FSF snail mail address with URLs, as per GNU coding standards.
70757         Most of the snail mail addresses were wrong anyway, and omitting
70758         them makes the source code easier to maintain.  Almost all of the
70759         changes are to license notices and to locale LC_IDENTIFICATION
70760         addresses, except for this one:
70761         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70762         not its snail mail address.
70764 2012-02-09  Richard Henderson  <rth@twiddle.net>
70766         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70767         of kernel-features.h.
70769         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70771 2012-02-08  Marek Polacek  <polacek@redhat.com>
70773         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70774         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70775         * sysdeps/gnu/_G_config.h: Likewise.
70776         * sysdeps/generic/_G_config.h: Likewise.
70778 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70780         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70781         tests.
70782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70784         * sysdeps/powerpc/powerpc32/crti.S: New file.
70785         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70786         * sysdeps/powerpc/powerpc64/crti.S: New file.
70787         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70789         * Makeconfig (have-initfini): Don't set.
70790         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70791         * configure.in (nopic_initfini): Don't substitute.
70792         * config.h.in (HAVE_INITFINI): Don't #undef.
70793         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70794         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70796 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70798         Support crti.S and crtn.S provided directly by architectures.
70799         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70800         [crti.S in sysdirs] (omit-deps): Likewise.
70801         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70802         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70803         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70804         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70805         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70806         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70807         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70808         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70809         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70810         compiler output for sysdeps/generic/initfini.c.
70811         * sysdeps/i386/elf/Makefile: Remove file.
70812         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70814 2012-02-07  Marek Polacek  <polacek@redhat.com>
70816         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70817         * sysdeps/gnu/_G_config.h: Likewise.
70818         * sysdeps/mach/hurd/_G_config.h: Likewise.
70820 2012-02-07  Marek Polacek  <polacek@redhat.com>
70822         * math/Makefile (tests): Add tst-CMPLX2.
70823         * math/tst-CMPLX2.c: New file.
70825 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70827         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70829         * math/libm-test.inc (jn_test): Add missing L suffix.
70831 2012-02-06  Marek Polacek  <polacek@redhat.com>
70833         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70834         * sysdeps/i386/fpu/e_powf.S: Likewise.
70835         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70836         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70837         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70838         * sysdeps/i386/fpu/e_pow.S: Likewise.
70839         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70840         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70841         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70842         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70843         * sysdeps/i386/fpu/e_log2.S: Likewise.
70844         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70846         * sysdeps/i386/fpu/e_powl.S: Likewise.
70847         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70848         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70849         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70850         * sysdeps/i386/fpu/e_logl.S: Likewise.
70851         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70852         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70853         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70854         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70855         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70856         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70857         * sysdeps/i386/fpu/e_log.S: Likewise.
70858         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70859         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70860         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70861         * sysdeps/i386/fpu/e_logf.S: Likewise.
70862         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70863         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70864         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70865         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70866         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70867         * sysdeps/i386/fpu/e_log10.S: Likewise.
70868         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70869         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70870         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70871         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70872         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70873         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70874         * sysdeps/i386/asm-syntax.h: Likewise.
70875         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70876         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70877         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70878         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70879         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70880         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70881         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70882         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70883         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70884         * sysdeps/powerpc/sysdep.h: Likewise.
70885         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70886         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70888 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70890         [BZ #411]
70891         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70893 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70895         * sysdeps/i386/sysdep.h: Include <features.h>.
70896         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70897         version.
70899 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70901         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70902         Define.
70903         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70904         LOAD_PIC_REG_STR.
70906 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70908         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70909         (SETUP_PIC_REG): Use GET_PC_THUNK.
70910         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70911         macro.
70913 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70915         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70916         for non-PIC compilation.
70917         (SETUP_PIC_REG): Add .p2align directive.
70918         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70919         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70920         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70921         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70922         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70923         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70924         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70926         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70927         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70928         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70929         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70930         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70931         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70932         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70933         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70934         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70935         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70936         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70937         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70938         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70939         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70940         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70941         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70942         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70944         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70945         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70946         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70947         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70948         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70949         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70950         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70951         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70952         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70953         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70954         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70955         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70956         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70958         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70960 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70962         * math/tst-CMPLX.c: Include <stdio.h>.
70964 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70966         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70967         float.
70968         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70969         * sysdeps/sparc/bits/mathdef.h: Likewise.
70971 2012-01-31  Marek Polacek  <polacek@redhat.com>
70973         * libio/libio.h: Don't define _PARAMS.
70974         * locale/programs/config.h: Don't define PARAMS.
70975         * stdlib/strtol_l.c: Likewise.
70976         (__strtol_l): Remove PARAMS from the prototype.
70978 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70980         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70981         names.  Just use the correct names.  Remove unnecessary wrapper
70982         functions.
70983         * malloc/arena.c: Likewise.
70984         * malloc/hooks.c: Likewise.
70986         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70987         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70988         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70990 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70992         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70993         into tail calls.
70994         (update_get_addr): New function.
70995         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70996         GET_ADDR_MODULE parameter.
70998 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71000         * crypt/cert.c: Remove __STDC__ conditionals.
71001         * crypt/crypt-entry.c: Likewise.
71002         * crypt/crypt_util.c: Likewise.
71003         * libio/filedoalloc.c: Likewise.
71004         * libio/fileops.c: Likewise.
71005         * libio/genops.c: Likewise.
71006         * libio/iofclose.c: Likewise.
71007         * libio/iofdopen.c: Likewise.
71008         * libio/iofopen.c: Likewise.
71009         * libio/iofopen64.c: Likewise.
71010         * libio/iogetdelim.c: Likewise.
71011         * libio/iopopen.c: Likewise.
71012         * libio/obprintf.c: Likewise.
71013         * libio/oldfileops.c: Likewise.
71014         * libio/oldiofclose.c: Likewise.
71015         * libio/oldiofdopen.c: Likewise.
71016         * libio/oldiofopen.c: Likewise.
71017         * libio/oldiopopen.c: Likewise.
71018         * libio/wfiledoalloc.c: Likewise.
71019         * libio/wgenops.c: Likewise.
71020         * locale/programs/xmalloc.c: Likewise.
71021         * misc/syslog.c: Likewise.
71022         * stdio-common/xbug.c: Likewise.
71023         * string/memchr.c: Likewise.
71024         * string/memcmp.c: Likewise.
71025         * string/memrchr.c: Likewise.
71026         * string/rawmemchr.c: Likewise.
71027         * sysdeps/posix/getcwd.c: Likewise.
71028         * time/strftime_l.c: Likewise.
71030 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71032         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71033         * config.make.in (config-cflags-sse2avx): Define.
71034         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71035         Fix typo.
71037 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71039         * scripts/config.guess: Update from upstream config git repository.
71040         * scripts/config.sub: Likewise.
71042 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71044         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71045         (EM_NUM): Update.
71046         (R_TILEPRO_*, R_TILEGX_*): New macros.
71048         * scripts/firstversions.awk: Fix bug in version range handling.
71050         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71052         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71054         * include/sys/epoll.h: New file.
71055         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71056         libc_hidden_def.
71058 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71060         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71061         Avoid unnecessary __WORDSIZE == 64 test.
71062         (fmaxf): Use VEX format if possible.
71063         (fmax): Likewise.
71064         (fminf): Likewise.
71065         (fmin): Likewise.
71067         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71068         * math/math_private.h: Remove libc_fegetround* and
71069         libc_fesetround*.
71070         * sysdeps/i386/configure.in: Check for -msse2avx.
71071         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71072         also if SSE2AVX is defined.
71073         Remove libc_fegetround* and libc_fesetround*.
71074         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71075         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71076         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71077         of HAS_YMM_USABLE.
71078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71080         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71081         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71082         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71084         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71086 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71088         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71089         size is not set.
71090         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71092 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71094         [BZ #13618]
71095         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71096         relocation.
71097         * Makeconfig (libm): Define.
71098         * elf/Makefile: Add rules to build and run tst-relsort1.
71099         * elf/tst-relsort1.c: New file.
71100         * elf/tst-relsort1mod1.c: New file.
71101         * elf/tst-relsort1mod2.c: New file.
71103 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71105         * math/s_ldexp.c: Remove __STDC__ conditionals.
71106         * math/s_ldexpf.c: Likewise.
71107         * math/s_ldexpl.c: Likewise.
71108         * math/s_nextafter.c: Likewise.
71109         * math/s_nexttowardf.c: Likewise.
71110         * math/s_significand.c: Likewise.
71111         * math/s_significandf.c: Likewise.
71112         * math/s_significandl.c: Likewise.
71113         * math/w_jnl.c: Likewise.
71114         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71115         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71116         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71117         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71118         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71119         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71120         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71121         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71122         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71123         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71126         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71127         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71130         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71131         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71133         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71134         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71135         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71136         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71137         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71138         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71139         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71141         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71142         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71143         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71144         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71145         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71146         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71147         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71148         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71149         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71150         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71151         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71152         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71153         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71154         * sysdeps/ieee754/k_standard.c: Likewise.
71155         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71156         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71157         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71158         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71159         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71160         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71161         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71162         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71163         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71164         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71165         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71166         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71167         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71168         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71169         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71172         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71173         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71174         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71175         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71176         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71177         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71178         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71179         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71180         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71184         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71185         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71186         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71187         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71188         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71189         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71190         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71191         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71193         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71194         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71195         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71196         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71197         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71199         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71200         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71201         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71203         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71204         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71205         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71206         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71207         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71208         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71209         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71210         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71211         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71212         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71213         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71214         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71215         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71216         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71217         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71218         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71219         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71220         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71221         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71222         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71223         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71224         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71225         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71226         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71227         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71228         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71229         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71230         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71231         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71232         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71233         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71234         * sysdeps/ieee754/s_matherr.c: Likewise.
71235         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71236         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71237         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71238         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71240 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71242         * crypt/md5.h: Remove __STDC__ conditionals.
71243         * libio/libioP.h: Likewise.
71244         * locale/programs/config.h: Likewise.
71245         * sysdeps/generic/sysdep.h: Likewise.
71246         * sysdeps/i386/asm-syntax.h: Likewise.
71247         * sysdeps/s390/asm-syntax.h: Likewise.
71248         * sysdeps/unix/sysdep.h: Likewise.
71249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71252 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71254         * libio/libio.h: Remove __STDC__ conditionals.
71255         * malloc/obstack.h: Likewise.
71256         * math/complex.h: Likewise.
71257         * math/math.h: Likewise.
71258         * sysdeps/generic/_G_config.h: Likewise.
71259         * sysdeps/gnu/_G_config.h: Likewise.
71260         * sysdeps/mach/hurd/_G_config.h: Likewise.
71261         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71262         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71263         * sysdeps/sparc/bits/mathdef.h: Likewise.
71265 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71267         [BZ #13583]
71268         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71269         Clean up HAS_* macros.
71270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71271         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71272         possible.
71273         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71274         HAS_AVX.
71275         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71276         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71277         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71278         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71279         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71281 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71283         * elf/tst-unique3.cc (gets): Remove declaration.
71284         * elf/tst-unique3lib.cc (gets): Likewise.
71285         * elf/tst-unique3lib2.cc (gets): Likewise.
71286         * elf/tst-unique4.cc (gets): Likewise.
71288 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71290         * include/stdio.h: Add C++ protection.  Add gets declarations and
71291         definitions.
71292         * debug/tst-chk1.c: Don't declare gets here.
71293         * stdio-common/tst-gets.c: Likewise.
71295 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71297         * posix/glob: Remove directory.
71299 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71301         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71303 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71305         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71306         of the non-standard EPFNOSUPPORT.
71308 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71310         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71311         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71312         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71314 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71316         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71318 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71320         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71321         transient errors.
71322         * nscd/grpcache.c (cache_addgr): Likewise.
71323         * nscd/hstcache.c (cache_addhst): Likewise.
71324         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71325         * nscd/pwdcache.c (cache_addpw): Likewise.
71326         * nscd/servicescache.c (cache_addserv): Likewise.
71328 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71330         * malloc/malloc.c: Various cleanups.
71331         * malloc/hooks.c: Likewise.
71333         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71334         * stdlib/bug-fmtmsg1.c: New file.
71336         * stdlib/fmtmsg.c (init): Add missing unlock.
71337         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71339 2012-01-12  Marek Polacek  <polacek@redhat.com>
71341         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71342         and _GNU_SOURCE.
71344 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71346         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71347         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71348         macro to ensure uniqueness of label name.
71349         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71350         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71352 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71354         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71356         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71357         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71358         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71359         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71361 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71363         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71365         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71366         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71367         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71369         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71371         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71372         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71373         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71376         * math/bits/math-finite.h: Add ldexp support.
71378 2012-01-10  Marek Polacek  <polacek@redhat.com>
71380         * locale/programs/localedef.h (show_archive_content): Add noreturn
71381         attribute.
71383 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71385         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71387 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71389         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71391         * io/Makefile (headers): Add bits/poll2.h.
71393 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71396         typo #include statement.
71398 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71400         * include/sys/cdefs.h: Define __attribute_alloc_size.
71401         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71402         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71403         * elf/pldd.c: Likewise.
71404         * iconv/iconv_charmap.c: Likewise.
71405         * iconv/iconvconfig.c: Likewise.
71406         * iconv/strtab.c: Likewise.
71407         * locale/programs/locale.c: Likewise.
71408         * locale/programs/localedef.h: Likewise.
71409         * locale/programs/simple-hash.c: Likewise.
71410         * nscd/nscd.h: Likewise.
71411         * nss/makedb.c: Likewise.
71412         * sysdeps/generic/ldconfig.h: Likewise.
71413         * locale/programs/localedef.c: Remove xmalloc prototype.
71414         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71416 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71418         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71419         appropriate.
71421 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71423         * math/Makefile (tests): Add tst-CMPLX.
71424         * math/tst-CMPLX.c: New file.
71426         * math/complex.h (CMPLXL): Fix typo.
71428         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71429         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71430         GLIBC_2.16.
71431         * debug/tst-chk1.c: Add poll and ppoll tests.
71432         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71433         * include/sys/poll.h: Add hidden proto for ppoll.
71434         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71435         * sysdeps/mach/hurd/ppoll.c: Likewise.
71436         * io/ppoll.c: Likewise.
71437         * debug/poll_chk.c: New file.
71438         * debug/ppoll_chk.c: New file.
71439         * include/bits/poll2.h: New file.
71440         * io/bits/poll2.h: New file.
71442         [BZ #1350]
71443         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71445         * configure.in: static is always set to yes.  Remove.
71446         * config.make.in: Don't set build-static.
71447         * Makeconfig: Remove use of build-static.
71448         * dlfcn/Makefile: Likewise.
71449         * elf/Makefile: Likewise.
71450         * math/Makefile: Likewise.
71451         * misc/Makefile: Likewise.
71452         * nptl/Makefile: Likewise.
71453         * sysdeps/mach/hurd/Makefile: Likewise.
71455         * configure.in: PWD_P is not used anymore.
71456         * config.make.in: Remove PWD_P entry.
71458         * configure.in: Remove last remnants of RANLIB.
71459         No need to check for signed size_t anymore.
71460         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71461         and IA-64.
71462         Remove __builtin_expect test because we require at least gcc 3.4.
71463         * aclocal.m4: Likewise.
71465         * wcsmbs/mbrtoc16.c: Implement using towc function.
71466         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71467         * wcsmbs/wcsmbsload.c: Likewise.
71468         * iconv/gconv_simple.c: Likewise.
71469         * iconv/gconv_int.h: Likewise.
71470         * iconv/gconv_builtin.h: Likewise.
71471         * iconv/iconv_prog.c: Remove CHAR16 handling.
71473         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71475         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71477         * configure.in: Remove --with-elf and --enable-bounded options.
71478         Dont set base_machine for ia64.  More non-ELF conditions removed.
71479         Remove testing and setting of leading underscore information.
71480         * config.make.in (build-bounded): Set to no.
71481         * config.h.in: Remove NO_UNDERSCORES entry.
71482         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71483         them.
71484         * csu/start.c: Remove !NO_UNDERSCORE code.
71485         * locale/localeinfo.h: Likewise.
71486         * sysdeps/generic/machine-gmon.h: Likewise.
71487         * sysdeps/generic/sysdep.h: Likewise.
71488         * sysdeps/i386/sysdep.h: Likewise.
71489         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71490         * sysdeps/mach/sysdep.h: Likewise.
71491         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71492         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71493         * sysdeps/sh/sysdep.h: Likewise.
71494         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71495         * sysdeps/unix/i386/sysdep.S: Likewise.
71496         * sysdeps/unix/sparc/start.c: Likewise.
71497         * sysdeps/unix/sparc/sysdep.S: Likewise.
71498         * sysdeps/unix/sparc/sysdep.h: Likewise.
71499         * sysdeps/unix/start.c: Likewise.
71500         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71501         * sysdeps/x86_64/sysdep.h: Likewise.
71503 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71505         [BZ #13553]
71506         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71507         for non-gcc.
71508         * argp/argp-fmtstream.h: Use const instead __const.
71509         * argp/argp.h: Likewise.
71510         * assert/assert.h: Likewise.
71511         * bits/fenv.h: Likewise.
71512         * bits/sched.h: Likewise.
71513         * bits/sigset.h: Likewise.
71514         * bits/sigthread.h: Likewise.
71515         * catgets/nl_types.h: Likewise.
71516         * conform/data/pthread.h-data: Likewise.
71517         * crypt/crypt-private.h: Likewise.
71518         * crypt/crypt.h: Likewise.
71519         * crypt/crypt_util.c: Likewise.
71520         * ctype/ctype.h: Likewise.
71521         * debug/execinfo.h: Likewise.
71522         * debug/mbsnrtowcs_chk.c: Likewise.
71523         * debug/mbsrtowcs_chk.c: Likewise.
71524         * debug/wcsnrtombs_chk.c: Likewise.
71525         * debug/wcsrtombs_chk.c: Likewise.
71526         * debug/wcstombs_chk.c: Likewise.
71527         * dirent/dirent.h: Likewise.
71528         * dlfcn/dlfcn.h: Likewise.
71529         * elf/neededtest4.c: Likewise.
71530         * grp/grp.h: Likewise.
71531         * gshadow/gshadow.h: Likewise.
71532         * iconv/gconv.h: Likewise.
71533         * iconv/gconv_int.h: Likewise.
71534         * iconv/gconv_simple.c: Likewise.
71535         * iconv/iconv.h: Likewise.
71536         * iconv/loop.c: Likewise.
71537         * iconv/skeleton.c: Likewise.
71538         * include/aio.h: Likewise.
71539         * include/aliases.h: Likewise.
71540         * include/argz.h: Likewise.
71541         * include/arpa/inet.h: Likewise.
71542         * include/assert.h: Likewise.
71543         * include/dirent.h: Likewise.
71544         * include/dlfcn.h: Likewise.
71545         * include/execinfo.h: Likewise.
71546         * include/fcntl.h: Likewise.
71547         * include/fenv.h: Likewise.
71548         * include/glob.h: Likewise.
71549         * include/grp.h: Likewise.
71550         * include/libintl.h: Likewise.
71551         * include/mntent.h: Likewise.
71552         * include/netdb.h: Likewise.
71553         * include/pwd.h: Likewise.
71554         * include/rpc/netdb.h: Likewise.
71555         * include/sched.h: Likewise.
71556         * include/search.h: Likewise.
71557         * include/shadow.h: Likewise.
71558         * include/signal.h: Likewise.
71559         * include/stdio.h: Likewise.
71560         * include/stdlib.h: Likewise.
71561         * include/string.h: Likewise.
71562         * include/sys/socket.h: Likewise.
71563         * include/sys/stat.h: Likewise.
71564         * include/sys/statfs.h: Likewise.
71565         * include/sys/statvfs.h: Likewise.
71566         * include/sys/syslog.h: Likewise.
71567         * include/sys/time.h: Likewise.
71568         * include/sys/uio.h: Likewise.
71569         * include/time.h: Likewise.
71570         * include/unistd.h: Likewise.
71571         * include/utmp.h: Likewise.
71572         * include/wchar.h: Likewise.
71573         * include/wctype.h: Likewise.
71574         * inet/aliases.h: Likewise.
71575         * inet/arpa/inet.h: Likewise.
71576         * inet/netinet/ether.h: Likewise.
71577         * inet/netinet/in.h: Likewise.
71578         * intl/libintl.h: Likewise.
71579         * io/bits/fcntl2.h: Likewise.
71580         * io/fcntl.h: Likewise.
71581         * io/ftw.h: Likewise.
71582         * io/sys/poll.h: Likewise.
71583         * io/sys/stat.h: Likewise.
71584         * io/sys/statfs.h: Likewise.
71585         * io/sys/statvfs.h: Likewise.
71586         * io/utime.h: Likewise.
71587         * libio/bits/stdio.h: Likewise.
71588         * libio/bits/stdio2.h: Likewise.
71589         * libio/libio.h: Likewise.
71590         * libio/libioP.h: Likewise.
71591         * libio/stdio.h: Likewise.
71592         * locale/lc-ctype.c: Likewise.
71593         * locale/locale.h: Likewise.
71594         * login/utmp.h: Likewise.
71595         * malloc/arena.c: Likewise.
71596         * malloc/malloc.c: Likewise.
71597         * malloc/malloc.h: Likewise.
71598         * malloc/mcheck.c: Likewise.
71599         * malloc/mtrace.c: Likewise.
71600         * math/bits/mathcalls.h: Likewise.
71601         * math/fenv.h: Likewise.
71602         * math/math_private.h: Likewise.
71603         * misc/bits/error.h: Likewise.
71604         * misc/bits/syslog.h: Likewise.
71605         * misc/err.h: Likewise.
71606         * misc/error.h: Likewise.
71607         * misc/fstab.h: Likewise.
71608         * misc/mntent.h: Likewise.
71609         * misc/regexp.h: Likewise.
71610         * misc/search.h: Likewise.
71611         * misc/sgtty.h: Likewise.
71612         * misc/sys/mman.h: Likewise.
71613         * misc/sys/syslog.h: Likewise.
71614         * misc/sys/uio.h: Likewise.
71615         * misc/sys/xattr.h: Likewise.
71616         * misc/ttyent.h: Likewise.
71617         * nis/rpcsvc/ypclnt.h: Likewise.
71618         * nss/nss.h: Likewise.
71619         * posix/bits/unistd.h: Likewise.
71620         * posix/fnmatch.h: Likewise.
71621         * posix/glob.h: Likewise.
71622         * posix/sched.h: Likewise.
71623         * posix/spawn.h: Likewise.
71624         * posix/sys/wait.h: Likewise.
71625         * posix/unistd.h: Likewise.
71626         * posix/wordexp.h: Likewise.
71627         * pwd/pwd.h: Likewise.
71628         * resolv/netdb.h: Likewise.
71629         * resource/sys/resource.h: Likewise.
71630         * rt/aio.h: Likewise.
71631         * rt/bits/mqueue2.h: Likewise.
71632         * rt/mqueue.h: Likewise.
71633         * shadow/shadow.h: Likewise.
71634         * signal/signal.h: Likewise.
71635         * socket/send.c: Likewise.
71636         * socket/sendto.c: Likewise.
71637         * socket/sys/socket.h: Likewise.
71638         * stdio-common/printf.h: Likewise.
71639         * stdlib/bits/stdlib.h: Likewise.
71640         * stdlib/fmtmsg.h: Likewise.
71641         * stdlib/monetary.h: Likewise.
71642         * stdlib/stdlib.h: Likewise.
71643         * stdlib/ucontext.h: Likewise.
71644         * streams/stropts.h: Likewise.
71645         * string/argz.h: Likewise.
71646         * string/bits/string2.h: Likewise.
71647         * string/string.h: Likewise.
71648         * string/strings.h: Likewise.
71649         * sunrpc/rpc/auth.h: Likewise.
71650         * sunrpc/rpc/auth_des.h: Likewise.
71651         * sunrpc/rpc/clnt.h: Likewise.
71652         * sunrpc/rpc/netdb.h: Likewise.
71653         * sunrpc/rpc/pmap_clnt.h: Likewise.
71654         * sunrpc/rpc/xdr.h: Likewise.
71655         * sysdeps/generic/inttypes.h: Likewise.
71656         * sysdeps/generic/net/if.h: Likewise.
71657         * sysdeps/generic/sys/swap.h: Likewise.
71658         * sysdeps/gnu/net/if.h: Likewise.
71659         * sysdeps/gnu/utmpx.h: Likewise.
71660         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71661         * sysdeps/i386/i486/bits/string.h: Likewise.
71662         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71663         * sysdeps/s390/bits/string.h: Likewise.
71664         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71665         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71666         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71667         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71668         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71669         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71670         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71671         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71672         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71673         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71674         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71675         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71676         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71677         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71678         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71679         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71680         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71682         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71683         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71684         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71685         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71686         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71687         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71688         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71689         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71690         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71691         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71692         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71693         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71694         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71695         * sysvipc/sys/ipc.h: Likewise.
71696         * sysvipc/sys/msg.h: Likewise.
71697         * sysvipc/sys/sem.h: Likewise.
71698         * sysvipc/sys/shm.h: Likewise.
71699         * termios/termios.h: Likewise.
71700         * time/sys/time.h: Likewise.
71701         * time/time.h: Likewise.
71702         * wcsmbs/bits/wchar2.h: Likewise.
71703         * wcsmbs/uchar.h: Likewise.
71704         * wcsmbs/wchar.h: Likewise.
71705         * wctype/wctype.h: Likewise.
71707         [BZ #13551]
71708         * Makeconfig: Remove all but ELF support including AIX support.
71709         * Makerules: Likewise.
71710         * config.h.in: Likewise.
71711         * config.make.in: Likewise.
71712         * configure: Likewise.
71713         * configure.in: Likewise.
71714         * csu/Makefile: Likewise.
71715         * csu/version.c: Likewise.
71716         * debug/Makefile: Likewise.
71717         * dlfcn/Makefile: Likewise.
71718         * elf/Makefile: Likewise.
71719         * extra-lib.mk: Likewise.
71720         * iconv/Makefile: Likewise.
71721         * include/libc-symbols.h: Likewise.
71722         * include/shlib-compat.h: Likewise.
71723         * resolv/Makefile: Likewise.
71724         * resolv/res_libc.c: Likewise.
71725         * rt/Makefile: Likewise.
71726         * sysdeps/i386/asm-syntax.h: Likewise.
71727         * sysdeps/i386/sysdep.h: Likewise.
71728         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71729         * sysdeps/mach/sysdep.h: Likewise.
71730         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71731         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71732         * sysdeps/s390/asm-syntax.h: Likewise.
71733         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71734         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71735         * sysdeps/sh/sysdep.h: Likewise.
71736         * sysdeps/unix/sparc/sysdep.h: Likewise.
71737         * sysdeps/wordsize-32/divdi3.c: Likewise.
71738         * sysdeps/x86_64/sysdep.h: Likewise.
71740         * argp/Versions: Remove _argp_unlock_xxx.
71742         [BZ #13559]
71743         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71744         * abilist/libBrokenLocale.abilist: Likewise.
71745         * abilist/libanl.abilist: Likewise.
71746         * abilist/libc.abilist: Likewise.
71747         * abilist/libcrypt.abilist: Likewise.
71748         * abilist/libdl.abilist: Likewise.
71749         * abilist/libm.abilist: Likewise.
71750         * abilist/libnsl.abilist: Likewise.
71751         * abilist/libpthread.abilist: Likewise.
71752         * abilist/libresolv.abilist: Likewise.
71753         * abilist/librt.abilist: Likewise.
71754         * abilist/libthread_db.abilist: Likewise.
71755         * abilist/libutil.abilist: Likewise.
71756         * abilist/libnss_db.abilist: New file.
71758         * scripts/abilist.awk: Add support for indirect functions.
71760         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71762         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71764         * shlib-versions: Remove entries for ports architectures.
71766         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71767         files in ports.
71768         * elf/stackguard-macros.h: Remove support for IA-64.
71769         * elf/tst-auditmod1.c: Likewise.
71770         * sysdeps/generic/ldsodefs.h: Likewise.
71772         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71773         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71774         configure files.
71776         [BZ #13552]
71777         * configure.in: Remove --enable-omitfp support.
71778         * FAQ.in: Adjust.
71779         * config.make.in: Likewise.
71780         * Makeconfig: Likewise.
71781         * manual/install.texi: Likewise.
71783         In case anyone cares, the IA-64 architecture could move to ports.
71784         * sysdeps/ia64/*: Removed.
71785         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71786         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71788         [BZ #13555]
71789         * configure.in: Remove entries for unsupported architectures.
71791         [BZ #13533]
71792         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71793         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71794         routines.
71795         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71796         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71797         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71798         fall back to using wcrtomb.
71799         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71800         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71801         renaming.
71802         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71803         * wcsmbs/tst-c16c32-1.c: New file.
71805         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71806         local variable.
71808         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71810         * elf/tst-unique3.cc: Add explicit declaration of gets.
71811         * elf/tst-unique3lib.cc: Likewise.
71812         * elf/tst-unique3lib2.cc: Likewise.
71813         * elf/tst-unique4.cc: Likewise.
71815         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71817 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71819         [BZ #13566]
71820         * assert/assert.h (static_assert): Don't define for C++.
71821         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71822         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71824 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71826         * iconv/loop.c (single loop): Fix assertion in storing of
71827         remaining bytes.
71829         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71831 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71833         * posix/getconf.c: Update copyright year.
71834         * nss/getent.c: Likewise.
71835         * nss/makedb.c: Likewise.
71836         * iconv/iconvconfig.c: Likewise.
71837         * iconv/iconv_prog.c: Likewise.
71838         * elf/ldconfig.c: Likewise.
71839         * elf/pldd.c: Likewise.
71840         * elf/sotruss.ksh: Likewise.
71841         * catgets/gencat.c: Likewise.
71842         * csu/version.c: Likewise.
71843         * elf/ldd.bash.in: Likewise.
71844         * elf/sprof.c (print_version): Likewise.
71845         * locale/programs/locale.c: Likewise.
71846         * locale/programs/localedef.c: Likewise.
71847         * login/programs/pt_chown.c: Likewise.
71848         * nscd/nscd.c (print_version): Likewise.
71849         * debug/xtrace.sh: Likewise.
71850         * malloc/memusage.sh: Likewise.
71851         * malloc/mtrace.pl: Likewise.
71852         * debug/catchsegv.sh: Likewise.
71854 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71856         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71857         pure attribute.
71859 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71861         [BZ #13533]
71862         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71863         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71864         transformations.
71865         * iconv/gconv_int.h: Likewise.
71866         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71867         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71868         from libc for GLIBC_2.16.
71869         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71870         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71871         * wcsmbs/uchar.h: Really define mbstate_t.
71872         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71873         * wcsmbs/c16rtomb.c: New file.
71874         * wcsmbs/mbrtoc16.c: New file.
71875         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71876         for C/POSIX locale.
71877         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71878         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71880         * wcsmbs/wchar.h: Add missing __restrict.
71882 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71884         [BZ #13532]
71885         * time/Makefile (routines): Add timespec_get.
71886         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71887         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71888         timespec for ISO C11.
71889         * time/timespec_get.c: New file.
71890         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71891         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71893         [BZ #13531]
71894         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71895         * stdlib/stdlib.h: Declare aligned_alloc.
71896         * Versions.def: Add GLIBC_2.16 for libc.
71897         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71899         [BZ 13527]
71900         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71901         ISO C11.
71903         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71904         code.
71906         [BZ #13528]
71907         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71909         [BZ #13529]
71910         * assert/assert.h (static_assert): Define.
71912         * version.h: Update for 2.16 development version.
71914         [BZ #13526]
71915         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71916         _ISOC11_SOURCE.
71918         * version.h (RELEASE): Bump for 2.15 release.
71919         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71921         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71922         Patch by Marek Polacek <mpolacek@redhat.com>.
71924         * bits/byteswap.h: Protect long long constants with __extension__.
71925         * sysdeps/i386/bits/byteswap.h: Likewise.
71926         * sysdeps/ia64/bits/byteswap.h: Likewise.
71927         * sysdeps/s390/bits/byteswap.h: Likewise.
71928         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71930 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71932         [BZ #13540]
71933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71934         destination buffer.
71935         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71937 2011-12-23  Marek Polacek  <polacek@redhat.com>
71939         * elf/dl-addr.c (determine_info): Add inline keyword.
71940         * elf/tst-auditmod4b.c (check_avx): Likewise.
71941         * elf/tst-auditmod6b.c (check_avx): Likewise.
71942         * elf/tst-auditmod6c.c (check_avx): Likewise.
71943         * elf/tst-auditmod7b.c (check_avx): Likewise.
71945 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71947         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71948         !__SSE_MATH__.
71950 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71952         [BZ #13540]
71953         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71954         processing for last bytes.
71956 2011-08-06  Bruno Haible  <bruno@clisp.org>
71958         [BZ #13061]
71959         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71960         U+0385, not to U+1FEE.
71962         [BZ #13062]
71963         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71964         entry for U+00A5 U+0301.
71966 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71968         [BZ #13166]
71969         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71970         buffer for the output is too small.
71972         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71973         optimization.
71975         [BZ #13185]
71976         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71977         SSE flags if possible.
71979 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71981         [BZ #13540]
71982         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71983         processing for last bytes.
71985 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71987         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71988         (syscall-list-default-options, syscall-list-default-condition)
71989         (syscall-list-includes): Define.
71990         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71991         list of ABIs and options and #if conditions for each ABI.  Do not
71992         handle common syscalls between ABIs specially.
71993         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71994         Remove.
71995         (syscall-list-variants, syscall-list-32bit-options)
71996         (syscall-list-32bit-condition, syscall-list-64bit-options)
71997         (syscall-list-64bit-condition): Define.
71998         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71999         (syscall-list-variants, syscall-list-32bit-options)
72000         (syscall-list-32bit-condition, syscall-list-64bit-options)
72001         (syscall-list-64bit-condition): Define.
72002         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72003         Remove.
72004         (syscall-list-variants, syscall-list-32bit-options)
72005         (syscall-list-32bit-condition, syscall-list-64bit-options)
72006         (syscall-list-64bit-condition): Define.
72007         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72008         Remove.
72009         (syscall-list-variants, syscall-list-32bit-options)
72010         (syscall-list-32bit-condition, syscall-list-64bit-options)
72011         (syscall-list-64bit-condition): Define.
72013 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72015         * locale/iso-639.def: Add brx entry.
72017         [BZ #13328]
72018         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72019         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72021         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72022         __feraiseexcept_renamed.
72024 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72026         [BZ #13538]
72027         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72028         EPOLLET with unsigned values.
72029         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72030         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72032         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72033         to large cancellation.
72034         * math/s_cacoshf.c: Likewise.
72035         * math/s_cacoshl.c: Likewise.
72037 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72039         [BZ #13305]
72040         [BZ #12786]
72041         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72042         * math/s_cacoshf.c: Likewise.
72043         * math/s_cacoshl.c: Likewise.
72045 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72047         [BZ #13439]
72048         * iconv/gconv.h: Define __GCONV_SWAP.
72049         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72050         * iconvdata/utf-16.c: Likewise.
72051         * iconvdata/utf-32.c: Likewise.
72053 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72055         [BZ #13524]
72056         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72057         numerator after shifting it by one limb.
72059 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72061         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72062         under [__USE_EXTERN_INLINES].
72064 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72066         [BZ #13446]
72067         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72069 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72071         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72072         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72073         optimized code.
72074         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72075         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72076         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72077         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72078         for strncasecmp/strncasecmp_l compilation.
72079         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72080         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72082 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72084         [BZ #13484]
72085         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72086         of __asm__.
72088 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72090         [BZ #13506]
72091         * time/tzfile.c (__tzfile_read): Check values from file header.
72093 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72095         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72096         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72097         * powerpc/powerpc32/dl-start.S: Likewise.
72098         * powerpc/powerpc32/elf/start.S: Likewise.
72099         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72100         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72101         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72102         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72103         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72104         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72105         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72106         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72107         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72108         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72109         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72110         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72111         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72112         * powerpc/powerpc32/memset.S: Likewise.
72113         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72114         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72115         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72116         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72117         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72118         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72119         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72120         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72121         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72122         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72123         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72124         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72125         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72127 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72129         * math/libm-test.inc: Added more nearbyint tests.
72130         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72132         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72135 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72137         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72138         FD_CLOEXEC.
72140 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72142         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72143         Add wcscpy-ssse3 wcscpy-c.
72144         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72145         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72146         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72147         * sysdeps/x86_64/wcschr.S: New file.
72148         * sysdeps/x86_64/wcsrchr.S: New file.
72149         * string/test-strcmp.c: Remove checking of wcscmp function for
72150         wrong alignments.
72151         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72152         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72153         wcsrchr-sse2 wcsrchr-c.
72154         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72155         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72156         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72157         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72158         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72159         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72160         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72161         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72162         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72163         * wcsmbc/wcschr.c (WCSCHR): New macro.
72165 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72167         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72168         * wcsmbs/test-wcsrchr.c: New file.
72169         * string/test-strrchr.c: Add wcsrchr support.
72170         (WIDE): New macro.
72171         * wcsmbs/test-wcscpy.c: New file.
72172         * string/test-strcpy.c: Add wcscpy support.
72173         (WIDE): New macro.
72175 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72177         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72178         the inner loop.
72180 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72182         [BZ #13472]
72183         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72185 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72187         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72188         Minor optimizations.
72190         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72191         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72192         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72194 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72196         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72197         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72198         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72199         for gcc to avoid warnings.
72200         * inet/Makefile (tests): Add tst-checks.
72201         * inet/tst-checks.c: New file.
72203         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72204         warning.
72206         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72207         __wmemcmp_sse2.
72209         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72210         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72212         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72214 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72216         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72217         problem.
72219         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72221 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72223         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72224         conditional on GCC version.
72225         (__arch_compare_and_exchange_val_8_acq)
72226         (__arch_compare_and_exchange_val_16_acq)
72227         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72228         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72229         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72231 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72233         * sysdeps/sh/backtrace.c: New file.
72235 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72237         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72238         parenthesis.
72240 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72242         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72243         falling back to utime.
72245 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72247         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72248         expectations for float.
72250 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72252         * locale/weight.h (findidx): Add parameter len.
72253         * locale/weightwc.h (findidx): Likewise.
72254         * posix/fnmatch_loop.c (FCT): Adjust caller.
72255         * posix/regcomp.c (build_equiv_class): Likewise.
72256         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72257         * posix/regexec.c (check_node_accept_bytes): Likewise.
72258         * string/strcoll_l.c (STRCOLL): Likewise.
72259         * string/strxfrm_l.c (STRXFRM): Likewise.
72261 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72263         * Makefile.in: Remove CVSOPT handling.
72264         * configure.in: Remove use of AC_REVISION.
72265         * iconvdata/Makefile (distribute): No need to filter out CVS.
72266         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72267         handling.
72269 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72272         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72273         [USE_AS_STRNCASECMP_L]: Likewise.
72274         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72275         NO_TLS_DIRECT_SEG_REFS.
72276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72277         Fix argument offsets for non-PIC.
72278         [USE_AS_STRNCASECMP_L]: Likewise.
72279         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72280         NO_TLS_DIRECT_SEG_REFS.
72282 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72284         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72285         O_CLOEXEC.
72286         * locale/loadlocale.c (_nl_load_locale): Likewise.
72288 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72290         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72291         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72292         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72293         (SYSCALL_GETTIME): Set errno on error.
72295         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72296         count references to noai6ai_cached.
72298 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72300         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72302         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72303         FD_CLOEXEC for /proc/self/maps.
72305         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72306         FD_CLOEXEC for /proc/meminfo.
72308         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72309         gai.conf.
72311         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72312         FD_CLOEXEC for given file.
72314         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72316         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72317         FD_CLOEXEC for /etc/hosts.
72318         (_gethtent): Likewise.
72320         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72322         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72323         cancellation and set FD_CLOEXEC for /etc/netgroup.
72325         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72326         reading /etc/publickey.
72328         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72329         allow cancellation when reading /etc/group.
72331         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72332         cancellation.
72333         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72335         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72336         when using data file.
72338         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72340         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72341         (write_nis_obj): Use "c" and "e" in fopen.
72343         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72345         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72347         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72349         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72351         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72352         locale.alias.
72354         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72356         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72358         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72360         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72361         file parsing and set FD_CLOEXEC.
72363 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72365         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72367 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72369         * malloc/arena.c (arena_get2): Don't call reused_arena when
72370         _int_new_arena failed.
72372 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72374         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72375         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72376         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72377         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72378         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72379         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72380         to compile strcasecmp and strncasecmp.
72381         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72382         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72384         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72386 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72388         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72389         locale-defines.sym to gen-as-const-headers.
72390         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72391         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72392         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72393         to compile strcasecmp and strncasecmp.
72394         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72395         strcasecmp_l and strncasecmp_l.
72396         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72397         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72398         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72399         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72400         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72401         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72402         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72403         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72404         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72405         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72406         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72408 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72410         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72411         result of SYSDEP_GETTIME_CPU to retval.
72412         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72413         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72415         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72416         variable.
72418         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72419         mantissa words.
72420         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72422         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72423         from unused variable.
72425         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72426         DWARF definitions.
72427         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72428         for assembling.
72430         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72431         over namespaces.
72433         * sunrpc/rpc_prot.c (rejected): Fix case value.
72435         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72436         unsigned long long int to avoid warnings in shift.
72438         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72439         of use of trans.
72440         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72441         variable tmp.
72443         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72444         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72445         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72447         * nis/nis_table.c (nis_list): Use variable of correct type for
72448         result of __follow_path call.
72450 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72452         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72453         of math functions ceil, trunc, floor, round, and sqrt, when
72454         avaliable on the platform.
72455         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72456         name clash.
72457         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72458         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72459         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72461 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72463         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72464         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72466 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72468         * include/unistd.h: Fix __readlink return type.
72469         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72471 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72473         * stdlib/ucontext.h: Undo last change for makecontext.
72475 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72477         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72479         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72480         * setjmp/setjmp.h: Mark functions as non-leaf.
72481         * setjmp/bits/setjmp2.h: Likewise.
72482         * stdlib/ucontext.h: Likewise.
72484 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72486         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72487         (reused_arena): Don't check arena limit.
72488         (arena_get2): Atomically check arena limit.
72490 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72492         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72493         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72496         instructions.
72498 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72500         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72501         handler when locking.
72503         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72504         Fix size of allocated buffer.
72506 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72508         [BZ #10103]
72509         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72510         declarations for long double functions.
72511         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72513         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72515 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72517         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72518         installed.
72520         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72521         is disabled.
72523 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72525         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72527 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72529         * include/alloca.h (stackinfo_alloca_round): Define.
72530         (extend_alloca): Use it.
72531         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72532         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72533         here.
72535         * scripts/check-local-headers.sh: Ignore libaudit.h.
72537         * nscd/Makefile (extra-objs): Make recursively expanded.
72539 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72541         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72542         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72544         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72545         * posix/tst-rfc3484-2.c: Likewise.
72546         * posix/tst-rfc3484-3.c: Likewise.
72548         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72549         process_vm_writev.
72550         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72551         process_vm_writev.
72552         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72553         process_vm_writev from libc using GLIBC_2.15 version.
72555         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72557 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72559         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72560         stack usage.
72562 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72564         [BZ #13367]
72565         * nss/getent.c (initgroups_keys): Show error message in case no group
72566         names are given.
72568         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72569         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72570         __bump_nl_timestamp.
72571         * nscd/connections (nscd_init): When host database is served open
72572         netlink socket and request notification about configuration changes.
72573         (main_loop_poll): Track netlink file descriptor and bump timestamp
72574         in case data becomes available.
72575         (main_loop_epoll): Likewise.
72576         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72577         (database_pers_head): Add extra_data fileds.
72578         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72579         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72580         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72581         Adjust caller.
72582         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72583         in6ai data, call __free_in6ai.
72584         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72585         Add -DHAVE_NETLINK.
72586         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72587         interface information.  Reuse previous data if netlink timestamp
72588         is not changed.
72589         (__bump_nl_timestamp): New function.
72590         (__free_in6ai): New function.
72592 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72594         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72595         close_not_cancel_no_status here.
72596         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72598 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72600         [BZ #13276]
72601         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72602         return value.
72604         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72605         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72606         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72608 2011-07-03  Andreas Jaeger  <aj@suse.de>
72610         [BZ #10709]
72611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72612         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72613         * math/libm-test.inc (sin_test): Add test case.
72615 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72617         [BZ #13337]
72618         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72619         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72621         * elf/chroot_canon.c (chroot_canon): Cleanups.
72623         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72625         [BZ #13335]
72626         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72627         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72629         * string/test-strchr.c: Make usable for strchrnul testing.
72630         * string/test-strchrnul.c: New file.
72631         * string/Makefile (strop-tests): Add strchrnul.
72633         * po/it.po: Update from translation team.
72634         * po/es.po: Likewise.
72636 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72638         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72639         the three constants needed as parameters.  Drop the others.
72640         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72641         __m128i_strloadu_tolower.
72642         Create and initialize variable zero and use it in all the places
72643         where _mm_setzero_si128 was used.
72645         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72646         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72647         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72648         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72649         anymore.
72650         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72651         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72652         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72653         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72654         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72655         __mpranred, __mptan.
72656         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72657         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72658         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72659         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72660         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72661         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72662         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72663         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72664         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72666 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72668         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72669         redefine if SHARED.
72670         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72672         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72673         wide char related routines to wcsmbs subdir.
72675 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72677         [BZ #13344]
72678         * misc/sys/cdefs.h (__THROWNL): Define.
72679         * posix/unistd.h: Use __THREADNL instead of __THREAD
72680         for memory synchronization functions.
72682 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72684         [BZ #13349]
72685         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72686         doesn't exist.
72687         * manual/stdio.texi (Obstack Streams): Node removed.
72689 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72691         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72692         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72693         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72695         * math/math_private.h (math_force_eval): Allow non-addressable
72696         arguments.
72697         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72699 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72701         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72702         file is not needed.
72704         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72706         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72707         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72708         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72709         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72710         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72711         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72712         Add AVX variants.
72713         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72714         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72715         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72716         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72717         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72718         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72719         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72720         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72721         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72722         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72723         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72724         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72725         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72726         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72727         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72728         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72729         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72730         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72731         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72733         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72734         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72736         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72737         place.  Use VEX encoding when compiling for AVX.
72739 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72741         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72742         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72744         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72746 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72748         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72749         useless if() expression.
72750         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72751         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72752         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72753         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72754         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72755         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72756         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72757         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72758         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72759         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72760         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72761         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72762         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72763         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72764         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72765         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72766         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72768         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72770         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72772 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72774         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72775         condition.
72776         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72780         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72781         .text section.  Avoid duplicate constants.
72782         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72784         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72786         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72790         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72791         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72792         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72793         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72794         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72795         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72796         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72797         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72798         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72799         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72800         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72801         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72802         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72803         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72804         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72805         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72806         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72807         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72808         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72809         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72810         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72811         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72812         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72813         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72814         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72815         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72816         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72817         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72818         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72819         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72820         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72821         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72822         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72823         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72824         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72825         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72826         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72828 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72830         * sysdeps/x86_64/dla.h: Move to ...
72831         * sysdeps/x86_64/fpu/dla.h: ...here.
72832         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72833         situations.  Use __builtin_fma only for gcc 4.6 and up.
72835         * config.make.in: Add have-mfma4 entry.
72836         * configure.in: Substitute libc_cv_cc_fma4.
72837         * math/Makefile (dbl-only-routines): Add sincostab.
72838         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72839         Use __sincostab not sincos.
72840         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72841         name is a macro.
72842         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72846         using __copysign.
72847         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72848         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72849         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72850         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72851         and __inv.
72852         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72853         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72854         __copysign.
72855         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72856         define aliases when function name is a macro.
72857         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72858         sysdeps/ieee754/dbl-64/sincos.tbl.
72859         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72860         fma4-enabled routines.
72861         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72862         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72863         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72864         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72865         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72866         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72868         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72870         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72871         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72872         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72873         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72874         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72875         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72876         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72877         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72878         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72879         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72881         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72882         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72883         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72884         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72885         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72886         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72887         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72888         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72889         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72890         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72892         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72893         rename.
72894         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72899         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72900         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72901         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72903 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72905         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72907 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72909         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72911         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72912         prediction.
72913         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72915         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72916         Remove unused variable magic_bits.
72917         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72919         * string/strnlen.c: Define and use STRNLEN macro.
72920         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72921         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72922         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72923         * wcsmbs/wcslen.c: Define and use WCSLEN.
72924         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72925         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72926         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72927         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72928         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72929         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72930         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72932 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72935         strnlen-sse2-no-bsf.
72936         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72937         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72938         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72939         Add strnlen support.
72940         (USE_AS_STRNLEN): New macro.
72941         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72942         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72943         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72944         * sysdeps/x86_64/wcslen.S: New file.
72946 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72948         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72949         XMM-moves are used for copying on small sizes.
72951 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72953         * wcsmbs/Makefile (strop-tests): Add wcschr.
72954         * wcsmbs/test-wcschr.c: New file.
72955         * string/test-strchr.c: Update.
72956         Add wcschr support.
72957         (WIDE): New macro.
72959 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72961         * wcsmbs/Makefile (strop-tests): Add wcslen.
72962         * wcsmbs/test-wcslen.c: New file.
72963         * string/test-strlen.c: Update.
72964         Add wcslen support.
72965         (WIDE): New macro.
72967 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72969         * po/it.po: Update from translation team.
72971 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72973         * sysdeps/x86_64/wcscmp.S: Update.
72974         Fix wrong comparison semantics.
72975         wcscmp shall use signed comparison not unsigned.
72976         Don't use substraction to avoid overflow bug.
72977         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72978         * wcsmbc/wcscmp.c: Likewise.
72979         * string/test-strcmp.c: Likewise.
72980         Add new tests to check cases with negative values.
72982 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72984         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72985         * sysdeps/x86_64/dla.h: ...here.  New file.
72986         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72989         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72990         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72991         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72996 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72999         __ynl_finite aliases.
73001 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73005         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73006         define DLA_FMA.
73007         [DLA_FMA] (EMULV): Use DLA_FMA.
73008         [DLA_FMA] (MUL12): Use EMULV.
73009         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73010         that are not needed.
73011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73016         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73019 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73021         * math/s_nan.c: Undef __nan.
73022         * math/s_nanf.c: Undef __nanf.
73023         * math/s_nanl.c: Undef __nanl.
73024         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73025         "math_private.h".
73027 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73029         * math/s_catan.c: Add branch predictions.
73030         * math/s_catanf.c: Likewise.
73031         * math/s_catanh.c: Likewise.
73032         * math/s_catanhf.c: Likewise.
73033         * math/s_catanhl.c: Likewise.
73034         * math/s_catanl.c: Likewise.
73035         * math/s_cexp.c: Likewise.
73036         * math/s_cexpf.c: Likewise.
73037         * math/s_cexpl.c: Likewise.
73038         * math/s_clog.c: Likewise.
73039         * math/s_clog10.c: Likewise.
73040         * math/s_clog10f.c: Likewise.
73041         * math/s_clog10l.c: Likewise.
73042         * math/s_clogf.c: Likewise.
73043         * math/s_clogl.c: Likewise.
73044         * math/s_csqrt.c: Likewise.
73045         * math/s_csqrtf.c: Likewise.
73046         * math/s_csqrtl.c: Likewise.
73047         * math/s_ctanf.c: Likewise.
73048         * math/s_ctanh.c: Likewise.
73049         * math/s_ctanhf.c: Likewise.
73050         * math/s_ctanhl.c: Likewise.
73051         * math/s_ctanl.c: Likewise.
73053         * math/math_private.h: Define __nan, __nanf, __nanl.
73054         * math/s_cacosh.c: Include <math_private.h>.
73055         * math/s_cacoshl.c: Likewise.
73056         * math/s_casinh.c: Likewise.
73057         * math/s_casinhf.c: Likewise.
73058         * math/s_casinhl.c: Likewise.
73059         * math/s_ccos.c: Rely entire on ccosh.
73060         * math/s_ccosf.c: Rely entire on ccoshf.
73061         * math/s_ccosl.c: Rely entirely on ccoshl.
73062         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73063         Remove tests for FE_INVALID.
73064         * math/s_ccoshf.c: Likewise.
73065         * math/s_ccoshl.c: Likewise.
73066         * math/s_csin.c: Likewise.
73067         * math/s_csinf.c: Likewise.
73068         * math/s_csinh.c Likewise.
73069         * math/s_csinhf.c: Likewise.
73070         * math/s_csinhl.c: Likewise.
73071         * math/s_csinl.c: Likewise.
73072         * math/s_ctan.c: Likewise.
73073         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73074         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73075         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73077 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73080         compilation problems.
73082         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73083         __builtin_expect.
73085 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73087         * sysdeps/i386/configure.in: Test for -mfma4 option.
73088         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73089         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73090         COMMON_CPUID_INDEX_80000001.
73091         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73092         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73093         use it if FMA3 is not supported.
73094         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73096         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73097         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73099 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73101         [BZ #12892]
73102         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73103         it would create a cycle with a link time dependency.
73105 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73107         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73108         instruction.
73109         * string/Makefile (strop-tests): Add rawmemchr.
73110         * string/test-rawmemchr.c: New file.
73112         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73113         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73114         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73115         when compiling str{,n}casecmp and when AVX is available.  Hook up
73116         new optimized code in initializers.
73118 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73120         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73121         __feraiseexcept instead of feraiseexcept.
73123 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73125         * math/math_private.h: Define defaults for libc_fetestexcept and
73126         libc_feupdateenv.
73127         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73128         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73129         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73130         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73131         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73132         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73133         libc_fetestexcept and libc_feupdateenv.
73135         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73136         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73137         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73138         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73139         libc_feholdexcept_setround.
73141         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73142         Add s_nearbyint-c and s_nearbyintf-c.
73143         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73144         nearbyintf inlines.
73145         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73146         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73147         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73148         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73150         * math/math_private.h: Define defaults for libc_fegetround,
73151         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73152         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73153         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73154         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73155         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73156         standard functions.
73157         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73158         Remove comments and hacks for old compiler versions.
73159         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73160         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73161         libc_feholdexceptl.
73163 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73165         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73166         (__feraiseexcept_renamed): Add __NTH.
73167         (feraiseexcept): Add __NTH.  Rename local variables to fix
73168         namespace violations.
73170 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73172         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73174         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73176         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73177         recently added interfaces.
73178         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73180         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73181         about macro parameter expansion.
73183         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73184         __NO_MATH_INLINES is defined.  Cleanups.
73186         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73187         and __floorf is target has SSE4.1.
73188         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73189         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73190         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73191         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73193         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73194         name.
73195         (floorf): Likewise.
73197         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73199 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73201         * misc/sys/cdefs.h: Fix last change.
73203         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73204         database lookup.
73206 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73208         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73210         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73211         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73212         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73213         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73214         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73215         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73216         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73217         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73218         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73219         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73220         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73221         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73222         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73223         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73224         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73225         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73226         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73227         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73228         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73229         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73230         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73231         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73233         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73234         ceil, ceilf, floor, floorf.
73236         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73237         Perform IRELATIVE relocations last.
73239         * elf/do-rel.h: Add another parameter nrelative, replacing the
73240         local variable with the same name.  Change name of the function
73241         to end in Rel or Rela (uppercase).
73242         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73243         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73244         elf_dynamic_do_##reloc function.
73246 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73248         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73249         is sufficient, at least on modern CPUs.
73251         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73253         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73254         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73256         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73257         __expl_finite.
73258         * math/bits/math-finite.h: Add entries for exp.
73259         * math/e_expl.c: Add __*_finite alias.
73260         * sysdeps/i386/fpu/e_exp.S: Likewise.
73261         * sysdeps/i386/fpu/e_expf.S: Likewise.
73262         * sysdeps/i386/fpu/e_expl.c: Likewise.
73263         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73264         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73265         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73266         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73267         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73268         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73269         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73271         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73272         is sufficient, at least on modern CPUs.
73274         * ctype/ctype-info.c (__ctype_init): Define.
73275         * include/ctype.h (__ctype_init): Declare.
73276         (__ctype_b_loc): The variable is always initialized.
73277         (__ctype_toupper_loc): Likewise.
73278         (__ctype_tolower_loc): Likewise.
73279         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73280         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73282 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73284         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73286         * configure.in: Also look in $cxxmachine/include for C++ system
73287         headers.
73289 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73291         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73292         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73293         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73294         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73295         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73296         (USE_AS_WMEMCMP): New macro.
73297         Fixing indents.
73298         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73299         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73300         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73301         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73303         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73304         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73305         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73306         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73307         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73308         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73309         (USE_AS_WMEMCMP): New macro.
73310         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73311         * sysdeps/string/test-memcmp.c: Update.
73312         Fix simple_wmemcmp.
73313         Add new tests.
73314         * wcsmbs/wmemcmp.c: Update.
73315         (WMEMCMP): New macro.
73316         Fix overflow bug.
73318 2011-10-12  Andreas Jaeger  <aj@suse.de>
73320         [BZ #13268]
73321         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73323 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73325         * libio/iofwide.c (do_length): Avoid warning.
73327         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73329 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73331         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73333         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73334         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73335         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73336         * sysdeps/i386/i686/fpu/e_log.S: New file.
73337         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73338         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73340         * ctype/ctype.h: Add support for inlined isXXX functions when
73341         compiling C++ code.
73343 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73345         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73347         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73349 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73351         [BZ #13291]
73352         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73354 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73356         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73357         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73358         feraiseexcept.
73360         * sysdeps/x86_64/memrchr.S: Check for zero size.
73362         * string/stratcliff.c: Add memrchr tests.
73364 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73366         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73367         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73368         rawmemchr-sse2 rawmemchr-sse2-bsf.
73369         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73370         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73371         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73372         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73373         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73374         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73375         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73376         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73377         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73378         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73379         * string/memrchr.c (MEMRCHR): New macro.
73381 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73383         Add integration with gcc's -ffinite-math-only and optimize wrapper
73384         functions in libm.
73385         * Versions.def: Define GLIBC_2.15 version for libm.
73386         * math/Makefile (headers): Add bits/math-finite.h.
73387         * math/bits/math-finite.h: New file.
73388         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73389         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73390         * math/e_acoshl.c: Add __*_finite alias.
73391         * math/e_acosl.c: Likewise.
73392         * math/e_asinl.c: Likewise.
73393         * math/e_atan2l.c: Likewise.
73394         * math/e_atanhl.c: Likewise.
73395         * math/e_coshl.c: Likewise.
73396         * math/e_exp10.c: Likewise.
73397         * math/e_exp10f.c: Likewise.
73398         * math/e_exp10l.c: Likewise.
73399         * math/e_exp2l.c: Likewise.
73400         * math/e_fmodl.c: Likewise.
73401         * math/e_gammal_r.c: Likewise.
73402         * math/e_hypotl.c: Likewise.
73403         * math/e_j0l.c: Likewise.
73404         * math/e_j1l.c: Likewise.
73405         * math/e_jnl.c: Likewise.
73406         * math/e_lgammal_r.c: Likewise.
73407         * math/e_log10l.c: Likewise.
73408         * math/e_log2l.c: Likewise.
73409         * math/e_logl.c: Likewise.
73410         * math/e_powl.c: Likewise.
73411         * math/e_sinhl.c: Likewise.
73412         * math/e_sqrtl.c: Likewise.
73413         * math/e_scalb.c: Completely rewritten and optimized.
73414         * math/e_scalbf.c: Likewise.
73415         * math/e_scalbl.c: Likewise.
73416         * math/w_acos.c: Likewise.
73417         * math/w_acosf.c: Likewise.
73418         * math/w_acosl.c: Likewise.
73419         * math/w_acosh.c: Likewise.
73420         * math/w_acoshf.c: Likewise.
73421         * math/w_acoshl.c: Likewise.
73422         * math/w_asin.c: Likewise.
73423         * math/w_asinf.c: Likewise.
73424         * math/w_asinl.c: Likewise.
73425         * math/w_atan2.c: Likewise.
73426         * math/w_atan2f.c: Likewise.
73427         * math/w_atan2l.c: Likewise.
73428         * math/w_atanh.c: Likewise.
73429         * math/w_atanhf.c: Likewise.
73430         * math/w_atanhl.c: Likewise.
73431         * math/w_exp10.c: Likewise.
73432         * math/w_exp10f.c: Likewise.
73433         * math/w_exp10l.c: Likewise.
73434         * math/w_fmod.c: Likewise.
73435         * math/w_fmodf.c: Likewise.
73436         * math/w_fmodl.c: Likewise.
73437         * math/w_j0.c: Likewise.
73438         * math/w_j0f.c: Likewise.
73439         * math/w_j0l.c: Likewise.
73440         * math/w_j1.c: Likewise.
73441         * math/w_j1f.c: Likewise.
73442         * math/w_j1l.c: Likewise.
73443         * math/w_jn.c: Likewise.
73444         * math/w_jnf.c: Likewise.
73445         * math/w_log.c: Likewise.
73446         * math/w_logf.c: Likewise.
73447         * math/w_logl.c: Likewise.
73448         * math/w_log10.c: Likewise.
73449         * math/w_log10f.c: Likewise.
73450         * math/w_log10l.c: Likewise.
73451         * math/w_log2.c: Likewise.
73452         * math/w_log2f.c: Likewise.
73453         * math/w_log2l.c: Likewise.
73454         * math/w_pow.c: Likewise.
73455         * math/w_powf.c: Likewise.
73456         * math/w_powl.c: Likewise.
73457         * math/w_remainder.c: Likewise.
73458         * math/w_remainderf.c: Likewise.
73459         * math/w_remainderl.c: Likewise.
73460         * math/w_scalb.c: Likewise.
73461         * math/w_scalbf.c: Likewise.
73462         * math/w_scalbl.c: Likewise.
73463         * math/w_sqrt.c: Likewise.
73464         * math/w_sqrtf.c: Likewise.
73465         * math/w_sqrtl.c: Likewise.
73466         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73467         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73468         used.
73469         * math/math_private.h: Declare __kernel_standard_f.
73470         * math/w_cosh.c: Remove cruft and optimize a bit.
73471         * math/w_coshf.c: Likewise.
73472         * math/w_coshl.c: Likewise.
73473         * math/w_exp2.c: Likewise.
73474         * math/w_exp2f.c: Likewise.
73475         * math/w_exp2l.c: Likewise.
73476         * math/w_hypot.c: Likewise.
73477         * math/w_hypotf.c: Likewise.
73478         * math/w_hypotl.c: Likewise.
73479         * math/w_lgamma.c: Likewise.
73480         * math/w_lgamma_r.c: Likewise.
73481         * math/w_lgammaf.c: Likewise.
73482         * math/w_lgammaf_r.c: Likewise.
73483         * math/w_lgammal.c: Likewise.
73484         * math/w_lgammal_r.c: Likewise.
73485         * math/w_sinh.c: Likewise.
73486         * math/w_sinhf.c: Likewise.
73487         * math/w_sinhl.c: Likewise.
73488         * math/w_tgamma.c: Likewise.
73489         * math/w_tgammaf.c: Likewise.
73490         * math/w_tgammal.c: Likewise.
73491         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73492         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73493         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73494         Minor optimizations.  Pretty printing.  Remove cruft.
73495         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73496         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73497         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73498         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73499         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73500         * sysdeps/i386/fpu/e_asin.S: Likewise.
73501         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73502         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73503         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73504         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73505         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73506         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73507         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73508         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73509         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73510         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73511         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73512         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73513         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73514         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73515         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73516         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73517         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73518         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73519         * sysdeps/i386/fpu/e_log.S: Likewise.
73520         * sysdeps/i386/fpu/e_log10.S: Likewise.
73521         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73522         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73523         * sysdeps/i386/fpu/e_log2.S: Likewise.
73524         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73526         * sysdeps/i386/fpu/e_logf.S: Likewise.
73527         * sysdeps/i386/fpu/e_logl.S: Likewise.
73528         * sysdeps/i386/fpu/e_pow.S: Likewise.
73529         * sysdeps/i386/fpu/e_powf.S: Likewise.
73530         * sysdeps/i386/fpu/e_powl.S: Likewise.
73531         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73532         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73533         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73534         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73535         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73536         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73537         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73538         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73539         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73540         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73541         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73543         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73544         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73545         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73546         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73548         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73549         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73550         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73553         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73554         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73555         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73556         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73557         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73560         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73561         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73562         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73563         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73564         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73565         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73566         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73567         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73568         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73569         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73570         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73571         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73572         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73573         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73574         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73575         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73576         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73577         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73578         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73579         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73580         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73581         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73582         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73583         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73584         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73585         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73586         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73588         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73589         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73590         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73591         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73592         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73593         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73594         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73595         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73596         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73597         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73598         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73599         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73600         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73601         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73602         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73603         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73604         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73605         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73606         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73607         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73608         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73609         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73610         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73611         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73612         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73613         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73614         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73615         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73616         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73617         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73618         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73619         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73620         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73621         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73622         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73623         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73624         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73625         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73626         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73627         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73628         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73629         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73630         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73631         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73632         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73633         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73634         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73635         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73636         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73637         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73638         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73639         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73640         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73641         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73642         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73643         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73644         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73645         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73646         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73647         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73648         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73649         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73650         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73651         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73652         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73653         (__isnanf): Likewise.
73654         (__isinf_ns): Likewise.
73655         (__isinf_nsf): Likewise.
73656         (__finite): Likewise.
73657         (__finitef): Likewise.
73658         (__ieee754_sqrt): Define as macro.
73659         (__ieee754_sqrtf): Define as macro.
73660         (__ieee754_sqrtl): Define as macro.
73661         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73662         inlined copy.
73663         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73664         __FINITE_MATH_ONLY__ consistent.
73665         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73667 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73669         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73670         of rawmemchr.
73672         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73674 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73676         * po/ja.po: Update from translation team.
73678 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73680         * locale/programs/locarchive.c (prepare_address_space): New function.
73681         (create_archive, enlarge_archive, open_archive): Use it.
73683         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73684         inside [SHARED], where it is used.
73686         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73688         * nss/getent.c (netgroup_keys): Remove unused variable.
73689         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73691 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73693         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73694         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73696         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73697         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73698         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73699         * math/Makefile (libm-calls): Add s_isinf_ns.
73700         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73701         * math/multc3.c: Likewise.
73702         * math/s_casin.c: Likewise.
73703         * math/s_casinf.c: Likewise.
73704         * math/s_casinl.c: Likewise.
73705         * math/s_ccos.c: Likewise.
73706         * math/s_ccosf.c: Likewise.
73707         * math/s_ccosl.c: Likewise.
73708         * math/s_ctan.c: Likewise.
73709         * math/s_ctanf.c: Likewise.
73710         * math/s_ctanh.c: Likewise.
73711         * math/s_ctanhf.c: Likewise.
73712         * math/s_ctanhl.c: Likewise.
73713         * math/s_ctanl.c: Likewise.
73714         * math/w_fmod.c: Likewise.
73715         * math/w_fmodf.c: Likewise.
73716         * math/w_fmodl.c: Likewise.
73717         * math/w_remainder.c: Likewise.
73718         * math/w_remainderf.c: Likewise.
73719         * math/w_remainderl.c: Likewise.
73720         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73721         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73722         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73723         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73724         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73725         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73726         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73727         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73729         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73730         of the number.
73731         * stdio-common/printf_fphex.c: Likewise.
73732         * stdio-common/printf_size.c: Likewise.
73734         * math/e_exp10.c: Include math_private.h using <...> not "...".
73735         * math/e_exp10f.c: Likewise.
73736         * math/e_exp10l.c: Likewise.
73737         * math/e_exp2l.c: Likewise.
73738         * math/e_j0l.c: Likewise.
73739         * math/e_j1l.c: Likewise.
73740         * math/e_jnl.c: Likewise.
73741         * math/e_lgammal_r.c: Likewise.
73742         * math/e_rem_pio2l.c: Likewise.
73743         * math/e_scalb.c: Likewise.
73744         * math/e_scalbf.c: Likewise.
73745         * math/e_scalbl.c: Likewise.
73746         * math/k_cosl.c: Likewise.
73747         * math/k_sinl.c: Likewise.
73748         * math/k_tanl.c: Likewise.
73749         * math/s_cacoshf.c: Likewise.
73750         * math/s_catan.c: Likewise.
73751         * math/s_catanf.c: Likewise.
73752         * math/s_catanh.c: Likewise.
73753         * math/s_catanhf.c: Likewise.
73754         * math/s_catanhl.c: Likewise.
73755         * math/s_catanl.c: Likewise.
73756         * math/s_ccosh.c: Likewise.
73757         * math/s_ccoshf.c: Likewise.
73758         * math/s_ccoshl.c: Likewise.
73759         * math/s_cexp.c: Likewise.
73760         * math/s_cexpf.c: Likewise.
73761         * math/s_cexpl.c: Likewise.
73762         * math/s_clog.c: Likewise.
73763         * math/s_clog10.c: Likewise.
73764         * math/s_clog10f.c: Likewise.
73765         * math/s_clog10l.c: Likewise.
73766         * math/s_clogf.c: Likewise.
73767         * math/s_clogl.c: Likewise.
73768         * math/s_csin.c: Likewise.
73769         * math/s_csinf.c: Likewise.
73770         * math/s_csinh.c: Likewise.
73771         * math/s_csinhf.c: Likewise.
73772         * math/s_csinhl.c: Likewise.
73773         * math/s_csinl.c: Likewise.
73774         * math/s_csqrt.c: Likewise.
73775         * math/s_csqrtf.c: Likewise.
73776         * math/s_csqrtl.c: Likewise.
73777         * math/s_ctan.c: Likewise.
73778         * math/s_ctanf.c: Likewise.
73779         * math/s_ctanh.c: Likewise.
73780         * math/s_ctanhf.c: Likewise.
73781         * math/s_ctanhl.c: Likewise.
73782         * math/s_ctanl.c: Likewise.
73783         * math/s_ldexp.c: Likewise.
73784         * math/s_ldexpf.c: Likewise.
73785         * math/s_ldexpl.c: Likewise.
73786         * math/s_significand.c: Likewise.
73787         * math/s_significandf.c: Likewise.
73788         * math/s_significandl.c: Likewise.
73789         * math/w_acos.c: Likewise.
73790         * math/w_acosf.c: Likewise.
73791         * math/w_acosh.c: Likewise.
73792         * math/w_acoshf.c: Likewise.
73793         * math/w_acoshl.c: Likewise.
73794         * math/w_acosl.c: Likewise.
73795         * math/w_asin.c: Likewise.
73796         * math/w_asinf.c: Likewise.
73797         * math/w_asinl.c: Likewise.
73798         * math/w_atan2.c: Likewise.
73799         * math/w_atan2f.c: Likewise.
73800         * math/w_atan2l.c: Likewise.
73801         * math/w_atanh.c: Likewise.
73802         * math/w_atanhf.c: Likewise.
73803         * math/w_atanhl.c: Likewise.
73804         * math/w_cosh.c: Likewise.
73805         * math/w_coshf.c: Likewise.
73806         * math/w_coshl.c: Likewise.
73807         * math/w_dremf.c: Likewise.
73808         * math/w_exp10.c: Likewise.
73809         * math/w_exp10f.c: Likewise.
73810         * math/w_exp10l.c: Likewise.
73811         * math/w_exp2.c: Likewise.
73812         * math/w_exp2f.c: Likewise.
73813         * math/w_fmod.c: Likewise.
73814         * math/w_fmodf.c: Likewise.
73815         * math/w_fmodl.c: Likewise.
73816         * math/w_hypot.c: Likewise.
73817         * math/w_hypotf.c: Likewise.
73818         * math/w_hypotl.c: Likewise.
73819         * math/w_j0.c: Likewise.
73820         * math/w_j0f.c: Likewise.
73821         * math/w_j0l.c: Likewise.
73822         * math/w_j1.c: Likewise.
73823         * math/w_j1f.c: Likewise.
73824         * math/w_j1l.c: Likewise.
73825         * math/w_jn.c: Likewise.
73826         * math/w_jnf.c: Likewise.
73827         * math/w_jnl.c: Likewise.
73828         * math/w_lgamma.c: Likewise.
73829         * math/w_lgamma_r.c: Likewise.
73830         * math/w_lgammaf.c: Likewise.
73831         * math/w_lgammaf_r.c: Likewise.
73832         * math/w_lgammal.c: Likewise.
73833         * math/w_lgammal_r.c: Likewise.
73834         * math/w_log.c: Likewise.
73835         * math/w_log10.c: Likewise.
73836         * math/w_log10f.c: Likewise.
73837         * math/w_log10l.c: Likewise.
73838         * math/w_log2.c: Likewise.
73839         * math/w_log2f.c: Likewise.
73840         * math/w_log2l.c: Likewise.
73841         * math/w_logf.c: Likewise.
73842         * math/w_logl.c: Likewise.
73843         * math/w_pow.c: Likewise.
73844         * math/w_powf.c: Likewise.
73845         * math/w_powl.c: Likewise.
73846         * math/w_remainder.c: Likewise.
73847         * math/w_remainderf.c: Likewise.
73848         * math/w_remainderl.c: Likewise.
73849         * math/w_scalb.c: Likewise.
73850         * math/w_scalbf.c: Likewise.
73851         * math/w_scalbl.c: Likewise.
73852         * math/w_sinh.c: Likewise.
73853         * math/w_sinhf.c: Likewise.
73854         * math/w_sinhl.c: Likewise.
73855         * math/w_sqrt.c: Likewise.
73856         * math/w_sqrtf.c: Likewise.
73857         * math/w_sqrtl.c: Likewise.
73858         * math/w_tgamma.c: Likewise.
73859         * math/w_tgammaf.c: Likewise.
73860         * math/w_tgammal.c: Likewise.
73862         * po/ja.po: Update from translation team.
73864 2011-09-29  Andreas Jaeger  <aj@suse.de>
73866         [BZ #13179]
73867         * sunrpc/netname.c (netname2host): Fix logic.
73869         [BZ #6779]
73870         [BZ #6783]
73871         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73872         correctly.
73873         * math/w_remainder.c (__remainder): Likewise.
73874         * math/w_remainderf.c (__remainderf): Likewise.
73875         * math/libm-test.inc (remainder_test): Add test cases.
73877 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73879         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73880         sdiv_qrnnd.
73882 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73884         * string/test-memcmp.c: Avoid unncessary #defines.
73885         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73887 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73889         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73890         Use new sse2 version for core i3 - i7 as it's faster
73891         than sse42 version.
73892         (bit_Prefer_PMINUB_for_stringop): New.
73893         * sysdeps/x86_64/rawmemchr.S: Update.
73894         Replace with faster SSE2 version.
73895         * sysdeps/x86_64/memrchr.S: New file.
73896         * sysdeps/x86_64/memchr.S: Update.
73897         Replace with faster SSE2 version.
73899 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73901         * elf/dl-load.c (lose): Add cast to avoid warning.
73903 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73905         * po/ca.po: Update from translation team.
73907         * inet/getnetgrent_r.c: Hook up nscd.
73908         * nscd/Makefile (routines): Add nscd_netgroup.
73909         (nscd-modules): Add netgroupcache.
73910         (CFLAGS-netgroupcache.c): Define.
73911         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73912         (cache_search): Add const to second parameter.
73913         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73914         INNETGR.
73915         (dbs): Add netgrdb entry.
73916         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73917         (verify_persistent_db): Handle netgrdb.
73918         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73919         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73920         GETFDNETGR.
73921         (netgroup_response_header): Define.
73922         (innetgroup_response_header): Define.
73923         (datahead): Add netgroup_response_header and innetgroup_response_header
73924         elements.
73925         * nscd/nscd.conf: Add entries for netgroup cache.
73926         * nscd/nscd.h (dbtype): Add netgrdb.
73927         (_PATH_NSCD_NETGROUP_DB): Define.
73928         (netgroup_iov_disabled): Declare.
73929         (xmalloc, xcalloc, xrealloc): Move declarations here.
73930         (cache_search): Adjust prototype.
73931         Add netgroup-related prototypes.
73932         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73933         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73934         (__nscd_innetgr): Declare.
73935         * nscd/selinux.c (perms): Use access_vector_t as element type and
73936         add netgroup-related initializers.
73937         * nscd/netgroupcache.c: New file.
73938         * nscd/nscd_netgroup.c: New file.
73939         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73940         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73941         For four parameters use innetgr.
73942         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73943         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73944         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73945         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73947         * nscd/connections.c (register_traced_file): Don't register file
73948         for disabled databases.
73950 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73952         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73954         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73955         from tree and freeing node.
73957 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73959         * nss/nsswitch.c (__nss_database_lookup): Handle
73960         nss_parse_service_list out of memory case.
73962 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73964         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73965         out of memory case.
73967 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73969         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73970         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73971         pass it down.
73972         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73973         elf_machine_rela, elf_machine_lazy_rel.
73974         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73975         (ELF_DYNAMIC_DO_REL): Likewise.
73976         (ELF_DYNAMIC_DO_RELA): Likewise.
73977         (ELF_DYNAMIC_RELOCATE): Likewise.
73978         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73979         to ELF_DYNAMIC_DO_REL.
73980         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73981         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73982         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73983         elf_machine_rela.
73984         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73985         skip_ifunc, don't call ifunc function if non-zero.
73986         (elf_machine_rela): Likewise.
73987         (elf_machine_lazy_rel): Likewise.
73988         (elf_machine_lazy_rela): Likewise.
73989         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73990         (elf_machine_lazy_rel): Likewise.
73991         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73992         Likewise.
73993         (elf_machine_lazy_rel): Likewise.
73994         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73995         Likewise.
73996         (elf_machine_lazy_rel): Likewise.
73997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73998         (elf_machine_lazy_rel): Likewise.
73999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74000         (elf_machine_lazy_rel): Likewise.
74001         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74002         (elf_machine_lazy_rel): Likewise.
74003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74004         (elf_machine_lazy_rel): Likewise.
74005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74006         (elf_machine_lazy_rel): Likewise.
74007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74008         (elf_machine_lazy_rel): Likewise.
74010 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74012         * nss/nss_files/files-init.c (_nss_files_init): Use static
74013         initialization for all the *_traced_file variables.
74015 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74017         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74019 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74021         [BZ #13226]
74022         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74024 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74027         Reread the line before reparsing it.
74029 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74031         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74033 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74034             Maxim Kuvyrkov  <maxim@codesourcery.com>
74035             Joseph Myers  <joseph@codesourcery.com>
74037         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74038         if needed for __stack_chk_guard.
74040 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74042         * sysdeps/posix/spawni.c (script_execute): Always define it.
74043         It will be optimized away if unused.
74044         (maybe_script_execute): New function.
74045         (__spawni): Call it.
74047         * Makerules: Don't include tls.make.
74048         (config-tls): Always set to thread.
74049         * tls.make.c: File removed.
74051 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74053         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74054         * config.make.in (CPPFLAGS-config): New substituted variable.
74056 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74058         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74060         [BZ #13192]
74061         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74062         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74064 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74066         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74067         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74068         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74069         (CALL_FAIL): Likewise.
74070         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74071         (CALL_FAIL): Macro removed.
74072         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74074 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74076         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74077         for __FINITE_MATH_ONLY__ == 1.
74079 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74081         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74082         __ieee754_sqrt instead of sqrt.
74083         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74084         __ieee754_sqrtf instead of sqrtf.
74085         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74086         __floorf instead of floorf.
74087         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74088         __floorf, __truncf instead of floorf, truncf.
74090 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74092         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74094         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74095         __extern_always_inline.
74096         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74097         32-bit.
74099 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74101         * elf/rtld.c (dl_main): Also relocate in dependency order when
74102         doing symbol dependency testing.
74104 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74106         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74107         Always define `refsym'.
74109 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74111         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74112         (__FD_ELT): Renamed from __FDELT.
74113         * misc/bits/select2.h (__FD_ELT): Likewise.
74114         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74115         __FD_MASK instead of __FDELT, __FDMASK.
74116         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74117         Likewise.
74118         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74119         Likewise.
74121         * elf/Makefile (gen-ldd): Fix pattern.
74123         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74124         (init_tls): Likewise.
74126 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74128         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74130 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74132         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74133         `struct cmsghdr *' instead of `void *'.
74134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74135         Likewise.
74137 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74139         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74140         if non-absolute.
74141         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74142         ldd_rewrite_script.
74144 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74146         * configure.in: Remove --with-tls option.
74147         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74148         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74149         out in case it is missing.
74150         * sysdeps/ia64/elf/configure.in: Likewise.
74151         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74152         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74153         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74154         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74155         * sysdeps/sh/elf/configure.in: Likewise.
74156         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74157         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74158         * sysdeps/x86_64/elf/configure.in: Likewise.
74159         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74160         * sysdeps/mach/hurd/tls.h: Likewise.
74162         [BZ #13067]
74163         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74165         [BZ #13090]
74166         * configure.in: Fix use of AC_INIT.
74168         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74170 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74172         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74173         __set_errno.
74174         * malloc/hooks.c: Likewise.
74176         [BZ #11929]
74177         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74178         variables statically.
74179         (narenas): Initialize.
74180         (list_lock): Initialize.
74181         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74182         initializtion of main_arena and list_lock.  Small cleanups.
74183         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74184         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74185         Add initializers to main_arena and mp_.
74186         (malloc_state): Remove pagesize member.  Change all users to use
74187         GLRO(dl_pagesize).
74189         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74190         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74191         is always initialized.
74193         * malloc/malloc.c: Removed unused configurations and dead code.
74194         * malloc/arena.c: Likewise.
74195         * malloc/hooks.c: Likewise.
74196         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74198         * include/tls.h: Removed.  USE___THREAD must always be defined.
74199         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74200         * elf/dl-libc.c: Likewise.
74201         * elf/dl-tsd.c: Likewise.
74202         * include/errno.h: Likewise.
74203         * include/netdb.h: Likewise.
74204         * include/resolv.h: Likewise.
74205         * inet/herrno-loc.c: Likewise.
74206         * inet/herrno.c: Likewise.
74207         * malloc/arena.c: Likewise.
74208         * malloc/hooks.c: Likewise.
74209         * malloc/malloc.c: Likewise.
74210         * resolv/res-state.c: Likewise.
74211         * resolv/res_libc.c: Likewise.
74212         * sysdeps/i386/dl-machine.h: Likewise.
74213         * sysdeps/ia64/dl-machine.h: Likewise.
74214         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74215         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74216         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74217         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74218         * sysdeps/sh/dl-machine.h: Likewise.
74219         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74220         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74221         * sysdeps/unix/i386/sysdep.S: Likewise.
74222         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74223         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74224         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74227         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74228         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74233         * sysdeps/x86_64/dl-machine.h: Likewise.
74234         * tls.make.c: Likewise.
74236         * configure.in: Remove --with-__thread option.  Make tests for
74237         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74238         tls_model attribute fail if no support is available.  Remove
74239         USE_IN_LIBIO.
74240         * Makeconfig: Adjust for dropped configure option.  All features are
74241         now mandatory.
74242         * Makerules: Likewise.
74243         * Versions.def: Likewise.
74244         * argp/argp-fmtstream.c: Likewise.
74245         * argp/argp-fmtstream.h: Likewise.
74246         * argp/argp-help.c: Likewise.
74247         * assert/assert.c: Likewise.
74248         * config.h.in: Likewise.
74249         * config.make.in: Likewise.
74250         * configure: Likewise.
74251         * configure.in: Likewise.
74252         * csu/Versions: Likewise.
74253         * csu/init.c: Likewise.
74254         * elf/tst-audit2.c: Likewise.
74255         * elf/tst-tls10.c: Likewise.
74256         * elf/tst-tls10.h: Likewise.
74257         * elf/tst-tls11.c: Likewise.
74258         * elf/tst-tls12.c: Likewise.
74259         * elf/tst-tls14.c: Likewise.
74260         * elf/tst-tlsmod11.c: Likewise.
74261         * elf/tst-tlsmod12.c: Likewise.
74262         * elf/tst-tlsmod13.c: Likewise.
74263         * elf/tst-tlsmod13a.c: Likewise.
74264         * elf/tst-tlsmod14a.c: Likewise.
74265         * elf/tst-tlsmod15b.c: Likewise.
74266         * elf/tst-tlsmod16a.c: Likewise.
74267         * elf/tst-tlsmod16b.c: Likewise.
74268         * elf/tst-tlsmod7.c: Likewise.
74269         * elf/tst-tlsmod8.c: Likewise.
74270         * elf/tst-tlsmod9.c: Likewise.
74271         * gmon/gmon.c: Likewise.
74272         * grp/fgetgrent_r.c: Likewise.
74273         * grp/putgrent.c: Likewise.
74274         * hurd/fopenport.c: Likewise.
74275         * include/libc-symbols.h: Likewise.
74276         * include/tls.h: Likewise.
74277         * intl/gettextP.h: Likewise.
74278         * intl/loadinfo.h: Likewise.
74279         * locale/global-locale.c: Likewise.
74280         * locale/localeinfo.h: Likewise.
74281         * mach/devstream.c: Likewise.
74282         * malloc/arena.c: Likewise.
74283         * malloc/set-freeres.c: Likewise.
74284         * misc/err.c: Likewise.
74285         * misc/getttyent.c: Likewise.
74286         * misc/mntent_r.c: Likewise.
74287         * posix/getopt.c: Likewise.
74288         * posix/wordexp.c: Likewise.
74289         * pwd/fgetpwent_r.c: Likewise.
74290         * resolv/Versions: Likewise.
74291         * resolv/res_hconf.c: Likewise.
74292         * shadow/fgetspent_r.c: Likewise.
74293         * shadow/putspent.c: Likewise.
74294         * stdio-common/printf_fphex.c: Likewise.
74295         * stdio-common/tmpfile.c: Likewise.
74296         * stdlib/abort.c: Likewise.
74297         * stdlib/fmtmsg.c: Likewise.
74298         * sunrpc/auth_unix.c: Likewise.
74299         * sunrpc/clnt_perr.c: Likewise.
74300         * sunrpc/clnt_tcp.c: Likewise.
74301         * sunrpc/clnt_udp.c: Likewise.
74302         * sunrpc/clnt_unix.c: Likewise.
74303         * sunrpc/openchild.c: Likewise.
74304         * sunrpc/svc_simple.c: Likewise.
74305         * sunrpc/svc_tcp.c: Likewise.
74306         * sunrpc/svc_udp.c: Likewise.
74307         * sunrpc/svc_unix.c: Likewise.
74308         * sunrpc/xdr.c: Likewise.
74309         * sunrpc/xdr_array.c: Likewise.
74310         * sunrpc/xdr_rec.c: Likewise.
74311         * sunrpc/xdr_ref.c: Likewise.
74312         * sunrpc/xdr_stdio.c: Likewise.
74314 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74316         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74318 2011-07-03  Andreas Jaeger  <aj@suse.de>
74320         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74321         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74322         regenerate with gen-libm-tests.pl.
74324 2010-05-12  Petr Baudis  <pasky@suse.cz>
74326         [BZ #11589]
74327         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74328         around j0() zero points by switching to j1().
74329         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74330         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74332         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74334 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74336         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74337         instead of 0.
74338         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74339         instead of 0.
74340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74341         Patch in part by Pavel Roskin <proski@gnu.org>.
74343         [BZ #13138]
74344         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74345         realloc.
74346         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74347         Free memory block if necessary.
74349         [BZ #12847]
74350         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74351         be NULL.  Don't lock in this case.
74353 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74355         * elf/elf.h (ELFOSABI_GNU): New macro.
74356         (ELFOSABI_LINUX): Define to that.
74358 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74360         * string/strncat.c (strncat): Undef the symbol in case it has been
74361         defined in bits/string.h.
74363 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74365         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74367         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74368         link map.
74370 2011-08-17  Andreas Jaeger  <aj@suse.de>
74372         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74374 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74375             Ian Lance Taylor  <iant@google.com>
74377         * math/libm-test.inc (lround_test): New testcase.
74378         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74380 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74382         * Makefile: Remove support for automatic cvs check-ins.
74383         * Makerules: Likewise.
74384         * config.make.in: Likewise.
74385         * configure.in: Likewise.
74386         * intl/Makefile: Likewise.
74387         * locale/Makefile: Likewise.
74388         * po/Makefile: Likewise.
74389         * posix/Makefile: Likewise.
74390         * sysdeps/gnu/Makefile: Likewise.
74391         * sysdeps/mach/hurd/Makefile: Likewise.
74392         * sysdeps/sparc/sparc32/Makefile: Likewise.
74394         [BZ #13118]
74395         * posix/Makefile (bug-regex32-ENV): Define.
74396         Patch by John Stanley <jpsinthemix@verizon.net>.
74398         * misc/Makefile (headers): Add bits/select2.h.
74399         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74400         * misc/bits/select2.h: New file.
74401         * include/bits/select2.h: New file.
74402         * debug/Makefile (routines): Add fdelt_chk.
74403         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74404         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74405         FD_ISSET.
74406         * debug/fdelt_chk.c: New file.
74408         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74409         * wcsmbs/test-wmemcmp.c: Likewise.
74410         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74411         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74413 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74415         * string/Makefile (strop-tests): Add memcmp.
74416         * string/test-wmemcmp.c: New file.
74417         * string/test-memcmp.c: Add wmemcmp support.
74419 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74421         [BZ #13153]
74422         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74423         2011-07-19 change.
74425         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74426         garbage value in a __mach_port_mod_refs call in the cases of the
74427         task-self and thread-self ports.
74429 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74431         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74433 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74435         * elf/dl-load.c (lose): Check for non-null L.
74437 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74439         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74441         * elf/dl-libc.c (dlerror_run): Pass back error code from
74442         dl_catch_error.
74444         [BZ #13123]
74445         * elf/dl-load.c (lose): Free l_origin if it is valid.
74447         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74448         names.
74449         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74450         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74452         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74453         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74454         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74456 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74458         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74459         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74460         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74461         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74462         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74463         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74464         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74465         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74466         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74467         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74469 2011-08-15  Alan Modra  <amodra@gmail.com>
74471         [BZ #13092]
74472         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74473         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74474         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74475         ppc_mcount to static-only-routines.
74476         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74477         __mcount_internal.
74478         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74479         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74481 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74483         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74484         for finite and infinity parameters.
74486 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74488         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74489         and add nop instructions for throughput optimization.
74490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74492 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74494         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74495         aligned copy for power7 with vector-scalar instructions.
74496         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74498 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74501         AVX check.
74503 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74505         [BZ #13144]
74506         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74507         last change.
74509 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74511         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74512         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74513         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74514         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74515         clock_gettime.
74517 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74519         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74520         Forgot to demangle the pointer.
74522         * sysdeps/i386/sysdep.h: Define atom_text_section.
74523         * sysdeps/x86_64/sysdep.h: Likewise.
74524         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74525         section with atom_text_section.
74526         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74527         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74528         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74530         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74532         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74533         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74534         already be defined.  Change to take two parameters and don't assign
74535         result to variable.  Adjust all users.
74536         Define INTERNAL_GETTIME if not already defined.
74537         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74538         call.
74539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74540         HAVE_CLOCK_GETTIME_VSYSCALL.
74541         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74543         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74544         gettimeofday vsyscall, just use time.
74546 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74549         <errno.h>.
74551 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74553         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74554         syscall on x86-64.
74555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74556         syscall.
74557         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74558         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74559         syscall if possible.
74561 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74563         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74564         e_ident.  Don't pass to find_mapsXX.
74565         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74567 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74570         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74571         * sysdeps/x86_64/multiarch/strchr.S: Update.
74572         Check bit_slow_BSF bit.
74573         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74574         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74575         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74577 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74579         [BZ #13134]
74580         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74581         before glibc 2.15.
74582         (tryshell): Define.
74583         (__spawni): Change last parameter to be flag.  Test
74584         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74585         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74586         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74587         * posix/spawni.c: Likewise.
74588         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74589         * posix/spawnp.c: Likewise.  Change normal version to use
74590         SPAWN_XFLAGS_USE_PATH.
74591         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74592         SPAWN_XFLAGS_TRY_SHELL.
74594         [BZ #13150]
74595         * posix/glob.h: Remove gcc 1.x support.
74597         [BZ #13068]
74598         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74600 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74602         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74603         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74604         strrchr-sse2-bsf
74605         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74606         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74607         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74608         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74609         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74612 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74614         * sysdeps/x86_64/wcscmp.S: New file.
74616         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74617         wcscmp-c wcscmp-sse2
74618         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74619         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74620         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74621         * wcsmbs/wcscmp.c: Allow renaming.
74623 2011-09-05  David S. Miller  <davem@davemloft.net>
74625         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74626         stack slot, rather than the struct return pointer slot.
74627         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74628         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74630         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74632 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74634         * po/ja.po: Update from translation team.
74636         [BZ #13144]
74637         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74638         kernel in 64-bit binaries.
74640 2011-09-01  David S. Miller  <davem@davemloft.net>
74642         * elf/elf.h (HWCAP_SPARC_*): Move to..
74643         * sysdeps/sparc/sysdep.h: this new file and add new values.
74644         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74645         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74646         _DL_HWCAP_COUNT to 24.
74647         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74648         entries.
74649         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74650         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74651         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74653         instead of magic constants.
74654         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74656 2011-08-31  David S. Miller  <davem@davemloft.net>
74658         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74660         Reimplement to do errno handling inline.
74661         (SYSCALL_ERROR_HANDLER): New macro.
74662         (__SYSCALL_STRING): Do not do errno handling in asm.
74663         (__CLONE_SYSCALL_STRING): Delete.
74664         (__INTERNAL_SYSCALL_STRING): Delete.
74665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74666         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74667         (PSEUDO): Reimplement to do errno handling inline.
74668         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74669         (SYSCALL_ERROR_HANDLER): New macro.
74670         (__SYSCALL_STRING): Do not do errno handling in asm.
74671         (__CLONE_SYSCALL_STRING): Delete.
74672         (__INTERNAL_SYSCALL_STRING): Delete.
74673         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74674         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74675         i386.
74676         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74677         (inline_syscall*): Add 'err' argument.
74678         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74679         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74680         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74681         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74683         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74684         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74686 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74688         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74690 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74692         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74693         directive.
74695 2011-08-24  David S. Miller  <davem@davemloft.net>
74697         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74699 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74701         * elf/Makefile: Add rules to build and run unload8 test.
74702         * elf/unload8.c: New file.
74703         * elf/unload8mod1.c: New file.
74704         * elf/unload8mod1x.c: New file.
74705         * elf/unload8mod2.c: New file.
74706         * elf/unload8mod3.c: New file.
74708         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74709         it wasn't used.
74711 2011-08-23  David S. Miller  <davem@davemloft.net>
74713         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74714         subtract stack bias.
74715         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74716         %sp not %fp in calculations.
74717         (_JMPBUF_UNWINDS_ADJ): Likewise.
74719         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74720         (aio_suspend): Call it to force an exception region around the
74721         AIO_MISC_WAIT() invocation.
74723 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74725         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74726         backslash.
74728 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74730         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74731         protection macro.
74732         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74733         and <dl-machine.h>.
74734         (Elf64_FuncDesc): Remove.
74736 2011-08-22  David S. Miller  <davem@davemloft.net>
74738         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74739         sigaltstack check, add missing cfi directives.
74740         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74741         missing cfi directives, and sigaltstack handling.
74743 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74745         [BZ #11724]
74746         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74747         object is seen twice.
74748         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74750         * elf/Makefile (distribute): Add tst-initorder2.c.
74751         (tests): Add tst-initorder2.
74752         (modules-names): Add tst-initorder2a tst-initorder2b
74753         tst-initorder2c tst-initorder2d.  Add rules to build them.
74754         ($(objpfx)tst-initorder2.out): New rule.
74755         * elf/tst-initorder2.c: New file.
74756         * elf/tst-initorder2.exp: New file.
74758 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74760         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74762         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74763         dependencies back to end of function.
74765         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74766         $(elfobjdir)/ld.so.
74768 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74771         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74772         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74773         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74774         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74775         of __vdso_gettimeofday.
74776         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74777         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74778         attribute_hidden.
74779         (_libc_vdso_platform_setup): Remove initialization of
74780         __vdso_gettimeofday and __vdso_time.
74782 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74784         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74785         and fgetc_unlocked.
74786         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74787         getc_unlocked.
74789         * elf/dl-open.c (add_to_global): Report additions to the global scope
74790         for LD_DEBUG=scopes.
74791         (dl_open_worker): Also print scope of newly loaded dependencies.
74792         (_dl_show_scope): Indicate if there is no scope.
74794         [BZ #13114]
74795         * stdio-common/Makefile (tests): Add bug24.
74796         * stdio-common/bug24.c: New file.
74798 2011-08-19  Andreas Jaeger  <aj@suse.de>
74800         [BZ #13114]
74801         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74802         non-existant file when using close-on-exec mode.
74804 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74807         the very first instruction.
74809         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74810         the CFI state in the end.
74811         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74812         inclusion of dl-trampoline.h.
74813         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74815 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74817         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74818         expectations for long double.
74820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74821         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74823 2011-08-14  David S. Miller  <davem@davemloft.net>
74825         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74826         artificual limit depends upon the system page size.
74828 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74830         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74831         * resolv/Makefile: Define CFLAGS-libresolv.
74833 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74835         * nss/makedb.c (compute_tables): Make variables used in nested
74836         function static.
74838 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74840         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74841         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74842         if buffer was too small.
74844         * elf/pldd.c (main): Attach to all threads in the process.
74845         Rewrite /proc handling to use *at functions.
74847 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74849         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74850         specifies first scope to show.
74851         (dl_open_worker): Update callers.  Move printing scope of new
74852         object to before the relocation.
74853         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74854         * sysdeps/generic/ldsodefs.h: Update declaration.
74856         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74857         string for the scope number.
74859 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74861         * nscd/servicescache.c (cache_addserv): Make sure written is always
74862         initialized.
74864 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74866         * sysdeps/i386/i486/bits/atomic.h
74867         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74868         statement expression, so as to suppress "set but not used" warning.
74869         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74871         * string/strncat.c (STRNCAT): Use prototype definition.
74873         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74874         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74875         -Iprograms here.
74876         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74877         (localedef-modules): Add localedef.
74878         (locale-modules): Add locale.
74880         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74881         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74882         to avoid a warning.
74884 2011-08-14  David S. Miller  <davem@davemloft.net>
74886         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74887         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74889 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74891         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74892         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74893         * elf/rtld.c (dl_main): Set l_name of vDSO.
74894         Call _dl_show_scope when DL_DEBUG_SCOPES.
74895         (process_dl_debug): Recognize scopes flag and also set it for all.
74896         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74897         Declare _dl_show_scope.
74899         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74900         (do_dlopen): Pass caller_dlopen to dl_open.
74901         (__libc_dlopen_mode): Initialize caller_dlopen.
74903         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74904         of libc.  Make tolower call locale-independent.  Optimize a bit by
74905         using isdigit instead of isalnum.
74906         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74908 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74910         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74911         was a dependency or dynamically loaded.
74913 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74915         * intl/l10nflist.c: Allow architecture-specific pop function.
74916         * sysdeps/x86_64/l10nflist.c: New file.
74918         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74919         classification.
74921 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74923         * include/dirent.h: Add libc_hidden_proto for scandirat and
74924         scandirat64.  Don't declare __scandirat64.
74925         * dirent/scandirat.c: Add libc_hidden_def.
74926         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74927         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74929 2011-08-10  David S. Miller  <davem@davemloft.net>
74931         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74932         enum.
74933         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74937 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74939         * Versions.def [libc]: Add GLIBC_2.15.
74940         * dirent/Makefile (routines): Add scandirat and scandirat64.
74941         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74942         GLIBC_2.15.
74943         * dirent/dirent.h: Declare scandirat and scandirat64.
74944         * dirent/scandirat.c: New file.
74945         * dirent/scandirat64.c: New file.
74946         * sysdeps/wordsize-64/scandirat.c: New file.
74947         * sysdeps/wordsize-64/scandirat64.c: New file.
74948         * dirent/opendir.c: Define opendirat.
74949         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74950         using scandirat.
74951         * dirent/scandir64.c: Adjust for scandir.c change.
74952         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74953         __scandirat64, and __scandir_cancel_handler.
74954         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74955         additional parameter and use openat instead of open (outside of ld.so).
74956         Add new __opendir as wrapper around __opendirat.
74957         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74958         here without requiring old scandirat implementation.
74960 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74962         * dirent/scandir.c (cancel_handler): Renamed to
74963         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74964         defined.  Adjust users.
74965         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74966         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74968 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74970         * string/test-string.h (IMPL): Use __STRING to expand name and then
74971         stringify it.
74973         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74974         of cleanups.
74976 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74978         * string/Makefile: Update.
74979         (strop-tests): Append strncat.
74980         * string/test-wcscmp.c: New file.
74981         New comprehensive test for wcscmp.
74982         * string/test-strcmp.c: Update.
74983         (WIDE): New define.
74985 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74987         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74988         line.
74990 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74993         encoding to ACE if AI_IDN.
74995 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74997         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74998         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75000 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75002         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75003         Fix overflow bug in strncat.
75004         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75006         * string/test-strncat.c: Update.
75007         Add new tests for checking overflow bugs.
75009 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75012         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75013         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75014         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75016         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75017         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75018         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75019         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75021         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75022         (USE_AS_STRCAT): Define.
75023         Add strcat and strncat support.
75024         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75026 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75028         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75029         __n bigger than INT_MAX+1.
75030         (__strncmp_g): Likewise.
75032 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75034         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75035         * libio/stido.h: Likewise.
75037         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75038         (AF_NFC): Define.
75039         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75040         (AF_NFC): Define.
75042         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75043         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75044         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75045         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75048         [BZ #13021]
75049         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75050         installed.
75052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75053         typo.
75054         (_dl_x86_64_save_sse): Likewise.
75056 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75058         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75059         OSXSAVE.
75060         (_dl_x86_64_save_sse): Likewise.
75062         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75064         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75066 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75069         change.
75070         (_dl_x86_64_save_sse): Use correct AVX check.
75072 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75074         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75075         bug in strncpy/strncat.
75076         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75078 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75080         * string/tester.c (test_strcat): Add tests for different alignments
75081         of source and destination.
75082         (test_strncat): Likewise.
75084 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75086         [BZ #12852]
75087         * posix/glob.c (glob): Check passed in values before using them in
75088         expressions to avoid some overflows.
75089         (glob_in_dir): Likewise.
75091         [BZ #13007]
75092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75093         check for AVX enablement so that we don't crash with old kernels and
75094         new hardware.
75095         * elf/tst-audit4.c: Add same checks here.
75096         * elf/tst-audit6.c: Likewise.
75098         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75100 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75102         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75104 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75106         * po/cs.po: Update from translation team.
75107         * po/bg.po: Likewise.
75109 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75111         * misc/sys/cdefs.h: Add support for const attribute.
75112         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75113         to gnu_dev_{major,minor,makedev} functions.
75115 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75117         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75119 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75121         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75122         strlen results.
75124 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75127         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75128         register in order to avoid conflicts with the soft frame pointer
75129         being held in r11 when necessary.
75130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75131         (INTERNAL_VSYSCALL_NCS): Likewise.
75133 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75135         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75136         * elf/dl-fini.c (_dl_fini): Adjust caller.
75137         * elf/dl-close.c (_dl_close_worker): Likewise.
75138         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75140 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75142         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75143         "aux_cache->nlibs < 0".
75145         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75146         in the reload-count case.
75148 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75151         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75152         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75153         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75154         * sysdeps/x86_64/multiarch/strcat.S: New file.
75155         * sysdeps/x86_64/multiarch/strncat.S: New file.
75156         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75157         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75158         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75159         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75161         (USE_AS_STRCAT): Define.
75162         Add strcat and strncat support.
75163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75164         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75165         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75166         * string/strncat.c: Update.
75167         (USE_AS_STRNCAT): Define.
75168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75169         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75170         and i7.
75171         * sysdeps/x86_64/multiarch/init-arch.h
75172         (bit_Prefer_PMINUB_for_stringop): New.
75173         (index_Prefer_PMINUB_for_stringop): Likewise.
75174         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75175         bit_Prefer_PMINUB_for_stringop.
75177 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75179         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75180         buffer64.
75181         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75182         of casting of buffer.
75183         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75184         buffer32 and buffer64.
75185         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75186         writes instead of casting of buffer.
75187         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75188         buffer32.
75189         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75190         casting of buffer.
75192 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75194         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75196 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75198         * nscd/nscd.c (termination_handler): Don't do anything for a database
75199         if it has not yet been initialized.
75201 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75203         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75205 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75207         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75209 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75211         * po/nl.po: Update from translation team.
75212         * po/sv.po: Likewise.
75214 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75216         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75217         now disallowed by GCC.
75219         * configure.in (use-default-link): Default to yes if a test -shared
75220         link meets our qualifications.
75221         * configure: Regenerated.
75223         * config.make.in (output-format): New variable.
75224         * configure.in: Check for ld --print-output-format support.
75225         * configure: Regenerated.
75226         * Makerules ($(common-objpfx)format.lds)
75227         [$(output-format) != unknown]: Just use $(output-format),
75228         instead of the linker-script munging.
75230 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75232         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75233         of $(common-objpfx)shlib.lds.
75234         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75236         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75237         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75239         * configure.in (-z relro check): Adjust test code to add a large
75240         writable data section after it.
75241         * configure: Regenerated.
75243 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75245         * configure.in (-z relro check): Fix test code to make the variable
75246         truly const.
75247         * configure: Regenerated.
75249 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75251         * nscd/nscd.h (struct traced_file): Define.
75252         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75253         elements.  Add traced_files.
75254         (inotify_fd): Declare.
75255         (register_traced_file): Declare.
75256         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75257         (inotify_fd): Export.
75258         (resolv_conf_descr): Remove.
75259         (nscd_init): Move inotify descriptor creation to main.
75260         Don't register files for notification here.
75261         (register_traced_file): New function.
75262         (invalidate_cache): Don't use reset_res to determine whether to call
75263         res_init, go through the list of registered files.
75264         (main_loop_poll): The inotify descriptors are now stored in the
75265         structures for the traced files.
75266         (main_loop_epoll): Likewise.
75267         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75268         to __nss_disable_nscd.
75269         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75270         for a database anymore.  Check the records for all the registered
75271         files instead.
75272         * nss/Makefile (libnss_files-routines): Add files-init.
75273         (libnss_db-routines): Add db-init.
75274         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75275         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75276         * nss/nss_db/db-init.c: New file.
75277         * nss/nss_files/files-init.c: New file.
75278         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75279         __nss_lookup_function.
75280         (__nss_lookup_function): Call nss_load_library.
75281         (nss_load_all_libraries): New function.
75282         (__nss_disable_nscd): Take parameter with callback function for files
75283         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75284         used for the cached services.
75285         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75286         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75287         options for features to all the files in nscd.
75289         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75291 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75293         * csu/elf-init.c (__libc_csu_init): Comment typo.
75295 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75297         * po/pl.po: Update from translation team.
75298         * po/ja.po: Likewise.
75299         * po/ru.po: Likewise.
75300         * po/ko.po: Likewise.
75301         * po/fr.po: Likewise.
75303 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75305         * configure.in (.ctors/.dtors header and trailer check):
75306         Use an empirical test on a built program.
75307         * configure: Regenerated.
75309         * configure.in (-z relro check): Use an empirical test on a built DSO.
75310         Detect, but do not require, on ia64.
75311         * configure: Regenerated.
75313         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75314         Update tests that use readelf to use $READELF instead.
75315         * configure: Regenerated.
75317 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75319         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75320         if the result is not used.
75322 2011-07-05  Andreas Jaeger  <aj@suse.de>
75324         [BZ#9696]
75325         * stdlib/tst-strtod.c: Add testcase.
75327 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75329         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75330         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75331         The latter has a higher limit.  Take additional parameter to pass to
75332         the new function.
75333         (__pathconf): Pass file to __statfs_link_max.
75334         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75335         __statfs_link_max.
75336         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75337         __statfs_link_max.
75339         [BZ #12868]
75340         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75341         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75342         Handle Lustre.
75343         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75344         (__statfs_filesize_max): Likewise.
75345         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75347 2011-07-05  Andreas Jaeger  <aj@suse.de>
75349         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75351 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75353         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75354         `status' variable.
75355         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75356         Likewise.
75358 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75360         * Makefile (strop-tests): Add strncat.
75361         * string/test-strncat.c: New file.
75363 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75365         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75367 2011-06-21  Andreas Jaeger  <aj@suse.de>
75369         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75370         Copy rule from iconvdata/Makefile.
75372 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75374         [BZ #12922]
75375         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75376         but no long options are defined, just return 'W'.
75378 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75380         [BZ #9696]
75381         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75383 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75385         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75386         netgroups to read.
75387         (innetgr): Likewise.
75389 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75391         * config.make.in (install_root): Default to $(DESTDIR).
75393 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75395         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75397 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75399         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75401         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75402         containing directory rather than embedding absolute directory names.
75404         * scripts/check-local-headers.sh: Rewritten using awk.
75405         Match by word, not by line.  Print error messages for matches.
75406         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75408         * Makerules [shlib-lds-flags empty]:
75409         ($(common-objpfx)libc_pic.opts): New target.
75410         ($(common-objpfx)libc_pic.os.clean): New target.
75411         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75413         * config.make.in (OBJCOPY): New variable.
75414         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75415         * configure: Regenerated.
75417         * config.make.in (use-default-link): New variable.
75418         * configure.in (use_default_link): Grok --with-default-link to set it.
75419         * configure: Regenerated.
75420         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75421         (shlib-lds, shlib-lds-flags): Define to empty.
75423         * Makerules (shlib-lds): New variable.
75424         (shlib-lds-flags): New variable.
75425         (build-shlib, build-moduile, build-module-asneeded): Use it.
75426         ($(common-objpfx)libc.so): Use $(shlib-lds).
75427         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75428         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75430         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75431         DT_FLAGS/DT_FLAGS_1 with zero flags.
75433         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75434         linker script munging.
75436 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75438         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75439         as 128-bit value.
75440         * crypt/sha512.c (sha512_process_block): Perform total addition using
75441         128-bit if possible.
75442         (__sha512_finish_ctx): Likewise.
75443         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75444         as 64-bit value.
75445         * crypt/sha256.c (SWAP64): Define.
75446         (sha256_process_block): Perform total addition using 64-bit if
75447         possible.
75448         (__sha256_finish_ctx): Likewise.
75450 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75452         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75453         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75454         * nscd/hstcache.c (cache_addhst): Likewise.
75455         * nscd/grpcache.c (cache_addgr): Likewise.
75456         * nscd/aicache.c (addhstaiX): Likewise.
75457         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75459 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75461         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75463         * nscd/hstcache.c (cache_addhst): Likewise.
75464         * nscd/grpcache.c (cache_addgr): Likewise.
75465         * nscd/aicache.c (addhstaiX): Likewise.
75467 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75469         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75470         domain only when needed.
75472 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75475         is always restored.
75477 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75479         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75480         are re-adding the entry.
75481         * nscd/servicescache.c (cache_addserv): Likewise.
75483 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75485         * sysdeps/generic/dl-irel.h: fix protection against multiple
75486         inclusions.
75487         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75489 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75491         [BZ #12935]
75492         * malloc/memusage.sh: Fix quoting in message.
75493         * debug/xtrace.sh: Likewise.
75495         * configure.in: Remove support for --experimental-malloc option, make
75496         it the default.
75497         * config.make.in: Likewise.
75498         * malloc/Makefile: Likewise.
75500 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75502         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75503         two-byte characters.
75505 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75507         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75508         AC_CACHE_CHECK invocation.
75509         * configure: Regenerated.
75511         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75513 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75515         [BZ #12350]
75516         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75517         bit from old_res_options.
75519         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75521         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75522         value type for setfct.
75524 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75527         __gettimeofday instead of gettimeofday.
75529 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75531         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75533 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75535         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75537         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75538         info.
75540 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75543         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75544         strcpy-sse2-unaligned strncpy-sse2-unaligned
75545         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75546         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75547         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75548         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75549         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75551         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75552         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75553         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75554         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75555         (STRCPY): Support SSE2 and SSSE3 versions.
75557 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75559         [BZ #12874]
75560         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75561         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75562         kernels which artificially limit size of requests.
75564 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75567         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75568         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75569         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75570         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75571         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75572         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75573         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75575         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75576         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75577         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75578         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75579         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75580         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75582         Enable unaligned load optimization for Intel Core i3, i5 and i7
75583         processors.
75584         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75585         Define.
75586         (index_Fast_Unaligned_Load): Define.
75587         (HAS_FAST_UNALIGNED_LOAD): Define.
75589 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75591         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75593 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75595         [BZ #12907]
75596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75597         until it is clear that the information is realy needed.
75598         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75600 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75604 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75607         /sys/devices/system/cpu/online if it is usable.
75609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75610         reading the information from the /proc filesystem to once a second.
75612 2011-06-21  Andreas Jaeger  <aj@suse.de>
75614         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75615         NULL after inclusion of kernel headers.
75617 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75619         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75620         calls to internal_setent.
75622         [BZ #12885]
75623         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75624         addresses using gethostbyname4_r ignore IPv4 addresses.
75626         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75627         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75629         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75631 2011-06-20  David S. Miller  <davem@davemloft.net>
75633         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75634         inclusions.
75635         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75637         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75638         (elf_irel): Use it.
75639         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75640         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75641         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75642         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75643         * sysdeps/x86_64/dl-irel.h: Likewise.
75645         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75646         * elf/dl-sym.c: Likewise.
75648 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75650         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75651         need to dereference resplen2.
75653 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75655         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75657 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75659         * Makeconfig: Define vardbdir and inst_vardbdir.
75660         * nss/Makefile: Add rules to install db-Makefile.
75662         * nss/nss_db/db-XXX.c: Cleanup.
75664         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75665         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75666         GLIBC_PRIVATE.
75667         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75668         * nss/makedb.c: Implement -g option to specify that value strings
75669         are generated and should not be added to table iterated over for
75670         get*ent calls.
75671         * nss/nss_db/db-initgroups.c: New file.
75673         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75674         interface.
75676         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75677         (internal_getgrouplist): Adjust to name change.
75678         Update use_initgroups_entry if this is not the first call.
75679         * nss/databases.def: Add initgroups entry.
75681         * nss/makedb.c (compute_tables): Check result of multiple hash table
75682         sizes to minimize maximum chain length.
75684 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75686         * Versions.def: Add entry for libnss_db.
75687         * shlib-versions: Likewise.
75688         * nss/Makefile: Add rules to build libnss_db.
75689         * nss/Versions: Add libnss_db information.  Organize libnss_files
75690         entries better.
75691         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75692         makedb progra.  Some minor improvements to generate smaller files.
75693         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75694         here from...
75695         * nss/makedb.c: ...here.
75696         Improve database format to be smaller and require less memory at
75697         runtime.
75698         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75699         db anymore.
75700         * nss/nss_db/db-netgrp.c: Likewise.
75701         * nss/nss_db/db-open.c: Likewise.
75702         * nss/nss_files/flies-XXX.x: Adjust comments.
75703         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75704         * nss/nss_files/files-grp.c: Likewise.
75705         * nss/nss_files/files-hosts.c: Likewise.
75706         * nss/nss_files/files-network.c: Likewise.
75707         * nss/nss_files/files-proto.c: Likewise.
75708         * nss/nss_files/files-pwd.c: Likewise.
75709         * nss/nss_files/files-rpc.c: Likewise.
75710         * nss/nss_files/files-service.c: Likewise.
75711         * nss/nss_files/files-sgrp.c: Likewise.
75712         * nss/nss_files/files-spwd.c: Likewise.
75713         * nss/nss_db/db-alias.c: Removed.
75714         * nss/nss_db/dummy-db.h: Removed.
75716 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75718         * nss/makedb.c: Rewritten to not use database library.
75719         * nss/Makefile: Update to build new makedb program.
75721 2011-06-14  Andreas Jaeger  <aj@suse.de>
75723         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75724         memset declaration.
75726 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75729         tmpbuf.
75731 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75733         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75734         * elf/Makefile ($(objpfx)ld.so): Likewise.
75736         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75737         Don't list ld.so twice in dependencies.
75739         * posix/bug-regex31.c: Include <stdlib.h>.
75741         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75743         * nis/nss_compat/compat-spwd.c
75744         (getspent_next_nss_netgr): Remove unused variable.
75745         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75747         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75748         nonmembers" output to use the right array.
75750         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75752         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75754         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75755         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75756         * catgets/gencat.c (read_input_file): Likewise.
75757         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75759         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75760         variable definition inside #if's controlling its use.
75762         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75764         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75766         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75768         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75769         unreachable code.
75771         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75773         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75774         * configure: Regenerated.
75776         * Makerules: Revert last change.
75777         * elf/Makefile: Likewise.
75779 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75781         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75782         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75783         (reloc-link): Likewise.
75785 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75787         * elf/Makefile: Add rules to build pldd.
75788         * elf/pldd.c: New file.
75789         * elf/pldd-xx.c: New file.
75791 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75793         * version.h: Update for 2.15 development version.
75795 2011-06-07  David S. Miller  <davem@davemloft.net>
75797         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75798         ifuncs.
75799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75800         elf_machine_lazy_rel): Likewise.
75801         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75802         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75803         elf_machine_lazy_rel): Likewise.
75804         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75805         dl_hwcap via passed in argument.
75806         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75807         Likewise.
75809 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75811         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75813 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75815         [BZ #12849]
75816         * manual/fdl-1.1.texi: New file, verbatim from:
75817         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75818         * manual/lgpl-2.1.texi: New file, verbatim from:
75819         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75820         * manual/Makefile (licenses): New variable, list those new file names.
75821         (texis): Use it.
75822         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75824         * manual/fdl.texi: File removed.
75825         * manual/lesser.texi: File removed.
75826         * manual/libc.texinfo (Copying, Documentation License):
75827         Use new @include file names, put @appendix directive before @include.
75829 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75831         [BZ #12841]
75832         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75833         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75834         (mq_open): Add __NTH.
75836 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75839         Assume Intel Core i3/i5/i7 processor if AVX is available.
75841 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75844         typo.
75846 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75848         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75849         memory.  Use alloca_account.  Fix memory leak when retrying.
75851 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75853         * version.h (RELEASE): Bump for 2.14 release.
75854         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75856         * config.make.in (RANLIB): Remove entry.
75858 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75860         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75861         (libc.pot): Work around missing support for .ksh extension in xgettext.
75863         [BZ #12684]
75864         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75865         if both request failed.
75866         (send_dg): In case of server errors clear resplen or *resplen2.
75868         [BZ #12454]
75869         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75870         when there are multiple maps.
75871         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75872         (_dl_fini): Remove test here.
75874         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75876 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75878         [BZ #12350]
75879         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75880         bit from old_res_options.
75881         (gaih_inet): Likewise.
75883         [BZ #11099]
75884         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75885         as signed.
75887         * resolv/res_init.c (res_setoptions): Make the code more compact.
75889         [BZ #11558]
75890         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75891         set RES_USEVC.
75893         [BZ #11634]
75894         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75896         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75898         [BZ #11781]
75899         * malloc/malloc.h: Declare malloc hook variables as volatile.
75901         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75902         in last patch.
75904         [BZ #11799]
75905         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75906         raise in the comment.
75907         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75909         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75911 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75913         [BZ #12811]
75914         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75915         grow the buffers more if it already has to be sufficient.
75916         (build_wcs_upper_buffer): Likewise.
75917         * posix/regexec.c (check_matching): Likewise.
75918         (clean_state_log_if_needed): Likewise.
75919         (extend_buffers): Don't enlarge buffers beyond size of the input
75920         buffer.
75921         Patches mostly by Emil Wojak <emil@wojak.eu>.
75922         * posix/bug-regex32.c: New file.
75923         * posix/Makefile (tests): Add bug-regex32.
75925         * locale/findlocale.c (_nl_find_locale): Return right away if
75926         _nl_explode_name failed.
75927         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75929         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75931         * debug/xtrace.sh: Unify messages.
75932         * malloc/memusage.sh: Likewise.
75934         [BZ #12813]
75935         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75936         time symbol from vDSO.  Substitute with vsyscall if not available.
75937         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75938         __vdso_time.
75940         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75941         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75942         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75943         Add sendmmsg and internal_sendmmsg.
75944         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75945         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75946         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75948         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75949         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75950         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75952 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75954         [BZ #12813]
75955         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75956         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75957         available.
75958         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75959         __vdso_getcpu.
75961         [BZ #12814]
75962         * iconvdata/Makefile (tests): Add bug-iconv9.
75963         * iconvdata/bug-iconv9.c: New file.
75965 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75967         [BZ #12814]
75968         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75970 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75972         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75973         (struct user_regs_struct): Change intcs field back to cs.
75975 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75977         * po/ja.po: Update from translation team.
75979 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75981         [BZ #12795]
75982         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75983         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75985 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75987         * stdlib/longlong.h: Update from GCC.
75989 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75991         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75992         parameter name.
75993         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75994         Add parameter name.
75995         (__sysconf): Pass it down.
75997 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75999         [BZ #12671]
76000         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76001         some situations.
76002         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76003         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76004         add in in __libc_use_alloca calls.  Adjust callers.
76005         (glob): Use malloc in some situations.
76007         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76008         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76009         pltexit.
76011 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76013         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76014         and CLOCK_BOOTTIME_ALARM.
76016         [BZ #12782]
76017         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76018         is returned.
76020         * string/_strerror.c (__strerror_r): Print negative errors as signed
76021         numbers.
76023         [BZ #12777]
76024         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76025         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76026         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76028         * configure.in: Fix typo in redirection and correct removal of test
76029         files in two cases.
76031         [BZ #12788]
76032         * locale/setlocale.c (new_composite_name): Fix test to check for
76033         identical name of all categories.
76035         [BZ #12792]
76036         * libio/filedoalloc.c (local_isatty): New function.
76037         (_IO_file_doallocate): Use local_isatty.
76038         * stdio-common/perror.c (perror): In case a new stream is used
76039         forward the stream error.
76040         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76041         error flag.
76043 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76045         [BZ #11884]
76046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76047         alloca.
76048         * include/alloca.h (extend_alloca_account): Define.
76050         [BZ #11857]
76051         * posix/regex.h: Fix comments with documentation of user-accessible
76052         fields after compilation and describe correct free'ing of pattern
76053         after re_compile_pattern.
76054         Patch by Reuben Thomas <rrt@sc3d.org>.
76056 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76058         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76059         and -mno-altivec to prevent the compiler from using Altivec and/or
76060         VSX instructions when the corresponding registers are not available.
76062 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76064         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76066 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76068         * libio/freopen.c (freopen): Use __dup2, not dup2.
76069         * libio/freopen64.c (freopen64): Likewise.
76071 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76073         [BZ #12775]
76074         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76075         * math/Makefile (tests): Add test-powl.
76076         (CFLAGS-test-powl.c): Define.
76077         * math/test-powl.c: New file.
76079 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76081         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76083 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76085         [BZ #11837]
76086         * iconvdata/gb18030.c: Update to GB18020-2005.
76088 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76090         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76091         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76092         Patch by Aharon Robbins <arnold@skeeve.com>.
76094         [BZ #11892]
76095         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76096         on the stack.
76098         [BZ #11895]
76099         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76100         through underflows.
76102         [BZ #12766]
76103         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76104         point to strings before performing equality test for error_one_per_line
76105         mode.
76107         [BZ #11697]
76108         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76110         [BZ #11820]
76111         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76112         (struct user_fpregs_struct): Avoid __uint*_t types.
76114         [BZ #6420]
76115         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76116         symbol info.  Use it instead of calling _dl_addr locally.
76117         (lock_and_info): New function.
76118         (tr_freehook): Call lock_and_info and pass symbol info as additional
76119         parameter to tr_where.
76120         (tr_mallochook): Likewise.
76121         (tr_reallochook): Likewise.
76122         (tr_memalignhook): Likewise.
76124         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76125         used and couldn't be at all thread-safe.
76127 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76129         * libio/freopen.c (freopen): Don't close old file descriptor
76130         before the new one is opened.  Instead dup the new file descriptor
76131         to the old one after the new stream is created.
76132         * libio/freopen64.c (freopen64): Likewise.
76133         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76134         * libio/fileops.c (_IO_new_file_close_it): Handle new
76135         _IO_FLAGS2_NOCLOSE flag.
76136         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76137         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76138         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76139         _IO_FLAGS2_NOCLOSE flag.
76140         * include/unistd.h: Add hidden_proto for dup3.
76141         Define __have_dup3.
76142         * io/dup3.c: Define hidden symbol.
76143         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76145         [BZ #7101]
76146         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76147         when an incomplete long option is used.
76148         * posix/tst-getopt_long1.c: New file.
76149         * posix/Makefile (tests): Add tst-getopt_long1.
76151         [BZ #10138]
76152         * scripts/config.guess: Update from autoconf-2.68.
76153         * scripts/config.sub: Likewise.
76155         [BZ #10157]
76156         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76157         tests into ...
76158         (has_cpuclock): ...this.  New function.
76159         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76160         macro here based on has_cpuclock code.
76162         [BZ #10149]
76163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76164         First byte (not low byte) is now always NUL.
76165         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76168         Use non-cancelable interfaces.
76170         [BZ #9809]
76171         * locale/iso-639.def: Add entry for Sorani.
76173         [BZ #11901]
76174         * include/stdlib.h: Move include protection to the right place.
76175         Define abort_msg_s.  Declare __abort_msg with it.
76176         * stdlib/abort.c (__abort_msg): Adjust type.
76177         * assert/assert.c (__assert_fail_base): New function.  Majority
76178         of code from __assert_fail.  Allocate memory for __abort_msg with
76179         mmap.
76180         (__assert_fail): Now call __assert_fail_base.
76181         * assert/assert-perr.c: Remove bulk of implementation.  Use
76182         __assert_fail_base.
76183         * include/assert.hL Declare __assert_fail_base.
76184         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76185         mmap.
76186         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76188 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76190         [BZ #11952]
76191         [BZ #12453]
76192         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76193         until all modules are registered in the DTV.
76194         * elf/Makefile: Add rules to build and run tst-tls19.
76195         * elf/tst-tls19.c: New file.
76196         * elf/tst-tls19mod1.c: New file.
76197         * elf/tst-tls19mod2.c: New file.
76198         * elf/tst-tls19mod3.c: New file.
76199         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76201         [BZ #12083]
76202         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76203         correctly.
76205         [BZ #12601]
76206         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76207         two-byte sequence errors.
76208         * iconvdata/Makefile (tests): Add bug-iconv8.
76209         * iconvdata/bug-iconv8.c: New file.
76211         [BZ #12626]
76212         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76213         buf2 definition.
76215         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76217         [BZ #12432]
76218         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76219         (dummy_getcfa): New function.
76220         (init): Get _Unwind_GetCFA address, use dummy if not found.
76221         (backtrace_helper): In recursion check, also check whether CFA changes.
76222         (__backtrace): Completely initialize arg.
76224         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76225         storing incomplete byte sequence in state object.  Avoid testing for
76226         guaranteed too small input if we know there is enough data available.
76228 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76230         * Makeconfig (+link-pie): Indent.
76231         * Rules (binaries-pie): Define if $(have-fpie) and
76232         $(build-shared).
76233         (binaries-shared): Also filter out $(binaries-pie).
76234         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76235         * nscd/Makefile (others-pie): Add nscd.
76236         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76237         ($(objpfx)nscd): Remove command override.
76238         * login/Makefile (others-pie): Add pt_chown.
76239         ($(objpfx)pt_chown): Remove command override.
76240         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76241         remove command overrides.
76243 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76245         * libio/tst_putwc.c: Fix error messages.
76247         [BZ #12724]
76248         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76249         currently writing and seek to current position when not.
76250         * libio/Makefile (tests): Add bug-fclose1.
76251         * libio/bug-fclose1.c: New file.
76253 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76255         [BZ #12511]
76256         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76257         don't set DF_1_NODELETE here.
76258         (do_lookup_x): When entering new entry test for copy relocation
76259         and if necessary set DF_1_NODELETE flag.
76260         * elf/tst-unique4.cc: New file.
76261         * elf/tst-unique4.h: New file.
76262         * elf/tst-unique4lib.cc: New file.
76263         * elf/Makefile: Add rules to build and run tst-unique4.
76264         Patch by Piotr Bury <pbury@goahead.com>.
76266 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76268         [BZ #12052]
76269         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76271         [BZ #12625]
76272         * misc/mntent_r.c (addmntent): Flush the stream after the output
76274         [BZ #12393]
76275         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76276         (is_trusted_path_normalize): Skip initial colon.  Append slash
76277         to empty buffer.  Duplicate is_trusted_path code but allow
76278         constructed patch to be prefix.
76279         (is_dst): Allow $ORIGIN followed by /.
76280         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76281         Correct testing of result of is_trusted_path_normalize
76282         (decompose_rpath): Fix warning.
76284 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76286         [BZ #11257]
76287         * grp/initgroups.c (internal_getgrouplist): When we found the service
76288         list through the initgroups entry in nsswitch.conf do not always
76289         continue on a successful lookup.  Don't always use the
76290         __nss_group_database value if it is set.
76291         * nss/nsswitch.conf (initgroups): Change action for successful db
76292         lookup to continue for compatibility.
76294 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76296         [BZ #11532]
76297         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76298         and CP774 modules.
76299         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76300         and CP774 modules.
76301         * iconvdata/tst-tables.sh: Likewise.
76302         * iconvdata/cp770.c: New file.
76303         * iconvdata/cp771.c: New file.
76304         * iconvdata/cp772.c: New file.
76305         * iconvdata/cp773.c: New file.
76306         * iconvdata/cp774.c: New file.
76307         * iconvdata/testdata/CP770: New file.
76308         * iconvdata/testdata/CP770..UTF8: New file.
76309         * iconvdata/testdata/CP771: New file.
76310         * iconvdata/testdata/CP771..UTF8: New file.
76311         * iconvdata/testdata/CP772: New file.
76312         * iconvdata/testdata/CP772..UTF8: New file.
76313         * iconvdata/testdata/CP773: New file.
76314         * iconvdata/testdata/CP773..UTF8: New file.
76315         * iconvdata/testdata/CP774: New file.
76316         * iconvdata/testdata/CP774..UTF8: New file.
76318         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76319         END CHARMAP line.
76320         * iconvdata/gen-8bit-gap.sh: Likewise.
76321         * iconvdata/gen-8bit.sh: Likewise.
76323         * locale/iso-639.def: Add ary entry.
76325         [BZ #11258]
76326         * locale/C-translit.h.in: Add U20A1 transliteration.
76328         [BZ #12178]
76329         * locale/iso-639.def: Add wae entry.
76330         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76332         [BZ #12545]
76333         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76334         for n.
76336         [BZ #12711]
76337         * locale/C-translit.h.in: Add entry for U20B9.
76338         Patch by pravin.d.s@gmail.com.
76340 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76342         [BZ #12713]
76343         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76344         ENAMETOOLONG use generic getcwd.
76345         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76346         in rtld.  Use *stat64.
76347         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76348         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76349         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76350         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76351         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76352         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76353         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76354         __fstatat64 macros.
76355         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76356         * dirent/rewinddir.c: Add libc_hidden_def.
76357         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76358         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76360         * include/dirent.h (__alloc_dir): Add flags parameter.
76361         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76362         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76363         __alloc_dir.
76364         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76365         from fdopendir if O_CLOEXEC is already set.
76367 2011-03-15  Alan Modra  <amodra@gmail.com>
76369         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76370         l_tls_firstbyte_offset non-zero.  Save padding offset in
76371         l_tls_firstbyte_offset for later use.
76372         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76373         freeing static tls block.
76375 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76377         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76378         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76379         being defined by the kernel headers.
76381 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76383         [BZ #12734]
76384         * resolv/resolv.h: Define RES_NOTLDQUERY.
76385         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76386         no-tld-query and set RES_NOTLDQUERY.
76387         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76388         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76389         modern BIND to search name as TLD unless forbidden.
76391 2011-05-07  Petr Baudis  <pasky@suse.cz>
76392             Ulrich Drepper  <drepper@gmail.com>
76394         [BZ #12393]
76395         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76396         (is_trusted_path): ...to here.
76397         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76398         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76399         using is_trusted_path_normalize() in setuid scripts.
76401 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76403         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76404         __BEGIN/__END_DECLS.
76406 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76408         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76409         NSS_STATUS_NOTFOUND if no record was found.
76411 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76413         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76414         (headers-not-in-tirpc): Remove rpc/netdb.h
76415         * resolv/netdb.h: Revert last change.
76417 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76419         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76420         circular dependency between libgcc.a and libc.a.
76422 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76424         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76425         * nis/Makefile: Don't install rpcsvc/*.
76426         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76427         instead of <rpc/types.h>.
76428         (MAXHOSTNAMELEN): Define.
76430 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76432         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76434 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76436         [BZ #12714]
76437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76438         gethostbyname4_r when IPv6 results are possible.
76440 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76442         [BZ #12723]
76443         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76444         _PC_PIPE_BUF handling.
76446 2011-04-30  Bruno Haible  <bruno@clisp.org>
76448         [BZ #12717]
76449         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76450         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76451         to 'int'.
76452         * inet/getnameinfo.c (getnameinfo): Likewise.
76454 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76456         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76457         to groups setting in database lookup.
76458         * nss/nsswitch.conf: Add initgroups entry.
76460 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76462         [BZ #12685]
76463         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76464         mode string.
76465         Patch by Eric Blake <eblake@redhat.com>.
76467 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76469         * sunrpc/Makefile (need-export-routines): Add svc_run.
76470         (routines): Remove svc_run.
76471         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76472         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76473         * sunrpc/svc_run.c (svc_run): Likewise.
76474         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76476 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76478         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76479         problem in reallocation in last patch.
76481 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76483         * sunrpc/Makefile: Move inclusion of Rules.
76485 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76487         * nss/nss_files/files-initgroups.c: New file.
76488         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76489         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76490         _nss_files_initgroups_dyn.
76492 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76494         * elf/elf.h (R_ARM_IRELATIVE): Define.
76496 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76498         * po/ru.po: Update from translation team.
76500 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76502         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76503         dependencies.
76505 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76507         [BZ #12653]
76508         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76509         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76510         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76511         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76512         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76514 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76516         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76517         differing bytes.
76518         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76522 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76524         [BZ #12420]
76525         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76526         storing it.
76527         * stdlib/bug-getcontext.c: New file.
76528         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76530 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76532         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76533         instructions into .machine "z9-109".
76534         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76535         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76537 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76539         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76540         between environment variables and auxiliary vector.
76542 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76544         * Makefile: Add rules to build linkobj/libc.so.
76545         * include/libc-symbols.h: Define libc_hidden_nolink.
76546         * include/rpc/auth.h: Mark functions which are to be hidden.
76547         * include/rpc/auth_des.h: Likewise.
76548         * include/rpc/auth_unix.h: Likewise.
76549         * include/rpc/clnt.h: Likewise.
76550         * include/rpc/des_crypt.h: Likewise.
76551         * include/rpc/key_prot.h: Likewise.
76552         * include/rpc/pmap_clnt.h: Likewise.
76553         * include/rpc/pmap_prot.h: Likewise.
76554         * include/rpc/pmap_rmt.h: Likewise.
76555         * include/rpc/rpc_msg.h: Likewise.
76556         * include/rpc/svc.h: Likewise.
76557         * include/rpc/svc_auth.h: Likewise.
76558         * include/rpc/xdr.h: Likewise.
76559         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76560         * nss/Makefile: Likewise.
76561         * sunrpc/Makefile: Don't install headers.  Build library with normal
76562         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76563         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76564         for the compat linking library.  Remove use of INTDEF/INTUSE.
76565         * sunrpc/auth_none.c: Likewise.
76566         * sunrpc/auth_unix.c: Likewise.
76567         * sunrpc/authdes_prot.c: Likewise.
76568         * sunrpc/authuxprot.c: Likewise.
76569         * sunrpc/clnt_gen.c: Likewise.
76570         * sunrpc/clnt_perr.c: Likewise.
76571         * sunrpc/clnt_raw.c: Likewise.
76572         * sunrpc/clnt_simp.c: Likewise.
76573         * sunrpc/clnt_tcp.c: Likewise.
76574         * sunrpc/clnt_udp.c: Likewise.
76575         * sunrpc/clnt_unix.c: Likewise.
76576         * sunrpc/des_crypt.c: Likewise.
76577         * sunrpc/des_soft.c: Likewise.
76578         * sunrpc/get_myaddr.c: Likewise.
76579         * sunrpc/key_call.c: Likewise.
76580         * sunrpc/key_prot.c: Likewise.
76581         * sunrpc/netname.c: Likewise.
76582         * sunrpc/pm_getmaps.c: Likewise.
76583         * sunrpc/pm_getport.c: Likewise.
76584         * sunrpc/pmap_clnt.c: Likewise.
76585         * sunrpc/pmap_prot.c: Likewise.
76586         * sunrpc/pmap_prot2.c: Likewise.
76587         * sunrpc/pmap_rmt.c: Likewise.
76588         * sunrpc/publickey.c: Likewise.
76589         * sunrpc/rpc_cmsg.c: Likewise.
76590         * sunrpc/rpc_common.c: Likewise.
76591         * sunrpc/rpc_dtable.c: Likewise.
76592         * sunrpc/rpc_prot.c: Likewise.
76593         * sunrpc/rpc_thread.c: Likewise.
76594         * sunrpc/rtime.c: Likewise.
76595         * sunrpc/svc.c: Likewise.
76596         * sunrpc/svc_auth.c: Likewise.
76597         * sunrpc/svc_authux.c: Likewise.
76598         * sunrpc/svc_raw.c: Likewise.
76599         * sunrpc/svc_run.c: Likewise.
76600         * sunrpc/svc_simple.c: Likewise.
76601         * sunrpc/svc_tcp.c: Likewise.
76602         * sunrpc/svc_udp.c: Likewise.
76603         * sunrpc/svc_unix.c: Likewise.
76604         * sunrpc/svcauth_des.c: Likewise.
76605         * sunrpc/xcrypt.c: Likewise.
76606         * sunrpc/xdr.c: Likewise.
76607         * sunrpc/xdr_array.c: Likewise.
76608         * sunrpc/xdr_float.c: Likewise.
76609         * sunrpc/xdr_intXX_t.c: Likewise.
76610         * sunrpc/xdr_mem.c: Likewise.
76611         * sunrpc/xdr_rec.c: Likewise.
76612         * sunrpc/xdr_ref.c: Likewise.
76613         * sunrpc/xdr_sizeof.c: Likewise.
76614         * sunrpc/xdr_stdio.c: Likewise.
76616 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76618         [BZ #12650]
76619         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76620         * sysdeps/ia64/dl-tls.h: Likewise.
76621         * sysdeps/powerpc/dl-tls.h: Likewise.
76622         * sysdeps/s390/dl-tls.h: Likewise.
76623         * sysdeps/sh/dl-tls.h: Likewise.
76624         * sysdeps/sparc/dl-tls.h: Likewise.
76625         * sysdeps/x86_64/dl-tls.h: Likewise.
76626         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76628 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76630         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76631         rpath element also skip the following colon.
76632         (expand_dynamic_string_token): Add is_path parameter and pass
76633         down to DL_DST_REQUIRED and _dl_dst_substitute.
76634         (decompose_rpath): Call expand_dynamic_string_token with
76635         non-zero is_path.  Ignore empty rpaths.
76636         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76637         with zero is_path.
76639 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76642         Make cancelable.
76644 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76646         [BZ #12655]
76647         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76648         Patch by Filipe David Manana <fdmanana@apache.org>.
76650 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76653         Maintain aligned stack.
76654         (CHECK_RSP): Remove unused macro.
76656 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76658         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76659         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76661 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76663         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76665         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76667 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76669         [BZ #12518]
76670         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76671         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76672         * sysdeps/x86_64/memmove.c: New file.
76673         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76674         (memcpy): Renamed to ...
76675         (__new_memcpy): This.
76676         (memcpy): Provide GLIBC_2_14 memcpy.
76677         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76678         (memcpy): Provide GLIBC_2_2_5 memcpy.
76680 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76682         [BZ #12631]
76683         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76685 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76687         * misc/syncfs.c: New file.
76688         * misc/Makefile (routines): Add syncfs.
76689         * posix/unistd.h: Declare syncfs.
76690         * sysdeps/unix/syscalls.list: Add syncfs.
76692 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76694         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76695         open_by_handle_at.
76696         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76697         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76699         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76701         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76702         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76704 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76706         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76707         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76708         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76710         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76712         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76714         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76715         sync_file_range.c with -fexceptions.
76716         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76717         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76718         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76719         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76720         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76721         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76722         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76723         sync_file_range as cancellation point
76724         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76725         now a wrapper around __call_sync_file_range with cancellation handling.
76726         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76727         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76728         function name to __call_sync_file_range.
76729         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76730         Add call_sync_file_range.
76732 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76735         bits/timex.h.
76737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76739         * iconv/iconv.h: Fix typo in comment.
76740         * io/fcntl.h: Likewise.
76741         * libio/stdio.h: Likewise.
76742         * posix/spawn.h: Likewise.
76743         * posix/unistd.h: Likewise.
76744         * stdlib/stdlib.h: Likewise.
76745         * time/time.h: Likewise.
76746         * wcsmbs/wchar.h: Likewise.
76748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76749         open_by_handle): Add.
76750         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76751         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76752         Augment a few comments.
76753         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76755         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76757         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76758         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76759         open_by_handle.
76761         * io/fcntl.h (AT_EMPTY_PATH): Define.
76763 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76765         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76766         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76767         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76768         to...
76769         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76770         * Versions.def: Add GLIBC_2.14.
76771         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76772         Export.
76774 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76776         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76777         round counter.
76778         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76780 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76782         [BZ #12597]
76783         * string/test-strncmp.c (do_page_test): New function.
76784         (check2): Likewise.
76785         (test_main): Call check2.
76786         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76788 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76790         [BZ #12587]
76791         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76792         Handle cache information in CPU leaf 4.
76793         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76795 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76797         [BZ #12583]
76798         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76799         character representation.
76800         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76802 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76804         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76805         END(__isnan) to END(__isnanf) to match function entry point/label
76806         EALIGN(__isnanf,...).
76808 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76810         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76812 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76814         [BZ #12510]
76815         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76816         copy from the symbol referenced in the relocation to initialize the
76817         used variable.
76818         Patch by Piotr Bury <pbury@goahead.com>.
76819         * elf/Makefile: Add rules to build and tst-unique3.
76820         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76821         * elf/tst-unique3.cc: New file.
76822         * elf/tst-unique3.h: New file.
76823         * elf/tst-unique3lib.cc: New file.
76824         * elf/tst-unique3lib2.cc: New file.
76826         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76828 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76830         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76831         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76832         to _start.
76834 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76836         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76837         to-be-loaded object along a path to loader is ld.so.
76839 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76840             Ulrich Drepper  <drepper@gmail.com>
76842         * sysdeps/x86_64/memset.S: After aligning destination, code
76843         branches to different locations depending on the value of
76844         misalignment, when multiarch is enabled. Fix this.
76846 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76848         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76849         Set _x86_64_preferred_memory_instruction for AMD processsors.
76850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76851         Set bit_Prefer_SSE_for_memop for AMD processors.
76853 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76855         * libio/fmemopen.c (fmemopen): Optimize a bit.
76857 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76859         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76861 2011-03-03  Roland McGrath  <roland@redhat.com>
76863         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76865 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76867         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76868         __bzero_ultra1 instead of __memset_ultra1.
76870 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76871             Ulrich Drepper  <drepper@gmail.com>
76873         [BZ #12509]
76874         * include/link.h (struct link_map): Add l_orig_initfini.
76875         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76876         returning unsuccessfully.
76877         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76878         close of a file loaded at startup, restore the original l_initfini
76879         list.
76880         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76881         list, store the pointer.
76882         * elf/Makefile ($(objpfx)noload-mem): New rule.
76883         (noload-ENV): Define.
76884         (tests): Add $(objpfx)noload-mem.
76885         * elf/noload.c: Include <memcheck.h>.
76886         (main): Call mtrace.  Close all opened handles.
76888 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76890         [BZ #12454]
76891         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76892         dependencies are missing.
76894 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76896         Fix __if_freereq crash: Unlike the generic version which uses free,
76897         Hurd needs munmap.
76898         * sysdeps/mach/hurd/ifreq.h: New file.
76900 2011-01-27  Petr Baudis  <pasky@suse.cz>
76901             Ulrich Drepper  <drepper@gmail.com>
76903         [BZ 12445]#
76904         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76905         to extend_alloca().
76906         * stdio-common/bug23.c: New file.
76907         * stdio-common/Makefile (tests): Add bug23.
76909 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76910             Ulrich Drepper  <drepper@gmail.com>
76912         [BZ #12489]
76913         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76914         before performing relro protection.  At old place add assertion
76915         to make sure nothing changed.
76917 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76918             Glauber de Oliveira Costa  <glommer@gmail.com>
76920         * elf/elf.h: Add new ARM TLS relocs.
76922 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76925         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76926         cast from r3.
76927         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76928         'tests' variable.
76929         * sysdeps/wordsize-64/tst-writev.c: New file.
76931 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76933         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76934         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76935         insns in _dl_start to prevent a TOC reference before relocs are
76936         resolved.
76938 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76940         [BZ #12469]
76941         * Makeconfig: Remove RANLIB definition.
76942         * Makerules: Don't use RANLIB.
76943         * aclocal.m4: Remove ranlib test.
76944         * configure.in: No need to check for ranlib.
76945         * elf/rtld-Rules: Don't use RANLIB.
76947 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76949         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76950         protection macro.
76951         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76952         inclusion protection macro.
76954         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76955         SIGRTMIN and SIGRTMAX and print information in that case only when
76956         SIGRTMIN is defined.
76958 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76960         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76961         arginfo fn returning -1.
76963         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76964         and thousands string is zero terminated.
76966 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76969         sysdeps/unix/sysv/linux/bits/socket.h.
76971 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76973         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76974         (__CPU_COUNT): Remove old macros.
76975         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76976         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76977         (__CPU_ALLOC, __CPU_FREE): Add macros.
76978         (__sched_cpualloc, __sched_cpufree): Add declarations.
76980 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76982         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76983         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76984         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76985         (readdhstai): Return value of addhstaiX call.
76986         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76987         (addgrbyX): Return value returned by cache_addgr.
76988         (readdgrbyname): Return value returned by addgrbyX.
76989         (readdgrbygid): Likewise.
76990         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76991         (addpwbyX): Return value returned by cache_addpw.
76992         (readdpwbyname): Return value returned by addhstbyX.
76993         (readdpwbyuid): Likewise.
76994         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76995         (addservbyX): Return value returned by cache_addserv.
76996         (readdservbyname): Return value returned by addservbyX:
76997         (readdservbyport): Likewise.
76998         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76999         (addhstbyX): Return value returned by cache_addhst.
77000         (readdhstbyname): Return value returned by addhstbyX.
77001         (readdhstbyaddr): Likewise.
77002         (readdhstbynamev6): Likewise.
77003         (readdhstbyaddrv6): Likewise.
77004         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77005         (readdinitgroups): Return value returned by addinitgroupsX.
77006         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77007         (prune_cache): Keep track of timeout value of re-added entries.
77008         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77009         * nscd/nscd.h: Adjust prototypes of readd* functions.
77011 2011-02-04  Roland McGrath  <roland@redhat.com>
77013         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77014         (nis_stats): Likewise.
77015         * nis/nis_modify.c (nis_modify): Likewise.
77016         * nis/nis_remove.c (nis_remove): Likewise.
77017         * nis/nis_add.c (nis_add): Likewise.
77019         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77021         * posix/fnmatch_loop.c: Add some consts.
77023         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77025 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77027         [BZ #12460]
77028         * config.make.in (config-cflags-novzeroupper): Define.
77029         * configure.in: Substitute libc_cv_cc_novzeroupper.
77030         * elf/Makefile (AVX-CFLAGS): Define.
77031         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77032         (CFLAGS-tst-auditmod4a.c): Likewise.
77033         (CFLAGS-tst-auditmod4b.c): Likewise.
77034         (CFLAGS-tst-auditmod6b.c): Likewise.
77035         (CFLAGS-tst-auditmod6c.c): Likewise.
77036         (CFLAGS-tst-auditmod7b.c): Likewise.
77037         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77039 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77041         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77042         function to the callback.
77043         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77045 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77047         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77048         of errno.
77050 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77052         [BZ #11724]
77053         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77054         of constructors.
77055         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77056         of destructors.
77057         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77059         [BZ #11724]
77060         * elf/Makefile: Add rules to build and run new test.
77061         * elf/tst-initorder.c: New file.
77062         * elf/tst-initorder.exp: New file.
77063         * elf/tst-initordera1.c: New file.
77064         * elf/tst-initordera2.c: New file.
77065         * elf/tst-initordera3.c: New file.
77066         * elf/tst-initordera4.c: New file.
77067         * elf/tst-initorderb1.c: New file.
77068         * elf/tst-initorderb2.c: New file.
77069         * elf/tst-order-a1.c: New file.
77070         * elf/tst-order-a2.c: New file.
77071         * elf/tst-order-a3.c: New file.
77072         * elf/tst-order-a4.c: New file.
77073         * elf/tst-order-b1.c: New file.
77074         * elf/tst-order-b2.c: New file.
77075         * elf/tst-order-main.c: New file.
77076         New test case by George Gensure <werkt0@gmail.com>.
77078 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77081         decoding ACE if AI_CANONIDN.
77083 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77085         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77087 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77089         * version.h (RELEASE): Bump for 2.13 release.
77090         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77092         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77094         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77095         MADV_NOHUGEPAGE.
77096         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77097         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77098         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77099         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77100         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77101         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77103         * posix/getconf.c: Update copyright year.
77104         * catgets/gencat.c: Likewise.
77105         * csu/version.c: Likewise.
77106         * debug/catchsegv.sh: Likewise.
77107         * debug/xtrace.sh: Likewise.
77108         * elf/ldconfig.c: Likewise.
77109         * elf/ldd.bash.in: Likewise.
77110         * elf/sprof.c (print_version): Likewise.
77111         * iconv/iconv_prog.c: Likewise.
77112         * iconv/iconvconfig.c: Likewise.
77113         * locale/programs/locale.c: Likewise.
77114         * locale/programs/localedef.c: Likewise.
77115         * malloc/memusage.sh: Likewise.
77116         * malloc/mtrace.pl: Likewise.
77117         * nscd/nscd.c (print_version): Likewise.
77118         * nss/getent.c: Likewise.
77120         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77121         PF_CAIF, and PF_ALG.
77122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77124 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77126         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77127         (modules-names): Use them.
77128         (ifunc-test-modules, ifunc-pie-tests): Define.
77129         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77130         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77131         (test-extras): Likewise.
77132         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77133         $(compile-command.c).
77134         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77135         (all-built-dso): Define.
77136         (check-textrel.out, check-execstack.out): Depend on it.
77138         * configure.in: Don't override --enable-multi-arch.
77140 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77142         [BZ #6812]
77143         * nscd/hstcache.c (tryagain): Define.
77144         (cache_addhst): Return tryagain not notfound for temporary errors.
77145         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77146         failed.
77148 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77150         [BZ #10563]
77151         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77152         to make the syscall.
77153         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77155         [BZ #12378]
77156         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77157         and fall back to matching as normal character if the string ends before
77158         the matching ']' is found.  This is what POSIX requires.
77159         * posix/testfnm.c: Adjust test result.
77160         * posix/globtest.sh: Adjust test result.  Add new test.
77161         * posix/tst-fnmatch.input: Likewise.
77162         * posix/tst-fnmatch2.c: Add new test.
77164 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77166         * elf/Makefile (check-execstack): Revert last change.  Depend on
77167         check-execstack.h.
77168         (check-execstack.h): New target.
77169         (generated): Add check-execstack.h.
77170         * elf/check-execstack.c: Include "check-execstack.h".
77171         (main): Revert last change.
77172         (handle_file): Return zero if GNU_STACK is absent and
77173         DEFAULT_STACK_PERMS doesn't include PF_X.
77175 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77177         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77178         in child fails because the descriptor is already closed.
77179         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77180         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77181         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77183         [BZ #12397]
77184         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77185         syscall.
77187         [BZ #10484]
77188         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77189         temporary buffer used to handle multi lookups locally.
77190         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77192 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77194         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77195         loader is ld.so.
77197 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77199         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77200         alignment for SSE2.
77202 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77204         [BZ #12394]
77205         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77206         characters.  When rounding increased number of integer digits recompute
77207         number of groups.
77208         * stdio-common/tst-grouping.c: New file.
77209         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77211 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77213         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77214         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77216         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77217         void.
77218         * bits/select.h: Likewise.
77220 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77222         * po/ja.po: Update from translation team.
77224 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77226         [BZ #11155]
77227         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77228         implementation just like for lxstat, fxstatat, et al.
77230 2010-12-27  Jim Meyering  <meyering@redhat.com>
77232         [BZ #12348]
77233         * posix/regexec.c (build_trtable): Return failure indication upon
77234         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77236 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77238         [BZ #12201]
77239         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77240         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77241         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77242         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77244         [BZ #12207]
77245         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77247         [BZ #12204]
77248         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77249         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77251 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77253         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77254         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77255         script has SORT_BY_INIT_PRIORITY.
77256         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77257         NO_CTORS_DTORS_SECTIONS is defined.
77258         * elf/soinit.c: Likewise.
77259         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77260         NO_CTORS_DTORS_SECTIONS is defined.
77261         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77262         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77263         * sysdeps/sh/init-first.c: Likewise.
77264         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77266 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77268         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77269         always use the slow path.
77271 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77273         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77274         similar rule which adds the sysdep directories to the header search in
77275         order to pick up the correct platform stackinfo.h.
77276         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77277         perform test if it is, otherwise return successfully without testing.
77278         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77279         DEFAULT_STACK_PERMS define in stackinfo.h.
77280         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77281         defined in stackinfo.h.
77282         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77283         DEFAULT_STACK_PERMS defined in stackinfo.h.
77284         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77285         * sysdeps/ia64/stackinfo.h: Likewise.
77286         * sysdeps/s390/stackinfo.h: Likewise.
77287         * sysdeps/sh/stackinfo.h: Likewise.
77288         * sysdeps/sparc/stackinfo.h: Likewise.
77289         * sysdeps/x86_64/stackinfo.h: Likewise.
77290         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77291         PF_X for powerpc64.  Retain PF_X for powerpc32.
77293 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77295         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77296         accurately.
77297         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77298         GETDENTS_64BIT_ALIGNED.
77300 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77302         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77304 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77306         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77307         _GNU_SOURCE.
77309         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77310         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77311         Remove __restrict.
77312         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77313         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77315 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77317         [BZ #11655]
77318         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77319         are initialized.
77321 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77323         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77325 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77327         * po/it.po: Update from translation team.
77329 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77331         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77332         unused codes.
77334 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77336         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77338 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77340         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77341         specially.
77342         (gaih_getanswer_slice): Likewise.
77344 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77348 2010-05-31  Petr Baudis  <pasky@suse.cz>
77350         [BZ #11149]
77351         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77352         silently even in the chroot mode.
77354 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77356         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77357         last patch a bit.  Pretty printing
77359 2010-05-31  Petr Baudis <pasky@suse.cz>
77361         [BZ #10085]
77362         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77363         initialization of skip_initgroups_dyn.
77365 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77367         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77368         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77370 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77372         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77374 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77376         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77377         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77378         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77379         ($(objpfx)tst-fnmatch-mem): New rule.
77380         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77381         * posix/tst-fnmatch.c (main): Call mtrace.
77383 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77386         Support Intel processor model 6 and model 0x2c.
77388 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77390         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77391           signed comparison.
77393 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77395         [BZ #12205]
77396         * string/test-strncasecmp.c (check_result): New function.
77397         (do_one_test): Use it.
77398         (check1): New function.
77399         (test_main): Use it.
77400         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77401         Support strcasecmp and strncasecmp.
77403 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77405         [BZ #12194]
77406         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77407         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77409 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77411         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77412         IFUNC support.
77413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77414         memset-x86-64.
77415         * sysdeps/x86_64/multiarch/bzero.S: New file.
77416         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77417         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77418         * sysdeps/x86_64/multiarch/memset.S: New file.
77419         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77421         Set bit_Prefer_SSE_for_memop for Intel processors.
77422         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77423         Define.
77424         (index_Prefer_SSE_for_memop): Define.
77425         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77427 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77429         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77430         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77432 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77434         [BZ #12191]
77435         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77436         (__x86_64_raw_data_cache_size_half): Likewise.
77437         (__x86_64_raw_shared_cache_size): Likewise.
77438         (__x86_64_raw_shared_cache_size_half): Likewise.
77440         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77441         (__x86_64_raw_data_cache_size_half): Likewise.
77442         (__x86_64_raw_shared_cache_size): Likewise.
77443         (__x86_64_raw_shared_cache_size_half): Likewise.
77444         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77445         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77446         and __x86_64_raw_shared_cache_size_half.  Round
77447         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77448         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77449         to multiple of 256 bytes.
77451 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77453         [BZ #12167]
77454         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77455         of inacessible symlinks.  Verify result of symlink before returning it.
77456         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77457         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77459 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77461         * math/math.h (isinf): Fix typo in comment.
77463 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77465         * po/da.po: Update from translation team.
77467 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77469         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77470         is added to the list.
77472 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77473             Ulrich Drepper  <drepper@gmail.com>
77475         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77476         the global list here.  Move code to...
77477         (_dl_add_to_namespace_list): ...here.  New function.
77478         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77479         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77480         * elf/dl-load.c (lose): Don't remove the element from the list.
77481         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77482         (_dl_map_object): Likewise.
77484 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77486         [BZ #12159]
77487         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77488         into all bytes of SSE register.
77489         Patch by Richard Li <richardpku@gmail.com>.
77491 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77493         [BZ #12140]
77494         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77495         perturbing.
77497 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77499         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77500         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77501         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77502         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77504         submachine.
77505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77507 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77509         * include/dlfcn.h (__RTLD_SECURE): Define.
77510         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77511         mode & __RTLD_SECURE instead.
77512         (open_path): Rename preloaded parameter to secure.
77513         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77514         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77515         * elf/dl-deps.c (openaux): Likewise.
77516         * elf/rtld.c (struct map_args): Remove is_preloaded.
77517         (map_doit): Don't use it.
77518         (dl_main): Likewise.
77519         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77520         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77522 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77524         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77525         (sysd-rules-targets): Remove duplicates.
77526         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77527         rtld-%.$o dependency.
77529 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77531         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77532         _dl_map_object do it.
77534 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77536         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77537         fast fma builtins, define the macros in the C99 standard.
77538         (FP_FAST_FMAF): Likewise.
77539         (FP_FAST_FMAL): Likewise.
77540         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77542         * bits/mathdef.h: Update copyright year.
77543         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77545 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77547         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77548         builtins, define the macros in the C99 standard.
77549         (FP_FAST_FMAF): Likewise.
77550         (FP_FAST_FMAL): Likewise.
77551         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77552         multiply/add.
77553         (FP_FAST_FMAF): Likewise.
77555 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77557         [BZ #3268]
77558         * math/libm-test.inc (fma_test): Some new testcases.
77559         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77560         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77561         y and infinite z.  Do multiplication by C already in long double.
77562         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77564         y and infinite z.  Do bitwise or of inexact bit into u.d.
77565         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77566         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77567         * sysdeps/i386/fpu/s_fma.S: Removed.
77568         * sysdeps/i386/fpu/s_fmal.S: Removed.
77570 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77572         [BZ #3268]
77573         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77575         computation is not scheduled after fetestexcept.  Fix value
77576         of minimum denormal long double.
77578 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77580         [BZ #3268]
77581         * math/libm-test.inc (fma_test): Add some more tests.
77582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77583         correctly.
77585 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77587         * scripts/data/localplt-s390-linux-gnu.data: New file.
77588         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77590 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77592         [BZ #3268]
77593         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77594         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77595         instead of dbl-64.
77596         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77597         inlines.
77598         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77600         if one of x and y is very large and the other is subnormal.
77601         * sysdeps/s390/fpu/s_fmaf.c: New file.
77602         * sysdeps/s390/fpu/s_fma.c: New file.
77603         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77604         * sysdeps/powerpc/fpu/s_fma.S: New file.
77605         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77606         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77607         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77609 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77611         [BZ #3268]
77612         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77613         fma tests.
77614         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77615         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77616         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77617         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77618         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77619         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77620         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77622 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77624         [BZ #12078]
77625         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77626         * posix/bug-regex31.input: Add test case.
77628 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77630         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77631         * posix/bug-regex31.input: New file.
77633         [BZ #12078]
77634         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77635         (parse_sub_exp): Fix last change, use postorder.
77637         * posix/bug-regex31.c: New file.
77638         * posix/Makefile: Add rules to build and run bug-regex31.
77640         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77642         [BZ #12078]
77643         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77645         [BZ #12108]
77646         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77647         to have entries in sys_siglist.
77649         [BZ #12093]
77650         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77651         be NULL.
77653 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77655         [BZ #3268]
77656         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77657         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77658         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77659         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77660         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77661         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77662         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77663         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77664         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77665         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77666         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77667         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77668         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77669         * math/ftestexcept.c (fetestexcept): Likewise.
77670         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77671         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77672         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77673         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77674         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77675         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77676         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77678 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77680         [BZ #12107]
77681         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77682         newline.
77684 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77686         * string/bug-strstr1.c: New file.
77687         * string/Makefile: Add rules to build and run bug-strstr1.
77689 2010-10-05  Eric Blake  <eblake@redhat.com>
77691         [BZ #12092]
77692         * string/str-two-way.h (two_way_long_needle): Always clear memory
77693         when skipping input due to the shift table.
77695 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77697         [BZ #12005]
77698         * malloc/mcheck.c: Handle large requests.
77700         [BZ #12077]
77701         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77702         for strncmp and strncasecmp.
77703         * string/stratcliff.c: Add tests for strcmp and strncmp.
77704         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77706 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77708         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77709         __set_fpscr.
77711 2010-09-30  Andreas Jaeger  <aj@suse.de>
77713         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77714         (CGROUP_SUPER_MAGIC): Define.
77715         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77716         Handle btrfs and cgroup file systems.
77717         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77718         Likewise.
77720 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77722         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77723         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77725 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77727         [BZ #12067]
77728         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77729         trying to locate the ELF header.
77731 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77733         [BZ #11611]
77734         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77735         Mask out sign-bit copies when constructing f_fsid.
77737 2010-09-24  Petr Baudis <pasky@suse.cz>
77739         * debug/stack_chk_fail_local.c: Add missing licence exception.
77740         * debug/warning-nop.c: Likewise.
77742 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77744         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77745         implementing getdents64 using getdents syscall, set d_type if
77746         __ASSUME_GETDENTS32_D_TYPE.
77748 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77750         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77751         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77753 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77755         [BZ #12037]
77756         * posix/unistd.h: Undo change of feature selection for ftruncate from
77757         2010-01-11.
77759 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77761         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77762         detection.
77764 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77766         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77767         fanotify_mark.
77768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77770 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77772         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77773         variables after CHECK_SP call.
77774         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77776 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77777             Ulrich Drepper  <drepper@redhat.com>
77779         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77780         re-relocationg ld.so.
77781         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77782         _dl_init_paths call.
77783         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77784         here anymore.
77786 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77788         * resolv/res_init.c (__res_vinit): Count the default server we added.
77790 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77791             Ulrich Drepper  <drepper@redhat.com>
77793         [BZ #11968]
77794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77795         (____longjmp_chk): Use %ebx for saving value across system call.
77796         Add unwind info.
77798 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77800         * manual/Makefile: Don't mix pattern rules with normal rules.
77802 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77804         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77805         operation.
77806         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77807         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77808         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77809         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77811         Likewise.
77813 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77815         [BZ #11979]
77816         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77817         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77819 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77821         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77822         * sysdeps/x86_64/addmul_1.S: Likewise.
77823         * sysdeps/x86_64/lshift.S: Likewise.
77824         * sysdeps/x86_64/mul_1.S: Likewise.
77825         * sysdeps/x86_64/rshift.S: Likewise.
77826         * sysdeps/x86_64/sub_n.S: Likewise.
77827         * sysdeps/x86_64/submul_1.S: Likewise.
77829 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77831         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77832         Define __sched_param instead of SCHED_* and sched_param when
77833         <bits/sched.h> is included with __need_schedparam defined.
77834         * bits/sched.h [__need_schedparam]
77835         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77836         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77837         (__defined_schedparam): Define to 1.
77838         (__sched_param): New structure, identical to sched_param.
77839         (__need_schedparam): Undefine.
77841 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77843         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77844         (epoll_create1): Declare.
77846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77848 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77850         [BZ #7066]
77851         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77852         shifting retval into place.
77854 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77856         * nis/rpcsvc/nis.h: Update copyright notice.
77857         * nis/rpcsvc/nis.x: Likewise.
77858         * nis/rpcsvc/nis_callback.h: Likewise.
77859         * nis/rpcsvc/nis_callback.x: Likewise.
77860         * nis/rpcsvc/nis_object.x: Likewise.
77861         * nis/rpcsvc/nis_tags.h: Likewise.
77862         * nis/rpcsvc/yp.h: Likewise.
77863         * nis/rpcsvc/yp.x: Likewise.
77864         * nis/rpcsvc/ypupd.h: Likewise.
77865         * nis/yp_xdr.c: Likewise.
77866         * nis/ypupdate_xdr.c: Likewise.
77868         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77869         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77870         (pmap_getport): Use __libc_rpc_getport.
77871         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77872         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77873         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77875 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77878         fanotify_mark.
77880 2010-08-27  Roland McGrath  <roland@redhat.com>
77882         * sysdeps/i386/i686/multiarch/Makefile
77883         (CFLAGS-varshift.c): New variable.
77885 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77887         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77888         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77890         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77892         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77894 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77896         * sysdeps/x86_64/strlen.S: Unroll the loop.
77897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77898         strlen-sse2 strlen-sse2-bsf.
77899         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77900         __strlen_no_bsf if bit_Slow_BSF is set.
77901         (__strlen_sse42): Removed.
77902         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77903         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77905 2010-08-25  Roland McGrath  <roland@redhat.com>
77907         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77908         * sysdeps/x86_64/multiarch/varshift.c: New file.
77909         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77910         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77911         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77914 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77917         strlen-sse2 strlen-sse2-bsf.
77918         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77919         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77920         (__strlen_sse2): Removed.
77921         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77922         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77924         bit_Slow_BSF for Atom.
77925         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77926         (index_Slow_BSF): Define.
77927         (HAS_SLOW_BSF): Define.
77929 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77931         [BZ #10851]
77932         * resolv/res_init.c (__res_vinit): When no server address at all
77933         is given default to loopback.
77935 2010-08-24  Roland McGrath  <roland@redhat.com>
77937         * configure.in: Remove config-name.h generation.
77938         * configure: Regenerated.
77939         * config-name.in: File removed.
77940         * scripts/config-uname.sh: New file.
77941         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77942         ($(objdir)config-name.h): New target.
77944         * sunrpc/rpc_parse.h: Avoid nested comment.
77946 2010-08-24  Richard Henderson  <rth@redhat.com>
77947             Ulrich Drepper  <drepper@redhat.com>
77948             H.J. Lu  <hongjiu.lu@intel.com>
77950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77952         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77953         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77954         _mm_alignr_epi8 with _mm_loadu_si128.
77955         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77956         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77957         (__m128i_shift_right): Removed.
77958         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77959         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77960         * sysdeps/x86_64/multiarch/varshift.h: New file.
77961         * sysdeps/x86_64/multiarch/varshift.S: New file.
77963 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77965         * configure.in: Move assembler checks to before sysdep dir checking.
77967 2010-08-20  Petr Baudis  <pasky@suse.cz>
77969         * LICENSES: Sync the sunrpc license.
77971 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77973         * sunrpc/auth_des.c: Update copyright notice once again.
77974         * sunrpc/auth_none.c: Likewise.
77975         * sunrpc/auth_unix.c: Likewise.
77976         * sunrpc/authdes_prot.c: Likewise.
77977         * sunrpc/authuxprot.c: Likewise.
77978         * sunrpc/bindrsvprt.c: Likewise.
77979         * sunrpc/clnt_gen.c: Likewise.
77980         * sunrpc/clnt_perr.c: Likewise.
77981         * sunrpc/clnt_raw.c: Likewise.
77982         * sunrpc/clnt_simp.c: Likewise.
77983         * sunrpc/clnt_tcp.c: Likewise.
77984         * sunrpc/clnt_udp.c: Likewise.
77985         * sunrpc/clnt_unix.c: Likewise.
77986         * sunrpc/des_crypt.c: Likewise.
77987         * sunrpc/des_soft.c: Likewise.
77988         * sunrpc/get_myaddr.c: Likewise.
77989         * sunrpc/getrpcport.c: Likewise.
77990         * sunrpc/key_call.c: Likewise.
77991         * sunrpc/key_prot.c: Likewise.
77992         * sunrpc/openchild.c: Likewise.
77993         * sunrpc/pm_getmaps.c: Likewise.
77994         * sunrpc/pm_getport.c: Likewise.
77995         * sunrpc/pmap_clnt.c: Likewise.
77996         * sunrpc/pmap_prot.c: Likewise.
77997         * sunrpc/pmap_prot2.c: Likewise.
77998         * sunrpc/pmap_rmt.c: Likewise.
77999         * sunrpc/rpc/auth.h: Likewise.
78000         * sunrpc/rpc/auth_unix.h: Likewise.
78001         * sunrpc/rpc/clnt.h: Likewise.
78002         * sunrpc/rpc/des_crypt.h: Likewise.
78003         * sunrpc/rpc/key_prot.h: Likewise.
78004         * sunrpc/rpc/netdb.h: Likewise.
78005         * sunrpc/rpc/pmap_clnt.h: Likewise.
78006         * sunrpc/rpc/pmap_prot.h: Likewise.
78007         * sunrpc/rpc/pmap_rmt.h: Likewise.
78008         * sunrpc/rpc/rpc.h: Likewise.
78009         * sunrpc/rpc/rpc_des.h: Likewise.
78010         * sunrpc/rpc/rpc_msg.h: Likewise.
78011         * sunrpc/rpc/svc.h: Likewise.
78012         * sunrpc/rpc/svc_auth.h: Likewise.
78013         * sunrpc/rpc/types.h: Likewise.
78014         * sunrpc/rpc/xdr.h: Likewise.
78015         * sunrpc/rpc_clntout.c: Likewise.
78016         * sunrpc/rpc_cmsg.c: Likewise.
78017         * sunrpc/rpc_common.c: Likewise.
78018         * sunrpc/rpc_cout.c: Likewise.
78019         * sunrpc/rpc_dtable.c: Likewise.
78020         * sunrpc/rpc_hout.c: Likewise.
78021         * sunrpc/rpc_main.c: Likewise.
78022         * sunrpc/rpc_parse.c: Likewise.
78023         * sunrpc/rpc_parse.h: Likewise.
78024         * sunrpc/rpc_prot.c: Likewise.
78025         * sunrpc/rpc_sample.c: Likewise.
78026         * sunrpc/rpc_scan.c: Likewise.
78027         * sunrpc/rpc_scan.h: Likewise.
78028         * sunrpc/rpc_svcout.c: Likewise.
78029         * sunrpc/rpc_tblout.c: Likewise.
78030         * sunrpc/rpc_util.c: Likewise.
78031         * sunrpc/rpc_util.h: Likewise.
78032         * sunrpc/rpcinfo.c: Likewise.
78033         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78034         * sunrpc/rpcsvc/key_prot.x: Likewise.
78035         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78036         * sunrpc/rpcsvc/mount.x: Likewise.
78037         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78038         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78039         * sunrpc/rpcsvc/rex.x: Likewise.
78040         * sunrpc/rpcsvc/rstat.x: Likewise.
78041         * sunrpc/rpcsvc/rusers.x: Likewise.
78042         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78043         * sunrpc/rpcsvc/spray.x: Likewise.
78044         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78045         * sunrpc/rtime.c: Likewise.
78046         * sunrpc/svc.c: Likewise.
78047         * sunrpc/svc_auth.c: Likewise.
78048         * sunrpc/svc_authux.c: Likewise.
78049         * sunrpc/svc_raw.c: Likewise.
78050         * sunrpc/svc_run.c: Likewise.
78051         * sunrpc/svc_simple.c: Likewise.
78052         * sunrpc/svc_tcp.c: Likewise.
78053         * sunrpc/svc_udp.c: Likewise.
78054         * sunrpc/svc_unix.c: Likewise.
78055         * sunrpc/svcauth_des.c: Likewise.
78056         * sunrpc/xcrypt.c: Likewise.
78057         * sunrpc/xdr.c: Likewise.
78058         * sunrpc/xdr_array.c: Likewise.
78059         * sunrpc/xdr_float.c: Likewise.
78060         * sunrpc/xdr_mem.c: Likewise.
78061         * sunrpc/xdr_rec.c: Likewise.
78062         * sunrpc/xdr_ref.c: Likewise.
78063         * sunrpc/xdr_sizeof.c: Likewise.
78064         * sunrpc/xdr_stdio.c: Likewise.
78066         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78067         handling.
78069 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78071         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78073 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78075         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78076         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78077         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78078         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78079         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78080         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78081         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78082         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78083         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78084         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78085         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78086         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78087         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78088         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78090 2010-07-26  Anton Blanchard  <anton@samba.org>
78092         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78093         * malloc/arena.c (heap_trim): Likewise.
78095 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78097         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78098         here.  Not...
78099         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78100         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78102 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78104         * sysdeps/i386/elf/Makefile: New file.
78106 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78108         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78109         from fanotify_init.
78110         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78113 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78115         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78116         of strncasecmp_l.
78117         * sysdeps/multiarch/strcmp.S: Likewise.
78119 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78121         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78122         strncase_l-nonascii.
78123         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78124         Add strncase_l-ssse3.
78125         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78126         * sysdeps/x86_64/strcmp.S: Likewise.
78127         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78128         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78129         * sysdeps/x86_64/strncase.S: New file.
78130         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78131         * sysdeps/x86_64/strncase_l.S: New file.
78132         * string/Makefile (strop-tests): Add strncasecmp.
78133         * string/test-strncasecmp.c: New file.
78135         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78136         warning.
78138         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78139         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78141 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78143         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78145 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78147         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78148         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78149         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78151 2010-05-01  Alan Modra  <amodra@gmail.com>
78153         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78154         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78155         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78156         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78157         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78158         tidying.  Don't tail-call __sigjmp_save for static lib.
78159         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78160         save location.
78161         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78162         (CALL_MCOUNT): Add eh info, and nop after bl.
78163         (TAIL_CALL_SYSCALL_ERROR): New macro.
78164         (PSEUDO_RET): Use it.
78165         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78166         Correct save location of integer regs and cr.
78167         (_dl_profile_resolve): Correct cr save location.  Delete nops
78168         after bl when SHARED.  Reduce cfi size a little by better
78169         placement of cfi directives.
78170         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78171         make a stack frame.  Instead use parm save area as a temp.
78172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78173         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78175         Don't make a stack frame for parent, use parm save area.
78176         Increase child stack frame to 112 bytes.  Don't save unused reg,
78177         and adjust reg usage.  Set up cfi on error recovery and
78178         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78180         (__makecontext): Add dummy nop after jump to exit.
78181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78182         Use correct parm save area and cr save, reduce stack frame.
78183         Correct cfi for possible PSEUDO_RET frame setup.
78184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78185         Branch to local label emitted by PSEUDO_RET rather than
78186         __syscall_error.
78188 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78190         [BZ #11904]
78191         * locale/programs/locale.c (print_assignment): New function.
78192         (show_locale_vars): Use it.
78194 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78196         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78197         field.
78198         (struct statfs64): Likewise.
78199         (_STATFS_F_FLAGS): Define.
78200         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78201         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78202         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78203         (ST_VALID): Define locally.
78204         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78205         __statvfs_getflags, use the provided value.
78206         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78207         __ASSUME_STATFS_F_FLAGS.
78209         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78211         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78212         Add sys/fanotify.h.
78213         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78214         fanotify_mask for GLIBC_2.13.
78215         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78216         fanotify_init and fanotify_mark.
78217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78218         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78220         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78221         Add prlimit.
78222         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78223         prlimit64 for GLIBC_2.13.
78224         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78225         prlimit64.
78226         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78227         syscall.
78228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78230         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78231         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78233         add prlimit alias.
78234         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78236         [BZ #11903]
78237         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78238         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78240         * nss/Makefile: Add rules to build and run tst-nss-test1.
78241         * shlib-versions: Add entry for libnss_test1.
78242         * nss/nss_test1.c: New file.
78243         * nss/tst-nss-test1.c: New file.
78245         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78246         (__nss_configure_lookup): Set appropriate entry in
78247         __nss_configure_lookup to true.
78248         * nss/nsswitch.h: Define enum with indeces of databases in
78249         databases and __nss_database_custom arrays.  Declare
78250         __nss_database_custom.
78251         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78252         to avoid using nscd when custom rules are installed.
78253         * nss/getXXbyYY_r.c: Likewise.
78254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78256         * nss/nss_files/files-parse.c: Whitespace fixes.
78258 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78260         [BZ #11883]
78261         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78262         * posix/fnmatch_loop.c: Likewise.
78264 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78266         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78267         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78268         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78269         * Versions.def [GLIBC_2.13]: Add.
78271 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78273         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78274         Also fail if tpwd after pwuid call is NULL.
78276 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78278         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78279         when converting to ms.
78281 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78283         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78284         EOPNOTSUPP errors with ENOTTY.
78285         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78286         EOPNOTSUPP errors with ENOTTY.
78288 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78290         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78291         Add strcasecmp_l-ssse3.
78292         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78293         strcasecmp.
78294         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78295         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78296         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78298 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78300         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78302         * string/Makefile (strop-tests): Add strcasecmp.
78303         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78304         strcasecmp_l-nonascii.
78305         (gen-as-const-headers): Add locale-defines.sym.
78306         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78307         * sysdeps/x86_64/strcasecmp.S: New file.
78308         * sysdeps/x86_64/strcasecmp_l.S: New file.
78309         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78310         * sysdeps/x86_64/locale-defines.sym: New file.
78311         * string/test-strcasecmp.c: New file.
78313         * string/test-strcasestr.c: Test both ends of the range of characters.
78314         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78316 2010-07-29  Roland McGrath  <roland@redhat.com>
78318         [BZ #11856]
78319         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78321 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78323         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78324         for ld.so.
78326 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78328         * manual/memory.texi (Malloc Tunable Parameters): Document
78329         M_PERTURB.
78331 2010-07-26  Roland McGrath  <roland@redhat.com>
78333         [BZ #11840]
78334         * configure.in (-fgnu89-inline check): Set and substitute
78335         gnu89_inline, not libc_cv_gnu89_inline.
78336         * configure: Regenerated.
78337         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78339 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78341         * string/test-strnlen.c: New file.
78342         * string/Makefile (strop-tests): Add strnlen.
78343         * string/tester.c (test_strnlen): Add a few more test cases.
78344         * string/tst-strlen.c: Better error reporting.
78346         * sysdeps/x86_64/strnlen.S: New file.
78348 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78350         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78351         lower-latency instructions.
78353 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78355         * string/test-strcasestr.c: New file.
78356         * string/test-strstr.c: New file.
78357         * string/Makefile (strop-tests): Add strstr and strcasestr.
78358         * string/str-two-way.h: Don't undefine MAX.
78359         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78361 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78364         strcasestr-nonascii.
78365         (CFLAGS-strcasestr-nonascii.c): Define.
78366         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78367         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78368         Remove unused attribute.
78370 2010-07-20  Roland McGrath  <roland@redhat.com>
78372         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78373         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78374         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78375         like LD_HWCAP_MASK can disable hwcaps.
78377 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78379         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78381 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78383         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78384         call in strcasestr.
78385         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78386         __strcasestr_sse42_nonascii.
78387         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78388         strcasestr-nonascii.c.
78389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78391 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78393         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78394         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78395         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78396         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78398 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78400         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78401         fcntl.
78403 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78405         [BZ #11577]
78406         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78407         dl_signal_cerror.
78409 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78411         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78412         _PC_PIPE_BUF using F_GETPIPE_SZ.
78414 2010-07-05  Roland McGrath  <roland@redhat.com>
78416         * manual/arith.texi (Rounding Functions): Fix rint description
78417         implicit in round description.
78419 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78421         * elf/Makefile: Fix linking for a few tests to make recent linker
78422         happy.
78424 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78426         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78427         $(common-objpfx)libc_nonshared.a.
78429 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78431         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78432         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78433         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78434         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78435         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78436         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78437         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78438         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78453         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78454         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78455         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78456         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78457         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78458         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78459         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78460         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78461         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78462         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78463         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78464         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78480 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78482         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78483         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78484         * string/memmove.c (memmove): Renamed to ...
78485         (MEMMOVE): ...this.  Default to memmove.
78486         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78487         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78488         (END_CHK): Define.
78489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78490         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78491         mempcpy-ssse3-back memmove-ssse3-back.
78492         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78493         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78494         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78495         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78496         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78497         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78498         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78499         * sysdeps/x86_64/multiarch/memmove.c: New file.
78500         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78501         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78502         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78503         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78504         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78506         Define.
78507         (index_Fast_Copy_Backward): Define.
78508         (HAS_ARCH_FEATURE): Define.
78509         (HAS_FAST_REP_STRING): Define.
78510         (HAS_FAST_COPY_BACKWARD): Define.
78512 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78514         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78515         Restore proper fallback handling.
78517 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78519         [BZ #11701]
78520         * posix/group_member.c (__group_member): Correct checking loop.
78522         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78523         OOM in getpwuid_r correctly.  Return error number when the caller
78524         should return, otherwise -1.
78525         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78526         call returning > 0 value.
78527         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78529 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78531         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78532         libc_nonshared.a from targets in modules-names.
78534 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78536         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78537         requires it.
78539 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78541         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78542         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78543         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78544         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78546 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78548         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78550 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78552         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78553         and F_GETPIPE_SZ.
78554         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78555         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78558         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78559         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78561 2010-06-14  Roland McGrath  <roland@redhat.com>
78563         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78565 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78567         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78568         __REDIRECT followed by __THROW.
78569         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78570         * posix/getopt.h (getopt): Likewise.
78572 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78574         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78575         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78576         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78577         in AT_FLAGS.
78578         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78579         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78581 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78583         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78585 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78587         [BZ #11640]
78588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78589         Properly check family and model.
78591 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78593         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78595 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78597         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78599 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78601         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78602         symbol reference.
78604 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78606         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78607         symbol reference.
78609 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78611         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78612         and internal_recvmmsg.
78613         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78614         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78615         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78616         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78618         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78619         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78620         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78622 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78624         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78626 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78628         POWER7 optimizations.
78629         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78630         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78632 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78634         * version.h: Update for 2.13 development version.
78636 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78638         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78639         exceptions.  Return 0.
78641 2010-05-07  Roland McGrath  <roland@redhat.com>
78643         * elf/ldconfig.c (main): Add a const.
78645 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78647         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78648         (args_options): Add no-idn option.
78649         (ahosts_keys_int): Add idn_flags to ai_flags.
78650         (parse_option): Handle 'i' option to clear idn_flags.
78652         * malloc/malloc.c (_int_free): Possible race in the most recently
78653         added check.  Only act on the data if no current modification
78654         happened.
78656 See ChangeLog.17 for earlier changes.